/* ===== style.css ===== */
/* ==========================================================================
   الإصدار 12.1.6 — تكبير القياسات البصرية العامة ولوحة التحكم
   تعريف وحيد للمشروع بالكامل؛ الملف الفيزيائي: public/fonts/MOHAMMAD_BOLD_ART_1.ttf
   ========================================================================== */
@font-face{
  font-family:"MohammadBoldArt";
  src:url("../fonts/MOHAMMAD_BOLD_ART_1.ttf?v=1283") format("truetype");
  font-style:normal;
  font-weight:400 900;
  font-display:swap;
}

:root{--navy:#10233f;--blue:#1f5f99;--gold:#c99a36;--bg:#f4f7fb;--danger:#b42318;--success:#067647}
*{box-sizing:border-box}body{font-family:"MohammadBoldArt",sans-serif!important;background:var(--bg);color:#172b4d;direction:rtl;margin:0}.app{min-height:100vh}.sidebar{width:260px;position:fixed;right:0;top:0;bottom:0;background:linear-gradient(180deg,#10233f,#17385f);color:#fff;padding:22px 14px;overflow-y:auto;z-index:20}.brand{padding:0 12px 20px;border-bottom:1px solid rgba(255,255,255,.15);margin-bottom:16px}.brand h1{font-size:17px;line-height:1.7;margin:0}.brand small{color:#c7d4e7}.nav-link{display:flex;align-items:center;gap:10px;color:#e7eef8;text-decoration:none;padding:11px 13px;border-radius:10px;margin:3px 0;font-size:14px}.nav-link:hover,.nav-link.active{background:rgba(255,255,255,.13);color:#fff}.main{margin-right:260px;min-height:100vh}.topbar{height:72px;background:#fff;border-bottom:1px solid #e6ebf2;display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:10}.content{padding:26px}.card{background:#fff;border:1px solid #e5eaf1;border-radius:15px;box-shadow:0 5px 18px rgba(16,35,63,.05);margin-bottom:20px}.card-header{padding:17px 20px;border-bottom:1px solid #edf0f5;display:flex;align-items:center;justify-content:space-between}.card-body{padding:20px}.page-title{font-size:24px;font-weight:700;margin:0 0 5px}.muted{color:#667085}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.stat{padding:18px;background:#fff;border-radius:14px;border:1px solid #e6ebf2}.stat .num{font-size:30px;font-weight:800;color:var(--navy)}.stat .label{font-size:13px;color:#667085}.btn{border:0;border-radius:9px;padding:10px 15px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:7px;font-family:"MohammadBoldArt",sans-serif!important;font-size:14px}.btn-primary{background:var(--blue);color:#fff}.btn-dark{background:var(--navy);color:#fff}.btn-success{background:var(--success);color:#fff}.btn-danger{background:var(--danger);color:#fff}.btn-light{background:#eef3f8;color:#263b59}.btn-sm{padding:7px 10px;font-size:12px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;background:#fff}.table th,.table td{padding:12px 10px;border-bottom:1px solid #edf0f5;text-align:right;white-space:nowrap}.table th{background:#f8fafc;font-size:13px;color:#475467}.table td{font-size:14px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-group label{display:block;font-weight:700;font-size:13px;margin-bottom:7px}.form-control,.form-select{width:100%;border:1px solid #cfd8e6;border-radius:9px;padding:11px 12px;background:#fff;font-family:"MohammadBoldArt",sans-serif!important;font-size:14px}.form-control:focus,.form-select:focus{outline:2px solid #b6d2ee;border-color:#5b8fbe}.full{grid-column:1/-1}.alert{padding:12px 15px;border-radius:10px;margin-bottom:16px}.alert-success{background:#e8f7ef;color:#086b3d;border:1px solid #b7e5cc}.alert-danger{background:#fff0ee;color:#9c2c21;border:1px solid #f0c4bf}.alert-warning{background:#fff7df;color:#8b6500;border:1px solid #ead392}.badge{display:inline-block;padding:5px 9px;border-radius:999px;font-size:12px;background:#eef2f6;color:#344054}.badge-success{background:#e7f6ec;color:#067647}.badge-danger{background:#feeceb;color:#b42318}.badge-warning{background:#fff4d6;color:#915f00}.actions{display:flex;gap:7px;flex-wrap:wrap}.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#0d203b,#215f96)}.login-card{width:min(440px,92%);background:#fff;border-radius:20px;padding:34px;box-shadow:0 30px 70px rgba(0,0,0,.28)}.login-card h1{font-size:22px;line-height:1.6;margin:0 0 8px}.login-card .form-group{margin:15px 0}.print-sheet{background:#fff;color:#000;font-family:"MohammadBoldArt",sans-serif!important;direction:rtl;line-height:1.9}.print-header{text-align:center;border-bottom:2px solid #000;padding-bottom:10px;margin-bottom:20px}.signature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;text-align:center;margin-top:45px}.search-bar{display:flex;gap:8px;flex-wrap:wrap}.search-bar .form-control{max-width:320px}.pagination{display:flex;list-style:none;gap:5px;padding:0}.page-link{display:block;padding:7px 10px;background:#fff;border:1px solid #d8e0eb;color:#244f7b;text-decoration:none;border-radius:7px}.page-item.active .page-link{background:#1f5f99;color:#fff}.kpi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.kpi{border:1px solid #e5eaf1;border-radius:12px;padding:15px}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.detail-item{background:#f8fafc;padding:12px;border-radius:10px}.detail-item b{display:block;font-size:12px;color:#667085;margin-bottom:4px}.note{font-size:12px;color:#667085;margin-top:5px}
@media(max-width:1000px){.stats,.kpi-grid{grid-template-columns:repeat(2,1fr)}.sidebar{width:220px}.main{margin-right:220px}.detail-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.sidebar{position:relative;width:100%;height:auto}.main{margin-right:0}.topbar{position:relative}.content{padding:15px}.stats,.kpi-grid,.form-grid,.detail-grid{grid-template-columns:1fr}.full{grid-column:auto}.topbar{padding:0 15px}.signature-grid{grid-template-columns:1fr}}
@media print{body{background:#fff}.sidebar,.topbar,.no-print{display:none!important}.main{margin:0}.content{padding:0}.card{border:0;box-shadow:none}.print-sheet{padding:0}.page-break{page-break-before:always}@page{size:A4;margin:2cm}}
.nav-section{font-size:11px;color:#91a8c5;padding:15px 13px 5px;text-transform:uppercase;letter-spacing:.4px}.page-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap;margin-bottom:18px}.grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.inline-form{display:flex;gap:6px;align-items:center}.stack-form{display:flex;gap:6px;flex-direction:column;min-width:160px}.ltr{direction:ltr;text-align:left}.file-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.file-card{display:flex;flex-direction:column;text-decoration:none;color:#17385f;border:1px solid #dce5ef;border-radius:12px;padding:14px;background:#f8fbff}.file-card small,.agreement-read small{display:block;color:#667085;margin-top:5px}.agreement{display:flex;gap:10px;align-items:flex-start;border:1px solid #dfe6ef;padding:12px;border-radius:10px;margin:9px 0;background:#fbfcfe}.agreement input{margin-top:4px}.agreement span{display:block}.agreement small{display:block;color:#667085;margin-top:4px}.agreement-read{padding:12px;border-bottom:1px solid #edf0f5}.save-mark.saved{color:#067647;font-weight:bold}.save-mark.failed{color:#b42318;font-size:12px;white-space:normal;min-width:130px}.public-body{background:#f2f6fb}.public-header{background:#10233f;color:#fff;padding:18px max(4vw,20px);display:flex;justify-content:space-between;gap:20px;align-items:center}.public-header div{display:flex;flex-direction:column;line-height:1.7}.public-header small{color:#b9c9dc}.public-header nav{display:flex;gap:18px;flex-wrap:wrap}.public-header a{color:#fff;text-decoration:none;font-size:14px}.public-main{width:min(1160px,94%);margin:32px auto;min-height:70vh}.public-footer{text-align:center;padding:25px;color:#667085}.hero-public{background:linear-gradient(135deg,#10233f,#1f5f99);color:#fff;border-radius:22px;padding:44px;margin-bottom:20px}.hero-public h1{font-size:34px;margin:8px 0}.hero-public p{color:#dce9f6}.eyebrow{color:#f3c86e;font-weight:bold}.public-card{max-width:1000px;margin-inline:auto}.success-panel{text-align:center;background:#fff;border-radius:22px;padding:55px 25px;box-shadow:0 14px 40px rgba(16,35,63,.1)}.success-icon{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;background:#e7f6ec;color:#067647;font-size:38px;margin:auto}.tracking-code{direction:ltr;display:inline-block;padding:14px 24px;background:#10233f;color:#fff;font-size:30px;letter-spacing:5px;border-radius:12px;margin:15px}.public-login{margin:70px auto}.parent-head{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.portal-tabs{display:flex;gap:8px;margin:20px 0;flex-wrap:wrap}.portal-tabs a{text-decoration:none;padding:10px 15px;background:#fff;border:1px solid #dfe5ee;border-radius:9px;color:#314b6c}.portal-tabs a.active{background:#1f5f99;color:#fff}.tracking-code,.grade-table input{font-variant-numeric:tabular-nums}
@media(max-width:900px){.grid-two,.file-grid{grid-template-columns:1fr}.public-header{align-items:flex-start;flex-direction:column}.inline-form{flex-wrap:wrap}}

.progress{height:9px;background:#e8eef5;border-radius:999px;overflow:hidden;margin-top:6px}.progress-bar{height:100%;background:linear-gradient(90deg,var(--blue),#3b82c4);border-radius:inherit;transition:width .25s ease}.text-danger{color:var(--danger)!important}.text-success{color:var(--success)!important}
.exam-shell{max-width:1050px;margin:0 auto}.exam-top{position:sticky;top:0;z-index:20}.exam-questions{display:grid;gap:18px}.exam-question .question-text{font-size:18px;line-height:1.9}.option-list{display:grid;gap:10px}.option-item{display:flex;gap:10px;align-items:flex-start;padding:13px;border:1px solid #dce5ef;border-radius:10px;background:#fbfdff;cursor:pointer}.option-item:hover{background:#f0f7ff}.option-item input{margin-top:5px}.exam-shell #examTimer{font-size:22px;min-width:110px;text-align:center}.exam-shell textarea{font-size:16px;line-height:1.8}

/* Final institutional visual system */

:root{--navy:#1a2a40;--navy-2:#101d2f;--blue:#365f86;--gold:#d4af37;--gold-soft:#f5ead0;--bg:#f4f6f9;--line:#e4e8ee;--ink:#1d2d42}
body{font-family:"MohammadBoldArt",sans-serif!important;background:var(--bg);color:var(--ink)}
.sidebar{width:282px;background:linear-gradient(180deg,var(--navy),var(--navy-2));padding:18px 13px;box-shadow:-8px 0 30px rgba(16,29,47,.16)}
.main{margin-right:282px}.brand{display:flex;align-items:center;gap:12px;padding:3px 8px 18px}.brand-emblem{width:52px;height:52px;border-radius:15px;border:1px solid rgba(212,175,55,.65);display:grid;place-items:center;color:var(--gold);font-weight:900;letter-spacing:1px;background:rgba(255,255,255,.04);flex:0 0 auto}.brand h1{font-size:14px;line-height:1.65;margin:0;color:#fff}.brand small{font-size:11px;color:#b9c5d5}.tree-nav{padding-bottom:24px}.nav-home{margin-bottom:10px;background:rgba(255,255,255,.04)}.nav-group{border-top:1px solid rgba(255,255,255,.07)}.nav-group-toggle{width:100%;border:0;background:transparent;color:#f5f7fa;padding:12px 11px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-family:"MohammadBoldArt",sans-serif!important}.nav-group-toggle:hover{background:rgba(255,255,255,.05)}.nav-group-title{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700}.nav-group-title i{font-style:normal;color:var(--gold);min-width:21px;text-align:center}.nav-arrow{transition:transform .2s;color:#8ea0b5}.nav-group.open .nav-arrow{transform:rotate(180deg)}.nav-submenu{display:none;padding:0 7px 9px}.nav-group.open .nav-submenu{display:block}.nav-link{font-size:13px;margin:2px 0;padding:9px 12px;border-radius:8px;color:#dce4ef}.nav-submenu .nav-link{padding-right:18px}.nav-link span{color:#c9d3e1;min-width:18px;text-align:center}.nav-link:hover{background:rgba(255,255,255,.08);border-right:0}.nav-link.active{background:linear-gradient(90deg,rgba(212,175,55,.18),rgba(255,255,255,.07));border-right:3px solid var(--gold);color:#fff}.nav-link.active span{color:var(--gold)}
.topbar{height:76px;padding:0 28px;border-bottom:1px solid var(--line);box-shadow:0 1px 9px rgba(26,42,64,.035)}.topbar-title{display:flex;align-items:center;gap:12px}.topbar-date{font-size:11px;margin-top:3px}.sidebar-toggle{display:none;border:1px solid #d9e0e9;background:#fff;border-radius:9px;padding:7px 10px;font-size:18px;cursor:pointer}.user-badge{background:#f6f1e3;color:#5b481a;border:1px solid #ead9a5}.content{padding:28px}.card{border-color:var(--line);border-radius:13px;box-shadow:0 6px 22px rgba(26,42,64,.045)}.card-header{padding:16px 19px}.btn-primary{background:var(--navy)}.btn-primary:hover,.btn-dark:hover{filter:brightness(1.1)}.btn-success{background:#16724b}.btn{border-radius:8px}.form-control,.form-select{border-radius:8px;border-color:#ccd5e0}.stat{border-radius:12px}.accent-top{border-top:3px solid var(--gold)}
.dashboard-hero{background:linear-gradient(135deg,#fff,#f9f5e9);border:1px solid #e8dfc6;border-radius:18px;padding:27px 30px;margin-bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;overflow:hidden}.dashboard-hero:after{content:"MAR";position:absolute;left:25px;bottom:-28px;font-size:100px;font-weight:900;color:rgba(26,42,64,.035);letter-spacing:3px}.dashboard-hero h1{font-size:25px;margin:5px 0;color:var(--navy)}.dashboard-hero p{margin:0;color:#667085}.eyebrow-dark{font-size:11px;color:#9b7416;font-weight:800}.dashboard-date{display:flex;flex-direction:column;align-items:center;min-width:112px;background:var(--navy);color:#fff;padding:13px;border-radius:12px;z-index:1}.dashboard-date b{font-size:17px}.dashboard-date span{font-size:12px;color:#d6dfeb}.dashboard-kpis{grid-template-columns:repeat(4,1fr)}.dashboard-stat{display:flex;align-items:center;gap:14px;border-top:3px solid var(--gold);padding:18px}.dashboard-stat.warning{border-top-color:#d97706}.stat-icon{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;background:var(--gold-soft);color:var(--navy);font-weight:800;font-size:15px;flex:0 0 auto}.dashboard-stat .num{font-size:28px}.dashboard-stat small{color:#667085}.dashboard-stat small a{color:#896814;text-decoration:none}.dashboard-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,.75fr);gap:20px}.dashboard-activity{margin:0}.quick-links{display:grid;gap:10px}.quick-links a{display:flex;justify-content:space-between;align-items:center;text-decoration:none;color:var(--ink);background:#f8fafc;border:1px solid #e9edf2;border-radius:10px;padding:12px 13px}.quick-links a:hover{border-color:#d7bd74;background:#fffaf0}.quick-links b{background:var(--navy);color:#fff;min-width:28px;height:28px;border-radius:8px;display:grid;place-items:center}.activity-dot{width:7px;height:7px;border-radius:50%;background:var(--gold);display:inline-block;margin-left:7px}.attendance-meter{margin-bottom:18px}.attendance-meter>div:first-child{display:flex;justify-content:space-between;margin-bottom:7px;font-size:13px}
.stats-identity{grid-template-columns:repeat(4,1fr)}.stats-identity .stat{display:flex;align-items:center;gap:13px}.identity-card-layout{grid-template-columns:minmax(420px,1.25fr) minmax(310px,.75fr)}.school-id-card-preview{width:100%;aspect-ratio:1.585/1;background:#fff;border:1px solid #d5d9e0;border-radius:14px;overflow:hidden;padding:20px;position:relative;box-shadow:0 14px 35px rgba(26,42,64,.12);margin-bottom:16px}.school-id-card-preview:after{content:"MAR";position:absolute;left:-16px;bottom:-28px;width:105px;height:105px;border-radius:50%;background:var(--navy);color:var(--gold);display:grid;place-items:center;font-size:20px;font-weight:900;padding:0 0 20px 18px}.sid-top{display:flex;justify-content:space-between;border-bottom:1px solid var(--gold);padding-bottom:10px;gap:15px}.sid-top b{font-size:14px}.sid-top small{display:block;color:#667085;font-size:10px;margin-top:3px}.sid-top>span{font-size:11px;color:#906c16;white-space:nowrap}.sid-body{display:flex;gap:15px;padding-top:14px}.sid-body img{width:82px;height:104px;object-fit:cover;border-radius:10px;border:1px solid #d2b861;background:#edf1f5}.sid-body h3{font-size:18px;margin:4px 0}.sid-body p{font-size:12px;color:#667085;margin:4px 0}.sid-body strong{display:block;font-family:"MohammadBoldArt",sans-serif!important;font-size:14px;margin:8px 0}.sid-body small{display:block}.sid-barcode{position:absolute;right:120px;left:20px;bottom:12px;height:58px}.sid-barcode img{width:100%;height:100%;object-fit:contain}.scan-input{font-size:25px;padding:16px;text-align:center;letter-spacing:1px}.scanner-video{width:100%;max-height:320px;margin-top:15px;background:#000;border-radius:12px}.scan-result{display:flex;align-items:center;gap:18px;padding:20px;border-radius:14px;margin-bottom:20px;border:1px solid}.scan-result.valid{background:#eaf8f0;border-color:#aadbbf;color:#075f39}.scan-result.suspended,.scan-result.revoked{background:#fff6df;border-color:#e8ce88;color:#7a5600}.scan-result.not_found{background:#fff0ee;border-color:#efc0ba;color:#9b2c21}.scan-result-icon{width:55px;height:55px;border-radius:50%;display:grid;place-items:center;background:#fff;font-size:30px;font-weight:900}.scan-result h2{margin:0 0 4px}.scan-result p{margin:0}.scan-result small{display:block;margin-top:4px}
@media(max-width:1200px){.dashboard-kpis,.stats-identity{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.identity-card-layout{grid-template-columns:1fr}}
@media(max-width:820px){.sidebar{transform:translateX(110%);transition:transform .22s;width:min(310px,88vw)}.sidebar.mobile-open{transform:translateX(0)}.main{margin-right:0}.sidebar-toggle{display:block}.content{padding:16px}.topbar{padding:0 14px}.user-badge{display:none}.dashboard-hero{padding:20px;align-items:flex-start}.dashboard-date{display:none}.dashboard-kpis,.stats-identity{grid-template-columns:1fr}.school-id-card-preview{padding:15px}.sid-barcode{right:105px}.topbar-date{display:none}}
@media print{.school-id-card-preview{box-shadow:none}}


/* Finish 5: Arabic readability and font scaling */
html{font-size:18px!important}
body{font-family:"MohammadBoldArt",sans-serif!important;line-height:1.7!important;color:#2c3e50;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.sidebar{width:304px;padding:20px 15px}
.main{margin-right:304px}
.brand{gap:14px;padding:5px 10px 21px}
.brand h1{font-size:1rem!important;line-height:1.75!important}
.brand small{font-size:.82rem!important;line-height:1.6}
.brand-emblem{width:56px;height:56px;font-size:1rem}
.nav-group-toggle{padding:16px 14px!important;min-height:57px}
.nav-group-title{font-size:1.12rem!important;line-height:1.5;letter-spacing:.25px}
.nav-group-title i{min-width:24px;font-size:1.05rem}
.nav-link{font-size:1rem!important;line-height:1.55;padding:13px 15px!important;min-height:48px}
.nav-submenu{padding:1px 9px 12px}
.nav-submenu .nav-link{padding-right:22px!important}
.nav-home{font-size:1.08rem!important;font-weight:800}
.topbar{height:84px;padding:0 30px}
.topbar-title b{font-size:1.08rem;line-height:1.55}
.topbar-date{font-size:.82rem!important}
.content{padding:30px}
.page-title{font-size:1.6rem!important;line-height:1.45}
.page-head{margin-bottom:22px}
.card{margin-bottom:23px}
.card-header{padding:19px 22px!important;gap:14px;line-height:1.6}
.card-header>b,.card-header>div>b{font-size:1.05rem}
.card-body{padding:23px!important}
.dashboard-hero{padding:31px 34px;margin-bottom:25px}
.dashboard-hero h1{font-size:1.72rem!important;line-height:1.55;margin:7px 0}
.dashboard-hero p{font-size:1rem;line-height:1.7}
.eyebrow-dark{font-size:.9rem!important}
.dashboard-date{min-width:126px;padding:15px}
.dashboard-date b{font-size:1.18rem!important}
.dashboard-date span{font-size:.88rem!important}
.stats,.kpi-grid{gap:19px;margin-bottom:25px}
.stat,.kpi{padding:21px!important}
.stat .label,.dashboard-stat .label{font-size:1.1rem!important;line-height:1.5;color:#334155;font-weight:700}
.stat .num,.dashboard-stat .num{font-size:2.2rem!important;line-height:1.15;font-weight:900!important;color:var(--gold)!important;margin-top:5px;font-variant-numeric:tabular-nums}
.dashboard-stat{gap:17px;min-height:132px}
.dashboard-stat small{font-size:.88rem!important;line-height:1.55}
.stat-icon{width:50px;height:50px;border-radius:14px;font-size:1rem}
.quick-links{gap:12px}
.quick-links a{font-size:1rem;padding:15px 16px!important;line-height:1.55}
.quick-links b{min-width:34px;height:34px;font-size:1rem}
.attendance-meter>div:first-child{font-size:1rem!important;margin-bottom:9px}
.progress{height:11px}
.table th{font-size:1.05rem!important;line-height:1.55;font-weight:800!important;padding:16px 13px!important;background:#1a2a40!important;color:#fff!important}
.table td{font-size:1rem!important;line-height:1.65;padding:14px 13px!important;font-weight:500;vertical-align:middle}
.table td b{font-weight:800}
.table-wrap{border-radius:0 0 13px 13px}
.student-code,.student-code a,.student-code-inline{font-size:1.1rem!important;font-family:"MohammadBoldArt",sans-serif!important;font-weight:800!important;color:#1a2a40!important;letter-spacing:.3px;font-variant-numeric:tabular-nums}
.student-code{background:#f0f4f8!important;padding:7px 10px!important;border-radius:6px}
.student-code a{text-decoration:none}
.student-code-inline{display:inline-block;background:#f0f4f8;padding:5px 9px;border-radius:6px}
.btn{font-size:1rem!important;line-height:1.4;padding:11px 17px!important;min-height:44px}
.btn-sm{font-size:.9rem!important;padding:8px 12px!important;min-height:36px}
.form-group label{font-size:1rem!important;line-height:1.55;margin-bottom:9px}
.form-control,.form-select{font-size:1rem!important;line-height:1.5;padding:13px 14px!important;min-height:48px}
textarea.form-control{min-height:120px}
.badge{font-size:.88rem!important;line-height:1.35;padding:6px 10px}
.alert{font-size:1rem;line-height:1.65;padding:14px 17px}
.muted,.note{line-height:1.6}
.detail-item{padding:15px}
.detail-item b{font-size:.9rem!important;margin-bottom:6px}
.pagination{gap:7px;flex-wrap:wrap}
.page-link{font-size:.95rem;padding:9px 13px}
.school-id-card-preview{font-size:16px}
.sid-top b{font-size:1rem!important}.sid-top small{font-size:.75rem!important}.sid-top>span{font-size:.8rem!important}
.sid-body h3{font-size:1.25rem!important;line-height:1.45}.sid-body p{font-size:.88rem!important}.sid-body strong{font-size:1rem!important}
.scan-result h2{font-size:1.5rem;line-height:1.4}.scan-result p{font-size:1.05rem}
.login-card{width:min(500px,94%);padding:38px}.login-card h1{font-size:1.55rem!important}
.public-header a{font-size:1rem!important}.public-main{font-size:1rem}.hero-public h1{font-size:2rem!important;line-height:1.5}
@media(max-width:1200px) and (min-width:821px){.sidebar{width:286px}.main{margin-right:286px}.nav-group-title{font-size:1.02rem!important}.nav-link{font-size:.95rem!important}.content{padding:24px}}
@media(max-width:820px){html{font-size:17px!important}.sidebar{width:min(330px,91vw);padding:18px 13px}.main{margin-right:0}.topbar{height:auto;min-height:76px;padding:12px 14px}.content{padding:17px}.dashboard-hero{padding:22px}.dashboard-hero h1{font-size:1.45rem!important}.card-header{padding:16px 17px!important}.card-body{padding:18px!important}.table th{font-size:.96rem!important;padding:13px 11px!important}.table td{font-size:.95rem!important;padding:12px 11px!important}.btn{font-size:.95rem!important}.form-control,.form-select{font-size:1rem!important}.dashboard-stat{min-height:auto}}
@media(max-width:480px){html{font-size:16px!important}.content{padding:13px}.dashboard-hero{border-radius:14px;padding:18px}.page-title{font-size:1.38rem!important}.stat .num,.dashboard-stat .num{font-size:1.9rem!important}.table th,.table td{padding:11px 9px!important}.actions{gap:6px}.btn{padding:10px 13px!important}}
@media print{html{font-size:12pt!important}body{line-height:1.65!important}.table th,.table td{font-size:10.5pt!important;padding:7px 6px!important}.student-code,.student-code a,.student-code-inline{font-size:10.5pt!important;background:#fff!important;background-image:none!important;padding:0!important}.school-id-card-preview{font-size:10pt}}


/* Technical Directive 04: MohammadBoldArt typography and readability */
html{font-size:20px!important}
body{font-family:"MohammadBoldArt",sans-serif!important;line-height:2.2!important;color:#111e2e!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
.sidebar{background-color:#1a2a40!important}
.brand h1,.topbar-title b,.page-title,.card-header>b,.card-header>div>b,.dashboard-hero h1,.login-card h1,.hero-public h1{font-family:"MohammadBoldArt",sans-serif!important;font-weight:400!important}
.nav-group-toggle,.nav-group-title,.nav-home{font-family:"MohammadBoldArt",sans-serif!important;font-size:1.25rem!important;font-weight:400!important;line-height:1.55!important;padding:15px 20px!important;letter-spacing:.5px}
.nav-link,.nav-submenu .nav-link,.dropdown div,.submenu a{font-family:"MohammadBoldArt",sans-serif!important;font-size:1.1rem!important;font-weight:400!important;line-height:1.8!important;padding:10px 15px!important;letter-spacing:.15px}
.nav-submenu .nav-link{padding-right:25px!important}
.nav-section{font-family:"MohammadBoldArt",sans-serif!important;font-size:.92rem!important;line-height:1.7!important;font-weight:400!important}
.card-header{padding:22px 24px!important}
.card-body{padding:26px!important}
.card h3,.stat .label,.dashboard-stat .label,.kpi .label{font-family:"MohammadBoldArt",sans-serif!important;font-size:1.3rem!important;font-weight:400!important;line-height:1.7!important;margin-bottom:5px}
.card p,.stat .num,.dashboard-stat .num,.kpi .num{font-family:"MohammadBoldArt",sans-serif!important;font-size:2.5rem!important;font-weight:700!important;line-height:1.15!important;color:#d4af37!important;font-variant-numeric:tabular-nums}
.table-wrap{padding:4px 4px 10px}
table th,.table th{font-family:"MohammadBoldArt",sans-serif!important;font-size:1.15rem!important;line-height:1.65!important;padding:18px 12px!important;font-weight:400!important;background-color:#1a2a40!important;color:#fff!important}
table td,.table td{font-family:"MohammadBoldArt",sans-serif!important;font-size:1.1rem!important;line-height:1.8!important;padding:16px 12px!important;font-weight:400!important;vertical-align:middle}
table td b,.table td b{font-weight:400!important}
.student-code,.student-code a,.student-code-inline,.barcode-text,.tracking-code,.sid-body strong,.scan-input,.ltr,input[type="number"],input[type="tel"]{font-family:"MohammadBoldArt",sans-serif!important;font-size:1.2rem!important;font-weight:700!important;line-height:1.45!important;color:#1a2a40!important;background-color:#f8f9fa;padding:5px 10px;border-radius:5px;border:1px solid #d4af37;font-variant-numeric:tabular-nums;letter-spacing:.25px}
.student-code a{border:0!important;background:transparent!important;padding:0!important}
.form-group label,.detail-item b,.badge,.note,.muted,.alert,.btn,.form-control,.form-select,.quick-links a,.public-header a{font-family:"MohammadBoldArt",sans-serif!important;font-weight:400!important}
.form-group label{font-size:1.08rem!important;line-height:1.75!important}
.form-control,.form-select{font-size:1.08rem!important;line-height:1.65!important;padding:14px 15px!important;min-height:52px}
textarea.form-control{line-height:1.9!important;min-height:140px}
.btn{font-size:1.05rem!important;line-height:1.55!important;padding:12px 18px!important}
.btn-sm{font-size:.95rem!important;padding:8px 13px!important}
.badge{font-size:.92rem!important;line-height:1.5!important}
.alert{font-size:1.02rem!important;line-height:1.85!important;padding:15px 18px!important}
.page-title{font-size:1.75rem!important;line-height:1.65!important}
.dashboard-hero h1{font-size:1.85rem!important;line-height:1.75!important}
.dashboard-hero p,.hero-public p{font-size:1.05rem!important;line-height:2!important}
.topbar{min-height:88px;height:auto;padding-block:12px}
.content{padding:32px}
.card,.stat,.kpi,.detail-item,.quick-links a{overflow-wrap:anywhere}
@media(max-width:1200px) and (min-width:821px){html{font-size:19px!important}.nav-group-toggle,.nav-group-title,.nav-home{font-size:1.15rem!important}.nav-link,.nav-submenu .nav-link{font-size:1.02rem!important}.content{padding:26px}}
@media(max-width:820px){html{font-size:18px!important}body{line-height:2!important}.sidebar{width:min(350px,93vw)}.content{padding:18px}.nav-group-toggle,.nav-group-title,.nav-home{font-size:1.16rem!important}.nav-link,.nav-submenu .nav-link{font-size:1.02rem!important}.card-body{padding:20px!important}.table th{font-size:1rem!important;padding:14px 11px!important}.table td{font-size:1rem!important;padding:13px 11px!important}.card p,.stat .num,.dashboard-stat .num,.kpi .num{font-size:2.15rem!important}}
@media(max-width:480px){html{font-size:17px!important}body{line-height:1.95!important}.content{padding:14px}.page-title{font-size:1.48rem!important}.dashboard-hero h1{font-size:1.5rem!important}.card-header{padding:17px 18px!important}.card-body{padding:17px!important}.student-code,.student-code a,.student-code-inline,.barcode-text{font-size:1.02rem!important}}
@media print{html{font-size:12pt!important}body{font-family:"MohammadBoldArt",sans-serif!important;line-height:1.85!important}.table th,.table td{font-size:10.5pt!important;line-height:1.5!important;padding:7px 6px!important}.student-code,.student-code a,.student-code-inline,.barcode-text{font-family:"MohammadBoldArt",sans-serif!important;font-size:10.5pt!important;background:transparent!important;border:0!important;padding:0!important}.print-sheet{font-family:"MohammadBoldArt",sans-serif!important}}


/* مذكرة التكليف (05): واجهة إضافة الطالب والتشعيب */
.student-enrollment-card{max-width:980px;margin-inline:auto;border-top:4px solid var(--gold)}
.student-enrollment-card .form-group label{font-size:1.08rem!important;color:var(--navy);font-weight:400!important;margin-bottom:8px}
.student-enrollment-card .form-control,.student-enrollment-card .form-select{padding:13px 16px!important;min-height:54px}
.student-enrollment-card textarea.form-control{min-height:105px}
.student-enrollment-card small{display:block;margin-top:5px;color:#64748b;line-height:1.6}
.btn-submit-student{width:100%;font-size:1.15rem!important;border:1px solid var(--gold)!important}
.btn-submit-student:hover{background:var(--gold)!important;color:var(--navy)!important}
@media(max-width:820px){.student-enrollment-card .card-body{padding:18px!important}.student-enrollment-card .form-grid{grid-template-columns:1fr}}


/* الإصدار 12.0.5: الواجهة الحكومية لقيد الطلاب وربط بطاقة الهوية */
.student-government-portal{max-width:1050px;margin:24px auto 40px;background:#fff;border:1px solid #dbe3ec;border-radius:18px;box-shadow:0 16px 45px rgba(15,29,45,.10);overflow:hidden;direction:rtl}
.student-government-header{display:grid;grid-template-columns:110px 1fr 110px;align-items:center;gap:24px;padding:24px 38px;background:linear-gradient(135deg,#1a2a40 0%,#111e2e 100%);border-bottom:5px solid #d4af37;color:#fff;position:relative}
.student-government-header:after{content:"";position:absolute;inset:auto 0 0;height:1px;background:rgba(255,255,255,.25)}
.student-government-symbol{display:flex;align-items:center;justify-content:center;min-height:82px}
.student-government-symbol img{display:block;max-width:100%;height:auto;filter:drop-shadow(0 5px 9px rgba(0,0,0,.23))}
.student-government-flag img{width:96px;border:2px solid rgba(255,255,255,.8);border-radius:4px}
.student-school-emblem img{width:88px}
.student-government-titles{text-align:center;line-height:1.55}
.student-government-titles .government-kicker{display:block;font-family:"MohammadBoldArt",sans-serif!important;font-size:1.28rem;color:#fff;margin-bottom:2px}
.student-government-titles h1{font-family:"MohammadBoldArt",sans-serif!important;font-size:1.18rem;font-weight:400!important;color:#d9e3ef;margin:0}
.student-government-titles h2{font-family:"MohammadBoldArt",sans-serif!important;font-size:1.42rem;font-weight:400!important;color:#d4af37;margin:3px 0 0}
.student-government-titles p{font-size:.96rem;color:#cbd5e1;margin:0}
.student-government-control-card{padding:34px 38px 40px}
.student-government-card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:19px;margin-bottom:28px;border-bottom:1px dashed #b8c5d4}
.student-government-card-title>div{display:flex;gap:14px;align-items:flex-start}
.student-form-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#1a2a40;color:#d4af37;font-family:"MohammadBoldArt",sans-serif!important;font-size:1.4rem;border:1px solid #d4af37;flex:0 0 auto}
.student-government-card-title h3{font-size:1.38rem;font-weight:400!important;color:#1a2a40;margin:0;line-height:1.55}
.student-government-card-title p{font-size:.96rem;color:#64748b;margin:2px 0 0;line-height:1.7}
.student-government-badge{white-space:nowrap;border:1px solid #d4af37;background:#fff9e8;color:#715516;border-radius:999px;padding:5px 13px;font-size:.88rem}
.student-government-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 25px}
.student-government-full{grid-column:1/-1}
.student-government-field label{display:flex;align-items:baseline;gap:8px;font-size:1.12rem!important;color:#1a2a40;font-weight:400!important;margin-bottom:8px;line-height:1.7}
.student-government-field label small{font-family:"MohammadBoldArt",sans-serif!important;font-size:.72rem;color:#7c8795}
.student-government-field .form-control,.student-government-field .form-select{font-family:"MohammadBoldArt",sans-serif!important;width:100%;padding:12px 16px!important;border:2px solid #cbd5e1!important;border-radius:9px!important;font-size:1.06rem!important;color:#111e2e!important;background:#f8fafc!important;min-height:55px;box-shadow:none!important;transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease}
.student-government-field .form-control:focus,.student-government-field .form-select:focus{border-color:#d4af37!important;background:#fff!important;box-shadow:0 0 0 4px rgba(212,175,55,.13)!important;outline:0}
.student-government-field .ltr{font-family:"MohammadBoldArt",sans-serif!important;font-weight:700!important;letter-spacing:.25px}
.student-government-field>span{display:block;margin-top:6px;font-size:.82rem;color:#68778a;line-height:1.65}
.student-government-divider{display:flex;align-items:center;gap:12px;color:#1a2a40;font-size:1.02rem;margin:3px 0 -2px}
.student-government-divider:before,.student-government-divider:after{content:"";height:1px;background:#dbe3ec;flex:1}
.student-government-security-note{margin-top:27px;padding:14px 17px;border:1px solid #dccb8c;border-right:5px solid #d4af37;background:#fffbee;border-radius:10px;color:#3e4651;font-size:.96rem;line-height:1.8}
.student-government-security-note b{font-weight:400!important;color:#1a2a40}
.student-government-actions{display:grid;grid-template-columns:minmax(0,2fr) minmax(190px,1fr);gap:14px;margin-top:25px}
.btn-primary-gov,.btn-secondary-gov{font-family:"MohammadBoldArt",sans-serif!important;display:flex;align-items:center;justify-content:center;gap:9px;text-align:center;border-radius:9px;padding:13px 18px;font-size:1.16rem!important;line-height:1.55;text-decoration:none;cursor:pointer;transition:background-color .2s,color .2s,transform .2s,border-color .2s;min-height:56px}
.btn-primary-gov{background:#1a2a40;color:#fff;border:2px solid #d4af37}
.btn-primary-gov span{font-family:"MohammadBoldArt",sans-serif!important;color:#d4af37;font-weight:700}
.btn-primary-gov:hover{background:#d4af37;color:#1a2a40;transform:translateY(-1px)}
.btn-primary-gov:hover span{color:#1a2a40}
.btn-secondary-gov{background:#fff;color:#1a2a40;border:2px solid #cbd5e1}
.btn-secondary-gov:hover{border-color:#1a2a40;background:#f5f8fb;color:#1a2a40;transform:translateY(-1px)}
@media(max-width:820px){.student-portal-page-head{align-items:flex-start}.student-government-header{grid-template-columns:78px 1fr 78px;gap:12px;padding:20px 16px}.student-government-flag img{width:70px}.student-school-emblem img{width:66px}.student-government-titles .government-kicker{font-size:1.05rem}.student-government-titles h1{font-size:.96rem}.student-government-titles h2{font-size:1.12rem}.student-government-titles p{font-size:.8rem}.student-government-control-card{padding:25px 18px 30px}.student-government-card-title{flex-direction:column}.student-government-grid{grid-template-columns:1fr}.student-government-full{grid-column:auto}.student-government-actions{grid-template-columns:1fr}.student-government-badge{align-self:flex-start}}
@media(max-width:520px){.student-government-header{grid-template-columns:1fr;gap:8px;text-align:center}.student-government-symbol{min-height:0}.student-government-flag{order:1}.student-government-titles{order:2}.student-school-emblem{order:3}.student-government-flag img{width:82px}.student-school-emblem img{width:64px}.student-government-control-card{padding:20px 14px 25px}.student-government-card-title>div{gap:10px}.student-form-icon{width:42px;height:42px}.student-government-card-title h3{font-size:1.18rem}.student-government-field label{font-size:1.02rem!important}}
@media print{.student-government-header{background:#1a2a40!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.student-government-portal{box-shadow:none}.student-government-actions,.student-portal-page-head{display:none!important}}

/* الإصدار 12.0.6: سجل العاملين والهوية الوظيفية وبوابة الدخول */
.registry-header{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;flex-wrap:wrap;margin-bottom:22px}.registry-kicker,.staff-heading-kicker{display:block;color:#9a741c;font-size:.92rem;letter-spacing:.2px;margin-bottom:3px}.registry-header .page-title{margin-bottom:0}.staff-form-shell{max-width:1120px;margin:0 auto 36px}.staff-form-heading{display:grid;grid-template-columns:1fr 104px;gap:24px;align-items:center;background:linear-gradient(135deg,#1a2a40,#111e2e);color:#fff;border-bottom:5px solid #d4af37;border-radius:18px 18px 0 0;padding:26px 32px}.staff-form-heading h1{font-size:1.55rem;font-weight:400!important;margin:2px 0;color:#fff}.staff-form-heading p{color:#cbd5e1;margin:0;font-size:.96rem}.staff-form-avatar{width:92px;height:108px;border:2px solid #d4af37;border-radius:12px;object-fit:cover;background:#edf1f5}.staff-avatar-placeholder{display:grid;place-items:center;font-family:"MohammadBoldArt",sans-serif!important;font-weight:800;color:#d4af37;background:#10233f}.staff-profile-form{background:#fff;border:1px solid #dce4ed;border-top:0;border-radius:0 0 18px 18px;padding:30px;box-shadow:0 18px 45px rgba(15,29,45,.09)}.staff-form-section{padding:0 0 28px;margin-bottom:27px;border-bottom:1px solid #e5eaf0}.staff-form-section:last-of-type{margin-bottom:16px}.staff-section-title{display:flex;align-items:center;gap:13px;margin-bottom:21px}.staff-section-title>span{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:#1a2a40;color:#d4af37;font-family:"MohammadBoldArt",sans-serif!important;font-weight:800;border:1px solid #d4af37}.staff-section-title b{display:block;color:#1a2a40;font-size:1.18rem;font-weight:400!important;line-height:1.5}.staff-section-title small{display:block;color:#64748b;font-size:.86rem;line-height:1.5}.staff-input-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}.staff-profile-form .form-group label{font-size:1.08rem!important;font-weight:400!important;color:#1a2a40}.staff-profile-form .form-control,.staff-profile-form .form-select{min-height:54px;padding:12px 15px!important;background:#f8fafc;border:2px solid #cbd5e1!important}.staff-profile-form textarea.form-control{min-height:105px}.staff-profile-form small{display:block;color:#64748b;font-size:.8rem;line-height:1.6;margin-top:4px}.staff-account-section{background:#f8fafc;border:1px solid #dce4ed;border-right:5px solid #d4af37;border-radius:13px;padding:22px;margin-bottom:26px}.staff-account-toggle{display:flex;gap:10px;align-items:center;color:#1a2a40;margin:0 0 18px;font-size:1.04rem}.staff-account-toggle input{width:20px;height:20px;accent-color:#1a2a40}.staff-current-code{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#fff;border:1px solid #dce4ed;border-radius:10px;padding:13px}.staff-form-actions{display:grid;grid-template-columns:minmax(0,2fr) minmax(190px,1fr);gap:13px}.btn-gov-action{justify-content:center;min-height:58px;font-size:1.18rem!important;border:2px solid #d4af37!important}.numeric-input,.numeric-text{font-family:"MohammadBoldArt",sans-serif!important;font-variant-numeric:tabular-nums}.staff-person-cell{display:flex;align-items:center;gap:11px}.staff-person-cell img{width:48px;height:56px;border-radius:9px;object-fit:cover;border:1px solid #d4af37;background:#edf1f5}.staff-person-cell small,.staff-registry-table td>small,.management-table td>small{display:block;color:#667085;margin-top:2px}.employee-profile-hero{display:grid;grid-template-columns:125px 1fr auto;gap:24px;align-items:center;background:linear-gradient(135deg,#1a2a40,#111e2e);border-bottom:5px solid #d4af37;color:#fff;border-radius:18px;padding:25px 28px;margin-bottom:20px}.employee-profile-photo{width:118px;height:140px;object-fit:cover;border-radius:13px;border:2px solid #d4af37;background:#edf1f5}.employee-profile-main h1{font-size:1.65rem;font-weight:400!important;margin:2px 0}.employee-profile-main p{color:#d7e1ec;margin:9px 0 0;font-size:.94rem;line-height:1.8}.employee-profile-meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center;color:#d4af37}.employee-profile-meta>span:not(.badge){border-left:1px solid rgba(255,255,255,.25);padding-left:9px}.employee-profile-actions{display:flex;gap:8px;flex-direction:column;min-width:190px}.profile-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.profile-summary-card{background:#fff;border:1px solid #dfe5ed;border-top:3px solid #d4af37;border-radius:13px;padding:16px}.profile-summary-card>span{display:block;color:#667085;font-size:.86rem}.profile-summary-card>b{display:block;color:#1a2a40;font-family:"MohammadBoldArt",sans-serif!important;font-size:1.25rem;margin-top:3px}.profile-summary-card small{display:block;color:#667085;font-family:"MohammadBoldArt",sans-serif!important;font-size:.72rem;overflow-wrap:anywhere}.staff-login-page{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at top right,#365f86 0,#1a2a40 42%,#101d2f 100%)}.staff-login-card{width:min(590px,96vw);background:#fff;border-radius:19px;box-shadow:0 28px 75px rgba(0,0,0,.30);overflow:hidden}.staff-login-header{display:flex;align-items:center;gap:17px;background:#1a2a40;color:#fff;padding:24px 28px;border-bottom:4px solid #d4af37}.staff-login-mark{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:#d4af37;color:#1a2a40;font-family:"MohammadBoldArt",sans-serif!important;font-weight:900}.staff-login-header h1{font-size:1.28rem;font-weight:400!important;margin:0;color:#d4af37}.staff-login-header p{font-size:.86rem;color:#d7e1ec;margin:2px 0 0}.staff-login-card>.alert{margin:18px 24px 0}.staff-login-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f1f5f9;border-bottom:1px solid #dce3eb}.staff-login-tab{font-family:"MohammadBoldArt",sans-serif!important;border:0;background:transparent;padding:15px;cursor:pointer;color:#64748b;font-size:1rem}.staff-login-tab.active{background:#fff;color:#1a2a40;border-top:3px solid #d4af37}.staff-login-panel{display:none;padding:26px 30px}.staff-login-panel.active{display:block}.staff-login-panel .form-group{margin-bottom:16px}.staff-login-panel label{font-weight:400!important;font-size:1.05rem!important;color:#1a2a40}.staff-login-panel .form-control{min-height:54px;border:2px solid #cbd5e1}.staff-login-submit{width:100%;justify-content:center;min-height:55px;border:2px solid #d4af37!important;font-size:1.1rem!important}.scanner-visual{position:relative;overflow:hidden;text-align:center;border:2px dashed #d4af37;background:#fffbee;border-radius:13px;padding:24px 15px;margin-bottom:17px;color:#1a2a40}.scanner-line{height:2px;background:#ce1126;box-shadow:0 0 10px #ce1126;animation:staffScan 2s ease-in-out infinite;margin-bottom:18px}@keyframes staffScan{0%,100%{transform:translateY(-10px)}50%{transform:translateY(30px)}}.staff-login-footer{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;padding:14px 22px;background:#f8fafc;color:#64748b;font-size:.78rem}.staff-login-footer a{color:#1a2a40}.security-action-stack{display:flex;flex-direction:column;gap:7px;min-width:300px}.security-inline-form{display:grid;grid-template-columns:minmax(120px,1fr) auto;gap:6px;align-items:center}.security-inline-form .form-control{min-height:39px;padding:6px 9px!important;font-size:.86rem!important}.management-table td{vertical-align:top}.management-table .badge{white-space:nowrap}
@media(max-width:1000px){.profile-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-profile-hero{grid-template-columns:105px 1fr}.employee-profile-actions{grid-column:1/-1;flex-direction:row}.employee-profile-photo{width:100px;height:120px}}
@media(max-width:820px){.staff-input-grid{grid-template-columns:1fr}.staff-form-heading{grid-template-columns:1fr 82px;padding:21px 18px}.staff-form-avatar{width:76px;height:92px}.staff-profile-form{padding:21px 16px}.staff-form-actions{grid-template-columns:1fr}.employee-profile-hero{grid-template-columns:86px 1fr;padding:19px}.employee-profile-photo{width:82px;height:100px}.profile-summary-grid{grid-template-columns:1fr 1fr}.security-inline-form{grid-template-columns:1fr}.security-action-stack{min-width:210px}.registry-header{align-items:flex-start}}
@media(max-width:520px){.staff-form-heading{grid-template-columns:1fr}.staff-form-avatar{grid-row:1;justify-self:center}.employee-profile-hero{grid-template-columns:1fr;text-align:center}.employee-profile-photo{justify-self:center}.employee-profile-meta{justify-content:center}.employee-profile-actions{flex-direction:column}.profile-summary-grid{grid-template-columns:1fr}.staff-login-page{padding:10px}.staff-login-panel{padding:22px 17px}.staff-login-header{padding:20px 17px}.staff-login-mark{width:52px;height:52px}.staff-login-tabs{grid-template-columns:1fr}.staff-form-actions{grid-template-columns:1fr}}
@media print{.staff-form-actions,.employee-profile-actions,.registry-header .actions{display:none!important}.employee-profile-hero{background:#1a2a40!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.staff-login-page{display:none!important}}

/* الإصدار 12.0.7: لوحة القيادة التحليلية ومركز التقارير السيادية */
.executive-dashboard-shell{max-width:1420px;margin:0 auto 35px;background:#fff;border:1px solid #dce3eb;border-radius:19px;box-shadow:0 18px 45px rgba(15,29,45,.08);overflow:hidden}.executive-gov-header{display:grid;grid-template-columns:100px 1fr 100px;gap:24px;align-items:center;background:linear-gradient(135deg,#1a2a40 0%,#0f1a2a 100%);color:#fff;padding:23px 34px;border-bottom:5px solid #d4af37}.executive-flag img{display:block;width:82px;height:auto;border:1px solid rgba(255,255,255,.65);box-shadow:0 5px 14px rgba(0,0,0,.2)}.executive-gov-titles{text-align:center}.executive-gov-titles>span{display:block;color:#dce6f2;font-size:.92rem;line-height:1.4}.executive-gov-titles h1{font-size:1.38rem;font-weight:400!important;margin:1px;color:#fff;line-height:1.65}.executive-gov-titles h2{font-size:1.5rem;font-weight:400!important;margin:1px;color:#d4af37;line-height:1.65}.executive-gov-titles p{margin:2px 0 0;color:#cbd5e1;font-size:.88rem;line-height:1.6}.executive-school-mark{text-align:center}.executive-school-mark img{display:block;width:72px;height:72px;margin:0 auto 4px}.executive-school-mark small{font-family:"MohammadBoldArt",sans-serif!important;color:#d4af37}.executive-dashboard-content{padding:29px}.executive-metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:25px}.executive-metric-card{background:#fff;border:1px solid #dfe5ed;border-top:4px solid #1a2a40;border-radius:13px;padding:18px;text-align:center;box-shadow:0 5px 15px rgba(20,43,70,.04);transition:transform .2s,border-color .2s}.executive-metric-card:hover{transform:translateY(-3px);border-top-color:#d4af37}.executive-metric-card span{display:block;color:#1a2a40;font-size:1.12rem;line-height:1.55}.executive-metric-card strong{display:block;font-family:"MohammadBoldArt",sans-serif!important;color:#d4af37;font-size:2.45rem;line-height:1.1;margin:7px 0;font-variant-numeric:tabular-nums}.executive-metric-card small{display:block;color:#667085;font-size:.78rem;line-height:1.5}.executive-analytics-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(290px,.8fr);gap:20px;margin-bottom:25px}.executive-chart-box,.executive-insights-box,.executive-reports-center{border:1px solid #dfe5ed;border-radius:14px;background:#fff;padding:22px}.executive-box-header,.executive-section-title{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;border-bottom:2px solid #d4af37;padding-bottom:9px;margin-bottom:18px}.executive-box-header span,.executive-section-title span{display:block;color:#9a741c;font-size:.78rem;line-height:1.4}.executive-box-header h3,.executive-section-title h3{font-size:1.22rem;font-weight:400!important;color:#1a2a40;margin:1px 0;line-height:1.5}.executive-section-title>small{color:#667085;font-size:.78rem;max-width:430px;text-align:left}.chart-legend{display:flex;align-items:center;gap:7px;font-size:.76rem;color:#475467;white-space:nowrap}.chart-legend i{width:11px;height:11px;border-radius:2px;display:inline-block}.regular-key{background:#1a2a40}.home-key{background:#d4af37}.server-bar-chart{display:grid;grid-template-columns:40px 1fr;gap:10px;height:335px;border-bottom:1px solid #b8c1cc;background:repeating-linear-gradient(to top,#fff 0,#fff calc(25% - 1px),#e9edf2 25%);padding-top:15px}.chart-axis{display:flex;flex-direction:column;justify-content:space-between;text-align:left;font:12px "MohammadBoldArt",sans-serif;color:#667085;padding-bottom:38px}.chart-columns{display:grid;grid-template-columns:repeat(6,minmax(65px,1fr));gap:12px;align-items:stretch;min-width:610px}.chart-category{display:grid;grid-template-rows:1fr 38px;min-width:0}.chart-bars{height:100%;display:flex;align-items:flex-end;justify-content:center;gap:6px}.chart-bar{position:relative;width:min(34%,34px);min-height:5px;border-radius:5px 5px 0 0;transition:filter .18s,transform .18s;outline:none}.chart-bar:hover,.chart-bar:focus{filter:brightness(1.12);transform:scaleX(1.08)}.chart-bar-regular{background:#1a2a40;border:1px solid #d4af37}.chart-bar-home{background:#d4af37;border:1px solid #1a2a40}.chart-bar>b{position:absolute;top:-22px;right:50%;transform:translateX(50%);font:700 11px "MohammadBoldArt",sans-serif;color:#1a2a40}.chart-bar>span{display:none;position:absolute;z-index:5;bottom:calc(100% + 28px);right:50%;transform:translateX(50%);background:#111e2e;color:#fff;font-size:.7rem;line-height:1.4;padding:6px 8px;border-radius:6px;white-space:nowrap}.chart-bar:hover>span,.chart-bar:focus>span{display:block}.chart-category>small{display:block;text-align:center;line-height:1.3;color:#475467;font-size:.7rem;padding-top:7px}.executive-data-note{margin:11px 0 0!important;color:#667085!important;font-size:.72rem!important;line-height:1.5!important}.executive-insights-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}.executive-insights-list li{display:grid;grid-template-columns:39px 1fr;gap:10px;align-items:center;background:#f8fafc;border:1px solid #e5eaf0;border-radius:10px;padding:10px}.executive-insights-list i{width:37px;height:37px;border-radius:9px;display:grid;place-items:center;background:#1a2a40;color:#d4af37;font:700 12px "MohammadBoldArt",sans-serif}.executive-insights-list b{display:block;color:#1a2a40;font-size:.91rem;font-weight:400!important;line-height:1.4}.executive-insights-list span{display:block;color:#667085;font-size:.75rem;line-height:1.45}.executive-reports-center{margin-bottom:25px}.executive-reports-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.executive-report-card{display:grid;grid-template-columns:52px 1fr;gap:13px;align-content:start;background:#f8fafc;border:1px solid #dce3eb;border-radius:12px;padding:17px;min-height:225px;transition:border-color .2s,box-shadow .2s}.executive-report-card:hover{border-color:#d4af37;box-shadow:0 7px 18px rgba(20,43,70,.07)}.report-symbol{width:48px;height:48px;border-radius:10px;display:grid;place-items:center;background:#1a2a40;color:#d4af37;border:1px solid #d4af37;font:700 14px "MohammadBoldArt",sans-serif}.executive-report-card h4{font-size:1.08rem;font-weight:400!important;color:#1a2a40;margin:0 0 5px;line-height:1.5}.executive-report-card p{font-family:"MohammadBoldArt",sans-serif!important;font-size:.79rem!important;font-weight:400!important;color:#667085!important;line-height:1.65!important;margin:0!important}.report-actions,.report-date-form{grid-column:1/-1;align-self:end;display:flex;gap:8px;align-items:center;margin-top:10px}.report-actions .btn{flex:1;justify-content:center}.report-date-form{display:grid;grid-template-columns:1fr auto}.report-date-form .form-control{min-height:44px}.executive-lower-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,.7fr);gap:19px}.executive-lower-grid .card{margin:0}.executive-lower-grid .table td,.executive-lower-grid .table th{font-size:.82rem!important;padding:10px 9px!important}
@media(max-width:1180px){.executive-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.executive-analytics-grid{grid-template-columns:1fr}.executive-reports-grid{grid-template-columns:1fr 1fr}.server-bar-chart{overflow-x:auto}.executive-lower-grid{grid-template-columns:1fr}}
@media(max-width:820px){.executive-dashboard-content{padding:18px}.executive-gov-header{grid-template-columns:78px 1fr;padding:19px}.executive-school-mark{display:none}.executive-gov-titles{text-align:right}.executive-gov-titles h1{font-size:1.16rem}.executive-gov-titles h2{font-size:1.24rem}.executive-flag img{width:70px}.executive-reports-grid{grid-template-columns:1fr}.executive-box-header,.executive-section-title{align-items:flex-start;flex-direction:column}.executive-section-title>small{text-align:right}.chart-columns{min-width:580px}}
@media(max-width:520px){.executive-gov-header{grid-template-columns:1fr;text-align:center}.executive-gov-titles{text-align:center}.executive-flag img{margin:auto}.executive-metrics-grid{grid-template-columns:1fr}.executive-dashboard-content{padding:13px}.executive-chart-box,.executive-insights-box,.executive-reports-center{padding:16px 12px}.executive-report-card{grid-template-columns:45px 1fr;padding:14px}.report-actions{flex-direction:column}.report-actions .btn{width:100%}.report-date-form{grid-template-columns:1fr}.server-bar-chart{height:310px}}
@media print{.executive-dashboard-shell{box-shadow:none}.executive-gov-header{background:#1a2a40!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.executive-lower-grid,.report-actions,.report-date-form{display:none!important}}

/* الإصدار 12.0.8: مصمم البطاقات الرقمية السيادية */
.identity-panel-container{direction:rtl;background:#f8fafc;border:1px solid #e2e8f0;border-radius:17px;padding:21px;box-shadow:0 15px 38px rgba(15,29,45,.06)}
.identity-panel-main-header{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;padding:5px 3px 18px}.identity-panel-kicker{display:block;color:#9a741c;font-size:.78rem;line-height:1.4}.identity-panel-main-header h1{color:#1a2a40;font-size:1.52rem;font-weight:400!important;line-height:1.6;margin:0}.identity-panel-main-header p{color:#64748b;font-size:.87rem!important;line-height:1.75!important;margin:2px 0 0!important}.identity-panel-header-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.identity-add-owner{border:1px solid #d4af37!important}
.identity-glowing-active{background:#fff;border:2px solid #d4af37!important;box-shadow:0 0 18px rgba(212,175,55,.22),0 5px 13px rgba(15,29,45,.05);animation:identitySubtleGlow 3s ease-in-out infinite alternate}@keyframes identitySubtleGlow{from{box-shadow:0 0 13px rgba(212,175,55,.18),0 4px 11px rgba(15,29,45,.04)}to{box-shadow:0 0 27px rgba(212,175,55,.4),0 7px 16px rgba(15,29,45,.07)}}
.identity-filter-zone{border-radius:13px;padding:19px 22px;margin-bottom:23px}.identity-filter-form{display:grid;grid-template-columns:minmax(190px,.42fr) minmax(310px,1.55fr) minmax(130px,.35fr);gap:17px;align-items:end}.identity-filter-group{display:flex;flex-direction:column;gap:6px}.identity-filter-group label{color:#1a2a40;font-size:1.04rem;line-height:1.5}.identity-filter-zone .form-control,.identity-filter-zone .form-select{font-family:"MohammadBoldArt",sans-serif!important;background:#f8fafc;border:1.5px solid #cbd5e1;min-height:49px}.identity-filter-zone .form-control:focus,.identity-filter-zone .form-select:focus{background:#fff;border-color:#d4af37;box-shadow:0 0 0 3px rgba(212,175,55,.13)}.identity-search-row{display:grid;grid-template-columns:1fr auto;gap:8px}.identity-filter-summary{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;padding:7px 11px;min-height:49px}.identity-filter-summary span{font-size:.77rem;color:#64748b}.identity-filter-summary strong{font:800 1.25rem "MohammadBoldArt",sans-serif;color:#1a2a40}.identity-filter-summary small{grid-column:1/-1;font-size:.63rem;color:#98a2b3;line-height:1.2}
.identity-workspace-grid{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(330px,1fr);gap:23px;align-items:start}.identity-records-box,.identity-preview-box{background:#fff;border:1px solid #e2e8f0;border-radius:13px;padding:18px;box-shadow:0 5px 14px rgba(15,29,45,.035)}.identity-preview-box{position:sticky;top:20px}.identity-box-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;border-bottom:2px solid #1a2a40;padding-bottom:7px;margin-bottom:14px}.identity-box-heading span{display:block;color:#9a741c;font-size:.7rem;line-height:1.3}.identity-box-heading h2{color:#1a2a40;font-size:1.14rem;font-weight:400!important;line-height:1.55;margin:0}.identity-records-table-wrap{max-height:680px;overflow:auto}.identity-gov-data-table{min-width:680px}.identity-gov-data-table th{background:#1a2a40!important;color:#fff!important;font-size:1rem!important;font-weight:400!important;padding:13px 11px!important;position:sticky;top:0;z-index:2}.identity-gov-data-table td{font-size:.95rem!important;padding:12px 11px!important;vertical-align:middle}.identity-gov-data-table td b{display:block;color:#1a2a40;font-weight:400!important;line-height:1.55}.identity-gov-data-table td small{display:block;color:#64748b;font-size:.7rem;line-height:1.45}.identity-clickable-row{cursor:pointer;transition:background .18s,box-shadow .18s}.identity-clickable-row:hover,.identity-clickable-row:focus{background:#fffbea;outline:none;box-shadow:inset -4px 0 #d4af37}.identity-clickable-row.is-selected{background:#fff8dd;box-shadow:inset -5px 0 #d4af37}.numeric-code{font-family:"MohammadBoldArt",sans-serif!important;font-weight:800!important;direction:ltr;unicode-bidi:isolate;text-align:center;letter-spacing:.02em}.identity-status-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:3px 9px;font-size:.7rem;line-height:1.4;border:1px solid transparent;white-space:nowrap}.identity-status-active{background:#dcfce7;color:#166534;border-color:#bbefc9}.identity-status-suspended{background:#fff3cd;color:#8a5a00;border-color:#f1d68c}.identity-status-revoked{background:#fee2e2;color:#991b1b;border-color:#f3b8b8}.identity-empty-table{text-align:center;color:#64748b;padding:28px}
.identity-live-card{border-radius:14px;padding:17px;background:linear-gradient(145deg,#fff 0%,#fbfcfe 100%);overflow:hidden}.identity-live-card-top{display:grid;grid-template-columns:45px 1fr auto;gap:10px;align-items:center;border-bottom:2px solid #1a2a40;padding-bottom:9px}.identity-live-card-top img{width:43px;height:43px}.identity-live-card-top strong{display:block;color:#1a2a40;font-size:.9rem;font-weight:400!important;line-height:1.45}.identity-live-card-top small{display:block;color:#64748b;font-size:.62rem;line-height:1.35}.identity-live-card-top>span{color:#9a741c;font-size:.67rem;white-space:nowrap}.identity-live-card-body{display:grid;grid-template-columns:94px 1fr;gap:14px;align-items:center;padding:15px 0 8px}.identity-live-avatar{width:94px;height:118px;object-fit:cover;border:2px solid #d4af37;border-radius:8px;background:#f1f5f9}.identity-live-details h3{font-size:1.14rem;font-weight:400!important;color:#1a2a40;line-height:1.55;margin:0 0 2px}.identity-live-details p{font-family:"MohammadBoldArt",sans-serif!important;font-size:.76rem!important;font-weight:400!important;color:#64748b!important;line-height:1.55!important;margin:0 0 6px!important}.identity-live-details .numeric-code{display:inline-block;font-size:.9rem!important;color:#1a2a40;background:#f8fafc;border:1px solid #d4af37;border-radius:6px;padding:4px 7px;margin-bottom:4px}.identity-live-details small{display:block;font:600 .66rem "MohammadBoldArt",sans-serif;color:#64748b;margin-bottom:6px;direction:ltr;text-align:right}.identity-live-barcode{background:#fff;border-radius:7px;padding:5px 7px;border-top:1px dashed #cbd5e1}.identity-live-barcode img{display:block;width:100%;height:78px;object-fit:contain}.identity-preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px}.identity-preview-actions .btn{justify-content:center}.identity-admin-tools{border:1px solid #dfe5ed;border-radius:9px;background:#fff;margin-top:11px;overflow:hidden}.identity-admin-tools summary{cursor:pointer;color:#1a2a40;padding:9px 12px;font-size:.78rem;background:#f8fafc}.identity-admin-tools form{padding:12px}.identity-admin-tools .form-group{margin-bottom:9px}.identity-admin-tools label{font-size:.76rem}.identity-admin-tools .btn{width:100%;justify-content:center}.identity-empty-preview{text-align:center;color:#64748b;border:2px dashed #cbd5e1;border-radius:11px;padding:34px 18px;background:#f8fafc}.identity-empty-preview img{width:65px;height:65px;opacity:.55}.identity-empty-preview h3{color:#1a2a40;font-size:1.05rem;font-weight:400!important;margin:8px 0 0}.identity-empty-preview p{font-size:.75rem!important;line-height:1.7!important;margin:2px 0!important}
@media(max-width:1160px){.identity-workspace-grid{grid-template-columns:1fr}.identity-preview-box{position:static}.identity-filter-form{grid-template-columns:1fr 2fr}.identity-filter-summary{grid-column:1/-1}.identity-records-table-wrap{max-height:520px}.identity-preview-box{max-width:680px;width:100%;margin:auto}}
@media(max-width:820px){.identity-panel-container{padding:13px}.identity-panel-main-header{flex-direction:column}.identity-panel-header-actions{width:100%;justify-content:stretch}.identity-panel-header-actions .btn{flex:1;justify-content:center}.identity-filter-form{grid-template-columns:1fr}.identity-filter-summary{grid-column:auto}.identity-search-row{grid-template-columns:1fr}.identity-workspace-grid{gap:14px}.identity-records-box,.identity-preview-box{padding:12px}.identity-live-card-body{grid-template-columns:82px 1fr}.identity-live-avatar{width:82px;height:104px}}
@media(max-width:480px){.identity-panel-main-header h1{font-size:1.3rem}.identity-panel-header-actions{flex-direction:column}.identity-live-card-top{grid-template-columns:38px 1fr}.identity-live-card-top>span{grid-column:1/-1;text-align:center}.identity-live-card-body{grid-template-columns:1fr;text-align:center}.identity-live-avatar{margin:auto}.identity-live-details small{text-align:center}.identity-preview-actions{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.identity-glowing-active{animation:none}.identity-clickable-row,.identity-panel-container *{scroll-behavior:auto!important;transition:none!important}}
@media print{.identity-glowing-active{animation:none;box-shadow:none}.identity-filter-zone,.identity-records-box,.identity-panel-main-header,.identity-preview-actions,.identity-admin-tools{display:none!important}.identity-panel-container,.identity-preview-box{border:0;box-shadow:none;padding:0}.identity-workspace-grid{display:block}.identity-live-card{max-width:85.6mm;margin:auto}}


/* الإصدار 12.0.9: تصحيح أحجام خط الرقعة والمقروئية المتوازنة */

html{font-size:16px!important}
body{
  font-family:"MohammadBoldArt",sans-serif!important;
  font-size:1rem!important;
  line-height:1.65!important;
  color:#17263a!important;
  font-weight:400!important;
  letter-spacing:0!important;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility
}
body :is(h1,h2,h3,h4,h5,h6,p,span,a,label,button,input,select,textarea,th,td,small,strong,b,summary){letter-spacing:0}
.sidebar{width:280px!important;padding:16px 13px!important}
.main{margin-right:280px!important}
.brand{gap:11px!important;padding:3px 8px 16px!important}
.brand-emblem{width:50px!important;height:50px!important;font:800 .95rem "MohammadBoldArt",sans-serif!important}
.brand h1{font-size:.98rem!important;line-height:1.55!important;font-weight:400!important}
.brand small{font-size:.76rem!important;line-height:1.45!important}
.nav-section{font-size:.72rem!important;line-height:1.45!important;padding:12px 12px 4px!important}
.nav-group-toggle,.nav-home{min-height:46px!important;padding:10px 12px!important;font-size:1rem!important;line-height:1.4!important;font-weight:400!important}
.nav-group-title{font-size:1rem!important;line-height:1.4!important;font-weight:400!important;gap:9px!important}
.nav-group-title i{font-size:.95rem!important;min-width:20px!important}
.nav-submenu{padding:0 7px 8px!important}
.nav-link,.nav-submenu .nav-link,.dropdown div,.submenu a{font-size:.92rem!important;line-height:1.48!important;font-weight:400!important;padding:8px 11px!important;min-height:39px!important}
.nav-submenu .nav-link{padding-right:18px!important}
.topbar{height:72px!important;min-height:72px!important;padding:0 24px!important}
.topbar-title b{font-size:1rem!important;line-height:1.4!important;font-weight:400!important}
.topbar-date{font:400 .77rem/1.4 "MohammadBoldArt",sans-serif!important}
.user-badge{font-size:.88rem!important}
.content{padding:24px!important}
.page-head{margin-bottom:16px!important}
.page-title{font-size:1.55rem!important;line-height:1.45!important;font-weight:400!important}
.muted,.note{font-size:.88rem!important;line-height:1.55!important}
.card{margin-bottom:18px!important}
.card-header{padding:14px 18px!important;line-height:1.45!important}
.card-header>b,.card-header>div>b{font-size:1rem!important;font-weight:400!important}
.card-body{padding:18px!important}
.card h3,.stat .label,.dashboard-stat .label,.kpi .label{font-family:"MohammadBoldArt",sans-serif!important;font-size:1rem!important;line-height:1.45!important;font-weight:400!important;color:#1a2a40!important;margin-bottom:4px!important}
.card p{font-family:"MohammadBoldArt",sans-serif!important;font-size:.94rem!important;line-height:1.6!important;font-weight:400!important;color:inherit!important;margin-top:.35em!important;margin-bottom:.65em!important}
.stat,.kpi{padding:16px!important}
.stat .num,.dashboard-stat .num,.kpi .num,.metric-card p,.executive-metric-value{font-family:"MohammadBoldArt",sans-serif!important;font-size:2rem!important;line-height:1.1!important;font-weight:700!important;color:#b98b21!important;font-variant-numeric:tabular-nums!important;margin:3px 0 0!important}
.dashboard-stat{min-height:104px!important;gap:12px!important;padding:15px!important}
.dashboard-stat small{font-size:.78rem!important;line-height:1.45!important}
.stat-icon{width:42px!important;height:42px!important;font-size:.88rem!important}
.dashboard-hero{padding:23px 27px!important;margin-bottom:18px!important}
.dashboard-hero h1{font-size:1.58rem!important;line-height:1.45!important;font-weight:400!important;margin:4px 0!important}
.dashboard-hero p,.hero-public p{font-size:.92rem!important;line-height:1.6!important}
.eyebrow-dark{font-size:.76rem!important}
.dashboard-date{min-width:108px!important;padding:11px!important}
.dashboard-date b{font:700 1rem/1.3 "MohammadBoldArt",sans-serif!important}
.dashboard-date span{font-size:.72rem!important}
.table-wrap{padding:0!important;border-radius:0 0 12px 12px!important}
table th,.table th{font-family:"MohammadBoldArt",sans-serif!important;font-size:.9rem!important;line-height:1.45!important;font-weight:400!important;padding:11px 10px!important;background:#1a2a40!important;color:#fff!important}
table td,.table td{font-family:"MohammadBoldArt",sans-serif!important;font-size:.92rem!important;line-height:1.55!important;font-weight:400!important;padding:11px 10px!important;vertical-align:middle!important}
table td b,.table td b{font-weight:400!important}
.form-group label{font-size:.92rem!important;line-height:1.5!important;font-weight:400!important;margin-bottom:6px!important}
.form-control,.form-select,input.form-control,select.form-select,textarea.form-control{font-family:"MohammadBoldArt",sans-serif!important;font-size:.94rem!important;line-height:1.45!important;font-weight:400!important;padding:10px 12px!important;min-height:44px!important;background:#fff!important;color:#17263a!important;border:1px solid #cbd5e1!important;border-radius:8px!important}
textarea.form-control{min-height:105px!important;line-height:1.6!important}
.form-control:focus,.form-select:focus{border-color:#c9a33d!important;box-shadow:0 0 0 3px rgba(212,175,55,.13)!important;outline:0!important}
.btn{font-family:"MohammadBoldArt",sans-serif!important;font-size:.92rem!important;line-height:1.35!important;font-weight:400!important;padding:9px 14px!important;min-height:40px!important}
.btn-sm{font-size:.82rem!important;padding:6px 10px!important;min-height:32px!important}
.badge{font-size:.76rem!important;line-height:1.35!important;padding:4px 8px!important}
.alert{font-size:.92rem!important;line-height:1.6!important;padding:12px 14px!important}
.quick-links a{font-size:.9rem!important;line-height:1.45!important;padding:11px 12px!important}
.quick-links b{min-width:28px!important;height:28px!important;font:700 .78rem "MohammadBoldArt",sans-serif!important}
.detail-item{padding:11px!important}
.detail-item b{font-size:.76rem!important;line-height:1.4!important;margin-bottom:4px!important}
.student-code,.student-code a,.student-code-inline,.barcode-text,.numeric-code,.tracking-code,.sid-body strong,.scan-input,.ltr{font-family:"MohammadBoldArt",sans-serif!important;font-weight:700!important;font-variant-numeric:tabular-nums!important;letter-spacing:0!important;direction:ltr}
.student-code,.student-code-inline,.barcode-text{font-size:.92rem!important;line-height:1.35!important;color:#1a2a40!important;background:#f8fafc!important;border:1px solid #d4af37!important;border-radius:5px!important;padding:4px 7px!important}
.student-code a{font-size:inherit!important;color:inherit!important;background:transparent!important;border:0!important;padding:0!important}
.ltr{font-size:inherit!important;line-height:inherit!important;color:inherit!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important}
input[type="number"],input[type="tel"]{font-family:"MohammadBoldArt",sans-serif!important;font-size:.94rem!important;font-weight:400!important;line-height:1.45!important;letter-spacing:0!important}
.school-id-card-preview{font-size:14px!important}
.sid-top b{font-size:.88rem!important}.sid-top small{font-size:.66rem!important}.sid-top>span{font-size:.7rem!important}
.sid-body h3{font-size:1.05rem!important;line-height:1.35!important}.sid-body p{font-size:.74rem!important;line-height:1.45!important}.sid-body strong{font-size:.82rem!important}
.identity-panel-main-header h1{font-size:1.36rem!important;line-height:1.45!important}.identity-panel-main-header p{font-size:.82rem!important;line-height:1.55!important}.identity-filter-group label{font-size:.9rem!important}.identity-gov-data-table th{font-size:.88rem!important;padding:10px 9px!important}.identity-gov-data-table td{font-size:.86rem!important;padding:10px 9px!important}.identity-live-details h3{font-size:1rem!important}.identity-live-details p{font-size:.72rem!important}.identity-live-details .numeric-code{font-size:.8rem!important}
.student-government-titles .government-kicker{font-size:1.05rem!important}.student-government-titles h1{font-size:.98rem!important}.student-government-titles h2{font-size:1.18rem!important}.student-government-titles p{font-size:.8rem!important}.student-government-card-title h3{font-size:1.15rem!important}
.staff-page-hero h1{font-size:1.55rem!important;line-height:1.45!important}.staff-page-hero p{font-size:.92rem!important;line-height:1.55!important}
@media(max-width:1200px) and (min-width:821px){html{font-size:15.5px!important}.sidebar{width:270px!important}.main{margin-right:270px!important}.content{padding:21px!important}}
@media(max-width:820px){html{font-size:16px!important}body{line-height:1.6!important}.sidebar{width:min(310px,90vw)!important}.main{margin-right:0!important}.topbar{height:auto!important;min-height:66px!important;padding:10px 13px!important}.content{padding:15px!important}.page-title{font-size:1.38rem!important}.nav-group-toggle,.nav-home{font-size:1rem!important}.nav-link,.nav-submenu .nav-link{font-size:.92rem!important}.card-body{padding:15px!important}.table th{font-size:.86rem!important;padding:9px 8px!important}.table td{font-size:.88rem!important;padding:9px 8px!important}.stat .num,.dashboard-stat .num,.kpi .num,.metric-card p,.executive-metric-value{font-size:1.75rem!important}}
@media(max-width:480px){html{font-size:15px!important}.content{padding:11px!important}.page-title{font-size:1.28rem!important}.dashboard-hero{padding:17px!important}.dashboard-hero h1{font-size:1.32rem!important}.card-header{padding:12px 13px!important}.card-body{padding:13px!important}.btn{font-size:.9rem!important;padding:8px 11px!important}.form-control,.form-select{font-size:.92rem!important}.student-government-header{padding:18px 14px!important}}
@media print{html{font-size:11pt!important}body{font-family:"MohammadBoldArt",sans-serif!important;line-height:1.55!important}.table th,.table td{font-size:9.5pt!important;line-height:1.4!important;padding:6px 5px!important}.student-code,.student-code a,.student-code-inline,.barcode-text,.numeric-code{font-family:"MohammadBoldArt",sans-serif!important;font-size:9.5pt!important;background:transparent!important;border:0!important;padding:0!important}}


/* ==========================================================================\n   الإصدار 12.1.0 — مذكرة التكليف رقم (09): الخط، الرجوع، وهوية A4\n   ========================================================================== */

html{font-size:16px!important}
body{font-family:"MohammadBoldArt",sans-serif!important;line-height:1.72!important;color:#1a2a40!important;background:#f4f6f9!important}
.numeric-input,.student-code,.student-code a,.student-code-inline,.barcode-text,.numeric-code,.tracking-code,.ltr,input[type="number"],input[type="tel"],input[type="date"],input[type="email"]{font-family:"MohammadBoldArt",sans-serif!important;font-variant-numeric:tabular-nums!important}
.back-navigation-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 24px;background:#fff;border-bottom:1px solid #e2e8f0;margin:0}
.btn-back-gov,.btn-back-home{font-family:"MohammadBoldArt",sans-serif!important;background:#fff;color:#1a2a40;border:1px solid #cbd5e1;padding:7px 14px;border-radius:7px;cursor:pointer;font-size:.9rem;line-height:1.35;transition:.2s ease;display:inline-flex;align-items:center;gap:7px;text-decoration:none;min-height:36px}
.btn-back-gov:hover,.btn-back-home:hover{background:#f8fafc;border-color:#d4af37;color:#9b741c}
.public-back-bar{width:min(1160px,94%);margin:14px auto 0;border:1px solid #e2e8f0;border-radius:9px}
.simple-back-bar{padding:0 0 14px;border:0;margin:0;background:transparent}
.confidential-upload-field{border:1px solid #e7cf8a;background:#fffaf0;padding:15px;border-radius:10px}
.confidential-upload-field label:before{content:"🔒 ";font-family:"MohammadBoldArt",sans-serif!important}
.print-document-container{width:210mm;min-height:297mm;box-sizing:border-box;position:relative}
.document-header-fixed,.document-footer-fixed{position:fixed;left:0;right:0;pointer-events:none}
.document-header-fixed{top:0;height:57mm}.document-footer-fixed{bottom:0;height:38mm}
@media(max-width:820px){.back-navigation-bar{padding:8px 13px}.btn-back-gov,.btn-back-home{font-size:.86rem;padding:6px 10px}}
@media print{
 @page{size:A4 portrait;margin:0}
 .app-sidebar,.sidebar,.topbar,.back-navigation-bar,.btn-back-gov,.btn-back-home,.gov-header-banner,button,.no-print,form:not(.printable-form){display:none!important}
 body{background:#fff!important;font-family:"MohammadBoldArt",sans-serif!important;line-height:1.65!important}
 .main{margin:0!important}.content{padding:0!important}
 .print-document-container{width:210mm;min-height:297mm;padding:57mm 15mm 38mm;page-break-after:always}
 .document-header-fixed{top:0;height:57mm}.document-footer-fixed{bottom:0;height:38mm}
 table{page-break-inside:auto}tr{page-break-inside:avoid;page-break-after:auto}thead{display:table-header-group}tfoot{display:table-footer-group}
}

/* ==========================================================================
   الإصدار 12.1.2 — مذكرة التكليف العاجلة رقم (10)
   الربط الحصري للخط الفني MOHAMMAD_BOLD_ART_1.ttf
   ========================================================================== */
html{font-size:15px!important}
body{
  font-family:"MohammadBoldArt",sans-serif!important;
  line-height:1.8!important;
  color:#1a2a40!important;
  background-color:#f4f6f9!important;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
button,input,select,textarea,.btn,.nav-link,.nav-group-toggle,.btn-back-gov,.btn-back-home{font-family:"MohammadBoldArt",sans-serif!important}
/* جداول النظام: صفوف منفصلة مريحة بصرياً على الشاشة */
table,.table,.management-table,.gov-data-table,.identity-gov-data-table{
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0 8px!important;
}
table th,.table th,.management-table th,.gov-data-table th,.identity-gov-data-table th{
  font-family:"MohammadBoldArt",sans-serif!important;
  font-size:1.15rem!important;
  font-weight:400!important;
  background-color:#1a2a40!important;
  color:#fff!important;
  padding:14px 16px!important;
  text-align:right!important;
  line-height:1.55!important;
}
table td,.table td,.management-table td,.gov-data-table td,.identity-gov-data-table td{
  font-family:"MohammadBoldArt",sans-serif!important;
  font-size:1.1rem!important;
  font-weight:400!important;
  color:#111e2e!important;
  padding:14px 16px!important;
  background:#fff!important;
  border-top:1px solid #e2e8f0!important;
  border-bottom:1px solid #e2e8f0!important;
  line-height:1.65!important;
}
.numeric-code,.phone-display,.bold-numeric-code,.student-code,.student-code a,.student-code-inline,.barcode-text,.tracking-code,.student-identity-code,.scan-input,.ltr,code,kbd,samp,input[type="number"],input[type="tel"],input[type="date"],input[type="email"]{
  font-family:"MohammadBoldArt",sans-serif!important;
  font-weight:700!important;
  direction:ltr!important;
  font-variant-numeric:tabular-nums!important;
}
@media(max-width:820px){
  html{font-size:14.5px!important}
  body{line-height:1.7!important}
  table th,.table th,table td,.table td{padding:10px 9px!important;font-size:1rem!important}
}
@media print{
  @page{size:A4 portrait;margin:57mm 15mm 38mm 15mm}
  html{font-size:11pt!important}
  body{font-family:"MohammadBoldArt",sans-serif!important;line-height:1.65!important;background:#fff!important}
  table,.table,.management-table,.gov-data-table,.identity-gov-data-table{border-collapse:collapse!important;border-spacing:0!important}
  table th,.table th,table td,.table td{font-size:9.5pt!important;line-height:1.4!important;padding:6px 5px!important}
  .numeric-code,.phone-display,.bold-numeric-code,.student-code,.student-code a,.student-code-inline,.barcode-text,.tracking-code,.student-identity-code{font-family:"MohammadBoldArt",sans-serif!important}
}

/* ==========================================================================
   12.1.6 GLOBAL FONT ENFORCEMENT
   Covers current/future DOM, pseudo-elements, portals, SVG text and print.
   Only font-family is overridden; dimensions, colors, spacing and behavior remain unchanged.
   ========================================================================== */
:root{--school-arabic-font:"MohammadBoldArt",sans-serif;--school-numeric-font:"MohammadBoldArt",sans-serif}
html,
body,
#root,
*,
*::before,
*::after,
input::placeholder,
textarea::placeholder,
svg,
svg *{font-family:"MohammadBoldArt",sans-serif!important}
button,
input,
textarea,
select,
option{font-family:"MohammadBoldArt",sans-serif!important}
@media print{
  html,
  body,
  #root,
  *,
  *::before,
  *::after,
  svg,
  svg *{font-family:"MohammadBoldArt",sans-serif!important}
}


/* ==========================================================================
   12.1.6 — مذكرة التكليف التقني رقم (12): تكبير القياسات البصرية العامة
   تكبير متوازن لواجهات الشاشة دون تغيير الألوان أو التخطيط أو وظائف النظام.
   ========================================================================== */
html{font-size:17.5px!important}
body{line-height:1.7!important}

/* بطاقات الإحصاء الفعلية في لوحة القيادة وباقي لوحات الأقسام. */
.metric-card,
.executive-metric-card,
.stat,
.dashboard-stat,
.kpi{padding:22px 15px!important}

.metric-card h3,
.executive-metric-card>span,
.stat .label,
.dashboard-stat .label,
.kpi .label{
  font-size:1.25rem!important;
  color:#1a2a40!important;
  margin-bottom:12px!important;
  line-height:1.4!important;
}

.metric-card p,
.executive-metric-card>strong,
.stat .num,
.dashboard-stat .num,
.kpi .num,
.executive-metric-value{
  font-family:Arial,sans-serif!important;
  font-size:2.6rem!important;
  font-weight:700!important;
  color:#d4af37!important;
  margin:8px 0!important;
  line-height:1.1!important;
  direction:ltr;
  font-variant-numeric:tabular-nums;
}

.metric-card span,
.executive-metric-card>small,
.stat small,
.dashboard-stat small,
.kpi small{
  font-size:1rem!important;
  color:#64748b!important;
  display:block;
  line-height:1.4!important;
}

/* عناوين مؤشرات الأداء والتوزيع البياني. */
.box-title,
h3.box-title,
.executive-box-header h3,
.executive-section-title h3{
  font-family:"MohammadBoldArt",sans-serif!important;
  font-size:1.35rem!important;
  color:#1a2a40!important;
  margin-bottom:20px!important;
  line-height:1.45!important;
}

/* القائمة الجانبية: تطبيق الأسماء الفعلية مع دعم أسماء التكليف المستقبلية. */
.menu-link,
.nav-home,
.nav-group-toggle,
.nav-group-title{
  font-family:"MohammadBoldArt",sans-serif!important;
  font-size:1.2rem!important;
}
.menu-link,
.nav-home,
.nav-group-toggle{padding:15px 25px!important}
.submenu-link,
.nav-submenu .nav-link{
  font-family:"MohammadBoldArt",sans-serif!important;
  font-size:1.05rem!important;
}

/* تكبير متجاوب مع أقل خفض ضروري لحماية تخطيط الهاتف والتابلت. */
@media(max-width:1200px) and (min-width:821px){html{font-size:17px!important}}
@media(max-width:820px){
  html{font-size:16.5px!important}
  .menu-link,.nav-home,.nav-group-toggle{padding:13px 18px!important}
  .metric-card p,.executive-metric-card>strong,.stat .num,.dashboard-stat .num,.kpi .num,.executive-metric-value{font-size:2.35rem!important}
}
@media(max-width:480px){
  html{font-size:16px!important}
  .metric-card p,.executive-metric-card>strong,.stat .num,.dashboard-stat .num,.kpi .num,.executive-metric-value{font-size:2.2rem!important}
}

/* مقاس الطباعة الرسمي يظل ثابتًا لتجنب تجاوز مستندات A4. */
@media print{
  html{font-size:11pt!important}
  body{line-height:1.65!important}
  .metric-card,.executive-metric-card,.stat,.dashboard-stat,.kpi{padding:15px!important}
  .metric-card h3,.executive-metric-card>span,.stat .label,.dashboard-stat .label,.kpi .label{font-size:1rem!important;margin-bottom:4px!important}
  .metric-card p,.executive-metric-card>strong,.stat .num,.dashboard-stat .num,.kpi .num,.executive-metric-value{font-size:2rem!important;margin:3px 0!important}
  .metric-card span,.executive-metric-card>small,.stat small,.dashboard-stat small,.kpi small{font-size:.85rem!important}
  .box-title,h3.box-title,.executive-box-header h3,.executive-section-title h3{font-size:1.15rem!important;margin-bottom:10px!important}
}

/* ==========================================================================
   12.2.0 — الدفاتر السيادية والمالية والمخزنية (تكليفات 15 و16)
   ========================================================================== */
.sovereign-register-shell{display:grid;gap:22px;min-width:0}
.register-hero{background:linear-gradient(135deg,#fff,#f7f9fc);border:1px solid #d9e0e8;border-right:5px solid #d4af37;border-radius:14px;padding:26px 28px;box-shadow:0 8px 24px rgba(15,35,63,.06)}
.register-hero h1{margin:4px 0 8px;color:#1a2a40;font-size:1.65rem;font-weight:400}.register-hero p{margin:0;color:#64748b;max-width:900px}.registry-kicker{color:#9b741c;font-size:.95rem}
.safe-location-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.safe-location-card{display:flex;gap:18px;align-items:center;padding:24px;border:1px solid #dce3eb;border-radius:14px;background:#fff;color:#1a2a40;text-decoration:none;box-shadow:0 6px 18px rgba(15,35,63,.05);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.safe-location-card:hover{transform:translateY(-3px);border-color:#d4af37;box-shadow:0 10px 24px rgba(15,35,63,.1)}.safe-location-card h2{font-size:1.25rem;font-weight:400;margin:0 0 5px}.safe-location-card p{color:#64748b;margin:0 0 7px}.safe-location-card small{color:#9b741c}.safe-icon{display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;border-radius:14px;background:#1a2a40;color:#d4af37;font-size:1.7rem}
.registry-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.registry-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;text-align:center;background:#fff;border:1px solid #dce3eb;border-top:4px solid #1a2a40;border-radius:12px;padding:20px;color:#1a2a40;min-height:150px}.registry-stat:hover{border-top-color:#d4af37}.registry-stat span{font-size:1.05rem}.registry-stat strong{font-size:2.25rem;color:#d4af37;line-height:1.1;margin:8px 0}.registry-stat small{color:#64748b}
.register-toolbar{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid #dce3eb;border-radius:12px;padding:13px 16px}.inline-filter{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.inline-filter label{display:grid;gap:4px}.inline-filter .form-control{min-width:190px}.segmented-control{display:flex;border:1px solid #cbd5e1;border-radius:9px;overflow:hidden;background:#fff}.segmented-control a{padding:9px 16px;text-decoration:none;color:#1a2a40;border-left:1px solid #cbd5e1}.segmented-control a:last-child{border-left:0}.segmented-control a.active{background:#1a2a40;color:#fff}
.register-entry-panel{background:#fff;border:1px solid #dce3eb;border-radius:12px;overflow:hidden}.register-entry-panel>summary{cursor:pointer;padding:15px 18px;background:#f8fafc;color:#1a2a40;border-bottom:1px solid #e2e8f0;font-size:1.12rem}.register-entry-panel>form{padding:18px}.dual-register-forms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.gov-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.gov-form-cell{display:grid;gap:6px;align-content:start}.gov-form-cell label,.money-fieldset label{color:#1a2a40}.full-width-cell{grid-column:1/-1}.money-fieldset{display:grid;grid-template-columns:1fr 1fr;gap:12px;border:1px solid #d4af37;border-radius:10px;padding:12px}.money-fieldset legend{padding:0 7px;color:#9b741c}.money-fieldset label{display:grid;gap:4px}
.btn-gov-financial-action{font-family:"MohammadBoldArt",sans-serif!important;background:#1a2a40;color:#fff;border:2px solid #d4af37;padding:12px 18px;width:100%;border-radius:7px;font-size:1.1rem;cursor:pointer;box-shadow:0 0 15px rgba(212,175,55,.14)}.btn-gov-financial-action:hover{background:#d4af37;color:#1a2a40;box-shadow:0 0 24px rgba(212,175,55,.35)}
.sovereign-ledger-print{width:100%;min-height:0;background:#fff;border:1px solid #dce3eb;border-radius:12px;padding:24px;box-shadow:0 7px 22px rgba(15,35,63,.05);overflow:hidden}.document-title-gov{text-align:center;margin-bottom:20px;color:#1a2a40}.document-title-gov span,.document-title-gov small{display:block;color:#64748b}.document-title-gov h2{font-size:1.45rem;font-weight:400;margin:5px 0}.document-title-gov small{font-size:.9rem}
.gov-financial-table{width:100%!important;border-collapse:separate!important;border-spacing:0 8px!important;margin-top:10px;background:transparent}.gov-financial-table th{font-family:"MohammadBoldArt",sans-serif!important;background:#1a2a40!important;color:#fff!important;border:1px solid #111e2e!important;padding:10px 8px!important;font-size:.95rem!important;font-weight:400!important;text-align:center!important;vertical-align:middle!important;white-space:normal}.gov-financial-table td{font-family:"MohammadBoldArt",sans-serif!important;border-top:1px solid #cbd5e1!important;border-bottom:1px solid #cbd5e1!important;padding:12px 8px!important;font-size:.95rem!important;color:#111e2e!important;text-align:center!important;vertical-align:middle!important;background:#fff!important;line-height:1.55!important}.gov-financial-table td:first-child{border-right:1px solid #cbd5e1!important}.gov-financial-table td:last-child{border-left:1px solid #cbd5e1!important}.gov-financial-table td small{display:block;color:#64748b;margin-top:4px}.followup-wide-table{min-width:1380px}.substitution-table{min-width:1200px}.government-cash-table{min-width:1250px}
.numeric-font,.gov-financial-table .numeric-font,.compact-action-form .numeric-font{font-family:Arial,sans-serif!important;font-weight:700!important;color:#1a2a40!important;direction:ltr!important;font-variant-numeric:tabular-nums!important;unicode-bidi:isolate!important}
.compact-action-form{display:flex;align-items:center;justify-content:center;gap:4px}.compact-action-form input{width:52px;padding:5px;border:1px solid #cbd5e1;border-radius:5px}.official-signatures-footer{display:flex;justify-content:space-between;gap:20px;margin-top:36px;padding:18px 10px 0;border-top:2px dashed #1a2a40;page-break-inside:avoid}.sig-box{font-family:"MohammadBoldArt",sans-serif!important;font-size:1rem;color:#1a2a40;text-align:center;width:30%}.substitution-part-title{text-align:center;color:#1a2a40;font-weight:400;margin:20px 0 8px}.page-break-before{break-before:page}.print-only{display:none}.empty-state{text-align:center!important;color:#64748b!important;padding:28px!important}.gate-entry-panel{border-color:#d4af37;box-shadow:0 0 22px rgba(212,175,55,.18)}
@media(max-width:1100px){.registry-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dual-register-forms{grid-template-columns:1fr}.safe-location-grid{grid-template-columns:1fr}.gov-form-grid{grid-template-columns:1fr}.full-width-cell{grid-column:auto}.money-fieldset{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.registry-stat-grid{grid-template-columns:1fr}.register-hero{padding:20px}.safe-location-card{padding:18px}.safe-icon{flex-basis:52px;width:52px;height:52px}.register-toolbar{align-items:stretch}.register-toolbar>*{width:100%}.segmented-control a{flex:1;text-align:center}.inline-filter .form-control{min-width:0;width:100%}.money-fieldset{grid-template-columns:1fr}.sovereign-ledger-print{padding:14px}}
/* ==========================================================================
   12.8.0 — تخطيط A4 أبيض نظيف دون خلفيات مائية أو إطارات ممتدة
   ========================================================================== */
.print-document-container{
  width:210mm;
  min-height:297mm;
  box-sizing:border-box;
  position:relative;
  padding:42mm 14mm 30mm 14mm;
  background:#fff;
  background-image:none!important;
  box-shadow:0 12px 28px rgba(15,35,63,.08);
  overflow:hidden;
  isolation:isolate;
}
.print-document-container>*{position:relative;z-index:1}
.student-print-sheet{background:#fff!important;background-image:none!important}
.student-print-sheet .student-document-title{margin:0 0 8mm;padding-top:0;border-bottom:1px solid rgba(26,42,64,.25)}
.student-print-sheet .document-main-body,.student-print-sheet .student-smart-card-wrap{min-height:125mm}

@media print{
 @page{size:A4 portrait;margin:0}
 body.student-print-body{background:#fff!important;margin:0!important;padding:0!important}
 body.student-print-body{position:relative;z-index:1}
 .sovereign-register-shell{display:block!important;position:relative}
 .print-document-container,.sovereign-ledger-print,.student-print-sheet{width:210mm!important;min-height:297mm!important;margin:0!important;padding:20mm 15mm!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;background:transparent!important;page-break-after:always;break-after:page;isolation:isolate}
 .print-document-container:last-child,.sovereign-ledger-print:last-child,.student-print-sheet:last-child{page-break-after:auto;break-after:auto}
 .document-title-gov{margin:0 0 7mm}.document-title-gov h2{font-size:15pt!important}.document-title-gov span,.document-title-gov small{font-size:9pt!important}
 .gov-financial-table{border-collapse:collapse!important;border-spacing:0!important;min-width:0!important;width:100%!important;margin:0!important}.gov-financial-table th{font-size:7.3pt!important;padding:3px 2px!important;line-height:1.25!important;border:1px solid #111!important}.gov-financial-table td{font-size:7.1pt!important;padding:3px 2px!important;line-height:1.3!important;border:1px solid #444!important}.followup-wide-table th,.followup-wide-table td{font-size:6.1pt!important;padding:2px 1px!important}.substitution-table th,.substitution-table td{font-size:6.5pt!important;padding:2px!important}
 .numeric-font,.gov-financial-table .numeric-font{font-family:Arial,sans-serif!important}.official-signatures-footer{margin-top:8mm;padding-top:4mm}.sig-box{font-size:9pt!important}.print-only{display:inline!important}.page-break-before{page-break-before:always;break-before:page}.register-hero,.registry-stat-grid,.alert{display:none!important}
}

/* ========================================================================== 
   12.3.0 — مذكرة 17-18: حوكمة ملف الطالب والمرفقات القانونية
   ========================================================================== */
.student-document-field{
  border:1px solid #e7cf8a;
  background:#fffdf7;
  border-radius:10px;
  padding:14px;
}
.student-document-field label small{color:#a12a2a;font-size:.78rem}
.student-document-field input[type="file"]{
  width:100%;
  min-height:46px;
  padding:9px 11px!important;
  background:#fff!important;
  border:1px dashed #c6a84d!important;
  border-radius:8px!important;
}
.student-document-field>span{display:block;margin-top:6px;color:#64748b;font-size:.82rem;line-height:1.45}
.student-legal-documents-card .file-grid{grid-template-columns:repeat(auto-fit,minmax(235px,1fr))}
.student-legal-documents-card .file-card{border-right:4px solid #d4af37;background:#fffdf7}
.student-legal-documents-card .file-card b{color:#1a2a40;font-weight:400}
.student-legal-documents-card .file-card small{color:#64748b;line-height:1.45}
@media screen and (max-width:900px){
  .print-document-container{width:min(210mm,100%);min-height:auto;aspect-ratio:210/297;background-size:100% 100%;padding:14vw 5vw 10vw}
}
@media(max-width:620px){
  .student-document-field{padding:11px}
  .student-legal-documents-card .file-grid{grid-template-columns:1fr}
}

/* ==========================================================================
   12.3.1 — نقطة المسح والتحقق الموحدة: يدوي + قارئ باركود
   ========================================================================== */
.identity-scanner-card{overflow:visible}
.glowing-verification-zone{
  background:#fff;
  border:2px solid #d4af37!important;
  border-radius:12px;
  padding:25px;
  box-shadow:0 0 20px rgba(212,175,55,.25);
}
.control-label{
  font-family:"MohammadBoldArt",sans-serif!important;
  font-size:1.15rem!important;
  color:#1a2a40!important;
  display:block;
  margin-bottom:12px!important;
}
.numeric-font-field,
.identity-scan-code-pair b,
.identity-scanner-card .numeric-font,
.identity-scanner-card table .numeric-font{
  font-family:Arial,sans-serif!important;
  font-weight:700!important;
  direction:ltr!important;
  font-variant-numeric:tabular-nums!important;
  unicode-bidi:isolate!important;
}
.numeric-font-field{
  width:100%;
  min-height:62px!important;
  padding:12px 16px!important;
  border:2px solid #cbd5e1!important;
  border-radius:7px!important;
  box-sizing:border-box;
  text-align:center!important;
  letter-spacing:2px!important;
  font-size:1.6rem!important;
  color:#1a2a40!important;
  background:#fff!important;
}
.numeric-font-field:focus{border-color:#1a2a40!important;box-shadow:0 0 0 4px rgba(212,175,55,.18)!important;outline:0!important}
.numeric-font-field[readonly]{background:#f8fafc!important;color:#64748b!important}
.helper-note-text{font-size:.95rem!important;color:#64748b!important;margin:10px 0 0!important;line-height:1.7!important}
.identity-scan-options{margin-top:18px}
.identity-scan-actions{margin-top:15px;display:grid;grid-template-columns:2fr 1fr;gap:10px}
.identity-scan-actions .btn{justify-content:center;min-height:48px}
.identity-scan-code-pair{display:grid;grid-template-columns:auto minmax(100px,1fr);gap:6px 10px;align-items:center;margin:8px 0}
.identity-scan-code-pair span{color:#64748b;font-size:.8rem}
.identity-scan-code-pair b{display:inline-block;border:1px solid #d4af37;border-radius:6px;background:#fff;padding:4px 9px;text-align:center;font-size:1rem;color:#1a2a40}
@media(max-width:620px){
  .glowing-verification-zone{padding:18px}
  .numeric-font-field{font-size:1.3rem!important;letter-spacing:1px!important}
  .identity-scan-actions{grid-template-columns:1fr}
}

/* ==========================================================================
   12.4.0 — صلاحيات المدير، الحضور الآلي ودفتر التأخرات
   ========================================================================== */
.director-privilege-link{
  margin:8px 10px 12px!important;
  padding:14px 16px!important;
  border:1px solid rgba(212,175,55,.72)!important;
  border-right:5px solid #d4af37!important;
  border-radius:10px!important;
  background:linear-gradient(90deg,rgba(212,175,55,.20),rgba(26,42,64,.08))!important;
  color:#f2d67d!important;
  display:grid!important;
  grid-template-columns:auto 1fr!important;
  gap:2px 9px!important;
  align-items:center!important;
}
.director-privilege-link span{grid-row:1/3;font-size:1.2rem}
.director-privilege-link b{color:#f2d67d!important;font-weight:400!important}
.director-privilege-link small{font-size:.72rem!important;color:#d9c98d!important;line-height:1.35!important}
.director-privilege-link:hover,.director-privilege-link.active{background:linear-gradient(90deg,rgba(212,175,55,.35),rgba(26,42,64,.18))!important;box-shadow:0 0 18px rgba(212,175,55,.22)!important}
.director-privilege-hero{border-right-color:#d4af37;background:linear-gradient(135deg,#fffdf7,#f7f9fc)}
.glowing-privilege-zone{background:#fffcf4;border:2px solid #d4af37;border-radius:14px;padding:28px;box-shadow:0 0 25px rgba(212,175,55,.28)}
.btn-gov-gold-action,.btn-gold{font-family:"MohammadBoldArt",sans-serif!important;background:#1a2a40!important;color:#fff!important;border:2px solid #d4af37!important;border-radius:8px!important;cursor:pointer!important;text-decoration:none!important}
.btn-gov-gold-action{padding:13px 18px;width:100%;font-size:1.15rem;margin-top:20px}
.btn-gov-gold-action:hover,.btn-gold:hover{background:#d4af37!important;color:#1a2a40!important;box-shadow:0 0 20px rgba(212,175,55,.30)!important}
.badge-gov-status{display:inline-block;padding:5px 9px;border-radius:5px;font-size:.86rem;line-height:1.35;white-space:nowrap}
.badge-authorized{background:#ecfdf5;color:#047857;border:1px solid #10b981}
.badge-unauthorized{background:#fef2f2;color:#b91c1c;border:1px solid #ef4444}
.tardiness-delay-cell{color:#b91c1c!important;font-weight:700!important}
.tardiness-authorization-note{display:block;margin-top:5px;color:#64748b;line-height:1.4}
.tardiness-authorize-form{display:grid;grid-template-columns:minmax(140px,1fr) auto;gap:6px;align-items:center;min-width:280px}
.tardiness-authorize-form .form-control{min-height:34px!important;padding:5px 8px!important;font-size:.78rem!important}
.scan-attendance-summary{margin-top:12px;padding:10px 12px;border-radius:8px;border:1px solid #cbd5e1;background:#f8fafc;display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}
.scan-attendance-summary p{width:100%;margin:0;color:#64748b;font-size:.86rem}
.scan-attendance-summary.present,.scan-attendance-summary.authorized{border-color:#10b981;background:#ecfdf5;color:#047857}
.scan-attendance-summary.late{border-color:#f59e0b;background:#fffbeb;color:#92400e}
.scan-attendance-summary.failed{border-color:#ef4444;background:#fef2f2;color:#b91c1c}
.scan-attendance-summary.checkout{border-color:#38bdf8;background:#f0f9ff;color:#075985}
@media(max-width:820px){.glowing-privilege-zone{padding:18px}.tardiness-authorize-form{grid-template-columns:1fr;min-width:180px}.director-privilege-link{margin:7px!important}}
@media print{.director-privilege-hero,.glowing-privilege-zone,.tardiness-authorize-form,.director-privilege-link{display:none!important}.badge-gov-status{border:1px solid #333!important;background:transparent!important;color:#111!important}}

/* ==========================================================================
   12.5.0 — منصة التنسيق الإلكتروني وكود رفع الملفات السيادي
   ========================================================================== */
.coordination-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}
.coordination-state{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:999px;font-size:1rem;white-space:nowrap}
.coordination-state.is-open{background:#e8f7ee;color:#067647;border:1px solid #75c99a}
.coordination-state.is-closed{background:#fff1f1;color:#b42318;border:1px solid #f0a2a2}
.coordination-search-card .card-header,.coordination-application-form .card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.coordination-search-card .card-header small,.coordination-application-form .card-header small{color:#64748b}
.coordination-search-form{align-items:stretch}
.coordination-search-form .form-control{flex:1;min-width:250px}
.coordination-results-table td,.coordination-results-table th{text-align:center!important}
.coordination-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.form-grid-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.input-cell-box{display:grid;gap:7px;align-content:start}
.input-cell-box label{font-size:1.02rem;color:#1a2a40}
.full-width-span{grid-column:1/-1}
.required-star{color:#ce1126}
.parent-identity-upload-premium-zone{margin:0 22px 22px;padding:26px;background:#fff;background-image:none!important;border:1.5px solid #cbd5e1;border-radius:12px}
.parent-identity-upload-premium-zone h3{margin:0 0 9px;padding-bottom:9px;border-bottom:2px solid #1e3a8a;color:#1e3a8a;font-family:"MohammadBoldArt",Arial,sans-serif!important;font-size:1.35rem!important}
.parent-identity-upload-premium-zone p{margin:0 0 22px;color:#475569;line-height:1.75}
.parent-identity-upload-premium-zone .numeric-font{color:#ce1126!important}
.form-responsive-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.upload-cell-box input[type="file"]{width:100%;min-height:48px;background:#fff!important}
.coordination-security-note{padding:12px 14px;border:1px solid #d4af37;background:#fffaf0;border-radius:8px;color:#6d5417}
.btn-gov-gold-action{font-family:"MohammadBoldArt",sans-serif!important;background:#1a2a40;color:#fff;border:2px solid #d4af37;padding:13px 18px;width:100%;border-radius:8px;font-size:1.1rem;cursor:pointer;transition:.18s ease}
.btn-gov-gold-action:hover{background:#d4af37;color:#1a2a40}
.coordination-security-panel{background:#fffcf4;border:2px solid #d4af37;border-radius:13px;padding:24px;box-shadow:0 0 24px rgba(212,175,55,.22)}
.coordination-security-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:8px}
.coordination-security-heading h2{margin:3px 0 0;font-size:1.35rem;color:#1a2a40}
.coordination-success-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.coordination-receipt-page{margin:0 auto;padding:42mm 17mm 30mm!important}
.receipt-header-clean{text-align:center;border-bottom:2px solid #d4af37;padding-bottom:6mm;margin-bottom:7mm}
.receipt-header-clean span,.receipt-header-clean small{display:block;color:#64748b}
.receipt-header-clean h1{font-size:1.7rem;margin:4px 0;color:#1a2a40}
.critical-warning-text{font-size:1.05rem;color:#b42318;font-weight:700;line-height:1.7;border:1px dashed #ce1126;background:rgba(255,245,245,.88);padding:12px;border-radius:8px}
.receipt-body-layout{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-top:22px}
.receipt-text-data{flex:1;display:grid;gap:9px}
.receipt-text-data p{margin:0;padding:8px 0;border-bottom:1px solid #e2e8f0}
.receipt-student-photo{width:35mm;height:45mm;border:2px solid #1a2a40;border-radius:7px;overflow:hidden;background:#f8fafc;flex:0 0 auto}
.receipt-student-photo img{width:100%;height:100%;object-fit:cover}
.receipt-status{color:#9b741c}
.coordination-tracking-box{margin:12mm auto 0;max-width:115mm;text-align:center;background:rgba(26,42,64,.95);color:#fff;border:2px solid #d4af37;border-radius:10px;padding:12px}
.coordination-tracking-box span{display:block;font-size:.9rem;color:#e8d49b}
.coordination-tracking-box strong{display:block;font-size:1.7rem;letter-spacing:3px;color:#fff!important}
.unified-parent-login{max-width:520px}
.unified-parent-login .numeric-font-field{text-align:center}
@media(max-width:820px){.coordination-detail-grid{grid-template-columns:1fr 1fr}.form-grid-layout{grid-template-columns:1fr}.full-width-span{grid-column:auto}.receipt-body-layout{align-items:flex-start}.parent-identity-upload-premium-zone{margin-inline:0;padding:20px}.form-responsive-upload-grid{grid-template-columns:1fr}}
@media(max-width:520px){.coordination-detail-grid{grid-template-columns:1fr}.receipt-body-layout{flex-direction:column-reverse;align-items:center}.receipt-text-data{width:100%}}
@media print{
 .coordination-success-actions{display:none!important}
 .coordination-receipt-page{width:210mm!important;height:297mm!important;min-height:297mm!important;margin:0!important;padding:42mm 17mm 30mm!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important}
 .coordination-receipt-page .official-signatures-footer{margin-top:12mm}
 .critical-warning-text{font-size:10pt!important}
 .receipt-header-clean h1{font-size:17pt!important}
}

/* ==========================================================================
   12.6.0 — مذكرة التكليف رقم (20): قسم الإشراف الأكاديمي المطور
   ========================================================================== */
.academic-supervision-admin-link{border-right:4px solid #d4af37!important;background:linear-gradient(90deg,rgba(212,175,55,.14),transparent)!important;color:#d4af37!important}
.academic-supervision-admin-link small{display:block;color:#e7cf8a;font-size:.72rem;margin-right:30px}
.login-portal-grid{width:min(1080px,94vw);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.login-secondary-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:14px}
.glowing-supervision-login-box{background:#fffdf5!important;border:2px solid #d4af37!important;box-shadow:0 0 28px rgba(212,175,55,.24)!important}
.glowing-supervision-login-box h2,.glowing-supervision-login-box h3{font-family:"MohammadBoldArt",sans-serif!important;color:#1a2a40;font-weight:400}
.btn-portal-submit-action{font-family:"MohammadBoldArt",sans-serif!important;width:100%;min-height:46px;border:2px solid #d4af37;border-radius:8px;background:#1a2a40;color:#fff;padding:11px 16px;font-size:1.05rem;cursor:pointer}
.btn-portal-submit-action:hover{background:#d4af37;color:#1a2a40}
.academic-supervision-login-page{width:min(720px,94%);margin:20px auto 50px;display:grid;gap:20px}
.academic-login-intro{background:#fff;border:1px solid #dce3eb;border-right:5px solid #d4af37;border-radius:14px;padding:24px 26px}
.academic-login-intro h1{font-size:1.65rem;font-weight:400;color:#1a2a40;margin:5px 0 8px}.academic-login-intro p{margin:0;color:#64748b}
.academic-supervision-login-page .glowing-supervision-login-box{padding:26px;border-radius:14px}.portal-input-cell{display:grid;gap:7px;margin-bottom:16px}.portal-input-cell label{font-size:1.05rem;color:#1a2a40}
.academic-director-section{scroll-margin-top:20px;background:#f8fafc;border:1px solid #dce3eb;border-radius:14px;padding:22px}
.academic-director-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.academic-director-heading h2{font-size:1.35rem;font-weight:400;color:#1a2a40;margin:4px 0}
.director-privileges-workspace-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr);gap:22px;align-items:start}
.gov-form-block-panel,.gov-form-block-panel-glowing{background:#fff;border:1px solid #cbd5e1;border-radius:12px;padding:22px}
.gov-form-block-panel-glowing{background:#fffdf5;border:2px solid #d4af37!important;box-shadow:0 0 20px rgba(212,175,55,.2)}
.panel-sub-title{font-family:"MohammadBoldArt",sans-serif!important;font-size:1.2rem;font-weight:400;color:#1a2a40;margin:0 0 18px}
.form-grid-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.input-cell-box{display:grid;gap:6px}.input-cell-box label{font-size:1rem;color:#1a2a40}
.btn-gov-submit-action{font-family:"MohammadBoldArt",sans-serif!important;width:100%;margin-top:18px;padding:12px 18px;border:2px solid #d4af37;border-radius:8px;background:#1a2a40;color:#fff;font-size:1.08rem;cursor:pointer}.btn-gov-submit-action:hover{background:#d4af37;color:#1a2a40}
.gov-dropdown-selector{font-family:"MohammadBoldArt",sans-serif!important;width:100%;min-height:46px;font-size:1.02rem;padding:8px 10px;border:1.5px solid #cbd5e1;border-radius:7px;background:#fff;color:#1a2a40}
.numeric-force-font,.report-metric-card-box .numeric-font{font-family:Arial,sans-serif!important;font-weight:700!important;direction:ltr!important;font-variant-numeric:tabular-nums!important}
.supervisor-role-status-list{display:grid;gap:8px;margin-top:18px;padding-top:16px;border-top:1px dashed #d4af37}.supervisor-role-status-list>div{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff;padding:8px 10px;border:1px solid #e2e8f0;border-radius:7px}.supervisor-role-status-list span{font-size:.9rem}
.academic-supervision-report-page{display:grid;gap:18px}.academic-report-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#fff;border:1px solid #dce3eb;border-radius:12px;padding:16px 18px}.academic-report-toolbar h1{font-size:1.3rem;font-weight:400;color:#1a2a40;margin:3px 0}.academic-report-toolbar .actions{display:flex;gap:8px;flex-wrap:wrap}
.academic-supervision-print-sheet{margin:0 auto}.academic-report-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px;padding:11px 14px;border:1px solid #d4af37;border-radius:8px;background:rgba(255,253,245,.9);color:#1a2a40}
.supervision-report-grid-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.report-metric-card-box{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:18px;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,.03)}.report-metric-card-box h4{font-family:"MohammadBoldArt",sans-serif!important;font-size:1.02rem!important;font-weight:400!important;color:#1a2a40!important;margin:0 0 11px;line-height:1.45}.report-metric-card-box .numeric-font{font-size:1.9rem!important;color:#1a2a40!important;display:block}.violation-card-st{border:1.5px solid #ef4444!important;background:#fef2f2}.violation-card-st .numeric-font{color:#dc2626!important}.violation-card-tc{border:1.5px solid #f97316!important;background:#fff7ed}.violation-card-tc .numeric-font{color:#ea580c!important}
.academic-empty-report{text-align:center;padding:50px 20px;border:2px dashed #cbd5e1;border-radius:12px;background:rgba(255,255,255,.92)}.academic-empty-report h3{font-weight:400;color:#1a2a40}.academic-empty-report p{color:#64748b}
@media(max-width:900px){.login-portal-grid,.director-privileges-workspace-grid{grid-template-columns:1fr}.supervision-report-grid-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.academic-director-heading,.academic-report-toolbar{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.form-grid-layout,.supervision-report-grid-layout{grid-template-columns:1fr}.academic-supervision-login-page .glowing-supervision-login-box,.academic-director-section{padding:16px}.academic-report-meta{display:grid}}
@media print{
 .academic-report-toolbar{display:none!important}.academic-supervision-print-sheet{width:210mm!important;min-height:297mm!important;padding:42mm 14mm 30mm!important;background:transparent!important}.supervision-report-grid-layout{grid-template-columns:repeat(3,1fr)!important;gap:5mm!important}.report-metric-card-box{padding:4mm!important;box-shadow:none!important;break-inside:avoid}.report-metric-card-box h4{font-size:10pt!important}.report-metric-card-box .numeric-font{font-size:18pt!important}.academic-report-meta{font-size:9pt!important;margin-bottom:5mm}.academic-empty-report{margin-top:30mm}
}

/* ==========================================================================
   12.7.0 — مذكرة التكليف رقم (21): الإقرارات الزرقاء وفك تجمد التنسيق
   ========================================================================== */
.gov-declarations-section{display:grid;gap:13px}
.declaration-item-card{position:relative;display:grid;grid-template-columns:auto auto 1fr;align-items:start;gap:13px;background:#fff;border:1px solid #cbd5e1;border-radius:10px;padding:17px 18px;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
.declaration-item-card:hover{border-color:#0066cc;box-shadow:0 4px 16px rgba(0,102,204,.08)}
.declaration-item-card input[type="checkbox"]{width:24px;height:24px;margin:2px 0 0;cursor:pointer;accent-color:#0066cc}
.blue-check-indicator{width:25px;height:25px;border-radius:50%;border:2px solid #94a3b8;display:grid;place-items:center;background:#fff;color:#fff;transition:.2s ease}
.blue-check-indicator::before{content:"✓";font-family:Arial,sans-serif!important;font-weight:700;font-size:16px;transform:scale(0);transition:transform .18s ease}
.declaration-item-card input[type="checkbox"]:checked+.blue-check-indicator{background:#0066cc;border-color:#0066cc;box-shadow:0 0 0 4px rgba(0,102,204,.12)}
.declaration-item-card input[type="checkbox"]:checked+.blue-check-indicator::before{transform:scale(1)}
.declaration-item-card:has(input:checked){border-color:#0066cc;background:#f6faff}
.declaration-copy{display:grid;gap:5px}.declaration-copy strong{font-family:"MohammadBoldArt",sans-serif!important;font-size:1.08rem;font-weight:400;color:#1a2a40}.declaration-copy small{color:#64748b;line-height:1.7;font-size:.94rem}
.action-submit-zone{margin-top:12px}.btn-gov-submit-main-fixed{font-family:"MohammadBoldArt",sans-serif!important;background:#1a2a40;color:#fff;border:2px solid #d4af37;padding:15px 30px;width:100%;font-size:1.22rem;border-radius:8px;cursor:pointer;transition:.2s ease}.btn-gov-submit-main-fixed:hover{background:#d4af37;color:#1a2a40}.btn-gov-submit-main-fixed:disabled{cursor:wait;opacity:.78;background:#64748b;color:#fff;border-color:#94a3b8}
#coordinationSubmitStatus{min-height:1.5em;text-align:center;color:#64748b;margin:9px 0 0}
.coordination-success-actions .btn-secondary-gov{background:#64748b!important;border:2px solid #475569!important;color:#fff!important}
@media(max-width:620px){.declaration-item-card{grid-template-columns:auto auto minmax(0,1fr);padding:14px 12px;gap:9px}.declaration-copy strong{font-size:1rem}.declaration-copy small{font-size:.88rem}.btn-gov-submit-main-fixed{font-size:1.05rem;padding:13px 16px}}
@media print{.gov-declarations-section,.action-submit-zone{display:none!important}}

/* 12.7.3 — مذكرة 24: بطاقة فحص التأمين الصحي داخل ملف التنسيق */
.health-insurance-gate-card{border:2px solid #0066cc!important;background:#f0f7ff!important}
.health-insurance-gate-card.is-health-open{box-shadow:0 0 0 3px rgba(0,102,204,.12)}
.health-form-main-wrapper{margin:20px 0;background:#fff;padding:24px;border:1.5px solid #cbd5e1;border-radius:12px;position:relative}
.health-form-main-wrapper[hidden]{display:none!important}
.insurance-header-layout{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-bottom:2px solid #1a2a40;padding-bottom:15px;margin-bottom:20px}
.ins-header-right h2,.ins-header-right h3,.ins-header-right h4{margin:0 0 6px;text-align:right}.ins-header-right h2{color:#0066cc;font-size:1.35rem}.ins-header-right h3{color:#1a2a40;font-size:1.15rem}.ins-header-right h4{color:#64748b;font-size:1rem}
.ins-student-photo-placeholder{width:30mm;height:38mm;flex:0 0 30mm;border:2px dashed #1a2a40;border-radius:6px;display:flex;justify-content:center;align-items:center;background:#f8fafc;overflow:hidden;position:relative;text-align:center;color:#64748b;padding:4px;box-sizing:border-box}
.ins-student-photo-placeholder img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.ins-student-photo-placeholder span{font-size:.82rem}
.health-clinical-heading{border-bottom:1.5px solid #d4af37;padding-bottom:8px;color:#1a2a40;margin:25px 0 15px}.health-privacy-note{margin-top:16px}.numeric-force-font{font-family:Arial,sans-serif!important;font-variant-numeric:tabular-nums;direction:ltr}
.coordination-final-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:14px;align-items:stretch}.coordination-final-actions .helper-note-text{grid-column:1/-1}
.btn-coordination-preview-main{font-family:MohammadBoldArt,sans-serif!important;padding:14px;font-size:1.05rem;background:#fff;color:#1a2a40;border:2px solid #1a2a40;border-radius:7px;cursor:pointer;font-weight:700}.btn-coordination-preview-main:hover{background:#eef4fa}
@media(max-width:720px){.insurance-header-layout{flex-direction:column-reverse;align-items:center}.ins-header-right h2,.ins-header-right h3,.ins-header-right h4{text-align:center}.coordination-final-actions{grid-template-columns:1fr}.coordination-final-actions .helper-note-text{grid-column:auto}}

/* ========================================================================== 
   Release 12.8.0 — clean A4 printing, actions, and teacher academic workspace
   ========================================================================== */
.print-document-container,.student-print-sheet,.success-receipt-print-zone,.coordination-receipt-page,.official-document-content{
  width:210mm;min-height:297mm;margin:0 auto;box-sizing:border-box;position:relative;
  padding:20mm 15mm;background:#fff!important;background-color:#fff!important;background-image:none!important;
  border:0!important;box-shadow:none!important;
}
.success-receipt-print-zone{width:auto;min-height:0;padding:20px;border:1px solid #1a2a40!important;border-radius:8px}
body.student-print-body::before,.official-page-identity{content:none!important;display:none!important;background:none!important;background-image:none!important}
.document-header-fixed{position:static!important;width:100%;height:auto;display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #1a2a40;padding-bottom:15px;margin-bottom:25px}
.document-footer-fixed{position:static!important;width:100%;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #cbd5e1;padding-top:10px;margin-top:28px;font-size:.9rem;color:#64748b}
.btn-gov-action{font-family:'MohammadBoldArt',Arial,sans-serif!important;padding:5px 12px;border-radius:4px;font-size:.95rem;text-decoration:none;color:#fff;display:inline-block;transition:.2s ease;border:0;cursor:pointer}
.btn-preview-dark{background:#1a2a40}.btn-edit-blue{background:#0066cc}.btn-edit-blue:hover{background:#0052a3}.btn-delete-red{background:#ce1126}.btn-delete-red:hover{background:#a80e1e}
.gov-table-actions-flex{display:flex;gap:6px;justify-content:center;align-items:center;flex-wrap:wrap}.gov-table-actions-flex form{margin:0}
.teacher-academic-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.teacher-academic-nav a{padding:9px 13px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;text-decoration:none;color:#1a2a40;font-family:'MohammadBoldArt',Arial,sans-serif}.teacher-academic-nav a:hover{border-color:#d4af37;background:#fffdf5}
.teacher-switcher{display:flex;align-items:center;gap:10px;margin:0 0 18px;background:#f8fafc;padding:10px 14px;border-radius:8px}.teacher-switcher select{max-width:420px}
.teacher-hero{display:flex;justify-content:space-between;align-items:center;background:#1a2a40;color:#fff;padding:24px;border-radius:12px;margin-bottom:18px}.teacher-hero h1{color:#fff;margin:5px 0}.teacher-hero p{margin:0;color:#dbe6f1}.teacher-code-box{background:#fff;color:#1a2a40;border:2px solid #d4af37;border-radius:9px;padding:12px 18px;text-align:center}.teacher-code-box small,.teacher-code-box strong{display:block}.reserve-alert{background:#fff8dc;border:2px solid #d4af37;border-radius:10px;padding:14px 18px;margin-bottom:18px;display:flex;gap:16px;flex-wrap:wrap;align-items:center}.reserve-alert strong{color:#8b6508}.teacher-stat-grid .stat-card{text-decoration:none;color:inherit}.two-column-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.span-2{grid-column:span 2}.evaluation-review-form{display:grid;grid-template-columns:repeat(2,minmax(80px,1fr));gap:6px}.grade-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:15px}.grade-toolbar label{min-width:180px}.numeric-font{font-family:Arial,sans-serif!important;font-variant-numeric:tabular-nums;direction:ltr}.card small{display:block;color:#64748b}.inline-form{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
@media(max-width:900px){.two-column-grid{grid-template-columns:1fr}.teacher-hero{align-items:flex-start;gap:16px}.form-grid .span-2{grid-column:span 1}.print-document-container,.student-print-sheet,.coordination-receipt-page{width:100%;min-height:0;padding:18px}}
@media print{
 @page{size:A4 portrait;margin:0}
 html,body{background:#fff!important;background-image:none!important;margin:0!important;padding:0!important;-webkit-print-color-adjust:economy!important;print-color-adjust:economy!important}
 .print-document-container,.student-print-sheet,.coordination-receipt-page,.official-document-content{width:210mm!important;min-height:297mm!important;padding:20mm 15mm!important;margin:0!important;background:#fff!important;background-image:none!important;border:0!important;box-shadow:none!important}
 .success-receipt-print-zone{background:#fff!important;background-image:none!important;box-shadow:none!important}
 .teacher-academic-nav,.teacher-switcher,.no-print{display:none!important}
}
.homework-student-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.homework-student-card{border:1px solid #d8e0e8;border-radius:10px;padding:16px;background:#fff;display:flex;flex-direction:column;gap:10px}.homework-student-card h3{margin:8px 0}.evaluation-upload-form{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.evaluation-upload-form label{flex:1;min-width:220px}

/* 12.8.1 — مركز الحذف الشامل واختيار الأكواد اليدوية */
.deletion-hero,.deletion-preview-hero{background:linear-gradient(135deg,#5b1620,#9f2434)!important;color:#fff!important}
.deletion-search-grid{display:grid;grid-template-columns:minmax(260px,1.2fr) minmax(240px,1fr) auto;gap:14px;align-items:end}
.deletion-search-submit{padding-bottom:1px}.deletion-row-summary{display:flex;flex-direction:column;gap:4px;white-space:normal;min-width:320px}.deletion-row-summary span{font-size:.88rem;color:#475569}.deletion-record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.deletion-record-grid>div{border:1px solid #e2e8f0;background:#f8fafc;border-radius:8px;padding:10px}.deletion-record-grid b{display:block;color:#475569;font-size:.8rem;margin-bottom:4px}.deletion-record-grid span{word-break:break-word}.dependency-list{margin:0;padding-right:22px;line-height:2}.deletion-confirm-card{border:2px solid #b42318}.danger-check{display:flex!important;gap:9px;align-items:flex-start;color:#9f1d28!important}.danger-check input{margin-top:5px}.btn[disabled]{opacity:.45;cursor:not-allowed}.system-deletion-center code,.system-deletion-preview code{font-family:Arial,sans-serif;direction:ltr;display:inline-block}
#manualTargetRecord{min-height:260px}.full-width-cell{grid-column:1/-1}
@media(max-width:900px){.deletion-search-grid,.deletion-record-grid{grid-template-columns:1fr}.deletion-row-summary{min-width:220px}}


/* ==========================================================================
   12.8.3 — أوامر 28 و29 و30: الخط القسري، الورق النظيف، والتزامن اللحظي
   ========================================================================== */
html,body,body div,body p,body span,body table,body th,body td,body input,body select,body textarea,body button,body h1,body h2,body h3,body h4,body h5,body h6,body label,body a,body small,body strong,body b,body li,body section,body article,body header,body footer,body nav{
  font-family:"MohammadBoldArt",Arial,sans-serif!important;
}
.numeric-font,.numeric-force-font,.numeric-font-field,.numeric-text,.barcode-text,.barcode-code,.barcode-value,.tracking-code,.numeric-code,.student-code,.student-code a,.student-code-inline,.bold-numeric-code,.grade-display,.ltr,code,kbd,samp,input[type="number"],input[type="date"],input[type="time"],input[type="tel"],input[type="email"]{
  font-family:Arial,sans-serif!important;font-weight:700!important;font-variant-numeric:tabular-nums!important;direction:ltr!important;letter-spacing:0!important;
}
.official-print-clean-zone,.official-document-content,.print-document-container,.student-print-sheet,.coordination-official-print,.coordination-full-file,.academic-supervision-print-sheet,.teacher-grade-clean-sheet{
  background:#fff!important;background-image:none!important;border:0!important;box-shadow:none!important;position:relative;box-sizing:border-box;
}
.gov-header-flex-row,.official-person-header{display:flex;justify-content:space-between;align-items:center;gap:8mm;border-bottom:2px solid #1a2a40;padding-bottom:5mm;margin-bottom:7mm;page-break-inside:avoid}
.gov-header-right-text{flex:1;text-align:right;line-height:1.6}.gov-header-right-text h2,.gov-header-right-text h3,.gov-header-right-text h4{margin:1mm 0}
.person-photo-secure-frame{width:32mm;height:40mm;flex:0 0 32mm;border:2px solid #1a2a40;border-radius:4px;overflow:hidden;background:#f8fafc;display:flex;align-items:center;justify-content:center;text-align:center;color:#64748b}
.person-photo-secure-frame img{width:100%;height:100%;object-fit:cover;display:block}
.gov-document-content-area{min-height:170mm;padding:2mm 0}
.gov-footer-barcode-zone{border-top:1px dashed #94a3b8;padding-top:5mm;margin-top:8mm;text-align:center;page-break-inside:avoid}
.gov-footer-barcode-zone svg{display:block;width:100%;max-width:95mm;height:18mm;margin:0 auto}.gov-footer-barcode-zone .numeric-font{display:block;font-size:1rem;margin-top:2mm;letter-spacing:2px!important;color:#1a2a40}
.live-sync-status{display:inline-flex;align-items:center;gap:6px;color:#475569;font-size:.85rem}.live-sync-status::before{content:"";width:8px;height:8px;border-radius:50%;background:#d4af37}.live-sync-status.is-live::before{background:#067647;box-shadow:0 0 0 4px rgba(6,118,71,.12)}.live-sync-status.is-error::before{background:#b42318}
.live-metric-pulse{animation:livePulseEffect .55s ease-in-out}
@keyframes livePulseEffect{0%{color:#b98b22;transform:scale(1.06)}100%{color:inherit;transform:scale(1)}}
.live-academic-activity{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 18px}.live-academic-activity>div{border:1px solid #dbe3ec;border-radius:8px;background:#f8fafc;padding:10px;text-align:center}.live-academic-activity strong{display:block;font-size:1.5rem;color:#1a2a40}
@media(max-width:760px){.gov-header-flex-row,.official-person-header{align-items:flex-start;flex-wrap:wrap}.live-academic-activity{grid-template-columns:1fr}.person-photo-secure-frame{width:28mm;height:35mm;flex-basis:28mm}}
@media print{
  @page{size:A4 portrait;margin:20mm 15mm}
  html,body{background:#fff!important;background-image:none!important;-webkit-print-color-adjust:economy!important;print-color-adjust:economy!important}
  .official-print-clean-zone,.official-document-content,.print-document-container,.student-print-sheet,.coordination-official-print,.coordination-full-file,.academic-supervision-print-sheet,.teacher-grade-clean-sheet{width:auto!important;min-height:0!important;margin:0!important;padding:0!important;background:#fff!important;background-image:none!important;border:0!important;box-shadow:none!important;overflow:visible!important}
  .live-sync-status,.live-academic-activity.no-print{display:none!important}
}

/* ========================================================================== 
   بوابة الطالب وولي الأمر المرنة + تذكرني الآمن — تكليف رقم 32
   ========================================================================== */
.gov-clean-login-container{max-width:540px;margin:42px auto;background:#fff!important;border:1.5px solid #cbd5e1!important;border-radius:14px;padding:34px;box-shadow:0 8px 28px rgba(15,35,63,.06)}
.portal-header-text-center{text-align:center;margin-bottom:26px}.portal-header-text-center h1{font-size:1.45rem;color:#1a2a40;margin:8px 0}.portal-header-text-center p{color:#64748b;line-height:1.8;margin:0}.portal-login-icon{font-size:2rem}
.parent-login-form{display:grid;gap:18px}.parent-login-credential{text-align:center;letter-spacing:1px;font-size:1.15rem!important}.numeric-force-font{font-family:Arial,sans-serif!important;font-weight:700!important;color:#1a2a40!important;direction:ltr!important}
.remember-me-checkbox-wrapper{display:flex!important;align-items:flex-start;gap:11px;padding:13px 14px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc;cursor:pointer;color:#475569!important}.remember-me-checkbox-wrapper input{width:19px;height:19px;margin-top:3px;accent-color:#1a2a40;flex:0 0 auto}.remember-me-checkbox-wrapper span{display:grid;gap:3px}.remember-me-checkbox-wrapper b{font-weight:700}.remember-me-checkbox-wrapper small{font-family:Arial,sans-serif!important;font-size:.82rem;color:#64748b;line-height:1.5}
.parent-login-security-note{margin-top:18px;padding-top:14px;border-top:1px dashed #cbd5e1;text-align:center;color:#64748b;font-size:.88rem}.btn-gov-submit-main-fixed{font-family:'MohammadBoldArt',Arial,sans-serif!important;background:#1a2a40;color:#fff;border:2px solid #d4af37;padding:12px;font-size:1.15rem;border-radius:7px;cursor:pointer;width:100%;transition:.2s ease}.btn-gov-submit-main-fixed:hover{background:#d4af37;color:#1a2a40}
@media(max-width:620px){.gov-clean-login-container{margin:20px 10px;padding:24px 18px}.portal-header-text-center h1{font-size:1.25rem}}

/* ========================================================================== 
   ألبوم الأخبار المصورة المربعة — تكليف رقم 34
   ========================================================================== */
.public-news-gallery-section,.public-official-statements-section{max-width:1200px;margin:0 auto;padding:42px 20px;background:#fff}.public-section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:24px}.public-section-head h2{margin:5px 0 0;color:#1a2a40;font-size:1.55rem}.square-news-grid-mesh{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.square-news-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;box-shadow:0 5px 18px rgba(15,35,63,.05);display:flex;flex-direction:column;transition:transform .22s ease,box-shadow .22s ease}.square-news-card:hover{transform:translateY(-4px);box-shadow:0 10px 26px rgba(15,35,63,.09)}.card-square-image-wrapper{width:100%;aspect-ratio:1/1;overflow:hidden;background:#f8fafc}.card-square-image-wrapper img{width:100%;height:100%;object-fit:cover;display:block}.card-news-text-content{padding:16px;display:flex;flex-direction:column;flex:1}.news-date-badge{font-family:Arial,sans-serif!important;font-weight:700!important;font-size:.84rem!important;color:#64748b;margin-bottom:7px;text-align:right;direction:ltr}.news-card-title{font-family:'MohammadBoldArt',Arial,sans-serif!important;font-size:1.16rem!important;color:#1a2a40!important;margin:0 0 9px}.news-card-brief{font-size:.96rem;color:#475569;margin:0;line-height:1.75;text-align:justify;white-space:normal}.public-official-statements-section{padding-top:18px}
@media(max-width:900px){.square-news-grid-mesh{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.square-news-grid-mesh{grid-template-columns:1fr;gap:18px}.public-news-gallery-section,.public-official-statements-section{padding:30px 14px}.public-section-head h2{font-size:1.3rem}}

/* ========================================================================== 
   12.8.5 — الحذف الكتلي للعاملين والحالة الأمنية
   ========================================================================== */
.global-action-bar-panel{display:grid;grid-template-columns:minmax(260px,1fr) minmax(420px,1.4fr);gap:18px;align-items:center;background:#fff5f5!important;border:1.5px solid #ef4444!important;border-radius:10px;padding:16px;margin:0 0 18px}.global-action-copy{display:grid;gap:5px;color:#991b1b}.global-action-copy b{font-size:1.08rem}.global-action-copy span{font-size:.88rem;line-height:1.7}.global-action-fields{display:grid;grid-template-columns:1fr minmax(170px,.55fr) auto;gap:9px;align-items:center}.bulk-selector-cell{width:46px;text-align:center!important}.bulk-selector-cell input{width:19px;height:19px;accent-color:#ce1126;cursor:pointer}.staff-row-selected{background:#fff1f2!important;box-shadow:inset -4px 0 0 #ce1126}.security-session-status{display:inline-flex;align-items:center;gap:6px;border:1px solid #cbd5e1;background:#f8fafc;border-radius:999px;padding:5px 10px;font-size:.78rem;color:#334155}.security-session-status::before{content:"";width:8px;height:8px;border-radius:50%;background:#16803c;box-shadow:0 0 0 3px rgba(22,128,60,.12)}
@media(max-width:1000px){.global-action-bar-panel,.global-action-fields{grid-template-columns:1fr}.global-action-fields .btn-gov-action{width:100%;text-align:center}}
.status-result-row-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;background:#f8fafc;padding:16px;border-radius:8px}.tracking-code-status{color:#0066cc!important;font-size:1.45rem!important;display:block}.glowing-verification-zone{justify-content:center}.application-status-card-box{border:1px solid #dbe3ec}
@media(max-width:760px){.status-result-row-grid{grid-template-columns:1fr 1fr}}@media(max-width:480px){.status-result-row-grid{grid-template-columns:1fr}}

/* ==========================================================================
   12.8.6 — الثورة البصرية لبوابة القبول والواجهة العامة — تكليف رقم 38
   ========================================================================== */
.admission-premium-shell{max-width:1120px;margin:0 auto 28px}
.admission-hero-banner-premium,.public-premium-hero{
  position:relative;isolation:isolate;overflow:hidden;color:#fff;
  background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 52%,#581c87 100%)!important;
  border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:52px 36px;
  box-shadow:0 22px 48px rgba(15,23,42,.16);margin:0 0 28px;text-align:center;
}
.admission-hero-banner-premium::before,.public-premium-hero::before{
  content:"";position:absolute;z-index:-1;inset:-75%;pointer-events:none;
  background:radial-gradient(circle at 25% 35%,rgba(34,211,238,.23),transparent 28%),radial-gradient(circle at 74% 60%,rgba(216,180,254,.20),transparent 25%);
  transform:rotate(-8deg)
}
.admission-hero-banner-premium::after,.public-premium-hero::after{
  content:"";position:absolute;z-index:-1;width:240px;height:240px;border:1px solid rgba(255,255,255,.10);border-radius:50%;left:-70px;bottom:-130px;box-shadow:0 0 0 38px rgba(255,255,255,.025),0 0 0 76px rgba(255,255,255,.02)
}
.premium-hero-content{position:relative;z-index:2;max-width:850px;margin:0 auto}
.premium-year-pill{display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:7px 16px;color:#e2e8f0!important;font-size:.92rem;line-height:1.4;backdrop-filter:blur(7px)}
.premium-hero-title{font-family:'MohammadBoldArt',Arial,sans-serif!important;font-size:clamp(1.8rem,4vw,2.45rem)!important;line-height:1.45!important;color:#fff!important;margin:15px 0 8px;text-shadow:0 3px 14px rgba(0,0,0,.28)}
.premium-hero-subtitle{font-size:1.08rem!important;line-height:1.9!important;color:#dbeafe!important;margin:0 auto;max-width:760px}
.premium-threshold-value{display:inline-block;color:#67e8f9!important;font-size:1.34rem!important;padding:0 4px}
.premium-hero-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:22px}
.premium-hero-link{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:8px 16px;border-radius:999px;background:#fff;color:#172554!important;text-decoration:none;border:1px solid rgba(255,255,255,.8);transition:transform .2s ease,box-shadow .2s ease}
.premium-hero-link:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.18)}
.premium-hero-link-light{background:rgba(255,255,255,.1);color:#fff!important;border-color:rgba(255,255,255,.38)}
.admission-hero-banner-premium .coordination-state{margin:0;border:1px solid rgba(255,255,255,.28);box-shadow:none;backdrop-filter:blur(7px)}
.admission-hero-banner-premium .coordination-state.is-open{background:rgba(6,118,71,.82);color:#fff}.admission-hero-banner-premium .coordination-state.is-closed{background:rgba(180,35,24,.84);color:#fff}
.global-inquiry-card{max-width:1040px;margin:0 auto 34px;background:rgba(255,255,255,.97);border:1px solid #e2e8f0;border-radius:16px;padding:30px;box-shadow:0 12px 34px rgba(15,23,42,.055);backdrop-filter:blur(10px)}
.premium-inquiry-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;border-bottom:1px solid #e2e8f0;padding-bottom:16px;margin-bottom:20px}.premium-inquiry-heading h2,.premium-gallery-heading h2{margin:4px 0 0;color:#0f172a;font-size:1.4rem}.premium-inquiry-heading small{max-width:400px;color:#64748b;line-height:1.7;text-align:left}
.premium-section-kicker{display:inline-block;color:#2563eb;font-size:.85rem;font-weight:700;letter-spacing:.2px}
.premium-inquiry-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end}.premium-search-field{display:grid;gap:8px;color:#334155;font-size:.92rem}.admission-premium-search-input{height:50px!important;border:1.5px solid #cbd5e1!important;border-radius:9px!important;padding:0 15px!important;font-size:1.08rem!important;box-shadow:inset 0 1px 2px rgba(15,23,42,.025)}.admission-premium-search-input:focus{border-color:#3b82f6!important;box-shadow:0 0 0 4px rgba(59,130,246,.12)!important;outline:0!important}
.btn-premium-search{min-height:50px;font-family:'MohammadBoldArt',Arial,sans-serif!important;background:linear-gradient(90deg,#1e3a8a,#3b82f6)!important;color:#fff!important;border:0!important;border-radius:9px;padding:11px 26px;font-size:1.05rem;cursor:pointer;white-space:nowrap;box-shadow:0 8px 18px rgba(30,58,138,.15);transition:transform .2s ease,box-shadow .2s ease}.btn-premium-search:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(59,130,246,.24)}
.premium-search-alert{margin:18px 0 0!important}
.world-class-gallery-wrapper{max-width:1120px;margin:48px auto 0;padding:34px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 10px 30px rgba(15,23,42,.045)}
.premium-gallery-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:25px}.premium-gallery-heading p{margin:7px 0 0;color:#64748b;line-height:1.7}.premium-gallery-all-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;border-radius:8px;padding:9px 14px;color:#1e3a8a!important;text-decoration:none;background:#f8fafc;white-space:nowrap}.premium-gallery-all-link:hover{background:#eff6ff;border-color:#93c5fd}
.world-class-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin-top:0}
.premium-gallery-card{background:#fff;border:1px solid #e2e8f0;border-radius:13px;overflow:hidden;box-shadow:0 6px 22px rgba(15,23,42,.045);display:flex;flex-direction:column;transition:transform .25s cubic-bezier(.4,0,.2,1),box-shadow .25s ease,border-color .25s ease}.premium-gallery-card:hover{transform:translateY(-6px) scale(1.01);box-shadow:0 18px 38px rgba(30,58,138,.11);border-color:#bfdbfe}
.square-image-viewport{display:block;width:100%;aspect-ratio:1/1!important;overflow:hidden;background:#f1f5f9;position:relative}.square-image-viewport::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 65%,rgba(15,23,42,.12));opacity:0;transition:opacity .25s ease;pointer-events:none}.premium-gallery-card:hover .square-image-viewport::after{opacity:1}.square-image-viewport img{display:block;width:100%;height:100%;object-fit:cover!important;transition:transform .35s ease}.premium-gallery-card:hover .square-image-viewport img{transform:scale(1.045)}
.gallery-card-body{padding:18px;display:flex;flex-direction:column;flex:1;border-top:1px solid #f1f5f9}.gallery-card-title{font-family:'MohammadBoldArt',Arial,sans-serif!important;font-size:1.18rem!important;line-height:1.55;color:#0f172a!important;margin:0 0 9px}.gallery-card-text{font-size:.95rem!important;line-height:1.75!important;color:#475569!important;text-align:right!important;margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.public-news-gallery-section.world-class-gallery-wrapper{padding:34px!important}.public-news-gallery-section .public-section-head{margin-bottom:24px}.public-premium-hero{max-width:1160px;margin:0 auto 30px}
@media(max-width:900px){.world-class-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.premium-inquiry-heading{align-items:flex-start;flex-direction:column}.premium-inquiry-heading small{text-align:right}.premium-inquiry-form{grid-template-columns:1fr}.btn-premium-search{width:100%}}
@media(max-width:640px){.admission-hero-banner-premium,.public-premium-hero{padding:38px 18px;border-radius:14px}.premium-hero-title{font-size:1.65rem!important}.premium-hero-subtitle{font-size:.97rem!important}.global-inquiry-card,.world-class-gallery-wrapper{padding:22px 16px;border-radius:13px}.premium-gallery-heading{align-items:flex-start;flex-direction:column}.premium-gallery-all-link{width:100%}.world-class-gallery-grid{grid-template-columns:1fr;gap:20px}.admission-premium-search-input{font-size:1rem!important}.public-news-gallery-section.world-class-gallery-wrapper{padding:22px 16px!important}}
@media(prefers-reduced-motion:reduce){.premium-gallery-card,.square-image-viewport img,.premium-hero-link,.btn-premium-search{transition:none!important}.premium-gallery-card:hover,.premium-hero-link:hover,.btn-premium-search:hover{transform:none!important}}
@media print{.admission-hero-banner-premium,.public-premium-hero,.global-inquiry-card,.world-class-gallery-wrapper{background:#fff!important;color:#000!important;box-shadow:none!important;border:1px solid #cbd5e1!important}.admission-hero-banner-premium::before,.admission-hero-banner-premium::after,.public-premium-hero::before,.public-premium-hero::after{display:none!important}.premium-hero-title,.premium-hero-subtitle{color:#000!important}.world-class-gallery-grid{grid-template-columns:repeat(3,1fr)!important}}



/* Directive 41-43: defensive evaluation, phone-only inquiries, smart timetable */
.alert-gov-danger{font-family:'MohammadBoldArt',Arial,sans-serif!important;font-size:1.1rem!important;line-height:1.6;color:#991b1b;background:#fef2f2;border-color:#fecaca}
.alert-gov-danger b,.alert-gov-danger strong{font-family:Arial,sans-serif!important;font-weight:700!important;color:#ce1126}
.parent-evaluation-submit-zone{background-color:#fff!important;background-image:none!important;border:none!important;padding:20px;border-radius:12px}
.public-inquiry-phone-only{max-width:980px;margin:0 auto}.inquiry-phone-hero{background:linear-gradient(135deg,#1e3a8a,#111e2e)!important;padding:40px 24px;border-radius:14px;color:#fff;text-align:center;margin-bottom:24px}.inquiry-phone-hero>span{color:#d4af37}.inquiry-phone-hero h1{margin:8px 0 12px}.inquiry-phone-hero p{max-width:760px;margin:auto;color:#dbeafe}.global-inquiry-card{background:#fff;border:1.5px solid #cbd5e1;padding:28px;border-radius:14px;margin-bottom:25px}.inquiry-phone-search{display:flex;gap:12px;align-items:center}.inquiry-phone-search input{flex:1}.inquiry-results-list{display:grid;gap:16px;margin-top:18px}.inquiry-result-card{background:#fff;border:1px solid #cbd5e1;border-radius:10px;padding:18px}.inquiry-result-card>header{display:flex;justify-content:space-between;gap:10px;padding-bottom:10px;margin-bottom:12px;border-bottom:1px dashed #cbd5e1}.school-public-response{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:14px;margin-top:12px}.school-public-response p{margin:8px 0 0;color:#166534}@media(max-width:650px){.inquiry-phone-search{align-items:stretch;flex-direction:column}.global-inquiry-card{padding:18px}}

/* Smart timetable, supervision and substitution UI — Directive 43 */
.timetable-toolbar{margin-bottom:18px}.timetable-toolbar .actions{justify-content:space-between;align-items:end}.timetable-toolbar label{min-width:220px}.timetable-stats{margin-bottom:20px}.timetable-admin-grid{align-items:start;margin-bottom:20px}.timetable-table td,.timetable-table th{white-space:nowrap}.mini-register{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.full-width{width:100%}.timetable-table .btn{min-height:32px}.timetable-admin-grid .card{height:100%}
@media(max-width:820px){.timetable-toolbar .actions{align-items:stretch;flex-direction:column}.timetable-toolbar label{min-width:0}.timetable-admin-grid{grid-template-columns:1fr}.timetable-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ========================================================================== 
   مذكرتا 44 و45 — قائمة المواد واستعراض الواجب الدفاعي
   ========================================================================== */
.timetable-subject-select,.timetable-subject-select option,.timetable-assignment-card label{
    font-family:'MohammadBoldArt',sans-serif!important;
}
.timetable-subject-select{min-height:42px;border:1px solid #cbd5e1;border-radius:6px;background:#fff}
.parent-clean-document-view{max-width:900px;margin:24px auto;background:#fff!important;background-image:none!important;border:1px solid #cbd5e1;border-radius:14px;padding:24px;box-shadow:0 12px 34px rgba(15,23,42,.08)}
.homework-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid #e2e8f0;padding-bottom:16px;margin-bottom:14px}
.homework-preview-head h1,.homework-preview-instructions,.default-homework-card b{font-family:'MohammadBoldArt',sans-serif!important}
.homework-preview-meta{display:flex;flex-wrap:wrap;gap:10px 24px;color:#475569;margin-bottom:16px}
.homework-preview-meta .numeric-font,.homework-preview-meta b{font-family:Arial,sans-serif!important;direction:ltr;unicode-bidi:isolate}
.homework-preview-instructions{background:#f8fafc;border-right:4px solid #1e3a8a;padding:14px;border-radius:8px;line-height:1.8;margin-bottom:18px}
.homework-image-container-viewport{width:100%;min-height:360px;aspect-ratio:4/3;overflow:hidden;border-radius:10px;border:1px solid #cbd5e1;background:#f8fafc;display:flex;align-items:center;justify-content:center}
.homework-image-container-viewport img,.homework-image-container-viewport iframe{width:100%;height:100%;border:0;object-fit:contain;background:#fff}
.default-homework-card{display:flex;min-height:320px;width:100%;align-items:center;justify-content:center;flex-direction:column;gap:12px;text-align:center;padding:28px;color:#475569;background:#fff}
.default-homework-card span{font-size:3rem}.default-homework-card small{max-width:520px;line-height:1.7}
.homework-preview-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:20px}
.parent-homework-preview-error{max-width:680px}
@media(max-width:720px){.homework-preview-head{flex-direction:column}.homework-image-container-viewport{min-height:250px;aspect-ratio:1/1}.parent-clean-document-view{padding:16px;margin:14px auto}}



/* ==========================================================================
   مذكرة 46 — عدادات الدرجات الحية ومحرك تقرير واتساب لولي الأمر
   ========================================================================== */
.whatsapp-control-action-bar{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#f0fdf4!important;background-image:none!important;border:1.5px solid #22c55e;padding:15px 18px;border-radius:10px;margin:0 0 25px}.whatsapp-control-action-bar p{font-family:"MohammadBoldArt",sans-serif!important;color:#166534;margin:0;font-size:1.05rem;line-height:1.65}.whatsapp-control-action-bar b{font-family:"MohammadBoldArt",sans-serif!important;font-weight:400!important}.whatsapp-dispatch-form{margin:0;flex:0 0 auto}.btn-whatsapp-dispatch{font-family:"MohammadBoldArt",sans-serif!important;background-color:#22c55e!important;border:1px solid #16a34a!important;color:#fff!important;padding:10px 22px;font-size:1.05rem;font-weight:400!important;border-radius:7px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;white-space:nowrap;transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease}.btn-whatsapp-dispatch:hover,.btn-whatsapp-dispatch:focus{background-color:#16a34a!important;box-shadow:0 4px 15px rgba(34,197,94,.35);transform:translateY(-2px);outline:none}.whatsapp-phone-warning{font-family:"MohammadBoldArt",sans-serif;color:#b91c1c;background:#fff;border:1px solid #fecaca;border-radius:7px;padding:9px 12px}.parent-dashboard-counters-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0 0 35px}.parent-dashboard-counters-grid .counter-clean-card{background:#fff!important;background-image:none!important;border:1px solid #cbd5e1;border-radius:10px;padding:20px;text-align:center;box-shadow:0 2px 8px rgba(15,23,42,.04)}.parent-dashboard-counters-grid .counter-clean-card strong{display:block;font-family:Arial,sans-serif!important;font-weight:700!important;font-size:2rem!important;color:#1e293b!important;direction:ltr!important;font-variant-numeric:tabular-nums!important;unicode-bidi:isolate}.parent-dashboard-counters-grid .counter-clean-card h4{font-family:"MohammadBoldArt",sans-serif!important;font-weight:400!important;color:#1a2a40;margin:8px 0 0}.parent-dashboard-counters-grid .counter-grade-records{border-color:#2563eb!important;background:#f8fafc!important}.parent-dashboard-counters-grid .counter-grade-records strong{color:#2563eb!important}.table-document-wrapper{background:#fff!important;background-image:none!important}.parent-grade-report-table td.numeric-font{font-family:Arial,sans-serif!important;font-size:1rem!important;font-weight:700!important;color:#0066cc!important;direction:ltr!important}.parent-grade-report-table .badge-gov-status{display:inline-block;min-width:88px;padding:5px 10px;border-radius:999px;background:#ecfdf5;color:#166534;border:1px solid #bbf7d0;font-family:"MohammadBoldArt",sans-serif!important}.parent-grade-empty{text-align:center!important;color:#ce1126!important;font-family:"MohammadBoldArt",sans-serif!important;padding:22px!important}.table-document-wrapper .card-header b{font-family:"MohammadBoldArt",sans-serif!important;font-weight:400!important;color:#1a2a40}
@media(max-width:900px){.parent-dashboard-counters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.whatsapp-control-action-bar{align-items:stretch;flex-direction:column}.btn-whatsapp-dispatch{width:100%}}
@media(max-width:520px){.parent-dashboard-counters-grid{grid-template-columns:1fr}.parent-grade-report-table{min-width:760px}}
@media print{.whatsapp-control-action-bar{display:none!important}.parent-dashboard-counters-grid{grid-template-columns:repeat(4,1fr)!important;gap:4mm!important}.parent-dashboard-counters-grid .counter-clean-card{box-shadow:none!important;padding:4mm!important}.parent-grade-report-table{min-width:0!important}}


/* ========================================================================== 
   12.9.3 — مركز التقارير الشاملة وجرد المنصة — تكليف رقم 47
   ========================================================================== */
.command-center-nav{border:1px solid rgba(212,175,55,.34);background:rgba(255,255,255,.025);border-radius:10px;margin-bottom:8px}.command-center-nav>.nav-group-toggle{border-right:3px solid #d4af37;background:rgba(212,175,55,.08)}.command-center-nav .nav-group-title{color:#f3d779}.command-center-report-link{border-right:2px solid #d4af37;background:linear-gradient(90deg,rgba(212,175,55,.14),transparent)}.command-center-report-link.active{background:linear-gradient(90deg,rgba(212,175,55,.27),rgba(255,255,255,.08))!important}
.system-reports-shell{margin-top:0!important;max-width:1500px;margin-inline:auto}.reports-header-panel{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;border-bottom:2px solid #1a2a40;padding:22px 24px;margin-bottom:20px;background:#fff;border-radius:13px 13px 0 0}.reports-header-panel h1{margin:7px 0 5px;color:#1a2a40;font-size:1.65rem}.reports-header-panel p{margin:0;color:#64748b}.reports-kicker{display:inline-flex;color:#8a6a17;font-size:.82rem}.reports-header-meta{min-width:245px;border-right:3px solid #d4af37;padding:7px 14px;display:grid;gap:4px;text-align:right}.reports-header-meta>b{color:#475569}.reports-header-meta>span{font-size:1.2rem;color:#1a2a40}.reports-header-meta small{color:#64748b}
.reports-control-bar{display:flex;justify-content:space-between;align-items:end;gap:16px;padding:15px 18px;background:#f8fafc;border:1px solid #dbe3ec;border-radius:10px;margin-bottom:20px}.reports-date-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.reports-date-form label{font-weight:700;color:#475569}.reports-date-form .form-control{width:175px}
.reports-metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.reports-metrics-grid .counter-clean-card{background:#fff;border:1.5px solid #cbd5e1;padding:20px;border-radius:10px;text-align:center;box-shadow:0 5px 18px rgba(15,35,63,.04);page-break-inside:avoid}.reports-metrics-grid h2{font-size:1rem;margin:0 0 10px;color:#475569}.reports-metrics-grid strong{display:block;font-size:2rem;margin-bottom:7px}.reports-metrics-grid small{display:block;color:#64748b;line-height:1.6}.report-card-success{border-top:4px solid #166534!important}.report-card-success strong{color:#166534}.report-card-blue{border-top:4px solid #2563eb!important}.report-card-blue strong{color:#2563eb}.report-card-red{border-top:4px solid #b91c1c!important}.report-card-red strong{color:#b91c1c}.report-card-gold{border-top:4px solid #d4af37!important}.report-card-gold strong{color:#9a7216}
.reports-section-card{background:#fff;border:1px solid #dbe3ec;border-radius:11px;padding:20px;margin-bottom:20px;box-shadow:0 4px 16px rgba(15,35,63,.035);page-break-inside:auto}.reports-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:14px}.reports-section-heading h2{font-size:1.18rem;color:#1a2a40;margin:0 0 4px}.reports-section-heading p{margin:0;color:#64748b;font-size:.88rem}.reports-live-badge{white-space:nowrap;background:#f0fdf4;color:#166534;border:1px solid #bbf7d0;border-radius:999px;padding:6px 10px;font-size:.78rem}.reports-summary-table th,.reports-summary-table td{text-align:center!important}.reports-summary-table th:first-child,.reports-summary-table td:first-child{text-align:right!important}.badge-gov-status.badge-authorized{display:inline-flex;justify-content:center;background:#f0fdf4;color:#166534;padding:5px 9px;border-radius:5px;white-space:nowrap}.report-positive{color:#166534!important}.report-negative{color:#b91c1c!important}.report-warning{color:#9a6700!important}.reports-data-note{margin:12px 0 0;color:#475569}.reports-platform-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}.reports-platform-grid>div{display:grid;gap:7px;text-align:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:13px}.reports-platform-grid span{color:#64748b;font-size:.84rem}.reports-platform-grid b{font-size:1.45rem;color:#1a2a40}.reports-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.reports-detail-card{min-width:0}.report-count-pill{display:grid;place-items:center;min-width:42px;height:34px;padding:0 9px;border-radius:999px;background:#1a2a40;color:#fff}.reports-empty-state{padding:24px;text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;color:#64748b}.reports-detail-table{min-width:650px}.reports-export-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#111e2e;color:#fff;border:1px solid #d4af37;border-radius:11px;padding:18px 20px;margin-bottom:20px}.reports-export-panel h2{margin:0 0 4px;font-size:1.15rem}.reports-export-panel p{margin:0;color:#cbd5e1;font-size:.86rem}
@media(max-width:1100px){.reports-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reports-platform-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.reports-detail-grid{grid-template-columns:1fr}}
@media(max-width:700px){.reports-header-panel,.reports-control-bar,.reports-export-panel{flex-direction:column;align-items:stretch}.reports-header-meta{min-width:0}.reports-metrics-grid,.reports-platform-grid{grid-template-columns:1fr}.reports-date-form{align-items:stretch}.reports-date-form .form-control{width:100%}}
@media print{@page{size:A4 portrait;margin:14mm 10mm}.system-reports-shell{max-width:none!important;width:auto!important;min-height:0!important;padding:0!important}.reports-header-panel{padding:0 0 6mm!important;border-radius:0!important}.reports-metrics-grid{grid-template-columns:repeat(4,1fr)!important;gap:3mm!important}.reports-metrics-grid .counter-clean-card{box-shadow:none!important;padding:4mm 2mm!important}.reports-metrics-grid strong{font-size:18pt!important}.reports-section-card{box-shadow:none!important;border-radius:0!important;padding:4mm!important;margin-bottom:5mm!important}.reports-platform-grid{grid-template-columns:repeat(5,1fr)!important;gap:2mm!important}.reports-detail-grid{display:block!important}.reports-detail-card{page-break-before:auto}.reports-detail-table{min-width:0!important}.reports-live-badge{border:1px solid #166534!important}.reports-header-meta,.numeric-font,.reports-metrics-grid strong{font-family:Arial,sans-serif!important}.reports-header-panel h1,.reports-section-heading h2,.reports-metrics-grid h2{font-family:"MohammadBoldArt",Arial,sans-serif!important}}

/* ========================================================================== 
   12.9.4 — تكليف رقم 48: شبكة مربعات الجرد الإحصائي الحية
   ========================================================================== */
.directive48-dashboard-zone{align-items:stretch}
.central-analytics-panel-wrapper{min-width:0;background:#fff;background-image:none!important;border:1px solid #d7dee8;border-radius:13px;padding:19px;box-shadow:0 5px 18px rgba(15,29,45,.045)}
.panel-section-header{display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:2px solid #1a2a40;padding-bottom:9px;margin-bottom:18px}
.panel-section-header>div>span{display:block;font-family:"MohammadBoldArt",sans-serif!important;font-size:.72rem;color:#9a741c;line-height:1.35}
.panel-section-header h3{font-family:"MohammadBoldArt",sans-serif!important;font-size:1.25rem!important;font-weight:400!important;color:#1a2a40!important;line-height:1.55;margin:0!important}
.directive48-live-badge{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-family:"MohammadBoldArt",sans-serif!important;font-size:.79rem!important;color:#166534!important;background:#f0fdf4!important;background-image:none!important;border:1px solid #bbf7d0;border-radius:999px;padding:5px 11px}
.directive48-live-badge::before{content:"";width:8px;height:8px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 4px rgba(22,163,74,.12)}
.micro-stats-dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.stat-micro-box{position:relative;overflow:hidden;min-height:126px;background:#fff!important;background-image:none!important;border:1px solid #cbd5e1;border-radius:10px;padding:15px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;box-shadow:0 2px 8px rgba(15,23,42,.025);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.stat-micro-box::after{content:"";position:absolute;inset:auto 16px 0;height:3px;border-radius:99px 99px 0 0;background:#1a2a40;opacity:.82}
.stat-micro-box:hover,.stat-micro-box:focus-within{transform:translateY(-3px);border-color:#1a2a40;box-shadow:0 7px 18px rgba(26,42,64,.08)}
.stat-micro-box span{font-family:"MohammadBoldArt",sans-serif!important;font-weight:400!important;font-size:.94rem!important;color:#475569!important;line-height:1.55;margin-bottom:2px}
.stat-micro-box span i{font-style:normal;margin-left:4px}
.stat-micro-box strong,.stat-micro-box .numeric-font{display:block;font-family:Arial,sans-serif!important;font-weight:700!important;font-size:1.75rem!important;line-height:1.25;letter-spacing:.5px;direction:ltr!important;unicode-bidi:isolate!important;font-variant-numeric:tabular-nums!important;color:#1a2a40!important}
.stat-micro-box small{font-family:"MohammadBoldArt",sans-serif!important;font-size:.69rem!important;color:#7b8797!important;line-height:1.45;margin-top:2px}
.stat-micro-students::after{background:#1e3a8a}.stat-micro-students strong{color:#1e3a8a!important}
.stat-micro-staff::after{background:#166534}.stat-micro-staff strong{color:#166534!important}
.stat-micro-admission::after{background:#b91c1c}.stat-micro-admission strong{color:#b91c1c!important}
.stat-micro-classes::after{background:#0066cc}.stat-micro-classes strong{color:#0066cc!important}
.stat-micro-subjects::after{background:#6d28d9}.stat-micro-subjects strong{color:#6d28d9!important}
.stat-micro-news::after{background:#ea580c}.stat-micro-news strong{color:#ea580c!important}
@media(max-width:900px){.micro-stats-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-section-header{align-items:flex-start;flex-direction:column}.directive48-live-badge{white-space:normal}}
@media(max-width:600px){.micro-stats-dashboard-grid{grid-template-columns:1fr;gap:12px}.central-analytics-panel-wrapper{padding:14px}.stat-micro-box{min-height:112px}.panel-section-header h3{font-size:1.08rem!important}}
@media print{.directive48-live-badge{display:none!important}.central-analytics-panel-wrapper{box-shadow:none!important}.micro-stats-dashboard-grid{grid-template-columns:repeat(3,1fr)!important}.stat-micro-box{break-inside:avoid;box-shadow:none!important}}



/* ==========================================================================
   12.9.6 — المذكرة 51: ألبوم الأخبار المتحرك كل 3 ثوانٍ
   والمذكرة 52: عنصر اختيار الخبر العاجل بلوحة الإعلام
   ========================================================================== */
.premium-news-carousel-section{padding:40px 20px;background:#fff;background-image:none!important}
.premium-news-carousel-shell{width:min(1100px,100%);margin:0 auto}
.gallery-section-header{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px;border-bottom:2px solid #1a2a40;padding-bottom:12px}
.gallery-section-header h2,.gallery-section-header p,.slide-text-details-zone h3,.slide-text-details-zone p,.slide-official-signature{font-family:"MohammadBoldArt",Arial,sans-serif!important;font-weight:400!important}
.gallery-section-header h2{margin:3px 0 0;color:#1a2a40;font-size:1.55rem!important;line-height:1.5}
.gallery-section-header p{margin:5px 0 0;color:#64748b;font-size:.92rem!important}
.mar-slider-outer-viewport{position:relative;overflow:hidden;border:1px solid #cbd5e1;border-radius:13px;background:#fff;background-image:none!important;box-shadow:0 12px 34px rgba(15,23,42,.08);outline:none}
.mar-slider-outer-viewport:focus-visible{box-shadow:0 0 0 4px rgba(30,58,138,.15),0 12px 34px rgba(15,23,42,.08)}
.mar-slider-track-container{display:flex;width:100%;transition:transform .5s cubic-bezier(.4,0,.2,1);will-change:transform;direction:ltr}
.mar-individual-slide-card{direction:rtl;min-width:100%;box-sizing:border-box;background:#fff;background-image:none!important}
.slide-content-split-layout{display:flex;width:100%;min-height:430px}
.slide-image-dominant-zone{flex:0 0 60%;max-width:60%;aspect-ratio:4/3;overflow:hidden;background:#f8fafc}
.slide-image-dominant-zone img{width:100%;height:100%;display:block;object-fit:cover}
.slide-text-details-zone{flex:0 0 40%;max-width:40%;padding:34px;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box;border-right:1px solid #e2e8f0;background:#fff;background-image:none!important}
.slide-text-details-zone .news-date-badge{display:block;margin-bottom:12px;color:#64748b;font-family:Arial,sans-serif!important;font-weight:700!important;direction:ltr!important;text-align:right;font-variant-numeric:tabular-nums}
.slide-text-details-zone .news-card-title{margin:0 0 14px;color:#1a2a40;font-size:1.35rem!important;line-height:1.5;text-align:right}
.slide-text-details-zone .news-card-brief{margin:0;color:#475569;font-size:1rem!important;line-height:1.8;text-align:justify}
.slide-official-signature{margin-top:24px;color:#a67c17;font-size:.86rem!important;text-align:left}
.slider-nav-btn{position:absolute;top:50%;z-index:5;width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(15,23,42,.68);color:#fff;font-family:Arial,sans-serif!important;font-size:1.45rem;cursor:pointer;transform:translateY(-50%);transition:background-color .2s ease,transform .2s ease,box-shadow .2s ease}
.slider-nav-btn:hover,.slider-nav-btn:focus-visible{background:#d4af37;color:#0f172a;box-shadow:0 0 0 4px rgba(212,175,55,.2);outline:none}
.slider-nav-btn.btn-prev{left:14px}.slider-nav-btn.btn-next{right:14px}
.slider-dots-indicators-panel{position:absolute;bottom:14px;left:50%;z-index:6;display:flex;align-items:center;gap:7px;transform:translateX(-50%);padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.78);backdrop-filter:blur(6px)}
.mar-slider-dot{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:rgba(15,23,42,.28);cursor:pointer;transition:width .22s ease,background-color .22s ease,border-radius .22s ease}
.mar-slider-dot.dot-active{width:25px;border-radius:7px;background:#1e3a8a}
@media(max-width:992px){.slide-content-split-layout{flex-direction:column;min-height:0}.slide-image-dominant-zone{flex:0 0 100%;max-width:100%;aspect-ratio:16/9}.slide-text-details-zone{flex:0 0 100%;max-width:100%;padding:22px;border-right:0;border-top:1px solid #e2e8f0}.gallery-section-header{align-items:flex-start;flex-direction:column}.gallery-section-header h2{font-size:1.28rem!important}.slider-dots-indicators-panel{bottom:10px}}
@media(max-width:600px){.premium-news-carousel-section{padding:28px 10px}.slide-image-dominant-zone{aspect-ratio:4/3}.slide-text-details-zone{padding:18px 16px 46px}.slide-text-details-zone .news-card-title{font-size:1.15rem!important}.slide-text-details-zone .news-card-brief{font-size:.92rem!important}.slider-nav-btn{width:36px;height:36px}.slider-nav-btn.btn-prev{left:8px}.slider-nav-btn.btn-next{right:8px}}
@media(prefers-reduced-motion:reduce){.mar-slider-track-container{transition:none!important}}
@media print{.slider-nav-btn,.slider-dots-indicators-panel{display:none!important}.mar-slider-track-container{display:block!important;transform:none!important}.mar-individual-slide-card{break-inside:avoid;margin-bottom:12px}.premium-news-carousel-section{padding:0}}

/* ========================================================================== 
   12.9.9 — حوكمة المستخدمين وعلامات الصح — تكليف رقم 55
   ========================================================================== */
.user-permissions-governance-card{background:#fff;border:1.5px solid #cbd5e1;border-radius:10px;padding:22px;margin-top:8px}
.user-permissions-governance-card h2{margin:0 0 8px;color:#a30f20;font-size:1.25rem}
.user-permissions-governance-card p{margin:0 0 18px;color:#526173}
.checkbox-grid-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.permission-check{display:flex;align-items:center;gap:10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px;cursor:pointer;min-height:50px}
.permission-check:hover{border-color:#1e3a8a;background:#f1f5f9}
.permission-check input{width:21px;height:21px;accent-color:#1e3a8a;flex:0 0 auto}
.permission-check span{font-family:MohammadBoldArt,Arial,sans-serif;color:#1a2a40}
.permission-check.master-permission{border-color:#d4af37;background:#fffbea}
.permission-check.master-permission input{accent-color:#ce1126}
.user-governance-list{display:grid;gap:14px;padding:18px}
.user-governance-row{border:1px solid #d7dee8;border-radius:10px;background:#fff;overflow:hidden}
.user-governance-summary{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:12px;padding:14px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0}
.user-governance-summary>div{display:flex;flex-direction:column;gap:4px}
.user-governance-summary small{color:#64748b}
.user-permissions-inline-form{display:flex;gap:14px;align-items:center;padding:14px 16px}
.compact-permissions-grid{flex:1;grid-template-columns:repeat(3,minmax(0,1fr))}
.compact-permissions-grid .permission-check{padding:9px;min-height:44px}
@media(max-width:980px){.user-governance-summary{grid-template-columns:1fr}.user-permissions-inline-form{align-items:stretch;flex-direction:column}.compact-permissions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.checkbox-grid-layout,.compact-permissions-grid{grid-template-columns:1fr}.user-governance-list{padding:10px}.user-permissions-governance-card{padding:16px}}

/* ==========================================================================
   12.9.10 — سجل المستخدمين ومفاتيح التحكم الثلاثية — تكليف رقم 56
   ========================================================================== */
.user-account-premium-card,.actions-governance-buttons-zone{background-image:none!important}
.user-account-premium-card{background:#fff;border:1.5px solid #cbd5e1;border-radius:10px;box-shadow:0 4px 12px rgba(15,23,42,.04)}
.user-account-premium-card .user-governance-summary{grid-template-columns:1.25fr 1.1fr 1fr .75fr}
.actions-governance-buttons-zone{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr) auto;gap:12px;align-items:end;padding:15px;background:#f8fafc;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}
.user-meta-action-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1fr) auto;gap:9px;align-items:end}
.user-password-action-form{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:9px;align-items:end}
.user-delete-action-form{display:flex;align-items:end;height:100%}
.actions-governance-buttons-zone .form-group{margin:0}
.actions-governance-buttons-zone .form-control{min-height:40px;background:#fff!important}
.actions-governance-buttons-zone label{font-family:"MohammadBoldArt",Arial,sans-serif!important;color:#1a2a40;font-size:.92rem}
.actions-governance-buttons-zone .btn{min-height:40px;white-space:nowrap}
.btn-warning{background:#eab308;color:#0f172a;border:1px solid #ca8a04}
.btn-warning:hover,.btn-warning:focus{background:#ca8a04;color:#fff}
.protected-user-account-note{display:flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;background:#e2e8f0;border:1px solid #cbd5e1;border-radius:6px;color:#475569;font-family:"MohammadBoldArt",Arial,sans-serif!important;text-align:center}
.user-account-premium-card .numeric-font,.user-account-premium-card .ltr,.user-account-premium-card input[type="email"],.user-account-premium-card input[type="password"]{font-family:Arial,sans-serif!important;font-variant-numeric:tabular-nums;direction:ltr!important;unicode-bidi:isolate}

@media(max-width:1100px){
  .user-account-premium-card .user-governance-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .actions-governance-buttons-zone{grid-template-columns:1fr}
  .user-delete-action-form,.user-delete-action-form .btn{width:100%}
}
@media(max-width:760px){
  .user-account-premium-card .user-governance-summary,.user-meta-action-form,.user-password-action-form{grid-template-columns:1fr}
  .actions-governance-buttons-zone{padding:12px}
  .actions-governance-buttons-zone .btn,.actions-governance-buttons-zone input{width:100%!important}
}

/* ==========================================================================
   12.9.11 — تسريع حفظ التنسيق ومنع رفع المعاينة المكرر — تكليف رقم 57
   ========================================================================== */
.coordination-local-preview-dialog{width:min(920px,94vw);max-height:90vh;padding:0;border:0;border-radius:14px;background:#fff;box-shadow:0 24px 80px rgba(15,23,42,.28)}
.coordination-local-preview-dialog::backdrop{background:rgba(15,23,42,.66);backdrop-filter:blur(3px)}
.coordination-local-preview-card{background:#fff;background-image:none!important;max-height:90vh;overflow:auto}
.coordination-local-preview-header{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 22px;background:#fff;border-bottom:1px solid #d7dee8}
.coordination-local-preview-header h2{margin:3px 0 0;color:#1a2a40;font-family:"MohammadBoldArt",Arial,sans-serif!important;font-size:1.45rem!important}
.coordination-local-preview-content{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;padding:22px}
.coordination-local-preview-photo{width:180px;height:220px;object-fit:cover;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc}
.coordination-local-preview-data,.coordination-local-preview-files{display:grid;gap:9px}
.coordination-local-preview-data>div,.coordination-local-preview-files>div{display:grid;grid-template-columns:minmax(150px,.65fr) minmax(0,1.35fr);gap:12px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}
.coordination-local-preview-data b,.coordination-local-preview-files b{font-family:"MohammadBoldArt",Arial,sans-serif!important;color:#1a2a40}
.coordination-local-preview-data span,.coordination-local-preview-files span{overflow-wrap:anywhere}
.coordination-local-preview-content h3{grid-column:1/-1;margin:4px 0 0;color:#1a2a40}
.coordination-local-preview-files{grid-column:1/-1}
.coordination-local-preview-total{grid-column:1/-1;margin:0;padding:12px;border-radius:8px;background:#eef6ff;color:#1e3a8a}
.coordination-local-preview-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 22px;border-top:1px solid #d7dee8;background:#f8fafc}
.coordination-local-preview-footer p{margin:0;color:#526173}
@media(max-width:700px){.coordination-local-preview-content{grid-template-columns:1fr}.coordination-local-preview-photo{width:140px;height:170px;margin:auto}.coordination-local-preview-data>div,.coordination-local-preview-files>div{grid-template-columns:1fr}.coordination-local-preview-header,.coordination-local-preview-footer{align-items:stretch;flex-direction:column}.coordination-local-preview-header .btn,.coordination-local-preview-footer .btn{width:100%}}


/* ========================================================================== 
   12.9.16 — تكليف 70: الحد الأدنى الديناميكي وخطوط Cairo/Tajawal الآمنة
   لا تُحمّل خطوطاً من CDN؛ تستخدم الخط المحلي المرخص كبديل عند غياب الخطين.
   ========================================================================== */
:root{
    --mar-heading-font:"Cairo","MohammadBoldArt",Arial,sans-serif;
    --mar-body-font:"Tajawal","MohammadBoldArt",Arial,sans-serif;
}
.dynamic-score-control-card{
    margin:22px 0;
    padding:24px;
    border:2px solid #cbd5e1;
    border-right:6px solid #ce1126;
    border-radius:12px;
    background:#f8fafc!important;
    background-image:none!important;
    text-align:right;
}
.dynamic-score-control-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.dynamic-score-control-card h3,.dynamic-score-control-card label,.btn-gov-admission-threshold-save{font-family:var(--mar-heading-font)!important;font-weight:700!important}
.dynamic-score-control-card p,.dynamic-score-control-card small{font-family:var(--mar-body-font)!important;font-weight:500!important}
.dynamic-score-control-card h3{margin:6px 0;color:#ce1126;font-size:22px!important;line-height:1.55!important}
.dynamic-score-control-card p{color:#475569;font-size:17px!important;line-height:1.8!important}
.dynamic-score-current-value{display:inline-flex;align-items:center;min-height:48px;padding:8px 16px;border-radius:9px;background:#fff;border:2px solid #d4af37;color:#1a2a40;font-size:22px!important}
.dynamic-score-control-form{display:flex;align-items:flex-end;gap:15px;flex-wrap:wrap}
.dynamic-score-field{flex:1;min-width:250px}
.dynamic-score-field label{display:block;margin-bottom:7px;color:#1a2a40;font-size:18px!important}
.dynamic-score-field input{height:52px!important;background:#fff!important;font-family:Arial,sans-serif!important;font-size:22px!important;font-weight:700!important;direction:ltr!important}
.btn-gov-admission-threshold-save{min-height:52px;padding:0 26px;border:0;border-radius:8px;background:linear-gradient(90deg,#ce1126,#a90f20)!important;color:#fff!important;font-size:16px!important;cursor:pointer;box-shadow:0 5px 14px rgba(206,17,38,.2)}
.admission-dynamic-threshold{display:inline-block;padding:2px 9px;border-radius:7px;background:rgba(255,255,255,.14);color:#f4d35e!important;font-size:24px!important}
.public-body .public-main .admission-portal-premium-hero-banner .premium-hero-title,
.public-body .public-main .admission-large-form h2,
.public-body .public-main .admission-large-form h3{font-family:var(--mar-heading-font)!important}
.public-body .public-main .admission-portal-premium-hero-banner .premium-hero-subtitle,
.public-body .public-main .admission-large-form p,
.public-body .public-main .admission-large-form label{font-family:var(--mar-body-font)!important}
@media(max-width:768px){.dynamic-score-control-card{padding:18px}.dynamic-score-control-form>*{width:100%}.btn-gov-admission-threshold-save{width:100%}}

/* uniform-source-choice-20260816 */
.uniform-source-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:8px}
.uniform-source-option{position:relative;display:flex;gap:12px;align-items:flex-start;padding:16px;border:1px solid #d8e2ee;border-radius:16px;background:#fff;cursor:pointer;transition:.2s ease}
.uniform-source-option:hover{border-color:#547aa5;transform:translateY(-1px);box-shadow:0 8px 20px rgba(31,64,104,.08)}
.uniform-source-option input{position:absolute;opacity:0;pointer-events:none}
.uniform-source-check{width:25px;height:25px;display:grid;place-items:center;flex:0 0 25px;border:2px solid #9eb0c3;border-radius:7px;color:transparent;font-weight:900}
.uniform-source-option input:checked+.uniform-source-check{background:#0f766e;border-color:#0f766e;color:#fff}
.uniform-source-option:has(input:checked){border-color:#0f766e;background:#f0fdfa;box-shadow:0 0 0 2px rgba(15,118,110,.08)}
.uniform-source-option b{display:block;margin-bottom:5px}.uniform-source-option small{display:block;line-height:1.7;color:#64748b}
@media(max-width:720px){.uniform-source-options{grid-template-columns:1fr}}

/* ===== modern_premium_ui.css ===== */
/* ==========================================================================
   الإصدار 12.9.8 — مذكرة الأمر التقني رقم 54
   قائمة حسابات إدارية ديناميكية من users برمز خادمي موقع قصير العمر
   ========================================================================== */

/* ==========================================================================
   الإصدار 12.9.7 — مذكرة الأمر التقني رقم 53
   ترويسة عامة نظيفة، قائمة أوامر يمينية، وخطوط قراءة كبيرة ومتجاوبة
   ========================================================================== */

.global-premium-body {
    margin: 0;
    padding: 0;
    background-color: #f8fafc !important;
    background-image: none !important;
    color: #172033;
    font-family: "MohammadBoldArt", Arial, sans-serif !important;
    font-size: 1.1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.global-premium-body *,
.global-premium-body *::before,
.global-premium-body *::after {
    box-sizing: border-box;
}

.public-body .public-main,
.public-body .public-footer,
.public-body .public-back-bar {
    font-size: 1.08rem;
}

.public-body .public-main p,
.public-body .public-main li,
.public-body .public-main label,
.public-body .public-main th,
.public-body .public-main td,
.public-body .public-main button,
.public-body .public-main a {
    font-size: 1.05rem;
    line-height: 1.75;
}

.public-body .public-main h1,
.public-body .premium-hero-title {
    font-family: "MohammadBoldArt", Arial, sans-serif !important;
    font-size: clamp(2rem, 4.2vw, 2.65rem) !important;
    line-height: 1.35;
}

.public-body .public-main h2,
.public-body .form-main-title {
    font-family: "MohammadBoldArt", Arial, sans-serif !important;
    font-size: clamp(1.55rem, 3vw, 2rem) !important;
    line-height: 1.4;
}

.public-body .public-main h3 {
    font-family: "MohammadBoldArt", Arial, sans-serif !important;
    font-size: clamp(1.28rem, 2.35vw, 1.62rem) !important;
    line-height: 1.45;
}

.public-body .public-main input[type="text"],
.public-body .public-main input[type="email"],
.public-body .public-main input[type="password"],
.public-body .public-main input[type="number"],
.public-body .public-main input[type="tel"],
.public-body .public-main input[type="date"],
.public-body .public-main select,
.public-body .public-main textarea {
    min-height: 48px;
    padding: 8px 14px !important;
    font-size: 1.08rem !important;
}

.numeric-font,
.numeric-force-font,
.public-body input[type="number"],
.public-body input[type="date"],
.public-body .score-badge,
.public-body .tracking-code,
.public-body time {
    font-family: Arial, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.35px;
}

/* الترويسة العامة */
.world-class-header-navigation {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 3px solid #d4af37;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%) !important;
    background-image: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%) !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.24);
}

.header-max-width-container {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.right-flank-identity-menu-zone {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 18px;
}

.school-branding-identity-zone {
    min-width: 340px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    text-decoration: none;
}

.mar-logo-shield {
    flex: 0 0 auto;
    min-width: 64px;
    height: 55px;
    padding: 0 12px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 11px;
    background: linear-gradient(145deg, #f2d782, #c29528);
    color: #101827;
    font-family: Arial, sans-serif !important;
    font-size: 1.24rem !important;
    font-weight: 900 !important;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

.branding-text-mass {
    min-width: 0;
}

.main-school-gov-title {
    margin: 0;
    color: #ffffff !important;
    font-family: "MohammadBoldArt", Arial, sans-serif !important;
    font-size: clamp(1.18rem, 1.5vw, 1.52rem) !important;
    font-weight: 400 !important;
    line-height: 1.48;
    text-wrap: balance;
}

.sub-gov-authority-text {
    display: block;
    margin-top: 2px;
    color: #cbd5e1 !important;
    font-family: "MohammadBoldArt", Arial, sans-serif !important;
    font-size: 0.9rem !important;
    line-height: 1.55;
}

/* قائمة الأوامر العامة في أقصى اليمين */
.orders-dropdown-wrapper,
.admin-dropdown-menu-wrapper {
    position: relative;
    z-index: 1020;
}

.btn-orders-menu-trigger {
    min-height: 48px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 8px;
    background: #ce1126 !important;
    background-image: none !important;
    color: #ffffff !important;
    font-family: "MohammadBoldArt", Arial, sans-serif !important;
    font-size: 1.08rem !important;
    font-weight: 700 !important;
    line-height: 1.35;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(206, 17, 38, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-orders-menu-trigger:hover,
.btn-orders-menu-trigger:focus-visible {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 9px 24px rgba(206, 17, 38, 0.35);
    outline: 3px solid rgba(255, 255, 255, 0.2);
    outline-offset: 2px;
}

.orders-chevron-icon,
.chevron-icon-arrow {
    font-family: Arial, sans-serif !important;
    font-size: 0.7rem !important;
    transition: transform 0.2s ease;
}

.orders-dropdown-wrapper.is-open .orders-chevron-icon,
.admin-dropdown-menu-wrapper.is-open .chevron-icon-arrow {
    transform: rotate(180deg);
}

.orders-floating-panel-card {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(330px, calc(100vw - 24px));
    padding: 8px 0;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff !important;
    background-image: none !important;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.24);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(0.985);
    transform-origin: top right;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.orders-floating-panel-card.orders-panel-active-state {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.orders-dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.orders-dropdown-list li + li {
    border-top: 1px solid #eef2f7;
}

.orders-dropdown-link {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    color: #334155;
    font-family: "MohammadBoldArt", Arial, sans-serif !important;
    font-size: 1.08rem !important;
    line-height: 1.45;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease, padding 0.18s ease;
}

.orders-dropdown-link:hover,
.orders-dropdown-link:focus-visible,
.orders-dropdown-link.is-active {
    background: #eef4ff;
    color: #1e3a8a !important;
    padding-right: 22px;
    outline: none;
}

.orders-dropdown-link.is-active {
    border-right: 4px solid #d4af37;
    font-weight: 700 !important;
}

/* دخول الإدارة الآمن في الجهة اليسرى */
.left-flank-action-zone {
    flex: 0 0 auto;
}

.btn-admin-dropdown-trigger {
    min-height: 46px;
    padding: 9px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #f1d77c !important;
    border-radius: 8px;
    background: linear-gradient(90deg, #e0bd52, #b8891d) !important;
    color: #101827 !important;
    font-family: "MohammadBoldArt", Arial, sans-serif !important;
    font-size: 1.04rem !important;
    font-weight: 700 !important;
    line-height: 1.35;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(212, 175, 55, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-admin-dropdown-trigger:hover,
.btn-admin-dropdown-trigger:focus-visible {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(212, 175, 55, 0.31);
    outline: 3px solid rgba(242, 215, 130, 0.25);
    outline-offset: 2px;
}

.admin-floating-login-card-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    width: min(390px, calc(100vw - 28px));
    padding: 24px;
    border: 1px solid #d7dee8;
    border-radius: 14px;
    background: #ffffff !important;
    background-image: none !important;
    color: #172033;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(0.985);
    transform-origin: top left;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.admin-floating-login-card-panel.dropdown-panel-active-state {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.dropdown-panel-arrow {
    position: absolute;
    top: -8px;
    left: 28px;
    width: 16px;
    height: 16px;
    border-top: 1px solid #d7dee8;
    border-left: 1px solid #d7dee8;
    background: #ffffff;
    transform: rotate(45deg);
}

.dropdown-panel-title {
    margin: 0 0 16px;
    color: #0f172a !important;
    font-family: "MohammadBoldArt", Arial, sans-serif !important;
    font-size: 1.35rem !important;
    font-weight: 400 !important;
    line-height: 1.5;
}

.dropdown-embedded-form {
    display: grid;
    gap: 14px;
}

.dropdown-input-group {
    display: grid;
    gap: 7px;
}

.dropdown-field-label {
    color: #334155;
    font-family: "MohammadBoldArt", Arial, sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.45;
}

.dropdown-select-field,
.dropdown-text-field {
    width: 100%;
    min-height: 48px;
    padding: 9px 12px !important;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff !important;
    background-image: none !important;
    color: #0f172a !important;
    font-size: 1.02rem !important;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.dropdown-text-field::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

.dropdown-select-field {
    font-family: "MohammadBoldArt", Arial, sans-serif !important;
}

.admin-account-directory-select {
    min-height: 52px;
    font-family: "MohammadBoldArt", Arial, sans-serif !important;
    text-overflow: ellipsis;
}

.admin-account-directory-select option {
    font-family: "MohammadBoldArt", Arial, sans-serif !important;
    background: #ffffff;
    color: #0f172a;
}

.admin-login-ltr-field {
    direction: ltr !important;
    text-align: left !important;
    font-family: Arial, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px;
}

.dropdown-select-field:focus,
.dropdown-text-field:focus {
    border-color: #1e4f91;
    box-shadow: 0 0 0 4px rgba(30, 79, 145, 0.1);
}

.btn-dropdown-submit-action {
    width: 100%;
    min-height: 48px;
    margin-top: 2px;
    border: 0 !important;
    border-radius: 8px;
    background: linear-gradient(90deg, #173b70, #245eb0) !important;
    color: #ffffff !important;
    font-family: "MohammadBoldArt", Arial, sans-serif !important;
    font-size: 1.04rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(30, 79, 145, 0.18);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.btn-dropdown-submit-action:hover,
.btn-dropdown-submit-action:focus-visible {
    filter: brightness(1.08);
    transform: translateY(-1px);
    outline: 3px solid rgba(37, 94, 176, 0.18);
    outline-offset: 2px;
}

.btn-dropdown-submit-action:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

@media (max-width: 1100px) {
    .header-max-width-container {
        align-items: stretch;
        flex-direction: column;
        gap: 13px;
    }

    .right-flank-identity-menu-zone {
        width: 100%;
        justify-content: space-between;
    }

    .left-flank-action-zone {
        display: flex;
        justify-content: flex-end;
    }
}

@media (max-width: 768px) {
    .global-premium-body {
        font-size: 1rem;
    }

    .world-class-header-navigation {
        position: relative;
        padding: 11px 0 14px;
    }

    .header-max-width-container {
        width: min(100% - 20px, 720px);
    }

    .right-flank-identity-menu-zone {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .school-branding-identity-zone {
        min-width: 0;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .mar-logo-shield {
        min-width: 56px;
        height: 49px;
        font-size: 1.05rem !important;
    }

    .main-school-gov-title {
        font-size: 1.1rem !important;
    }

    .sub-gov-authority-text {
        font-size: 0.78rem !important;
    }

    .orders-dropdown-wrapper,
    .left-flank-action-zone,
    .admin-dropdown-menu-wrapper {
        width: 100%;
    }

    .btn-orders-menu-trigger,
    .btn-admin-dropdown-trigger {
        width: 100%;
    }

    .orders-floating-panel-card,
    .admin-floating-login-card-panel {
        right: 0;
        left: 0;
        width: 100%;
        transform-origin: top center;
    }

    .dropdown-panel-arrow {
        right: 50%;
        left: auto;
        transform: translateX(50%) rotate(45deg);
    }

    .public-body .public-main p,
    .public-body .public-main li,
    .public-body .public-main label,
    .public-body .public-main th,
    .public-body .public-main td,
    .public-body .public-main button,
    .public-body .public-main a {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .school-branding-identity-zone {
        flex-direction: column;
        gap: 7px;
    }

    .orders-dropdown-link {
        font-size: 1rem !important;
    }

    .admin-floating-login-card-panel {
        padding: 19px 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .world-class-header-navigation *,
    .world-class-header-navigation *::before,
    .world-class-header-navigation *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .world-class-header-navigation {
        display: none !important;
    }
}


/* ==========================================================================
   12.9.12 — تكليف 58: صورة موحدة لكل بطاقة من بطاقات الوالدين
   ========================================================================== */
.parent-identity-upload-premium-zone{
    background:#fff!important;
    background-image:none!important;
}
.parent-identity-upload-premium-zone h3,
.parent-identity-upload-premium-zone p,
.parent-identity-upload-premium-zone label{
    font-family:"MohammadBoldArt",Arial,sans-serif!important;
}
.parent-identity-upload-premium-zone .numeric-font{
    font-family:Arial,sans-serif!important;
    direction:ltr!important;
    display:inline-block;
}
@media(max-width:768px){
    .form-responsive-upload-grid{grid-template-columns:1fr!important;gap:15px!important}
}


/* ==========================================================================
   12.9.13 — تكليف 59: الصورة الشخصية الإلزامية في جميع محررات التنسيق
   ========================================================================== */
.student-photo-upload-premium-card{
    margin:20px;
    padding:24px;
    border:1.5px solid #cbd5e1;
    border-right:5px solid #ce1126;
    border-radius:12px;
    background:#fff!important;
    background-image:none!important;
}
.student-photo-upload-premium-card h3{
    margin:0 0 9px;
    padding-bottom:8px;
    border-bottom:2px solid #ce1126;
    color:#ce1126;
    font-family:"MohammadBoldArt",Arial,sans-serif!important;
    font-size:1.3rem!important;
}
.student-photo-upload-premium-card p,
.student-photo-upload-premium-card label{
    font-family:"MohammadBoldArt",Arial,sans-serif!important;
    color:#475569;
}
.student-photo-upload-premium-card .numeric-font{
    font-family:Arial,sans-serif!important;
    direction:ltr!important;
    unicode-bidi:isolate;
    color:#1a2a40;
}
.student-photo-upload-field{max-width:680px;margin-top:15px}
.student-photo-upload-field input[type="file"]{background:#fff!important;min-height:50px}
@media(max-width:768px){.student-photo-upload-premium-card{margin:14px;padding:18px}.student-photo-upload-premium-card h3{font-size:1.12rem!important}}


/* ==========================================================================
   12.9.14 — تكليف 62: لاصقة ملف مستقلة A6 وصورة أعلى اليسار وخط 20px
   ========================================================================== */
.gov-isolated-actions-panel{display:flex!important;justify-content:center;align-items:center;flex-wrap:wrap;gap:15px!important;background:#f8fafc!important;background-image:none!important;border:1.5px solid #cbd5e1;border-radius:9px;padding:18px!important}.btn-gov-sticker-isolated{font-family:"MohammadBoldArt",Arial,sans-serif!important;background:#ce1126!important;color:#fff!important;border:0!important;border-radius:7px!important;padding:12px 24px!important;text-decoration:none!important;font-size:1.1rem!important;font-weight:700!important;box-shadow:0 4px 14px rgba(206,17,38,.22);cursor:pointer}.btn-gov-sticker-isolated:hover{filter:brightness(.94);transform:translateY(-1px)}.premium-a6-landscape-sticker-stage,.premium-a6-landscape-sticker-stage *{background-image:none!important}.table-gov-sticker-specification .numeric-force-bold-20,.numeric-force-bold-20{font-family:Arial,sans-serif!important;font-weight:700!important;direction:ltr!important}.table-gov-sticker-specification .field-label-cell,.sticker-main-red-heading,.sticker-gov-header-title{font-family:"MohammadBoldArt",Arial,sans-serif!important}@media(max-width:768px){.gov-isolated-actions-panel>*{width:100%!important}.btn-gov-sticker-isolated{text-align:center}}


/* ==========================================================================
   12.9.15 — تكليف 63: إلغاء الحد الأدنى وتكبير استمارة التقديم بالكامل
   ========================================================================== */
.admission-portal-premium-hero-banner{
    padding:40px!important;
    border-radius:12px!important;
    background:linear-gradient(135deg,#1e3a8a 0%,#4c1d95 100%)!important;
    background-image:linear-gradient(135deg,#1e3a8a 0%,#4c1d95 100%)!important;
    box-shadow:0 10px 25px rgba(30,58,138,.15)!important;
}
.public-body .public-main .admission-portal-premium-hero-banner .premium-year-pill{
    font-family:Arial,sans-serif!important;
    font-size:20px!important;
    font-weight:700!important;
    direction:ltr!important;
    unicode-bidi:isolate;
}
.public-body .public-main .admission-portal-premium-hero-banner .premium-hero-title{
    font-family:"MohammadBoldArt",Arial,sans-serif!important;
    font-size:2.6rem!important;
    line-height:1.3!important;
    font-weight:700!important;
}
.public-body .public-main .admission-portal-premium-hero-banner .premium-hero-subtitle{
    font-family:"MohammadBoldArt",Arial,sans-serif!important;
    font-size:1.4rem!important;
    line-height:1.65!important;
}
.admission-large-form{
    background:#fff!important;
    background-image:none!important;
    border:2px solid #cbd5e1!important;
    border-radius:12px!important;
    overflow:hidden;
}
.public-body .public-main .admission-large-form .admission-large-section-heading b,
.public-body .public-main .admission-large-form .student-photo-upload-premium-card h3,
.public-body .public-main .admission-large-form .parent-identity-upload-premium-zone h3{
    font-family:"MohammadBoldArt",Arial,sans-serif!important;
    font-size:24px!important;
    line-height:1.45!important;
    font-weight:700!important;
}
.public-body .public-main .admission-large-form .admission-large-section-heading small,
.public-body .public-main .admission-large-form .student-photo-upload-premium-card p,
.public-body .public-main .admission-large-form .parent-identity-upload-premium-zone p,
.public-body .public-main .admission-large-form .coordination-security-note{
    font-family:"MohammadBoldArt",Arial,sans-serif!important;
    font-size:20px!important;
    line-height:1.7!important;
}
.public-body .public-main .admission-large-form .input-cell-box label,
.public-body .public-main .admission-large-form .upload-cell-box label,
.public-body .public-main .admission-large-form .declaration-copy strong,
.public-body .public-main .admission-large-form .declaration-copy small,
.public-body .public-main .admission-large-form .gov-declarations-section label{
    font-family:"MohammadBoldArt",Arial,sans-serif!important;
    font-size:20px!important;
    line-height:1.55!important;
    font-weight:700!important;
    color:#1a2a40!important;
}
.public-body .public-main .admission-large-form input.form-control,
.public-body .public-main .admission-large-form select.form-select,
.public-body .public-main .admission-large-form textarea.form-control{
    font-size:20px!important;
    font-weight:700!important;
    min-height:52px!important;
    padding:9px 15px!important;
    border:2px solid #cbd5e1!important;
    background:#fff!important;
    background-image:none!important;
}
.public-body .public-main .admission-large-form textarea.form-control{
    min-height:120px!important;
    height:auto!important;
}
.public-body .public-main .admission-large-form input[type="file"].form-control{
    min-height:58px!important;
    height:auto!important;
    padding:12px 15px!important;
}
.public-body .public-main .admission-large-form .numeric-font,
.public-body .public-main .admission-large-form .numeric-font-field,
.public-body .public-main .admission-large-form input[type="number"]{
    font-family:Arial,sans-serif!important;
    font-size:22px!important;
    font-weight:700!important;
    direction:ltr!important;
}
.public-body .public-main .admission-large-form .action-submit-zone button{
    font-family:"MohammadBoldArt",Arial,sans-serif!important;
    font-size:22px!important;
    line-height:1.4!important;
    font-weight:700!important;
    min-height:58px!important;
}
.public-body .public-main .coordination-results-table th,
.public-body .public-main .coordination-results-table td,
.public-body .public-main .student-auto-data-box .detail-item,
.public-body .public-main .student-auto-data-box .detail-item b{
    font-size:20px!important;
    line-height:1.55!important;
}
.form-large-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:20px!important;
}
@media(max-width:768px){
    .admission-portal-premium-hero-banner{padding:26px 18px!important}
    .public-body .public-main .admission-portal-premium-hero-banner .premium-hero-title{font-size:1.8rem!important}
    .public-body .public-main .admission-portal-premium-hero-banner .premium-hero-subtitle{font-size:20px!important}
    .form-large-grid{grid-template-columns:1fr!important;gap:15px!important}
    .public-body .public-main .admission-large-form .admission-large-section-heading b,
    .public-body .public-main .admission-large-form .student-photo-upload-premium-card h3,
    .public-body .public-main .admission-large-form .parent-identity-upload-premium-zone h3{font-size:20px!important}
    .public-body .public-main .admission-large-form .action-submit-zone button{width:100%!important}
}


/* ========================================================================== 
   12.9.16 — تكليف 70: الحد الأدنى الديناميكي وخطوط Cairo/Tajawal الآمنة
   لا تُحمّل خطوطاً من CDN؛ تستخدم الخط المحلي المرخص كبديل عند غياب الخطين.
   ========================================================================== */
:root{
    --mar-heading-font:"Cairo","MohammadBoldArt",Arial,sans-serif;
    --mar-body-font:"Tajawal","MohammadBoldArt",Arial,sans-serif;
}
.dynamic-score-control-card{
    margin:22px 0;
    padding:24px;
    border:2px solid #cbd5e1;
    border-right:6px solid #ce1126;
    border-radius:12px;
    background:#f8fafc!important;
    background-image:none!important;
    text-align:right;
}
.dynamic-score-control-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.dynamic-score-control-card h3,.dynamic-score-control-card label,.btn-gov-admission-threshold-save{font-family:var(--mar-heading-font)!important;font-weight:700!important}
.dynamic-score-control-card p,.dynamic-score-control-card small{font-family:var(--mar-body-font)!important;font-weight:500!important}
.dynamic-score-control-card h3{margin:6px 0;color:#ce1126;font-size:22px!important;line-height:1.55!important}
.dynamic-score-control-card p{color:#475569;font-size:17px!important;line-height:1.8!important}
.dynamic-score-current-value{display:inline-flex;align-items:center;min-height:48px;padding:8px 16px;border-radius:9px;background:#fff;border:2px solid #d4af37;color:#1a2a40;font-size:22px!important}
.dynamic-score-control-form{display:flex;align-items:flex-end;gap:15px;flex-wrap:wrap}
.dynamic-score-field{flex:1;min-width:250px}
.dynamic-score-field label{display:block;margin-bottom:7px;color:#1a2a40;font-size:18px!important}
.dynamic-score-field input{height:52px!important;background:#fff!important;font-family:Arial,sans-serif!important;font-size:22px!important;font-weight:700!important;direction:ltr!important}
.btn-gov-admission-threshold-save{min-height:52px;padding:0 26px;border:0;border-radius:8px;background:linear-gradient(90deg,#ce1126,#a90f20)!important;color:#fff!important;font-size:16px!important;cursor:pointer;box-shadow:0 5px 14px rgba(206,17,38,.2)}
.admission-dynamic-threshold{display:inline-block;padding:2px 9px;border-radius:7px;background:rgba(255,255,255,.14);color:#f4d35e!important;font-size:24px!important}
.public-body .public-main .admission-portal-premium-hero-banner .premium-hero-title,
.public-body .public-main .admission-large-form h2,
.public-body .public-main .admission-large-form h3{font-family:var(--mar-heading-font)!important}
.public-body .public-main .admission-portal-premium-hero-banner .premium-hero-subtitle,
.public-body .public-main .admission-large-form p,
.public-body .public-main .admission-large-form label{font-family:var(--mar-body-font)!important}
@media(max-width:768px){.dynamic-score-control-card{padding:18px}.dynamic-score-control-form>*{width:100%}.btn-gov-admission-threshold-save{width:100%}}

/* ==========================================================================
   التكليفان 72 و73 — حقول الهوية الصارمة ودخول الإدارة الأبيض الآمن.
   ========================================================================== */
.identity-strict-validation-zone {
    background-color: #ffffff !important;
    background-image: none !important;
}

.strict-digit-input,
#strictInputNationalId,
#strictInputGuardianPhone {
    font-family: Arial, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    direction: ltr !important;
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
}

.strict-validation-feedback {
    display: block;
    min-height: 24px;
    margin-top: 5px;
    color: #b42318;
    font-family: Cairo, Arial, sans-serif !important;
    font-size: 16px;
    font-weight: 700;
}

.strict-digit-input.is-invalid {
    border-color: #b42318 !important;
    box-shadow: 0 0 0 3px rgba(180, 35, 24, .12) !important;
}

.admin-floating-login-card-panel,
.dropdown-embedded-form,
.dropdown-input-group,
.dropdown-text-field {
    background-color: #ffffff !important;
    background-image: none !important;
}

.dropdown-panel-subtitle {
    margin: 0 0 18px;
    color: #475569;
    font-family: Tajawal, Arial, sans-serif !important;
    font-size: 15px;
    line-height: 1.7;
}

.dropdown-checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 4px 2px;
    direction: rtl;
}

.dropdown-checkbox-group input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin: 0;
    cursor: pointer;
    accent-color: #1e3a8a;
}

.dropdown-checkbox-group label {
    color: #1a2a40;
    font-family: Tajawal, Arial, sans-serif !important;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

#secure_auth_email,
#secure_auth_password {
    background-color: #ffffff !important;
    color: #0f172a !important;
}

@media (max-width: 768px) {
    .identity-strict-validation-zone {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   12.9.18 — التكليف 74: بوابة التنسيق الرئيسية وتذكر الإدارة الخادمي.
   ========================================================================== */
.admin-floating-login-card-panel h2,
.admin-floating-login-card-panel h3,
.dropdown-panel-title {
    font-family: var(--mar-heading-font, "Cairo", "MohammadBoldArt", Arial, sans-serif) !important;
    font-weight: 750 !important;
}

.dropdown-panel-subtitle,
.dropdown-checkbox-group label {
    font-family: var(--mar-body-font, "Tajawal", "MohammadBoldArt", Arial, sans-serif) !important;
    font-weight: 500 !important;
}

.admission-year-badge,
.numeric-font {
    font-family: Arial, sans-serif !important;
    font-weight: 700 !important;
    direction: ltr !important;
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
}

.admin-floating-login-card-panel,
.dropdown-embedded-form,
.dropdown-input-group,
.dropdown-text-field,
#secure_auth_email,
#secure_auth_password {
    background-color: #ffffff !important;
    background-image: none !important;
}

#secure_auth_email:-webkit-autofill,
#secure_auth_email:-webkit-autofill:hover,
#secure_auth_email:-webkit-autofill:focus,
#secure_auth_password:-webkit-autofill,
#secure_auth_password:-webkit-autofill:hover,
#secure_auth_password:-webkit-autofill:focus {
    -webkit-text-fill-color: #0f172a !important;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    transition: background-color 9999s ease-out 0s;
}

/* 12.9.24 — كود رفع ديناميكي من لوحة المدير ومنع انهيار مسار التنسيق */
.server-error-banner-holder{
  display:grid;
  gap:6px;
  margin:18px 0 24px;
  padding:16px 20px;
  border:2px solid #ca8a04;
  border-right:6px solid #ce1126;
  border-radius:10px;
  background:#fff7ed!important;
  color:#991b1b;
  box-shadow:0 8px 22px rgba(15,23,42,.08);
  text-align:right;
}
.server-error-banner-holder strong{font-size:20px;font-weight:800;color:#7f1d1d}
.server-error-banner-holder span{font-size:18px;font-weight:700;line-height:1.7}
.sovereign-code-gate-fieldset{
  margin:24px;
  padding:22px;
  border:2px solid #ca8a04;
  border-radius:12px;
  background:#fffdf7!important;
  background-image:none!important;
}
.sovereign-code-gate-fieldset legend{
  padding:0 12px;
  color:#92400e;
  background:#fff;
  font-size:19px;
  font-weight:800;
}
.sovereign-code-gate-fieldset .form-control{background:#fff!important;color:#0f172a!important}
.sovereign-code-feedback{display:block;margin-top:7px;font-size:15px;font-weight:800;line-height:1.6}
.sovereign-code-feedback.is-locked{color:#b91c1c}
.sovereign-code-feedback.is-valid{color:#047857}
.sovereign-upload-locked,
input[type="file"][data-sovereign-upload-control]:disabled{
  background:#e2e8f0!important;
  color:#64748b!important;
  cursor:not-allowed!important;
  opacity:.85;
}
[data-sovereign-action]:disabled{
  background:#64748b!important;
  border-color:#64748b!important;
  color:#fff!important;
  cursor:not-allowed!important;
  box-shadow:none!important;
  opacity:.78;
}
@media(max-width:768px){
  .sovereign-code-gate-fieldset{margin:16px 10px;padding:16px}
  .server-error-banner-holder strong{font-size:18px}
  .server-error-banner-holder span{font-size:16px}
}

/* استكمال نفس الحوكمة داخل مسار استيفاء المستندات */
.sovereign-code-governance{
  margin:20px 0 26px;
  padding:22px;
  border:2px solid #ca8a04;
  border-radius:12px;
  background:#fffdf7!important;
  background-image:none!important;
}
.sovereign-code-governance legend{
  padding:0 12px;
  color:#92400e;
  background:#fff;
  font-size:19px;
  font-weight:800;
}
.sovereign-code-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.sovereign-code-governance .form-control{background:#fff!important;color:#0f172a!important}
input[type="file"][data-sovereign-correction-upload]:disabled{
  background:#e2e8f0!important;
  color:#64748b!important;
  cursor:not-allowed!important;
  opacity:.85;
}
#correctionSubmitButton:disabled{
  background:#64748b!important;
  border-color:#64748b!important;
  color:#fff!important;
  cursor:not-allowed!important;
  box-shadow:none!important;
  opacity:.78;
}
@media(max-width:768px){
  .sovereign-code-grid{grid-template-columns:1fr}
  .sovereign-code-governance{padding:16px}
}

/* ===== premium_rebuild_2026.css ===== */
/* ==========================================================================
   Premium UX Rebuild 2026 — مدرسة محمد عبدالحميد رضوان
   طبقة موحدة فوق الواجهات القائمة؛ لا تغير منطق PHP أو الطباعة الرسمية.
   ========================================================================== */

:root{
  --pr-navy-950:#06182b;--pr-navy-900:#0b2949;--pr-navy-800:#103b62;--pr-blue:#1769aa;
  --pr-sky:#2d8bca;--pr-green:#078064;--pr-green-soft:#e7f7f2;--pr-red:#c9343f;
  --pr-gold:#d2a633;--pr-page:#f1f4f8;--pr-card:#fff;--pr-soft:#f7f9fc;
  --pr-text:#17283d;--pr-muted:#687a90;--pr-line:#dfe7ef;
  --pr-shadow-sm:0 3px 12px rgba(13,38,65,.07);--pr-shadow:0 16px 38px rgba(13,38,65,.1);
  --pr-radius:15px;--pr-radius-lg:20px;
}

.premium-admin-body,.premium-public-body{background:var(--pr-page)!important;color:var(--pr-text);font-family:"Segoe UI",Arial,sans-serif!important;-webkit-font-smoothing:antialiased}
.premium-admin-body *,.premium-public-body *{box-sizing:border-box}
.premium-admin-body button,.premium-admin-body input,.premium-admin-body select,.premium-admin-body textarea,.premium-public-body button,.premium-public-body input,.premium-public-body select,.premium-public-body textarea{font-family:inherit}
.premium-admin-body :focus-visible,.premium-public-body :focus-visible{outline:3px solid rgba(45,139,202,.24)!important;outline-offset:2px}

/* علم مصر الديناميكي */
.egypt-flag-live{position:relative;width:52px;height:34px;flex:0 0 52px;display:flex;flex-direction:column;overflow:hidden;border-radius:5px;box-shadow:0 7px 17px rgba(0,0,0,.24);transform-origin:right center;animation:egyptFlagWave 4.2s ease-in-out infinite;isolation:isolate}
.egypt-flag-live::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 0%,rgba(255,255,255,.3) 46%,transparent 60%);transform:translateX(120%);animation:egyptFlagShine 5.6s ease-in-out infinite}
.egypt-flag-live>i{position:relative;display:block;flex:1;margin:0!important;border:0!important;border-radius:0!important}
.egypt-flag-live>i:nth-child(1){background:#ce1126}.egypt-flag-live>i:nth-child(2){display:grid;place-items:center;background:#fff}.egypt-flag-live>i:nth-child(3){background:#080808}
.egypt-flag-live b{color:#c89b2c;font:900 10px/1 Arial;filter:drop-shadow(0 1px 1px rgba(0,0,0,.25))}
@keyframes egyptFlagWave{0%,100%{transform:perspective(220px) rotateY(0) skewY(0)}50%{transform:perspective(220px) rotateY(-8deg) skewY(-1deg)}}
@keyframes egyptFlagShine{0%,64%,100%{transform:translateX(125%)}78%{transform:translateX(-125%)}}

/* الهيكل الإداري */
.premium-app-shell.app{grid-template-columns:286px minmax(0,1fr)!important;min-height:100vh;background:var(--pr-page)!important}
.premium-sidebar.sidebar{position:sticky!important;top:0;height:100vh;overflow:hidden;display:flex!important;flex-direction:column;background:radial-gradient(circle at 85% 2%,rgba(44,139,201,.2),transparent 27%),linear-gradient(180deg,#0b2d50 0%,#071f37 70%,#061829 100%)!important;border-left:1px solid rgba(255,255,255,.07)!important;box-shadow:-10px 0 34px rgba(3,20,36,.14)!important}
.premium-brand.brand{min-height:96px;display:flex!important;align-items:center;gap:10px;padding:15px 14px!important;border-bottom:1px solid rgba(255,255,255,.08)!important}
.premium-brand .egypt-flag-sidebar{width:41px;height:27px;flex-basis:41px;box-shadow:0 5px 12px rgba(0,0,0,.22)}
.premium-brand .brand-emblem{width:43px!important;height:43px!important;min-width:43px!important;display:grid!important;place-items:center;padding:0!important;border-radius:12px!important;background:linear-gradient(145deg,#f3d977,#bb8c1f)!important;color:#0b253f!important;font:900 12px Arial!important;box-shadow:0 8px 18px rgba(210,166,51,.22)!important}
.premium-brand>div:last-child{min-width:0}.premium-brand .brand-kicker{display:block;margin-bottom:2px;color:#75b9e2;font-size:9px;font-weight:800}.premium-brand h1{margin:0!important;overflow:hidden;color:#fff!important;font-size:12px!important;white-space:nowrap;text-overflow:ellipsis}.premium-brand small{display:block;color:#9eb4c6!important;font-size:9px!important}
.premium-nav-search{min-height:42px;display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:7px;margin:13px 12px 8px;padding:0 10px;color:#a9bed0;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);border-radius:10px}
.premium-nav-search input{min-width:0;color:#edf6fd;background:transparent;border:0!important;outline:0!important;font-size:10px}.premium-nav-search input::placeholder{color:#91a9bb}.premium-nav-search kbd{padding:2px 5px;color:#7893a8;background:rgba(0,0,0,.2);border:1px solid rgba(255,255,255,.07);border-radius:4px;font-size:7px}
.premium-sidebar .tree-nav{flex:1;overflow-y:auto;padding:3px 9px 20px!important;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.14) transparent}
.premium-sidebar .nav-group{margin:2px 0!important;border-radius:10px}.premium-sidebar .nav-group-toggle{min-height:43px!important;padding:0 10px!important;color:#aebfd0!important;background:transparent!important;border:0!important;border-radius:9px!important;transition:.2s ease}
.premium-sidebar .nav-group-toggle:hover,.premium-sidebar .nav-group.open>.nav-group-toggle{color:#fff!important;background:rgba(255,255,255,.06)!important}
.premium-sidebar .nav-group-title{gap:9px!important;font-size:11px!important;font-weight:700!important}.premium-sidebar .nav-group-title i{width:21px!important;height:21px!important;display:grid!important;place-items:center;color:#77b8df!important;font-style:normal!important}
.premium-sidebar .nav-arrow{color:#67859d!important;transition:transform .2s ease}.premium-sidebar .nav-group.open .nav-arrow{transform:rotate(180deg)}
.premium-sidebar .nav-submenu{padding:2px 0 4px!important}.premium-sidebar .nav-link{position:relative;min-height:36px!important;margin:1px 18px 1px 0!important;padding:7px 10px!important;color:#90a8bc!important;background:transparent!important;border:0!important;border-radius:8px!important;font-size:10px!important;transition:.18s ease}
.premium-sidebar .nav-link:hover{color:#fff!important;background:rgba(255,255,255,.055)!important;transform:translateX(-2px)}
.premium-sidebar .nav-link.active{color:#fff!important;background:linear-gradient(90deg,rgba(25,124,180,.88),rgba(28,112,164,.48))!important;box-shadow:inset -3px 0 #6fd5b9!important}
.premium-sidebar .nav-link>span:first-child{min-width:21px!important;color:#78b9df!important}.premium-sidebar .nav-link small{display:block!important;color:#7893a8!important;font-size:7px!important}
.premium-sidebar .nav-group.nav-filter-hidden,.premium-sidebar .nav-link.nav-filter-hidden{display:none!important}

.premium-main.main{min-width:0!important;background:var(--pr-page)!important}
.premium-topbar.topbar{position:sticky!important;top:0!important;z-index:70!important;min-height:74px!important;padding:0 24px!important;background:rgba(255,255,255,.95)!important;border-bottom:1px solid var(--pr-line)!important;box-shadow:var(--pr-shadow-sm)!important;backdrop-filter:blur(14px)}
.premium-topbar .topbar-title{gap:11px!important}.premium-topbar .egypt-flag-topbar{width:46px;height:30px;flex-basis:46px;box-shadow:0 5px 12px rgba(0,0,0,.17)}
.premium-page-kicker{display:block;color:var(--pr-blue);font-size:8px;font-weight:800}.premium-topbar .topbar-title b{color:var(--pr-text)!important;font-size:14px!important}.premium-topbar .topbar-date{margin-top:1px!important;color:var(--pr-muted)!important;font-size:8px!important}
.premium-topbar-actions{gap:7px!important}.premium-topbar .security-session-status{padding:6px 9px!important;color:var(--pr-green)!important;background:var(--pr-green-soft)!important;border:1px solid #c9ebe1!important;border-radius:99px!important;font-size:8px!important;font-weight:800!important}.premium-topbar .user-badge{max-width:320px;overflow:hidden;padding:7px 10px!important;color:#40546b!important;background:#f5f7fa!important;border:1px solid var(--pr-line)!important;border-radius:9px!important;font-size:8px!important;white-space:nowrap;text-overflow:ellipsis}
.premium-icon-button{width:36px;height:36px;display:grid;place-items:center;padding:0;color:#536a81;background:#fff;border:1px solid var(--pr-line);border-radius:9px;font-size:16px;cursor:pointer;transition:.18s ease}.premium-icon-button:hover{color:var(--pr-blue);background:#f4f8fb;transform:translateY(-1px)}
.premium-delete-trigger{min-height:36px!important;padding:0 12px!important;border-radius:9px!important;background:linear-gradient(105deg,#b92734,#d34750)!important;border:0!important;box-shadow:0 7px 18px rgba(201,52,63,.2)!important;font-size:9px!important}
.premium-backbar.back-navigation-bar{min-height:42px!important;padding:5px 24px!important;background:#f9fbfd!important;border-bottom:1px solid var(--pr-line)!important;box-shadow:none!important}.premium-backbar .btn-back-gov,.premium-backbar .btn-back-home{min-height:30px!important;padding:4px 9px!important;border-radius:7px!important;font-size:8px!important}.premium-live-label{display:inline-flex;align-items:center;gap:6px;margin-right:auto;color:#718296;font-size:8px}.premium-live-label i{width:7px;height:7px;border-radius:50%;background:#21a47f;box-shadow:0 0 0 4px rgba(33,164,127,.1)}
.premium-content.content{width:min(1540px,100%)!important;margin:0 auto!important;padding:20px 24px 32px!important;animation:premiumContentIn .34s ease both}
@keyframes premiumContentIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}

/* توحيد البطاقات والجداول والنماذج */
.premium-admin-body .card,.premium-admin-body .panel,.premium-admin-body .stat-card,.premium-admin-body .module-card{background:var(--pr-card)!important;border:1px solid var(--pr-line)!important;border-radius:var(--pr-radius)!important;box-shadow:var(--pr-shadow-sm)!important;overflow:hidden}
.premium-admin-body .card:hover,.premium-admin-body .module-card:hover{box-shadow:var(--pr-shadow)!important}
.premium-admin-body .card-header{min-height:50px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:12px 16px!important;background:linear-gradient(180deg,#fff,#fbfcfe)!important;border-bottom:1px solid var(--pr-line)!important}.premium-admin-body .card-header b{color:#21364e!important;font-size:11px!important}.premium-admin-body .card-body{padding:16px!important}
.premium-admin-body .table-wrap{border-radius:0 0 var(--pr-radius) var(--pr-radius)!important;scrollbar-width:thin}.premium-admin-body .table{width:100%!important;border-collapse:separate!important;border-spacing:0!important}.premium-admin-body .table th{padding:11px 12px!important;color:#54677d!important;background:#f4f7fa!important;border-bottom:1px solid #d8e2eb!important;font-size:9px!important;font-weight:800!important;white-space:nowrap}.premium-admin-body .table td{padding:11px 12px!important;color:#30465d!important;background:#fff!important;border-bottom:1px solid #edf1f5!important;font-size:9px!important;vertical-align:middle!important}.premium-admin-body .table tbody tr:hover td{background:#f8fbfd!important}.premium-admin-body .table tbody tr:last-child td{border-bottom:0!important}
.premium-admin-body .form-control,.premium-admin-body .form-select,.premium-admin-body textarea{min-height:43px!important;padding:8px 11px!important;color:#20364d!important;background:#fff!important;border:1px solid #d5e0ea!important;border-radius:9px!important;font-size:10px!important;box-shadow:inset 0 1px 2px rgba(13,38,65,.025)!important;transition:.18s ease}.premium-admin-body .form-control:focus,.premium-admin-body .form-select:focus,.premium-admin-body textarea:focus{border-color:#54a3d6!important;box-shadow:0 0 0 4px rgba(45,139,202,.1)!important}.premium-admin-body label{color:#41566c!important;font-size:9px!important;font-weight:700!important}
.premium-admin-body .btn{min-height:36px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:7px 12px!important;border-radius:8px!important;font-size:9px!important;font-weight:800!important;transition:.18s ease!important}.premium-admin-body .btn:hover{filter:brightness(1.03);transform:translateY(-1px)}.premium-admin-body .btn-primary{background:linear-gradient(105deg,#145f9b,#2584c2)!important;border-color:#145f9b!important;box-shadow:0 7px 16px rgba(23,105,170,.16)!important}.premium-admin-body .btn-danger{background:linear-gradient(105deg,#b92734,#d44751)!important;border-color:#b92734!important}.premium-admin-body .btn-light{color:#40556b!important;background:#fff!important;border-color:var(--pr-line)!important}
.premium-admin-body .btn,.premium-admin-body .nav-link,.premium-public-body .orders-dropdown-link{position:relative;overflow:hidden}.premium-ripple{position:absolute;width:8px;height:8px;pointer-events:none;border-radius:50%;background:rgba(255,255,255,.38);transform:translate(-50%,-50%) scale(0);animation:premiumRipple .5s ease-out forwards}@keyframes premiumRipple{to{opacity:0;transform:translate(-50%,-50%) scale(24)}}
.premium-admin-body .badge{padding:5px 8px!important;border-radius:99px!important;font-size:8px!important}.premium-admin-body .alert{padding:11px 14px!important;border-radius:10px!important;box-shadow:var(--pr-shadow-sm)!important;font-size:10px!important}
.premium-admin-body .register-hero,.premium-admin-body .executive-gov-header{position:relative!important;overflow:hidden!important;border-radius:var(--pr-radius-lg)!important;box-shadow:0 18px 42px rgba(8,45,76,.16)!important}.premium-admin-body .register-hero{padding:24px!important;background:radial-gradient(circle at 10% 15%,rgba(74,205,171,.2),transparent 28%),linear-gradient(118deg,#0b2c4c,#11537a 68%,#0d6b72)!important}.premium-admin-body .register-hero h1,.premium-admin-body .register-hero h2{color:#fff!important}.premium-admin-body .register-hero p{color:#c8ddea!important}.premium-admin-body .registry-kicker{color:#7fe0c8!important}

/* لوحة القيادة */
.premium-admin-body .executive-dashboard-shell{background:transparent!important}.premium-admin-body .executive-gov-header{background:radial-gradient(circle at 12% 20%,rgba(74,205,171,.18),transparent 28%),linear-gradient(120deg,#092a4a,#124e75 66%,#0f6d73)!important;border:1px solid rgba(255,255,255,.08)!important}.premium-admin-body .executive-metric-card,.premium-admin-body .stat-micro-box{border:1px solid var(--pr-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:var(--pr-shadow-sm)!important}.premium-admin-body .executive-chart-box,.premium-admin-body .executive-insights-box,.premium-admin-body .central-analytics-panel-wrapper{border:1px solid var(--pr-line)!important;border-radius:15px!important;background:#fff!important;box-shadow:var(--pr-shadow-sm)!important}

/* درج الحذف السياقي */
.deletion-command-drawer{position:fixed;inset:0;z-index:300;visibility:hidden;opacity:0;transition:.22s ease}.deletion-command-drawer.is-open{visibility:visible;opacity:1}.deletion-drawer-scrim{position:absolute;inset:0;width:100%;height:100%;background:rgba(4,17,30,.58);border:0;backdrop-filter:blur(4px);cursor:default}.deletion-command-drawer>section{position:absolute;top:0;left:0;width:min(420px,calc(100% - 28px));height:100%;display:flex;flex-direction:column;padding:20px;color:var(--pr-text);background:#fff;box-shadow:25px 0 70px rgba(0,0,0,.25);transform:translateX(-105%);transition:transform .24s ease}.deletion-command-drawer.is-open>section{transform:translateX(0)}
.deletion-command-drawer header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:17px;border-bottom:1px solid var(--pr-line)}.deletion-command-drawer header span{color:var(--pr-red);font-size:8px;font-weight:900}.deletion-command-drawer h2{margin:2px 0 0;font-size:18px}.deletion-command-drawer header>button{width:34px;height:34px;display:grid;place-items:center;color:#6d7f91;background:#f4f6f8;border:1px solid var(--pr-line);border-radius:9px;font-size:22px;cursor:pointer}
.deletion-drawer-context{display:flex;flex-direction:column;margin:18px 0;padding:14px;background:#fff7f7;border:1px solid #f2d5d7;border-radius:11px}.deletion-drawer-context span{color:#a73b43;font-size:8px;font-weight:800}.deletion-drawer-context strong{margin:2px 0;color:#62232a;font-size:13px}.deletion-drawer-context small{color:#8d6468;font-size:8px}.deletion-safety-list{display:flex;flex-direction:column;gap:8px}.deletion-safety-list p{display:flex;align-items:center;gap:10px;margin:0;padding:11px;background:#f8fafc;border:1px solid var(--pr-line);border-radius:10px}.deletion-safety-list p>i{width:27px;height:27px;display:grid;place-items:center;flex:0 0 27px;color:#fff;background:#244a6a;border-radius:8px;font:800 9px Arial}.deletion-safety-list p>span{display:flex;flex-direction:column}.deletion-safety-list b{font-size:9px}.deletion-safety-list small{color:var(--pr-muted);font-size:8px}.deletion-drawer-actions{display:grid;gap:8px;margin-top:auto;padding-top:20px}.deletion-drawer-actions .btn{min-height:42px!important}.deletion-command-drawer footer{margin-top:12px;color:#8190a0;font-size:8px;text-align:center}.context-delete-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding:9px 11px;color:#fff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);border-radius:9px;font-size:8px}.context-delete-banner a{color:#fff;font-weight:800;text-decoration:underline}

/* الوضع الداكن الإداري — مؤقت للجلسة دون تخزين في المتصفح */
.premium-admin-body.premium-dark-mode{--pr-page:#091b2c;--pr-card:#10283d;--pr-soft:#0d2235;--pr-text:#edf5fb;--pr-muted:#91a4b7;--pr-line:#274057;background:var(--pr-page)!important;color:var(--pr-text)}
.premium-dark-mode .premium-topbar.topbar{background:rgba(14,36,55,.96)!important}.premium-dark-mode .premium-topbar .topbar-title b,.premium-dark-mode .premium-page-kicker{color:#dceaf5!important}.premium-dark-mode .premium-topbar .user-badge,.premium-dark-mode .premium-icon-button{color:#b8c8d6!important;background:#153149!important;border-color:#29435a!important}.premium-dark-mode .premium-backbar.back-navigation-bar{background:#0c2235!important}.premium-dark-mode .card,.premium-dark-mode .panel,.premium-dark-mode .stat-card,.premium-dark-mode .module-card,.premium-dark-mode .table td,.premium-dark-mode .card-header,.premium-dark-mode .executive-metric-card,.premium-dark-mode .stat-micro-box,.premium-dark-mode .executive-chart-box,.premium-dark-mode .executive-insights-box,.premium-dark-mode .central-analytics-panel-wrapper{color:#dce8f2!important;background:#10283d!important;border-color:#274057!important}.premium-dark-mode .table th{color:#b9c8d6!important;background:#173048!important;border-color:#2a455d!important}.premium-dark-mode .table td{color:#cbd8e3!important;border-color:#203b51!important}.premium-dark-mode .table tbody tr:hover td{background:#153149!important}.premium-dark-mode .form-control,.premium-dark-mode .form-select,.premium-dark-mode textarea{color:#e7f0f7!important;background:#0c2134!important;border-color:#2c465d!important}.premium-dark-mode label,.premium-dark-mode .card-header b{color:#d8e4ee!important}.premium-dark-mode .btn-light{color:#cbd8e3!important;background:#153149!important;border-color:#29445b!important}

/* الواجهة العامة */
.premium-public-body .world-class-header-navigation{padding:12px 0!important;background:radial-gradient(circle at 10% 0,rgba(45,139,202,.18),transparent 28%),linear-gradient(125deg,#071c31,#0c3457 62%,#124f70)!important;border-bottom:2px solid var(--pr-gold)!important;box-shadow:0 13px 34px rgba(7,28,49,.22)!important}.premium-public-body .header-max-width-container{width:min(1500px,calc(100% - 34px))!important}.premium-public-body .school-branding-identity-zone{gap:11px!important}.premium-public-body .egypt-flag-public{width:48px;height:31px;flex-basis:48px}.premium-public-body .mar-logo-shield{min-width:54px!important;height:49px!important;border:0!important;border-radius:12px!important;box-shadow:0 7px 18px rgba(212,175,55,.2)!important}.premium-public-body .main-school-gov-title{font-size:clamp(15px,1.45vw,20px)!important}.premium-public-body .sub-gov-authority-text{font-size:10px!important}.premium-public-body .btn-orders-menu-trigger{min-height:44px!important;padding:8px 14px!important;background:rgba(255,255,255,.09)!important;border:1px solid rgba(255,255,255,.17)!important;border-radius:10px!important;box-shadow:none!important;font-size:10px!important}.premium-public-body .btn-admin-dropdown-trigger{min-height:43px!important;border-radius:10px!important;font-size:10px!important}.premium-public-body .orders-floating-panel-card,.premium-public-body .admin-floating-login-card-panel{border:1px solid var(--pr-line)!important;border-radius:14px!important;box-shadow:0 24px 65px rgba(7,28,49,.24)!important}.premium-public-body .orders-dropdown-link{min-height:48px!important;padding:9px 14px!important;font-size:10px!important}.premium-public-body .public-main{width:min(1500px,calc(100% - 30px))!important;margin:0 auto!important;padding-top:18px!important}.premium-public-body .public-footer{padding:16px!important;color:#718297!important;background:#e9eef4!important;border-top:1px solid #d9e2eb!important;font-size:9px!important}
.premium-public-body .card,.premium-public-body .news-card,.premium-public-body .admission-card{border:1px solid var(--pr-line)!important;border-radius:var(--pr-radius)!important;background:#fff!important;box-shadow:var(--pr-shadow-sm)!important}.premium-public-body .form-control,.premium-public-body .form-select,.premium-public-body input,.premium-public-body select,.premium-public-body textarea{border-radius:9px!important}

/* الاستجابة */
.premium-sidebar-overlay{display:none}
.premium-dialog-locked,.premium-nav-locked{overflow:hidden}
@media(max-width:1100px){.premium-app-shell.app{grid-template-columns:250px minmax(0,1fr)!important}.premium-topbar.topbar{padding-inline:16px!important}.premium-content.content{padding-inline:17px!important}.premium-topbar .user-badge{display:none}.premium-brand .egypt-flag-sidebar{display:none}}
@media(max-width:820px){.premium-app-shell.app{display:block!important}.premium-sidebar.sidebar{position:fixed!important;right:0!important;z-index:150!important;width:min(310px,calc(100% - 42px))!important;transform:translateX(105%);transition:transform .24s ease}.premium-sidebar.sidebar.mobile-open{transform:translateX(0)}.premium-sidebar-overlay{position:fixed;inset:0;z-index:145;display:block;visibility:hidden;opacity:0;background:rgba(4,17,30,.55);backdrop-filter:blur(3px);transition:.22s ease}.premium-sidebar.sidebar.mobile-open~.premium-sidebar-overlay,.premium-sidebar-overlay.is-open{visibility:visible;opacity:1}.premium-topbar.topbar{min-height:66px!important}.premium-topbar .egypt-flag-topbar{width:40px;height:26px;flex-basis:40px}.premium-topbar .security-session-status{display:none}.premium-topbar-actions form .btn{padding-inline:8px!important}.premium-backbar.back-navigation-bar{padding-inline:14px!important}.premium-live-label{display:none}.premium-content.content{padding:14px 12px 26px!important}.premium-public-body .header-max-width-container{align-items:flex-start!important;flex-wrap:wrap!important}.premium-public-body .right-flank-identity-menu-zone{width:100%!important}.premium-public-body .left-flank-action-zone{margin-right:auto}.premium-public-body .school-branding-identity-zone{min-width:0!important}.premium-public-body .egypt-flag-public{display:none}}
@media(max-width:560px){.premium-topbar .egypt-flag-topbar,.premium-page-kicker,.premium-topbar .topbar-date{display:none}.premium-topbar.topbar{padding-inline:10px!important}.premium-topbar-actions{gap:4px!important}.premium-delete-trigger{width:37px!important;overflow:hidden;padding:0!important;font-size:0!important}.premium-delete-trigger::before{content:"🗑";font-size:15px}.premium-topbar-actions form .btn{width:37px!important;overflow:hidden;padding:0!important;font-size:0!important}.premium-topbar-actions form .btn::before{content:"↗";font-size:15px}.premium-backbar .btn-back-gov span{display:none}.premium-public-body .header-max-width-container{width:calc(100% - 20px)!important}.premium-public-body .branding-text-mass{display:none}.premium-public-body .right-flank-identity-menu-zone{justify-content:space-between}.premium-public-body .btn-orders-menu-trigger span:nth-child(2){display:none}.premium-public-body .public-main{width:calc(100% - 18px)!important}.deletion-command-drawer>section{width:calc(100% - 16px);padding:16px}}
@media print{.premium-nav-search,.premium-sidebar-overlay,.deletion-command-drawer,.premium-icon-button,.premium-delete-trigger,.egypt-flag-live{display:none!important}.premium-admin-body,.premium-public-body{background:#fff!important}.premium-content.content{width:100%!important;padding:0!important}}
@media(prefers-reduced-motion:reduce){.egypt-flag-live,.egypt-flag-live::after,.premium-content.content{animation:none!important}*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* 12.9.20 — تصحيح هندسة اللوحة ورفع المقروئية وتوحيد أوامر الجداول */
.premium-app-shell.app{display:grid!important}
.premium-main.main{margin:0!important;min-width:0!important;align-self:start!important}
.premium-content.content{padding-top:18px!important}
.premium-sidebar .nav-group-title{gap:10px!important;font-size:15px!important;font-weight:800!important;line-height:1.55!important}
.premium-sidebar .nav-group-title i{width:25px!important;height:25px!important;font-size:17px!important}
.premium-sidebar .nav-link{min-height:43px!important;margin:2px 14px 2px 0!important;padding:9px 11px!important;color:#c5d4e1!important;font-size:14px!important;line-height:1.55!important}
.premium-sidebar .nav-link>span:first-child{min-width:24px!important;font-size:16px!important}
.premium-sidebar .nav-link small{color:#9db1c2!important;font-size:11px!important}
.premium-nav-search input{font-size:14px!important}.premium-nav-search kbd{font-size:10px!important}
.premium-public-body .btn-orders-menu-trigger,.premium-public-body .btn-admin-dropdown-trigger{font-size:15px!important}
.premium-public-body .orders-dropdown-link{min-height:54px!important;font-size:15px!important;font-weight:800!important}
.premium-public-body .sub-gov-authority-text{font-size:13px!important}

.premium-admin-body .gov-table-actions-flex,.premium-admin-body td.actions{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important}
.premium-admin-body .gov-table-actions-flex form{display:inline-flex!important;margin:0!important}
.premium-admin-body .btn-gov-action,.premium-admin-body td.actions .btn{min-width:96px!important;min-height:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;padding:9px 14px!important;border:1px solid transparent!important;border-radius:11px!important;font-size:14px!important;font-weight:900!important;line-height:1.2!important;text-decoration:none!important;box-shadow:0 7px 16px rgba(12,39,66,.13)!important;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important}
.premium-admin-body .btn-gov-action:hover,.premium-admin-body td.actions .btn:hover{transform:translateY(-2px)!important;box-shadow:0 11px 22px rgba(12,39,66,.18)!important;filter:brightness(1.05)!important}
.premium-admin-body .btn-preview-dark{color:#fff!important;background:linear-gradient(135deg,#152d45,#284d70)!important}
.premium-admin-body .btn-edit-blue{color:#fff!important;background:linear-gradient(135deg,#0d67b2,#168fe0)!important}
.premium-admin-body .btn-delete-red{color:#fff!important;background:linear-gradient(135deg,#b51e2e,#df3d4a)!important}
.premium-admin-body .btn-whatsapp-green{color:#fff!important;background:linear-gradient(135deg,#087f52,#20b66d)!important}

.whatsapp-choice-dialog{width:min(560px,calc(100% - 28px));padding:0;border:0;border-radius:20px;box-shadow:0 28px 80px rgba(4,23,39,.32);overflow:hidden;direction:rtl}
.whatsapp-choice-dialog::backdrop{background:rgba(4,20,35,.62);backdrop-filter:blur(5px)}
.whatsapp-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px;color:#fff;background:linear-gradient(125deg,#075f41,#16a765)}
.whatsapp-dialog-head h2{margin:0 0 5px;font-size:22px}.whatsapp-dialog-head p{margin:0;color:#d9ffed;font-size:14px}.whatsapp-dialog-close{width:38px;height:38px;border:1px solid rgba(255,255,255,.35);border-radius:10px;color:#fff;background:rgba(255,255,255,.12);font-size:22px;cursor:pointer}
.whatsapp-recipient-list{display:grid;gap:11px;padding:20px;background:#fff}.whatsapp-recipient-btn{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:13px 16px;border:1px solid #d8e6df;border-radius:13px;color:#163c2d;background:#f7fcf9;font:800 16px inherit;cursor:pointer;transition:.18s ease}.whatsapp-recipient-btn:hover{border-color:#20a86a;background:#eaf9f1;transform:translateY(-1px)}.whatsapp-recipient-btn small{color:#617a70;font-size:13px}.whatsapp-recipient-btn[disabled]{opacity:.48;cursor:not-allowed;transform:none}.whatsapp-dialog-note{margin:0;padding:0 20px 20px;color:#687b72;background:#fff;font-size:12px}

/* الواجهة العامة مستوحاة من النموذج المصري المرفق: أسود وأحمر وذهبي ومساحات واضحة */
.premium-public-body .world-class-header-navigation{background:linear-gradient(115deg,#080a0c,#16191c 62%,#0b0d0f)!important;border-bottom-color:#ce1126!important}
.premium-public-body .btn-orders-menu-trigger,.premium-public-body .btn-admin-dropdown-trigger{background:linear-gradient(135deg,#a90f20,#d32434)!important;border-color:#e34b58!important;color:#fff!important}
.premium-public-body .public-main{padding-top:14px!important}
.premium-public-body .admission-portal-premium-hero-banner{border:1px solid #e4d9c2!important;background:radial-gradient(circle at 10% 15%,rgba(212,175,55,.2),transparent 30%),linear-gradient(120deg,#fff 0%,#fffaf0 54%,#f5f5f3 100%)!important;box-shadow:0 15px 35px rgba(20,20,20,.12)!important}
.premium-public-body .admission-portal-premium-hero-banner .premium-hero-title,.premium-public-body .admission-portal-premium-hero-banner .premium-hero-subtitle{color:#101214!important;text-shadow:none!important}
.premium-public-body .premium-year-pill{background:linear-gradient(100deg,#c99b2b,#e1bd59 32%,#b20e20 33%,#d11f31)!important;color:#fff!important}
@media(max-width:820px){.premium-app-shell.app{display:block!important}.premium-sidebar .nav-group-title{font-size:14px!important}.premium-sidebar .nav-link{font-size:14px!important}.premium-public-body .btn-orders-menu-trigger,.premium-public-body .btn-admin-dropdown-trigger{font-size:14px!important}}

/* ========================================================================== 
   12.9.21 — واجهة إدارية مصرية جديدة ومقروئية فعلية
   ========================================================================== */
.premium-admin-body{--pr-page:#f5f6f8;--pr-card:#fff;--pr-text:#16191e;--pr-muted:#5f6875;--pr-line:#dfe3e8;--pr-red:#c4162a;--pr-gold:#c9a13b;font-size:16px!important;background:linear-gradient(145deg,#f8f9fa,#eef1f4)!important}
.premium-app-shell.app{grid-template-columns:330px minmax(0,1fr)!important;background:transparent!important}
.premium-sidebar.sidebar{width:auto!important;padding:0!important;background:linear-gradient(180deg,#121416 0%,#191c20 48%,#08090a 100%)!important;border-left:4px solid #c4162a!important;box-shadow:-12px 0 34px rgba(0,0,0,.18)!important}
.premium-brand.brand{min-height:124px!important;padding:20px 18px!important;background:linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.01))!important;border-bottom:1px solid rgba(255,255,255,.13)!important}
.premium-brand .brand-emblem{width:54px!important;height:54px!important;min-width:54px!important;border-radius:15px!important;background:linear-gradient(145deg,#f2d16f,#b68a22)!important;font-size:15px!important}
.premium-brand .egypt-flag-sidebar{width:52px!important;height:34px!important;flex-basis:52px!important}
.premium-brand .brand-kicker{color:#e0bd55!important;font-size:13px!important;letter-spacing:.2px}
.premium-brand h1{font-size:16px!important;line-height:1.7!important}.premium-brand small{font-size:13px!important;color:#d6d8dc!important}
.premium-nav-search{min-height:54px!important;margin:16px 14px 11px!important;padding:0 13px!important;border-color:rgba(255,255,255,.16)!important;border-radius:13px!important;background:rgba(255,255,255,.075)!important}
.premium-nav-search input{font-size:15px!important}.premium-nav-search kbd{font-size:11px!important;padding:4px 7px!important}
.premium-sidebar .tree-nav{padding:6px 12px 28px!important}
.premium-sidebar .nav-group{margin:5px 0!important;border:1px solid rgba(255,255,255,.04)!important;border-radius:13px!important}
.premium-sidebar .nav-group-toggle{min-height:58px!important;padding:0 14px!important;border-radius:12px!important;color:#f0f1f3!important}
.premium-sidebar .nav-group-toggle:hover,.premium-sidebar .nav-group.open>.nav-group-toggle{background:linear-gradient(90deg,rgba(196,22,42,.22),rgba(255,255,255,.07))!important}
.premium-sidebar .nav-group-title{font-size:17px!important;line-height:1.55!important}.premium-sidebar .nav-group-title i{width:30px!important;height:30px!important;font-size:20px!important;color:#e2bd52!important}
.premium-sidebar .nav-arrow{font-size:17px!important;color:#aeb4bc!important}
.premium-sidebar .nav-submenu{padding:4px 6px 9px!important}
.premium-sidebar .nav-link{min-height:50px!important;margin:3px 10px 3px 0!important;padding:11px 13px!important;border-radius:10px!important;color:#d8dbe0!important;font-size:15px!important;font-weight:700!important;line-height:1.6!important}
.premium-sidebar .nav-link:hover{background:rgba(255,255,255,.09)!important;color:#fff!important}
.premium-sidebar .nav-link.active{background:linear-gradient(100deg,#a80e20,#d42638)!important;box-shadow:inset -4px 0 #e3bd52,0 8px 18px rgba(164,11,30,.28)!important}
.premium-sidebar .nav-link>span:first-child{min-width:27px!important;font-size:18px!important;color:#e3bd52!important}.premium-sidebar .nav-link small{font-size:12px!important;line-height:1.5!important;color:#b8bdc5!important}

.premium-main.main{background:transparent!important}
.premium-topbar.topbar{min-height:92px!important;padding:0 30px!important;background:rgba(255,255,255,.97)!important;border-bottom:3px solid #c4162a!important;box-shadow:0 8px 24px rgba(26,30,36,.08)!important}
.premium-page-kicker{font-size:12px!important;color:#b20f22!important}.premium-topbar .topbar-title b{font-size:20px!important;color:#17191d!important}.premium-topbar .topbar-date{font-size:12px!important;color:#6e7681!important}
.premium-topbar .egypt-flag-topbar{width:58px!important;height:38px!important;flex-basis:58px!important}
.premium-topbar .security-session-status,.premium-topbar .user-badge{font-size:12px!important;padding:9px 12px!important}
.premium-icon-button{width:44px!important;height:44px!important;font-size:19px!important}.premium-delete-trigger{min-height:44px!important;font-size:13px!important;padding:0 15px!important}
.premium-backbar.back-navigation-bar{min-height:54px!important;padding:7px 28px!important;background:#fff!important}.premium-backbar .btn-back-gov,.premium-backbar .btn-back-home{min-height:38px!important;padding:7px 13px!important;font-size:13px!important}.premium-live-label{font-size:12px!important}
.premium-content.content{width:100%!important;padding:28px 30px 44px!important}

.premium-admin-body .page-head{align-items:center!important;margin-bottom:22px!important;padding:22px 24px!important;background:#fff!important;border:1px solid var(--pr-line)!important;border-right:6px solid #c4162a!important;border-radius:16px!important;box-shadow:0 8px 22px rgba(20,24,29,.06)!important}
.premium-admin-body .page-title{font-size:30px!important;line-height:1.35!important;color:#17191d!important}.premium-admin-body .page-head .muted,.premium-admin-body p.muted{font-size:15px!important;line-height:1.8!important;color:#626c78!important}
.premium-admin-body .card{margin-bottom:22px!important;border-radius:17px!important;box-shadow:0 8px 25px rgba(20,24,29,.07)!important}.premium-admin-body .card-header{min-height:64px!important;padding:16px 20px!important}.premium-admin-body .card-header b{font-size:16px!important}.premium-admin-body .card-body{padding:21px!important}
.premium-admin-body .table th{padding:15px 14px!important;font-size:14px!important;line-height:1.5!important;color:#303741!important;background:#f0f2f5!important}.premium-admin-body .table td{padding:16px 14px!important;font-size:14px!important;line-height:1.65!important;color:#20262e!important}.premium-admin-body .table td small{font-size:12px!important;line-height:1.55!important}.premium-admin-body .table tbody tr:hover td{background:#fff9fa!important}
.premium-admin-body .form-control,.premium-admin-body .form-select,.premium-admin-body textarea{min-height:50px!important;padding:11px 14px!important;border-radius:11px!important;font-size:15px!important}.premium-admin-body label{font-size:14px!important}.premium-admin-body .search-bar{gap:12px!important}.premium-admin-body .search-bar .btn{min-width:90px!important}
.premium-admin-body .btn{min-height:44px!important;padding:9px 15px!important;border-radius:10px!important;font-size:14px!important}.premium-admin-body .btn-primary{background:linear-gradient(110deg,#aa1022,#d7283a)!important;border-color:#aa1022!important;box-shadow:0 8px 18px rgba(180,16,35,.2)!important}.premium-admin-body .btn-success{background:linear-gradient(110deg,#08744f,#15956a)!important}.premium-admin-body .btn-light{color:#282f38!important;background:#fff!important;border:1px solid #d5dae0!important}
.premium-admin-body .badge{padding:7px 11px!important;font-size:12px!important}.premium-admin-body .alert{padding:14px 17px!important;font-size:14px!important}
.premium-admin-body .stat .num,.premium-admin-body .executive-metric-value{font-size:32px!important}.premium-admin-body .stat .label,.premium-admin-body .executive-metric-label{font-size:14px!important}

.premium-admin-body .gov-table-actions-flex,.premium-admin-body td.actions{gap:9px!important}.premium-admin-body .btn-gov-action,.premium-admin-body td.actions .btn{min-width:105px!important;min-height:46px!important;padding:10px 15px!important;font-size:14px!important;border-radius:11px!important}
.premium-admin-body .btn-preview-dark{background:linear-gradient(135deg,#20242a,#414a55)!important}.premium-admin-body .btn-edit-blue{background:linear-gradient(135deg,#9d0d1e,#d22336)!important}.premium-admin-body .btn-whatsapp-green{background:linear-gradient(135deg,#08734e,#18a66e)!important}

/* تكبير قائمة الموقع العام ونموذج الدخول */
.premium-public-body{font-size:16px!important}.premium-public-body .main-school-gov-title{font-size:clamp(19px,1.7vw,25px)!important}.premium-public-body .sub-gov-authority-text{font-size:14px!important}.premium-public-body .btn-orders-menu-trigger,.premium-public-body .btn-admin-dropdown-trigger{min-height:50px!important;font-size:16px!important}.premium-public-body .orders-dropdown-link{min-height:58px!important;font-size:16px!important}.premium-public-body .admin-floating-login-card-panel{width:min(440px,calc(100vw - 28px))!important}.premium-public-body .dropdown-panel-title{font-size:24px!important}.premium-public-body .dropdown-panel-subtitle,.premium-public-body .dropdown-field-label,.premium-public-body .dropdown-checkbox-group{font-size:15px!important;line-height:1.7!important}.premium-public-body .dropdown-text-field{min-height:54px!important;font-size:16px!important}.premium-public-body .btn-dropdown-submit-action{min-height:52px!important;font-size:16px!important}

@media(max-width:1200px){.premium-app-shell.app{grid-template-columns:300px minmax(0,1fr)!important}.premium-topbar .user-badge{display:none}.premium-content.content{padding-inline:22px!important}.premium-sidebar .nav-group-title{font-size:16px!important}}
@media(max-width:820px){.premium-app-shell.app{display:block!important}.premium-sidebar.sidebar{width:min(340px,calc(100% - 28px))!important}.premium-sidebar .nav-group-title{font-size:16px!important}.premium-sidebar .nav-link{font-size:15px!important}.premium-content.content{padding:18px 13px 30px!important}.premium-admin-body .page-title{font-size:25px!important}.premium-admin-body .table th,.premium-admin-body .table td{font-size:13px!important}.premium-topbar.topbar{min-height:76px!important;padding-inline:14px!important}}

/* 12.9.21 — الصفحة الرئيسية المصرية الكاملة */
.premium-public-body{--egypt-red:#c8102e;--egypt-black:#111315;--egypt-gold:#c9a13b;background:#f4f5f7!important;color:#17191d!important;font-family:"Cairo","Tajawal","Segoe UI",Arial,sans-serif!important}
.premium-public-body .world-class-header-navigation{position:sticky!important;top:0!important;z-index:190!important;padding:0!important;background:linear-gradient(110deg,#08090a,#191b1e 55%,#090a0b)!important;border-bottom:3px solid var(--egypt-red)!important;box-shadow:0 10px 30px rgba(0,0,0,.22)!important}
.premium-public-body .header-max-width-container{width:min(1540px,calc(100% - 36px))!important;min-height:92px!important;display:grid!important;grid-template-columns:auto minmax(390px,1fr) auto!important;align-items:center!important;gap:24px!important}
.public-primary-nav{display:flex;align-self:stretch;align-items:center;gap:22px;white-space:nowrap}.public-primary-nav a{position:relative;min-height:90px;display:flex;align-items:center;gap:7px;color:#e8e9eb;text-decoration:none;font-size:15px;font-weight:800;transition:.18s ease}.public-primary-nav a:hover{color:#fff}.public-primary-nav a.is-active{color:#fff}.public-primary-nav a.is-active::after{content:"";position:absolute;right:0;left:0;bottom:0;height:5px;background:var(--egypt-red);border-radius:4px 4px 0 0}.public-primary-nav a.is-active span{color:#f04455}.public-primary-nav a span{font-size:18px}
.premium-public-body .right-flank-identity-menu-zone{justify-content:center!important;gap:15px!important}.premium-public-body .orders-dropdown-wrapper{order:3}.premium-public-body .school-branding-identity-zone{order:1;text-align:center!important}.premium-public-body .branding-text-mass{align-items:center!important}.premium-public-body .main-school-gov-title{font-size:20px!important;line-height:1.55!important;color:#fff!important}.premium-public-body .sub-gov-authority-text{font-size:13px!important;color:#d9dadd!important}.premium-public-body .mar-logo-shield{background:linear-gradient(145deg,#eed063,#bd9026)!important;color:#111!important}.premium-public-body .btn-orders-menu-trigger,.premium-public-body .btn-admin-dropdown-trigger{min-height:52px!important;padding:10px 17px!important;border-radius:11px!important;background:linear-gradient(135deg,#a90f25,#d51f39)!important;border:1px solid #e14358!important;box-shadow:0 8px 20px rgba(190,13,40,.25)!important;font-size:15px!important}.premium-public-body .left-flank-action-zone{justify-self:end!important}
.premium-public-body .public-back-bar{display:none!important}.premium-public-body .public-main{width:min(1540px,calc(100% - 36px))!important;padding:24px 0 36px!important}

.admission-premium-shell{display:flex;flex-direction:column;gap:22px}.premium-public-body .admission-portal-premium-hero-banner{position:relative!important;min-height:430px!important;display:grid!important;grid-template-columns:1.1fr .9fr!important;align-items:center!important;gap:24px!important;padding:34px 40px!important;overflow:hidden!important;border:1px solid #e1e3e6!important;border-radius:25px!important;background:linear-gradient(115deg,#fff 0%,#fff 54%,#f1f1ef 100%)!important;box-shadow:0 18px 45px rgba(25,27,31,.12)!important}
.premium-public-body .admission-portal-premium-hero-banner::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 8% 10%,rgba(201,161,59,.16),transparent 24%);pointer-events:none}.premium-hero-content{position:relative;z-index:3;max-width:820px!important}.hero-badge-row{display:flex;align-items:center;gap:0;margin-bottom:20px}.premium-public-body .premium-year-pill{display:inline-flex!important;min-height:42px!important;align-items:center!important;padding:8px 20px!important;border-radius:0 99px 99px 0!important;background:linear-gradient(100deg,#a90e23,#d51f3a)!important;color:#fff!important;font-size:15px!important;font-weight:900!important}.hero-year-badge{min-height:42px;display:inline-flex;align-items:center;padding:7px 17px;border-radius:99px 0 0 99px;color:#17191d;background:linear-gradient(135deg,#f0d16c,#c89b32);font-size:19px;font-weight:900}.premium-public-body .premium-hero-title{max-width:850px!important;margin:0 0 15px!important;color:#111315!important;font-size:clamp(35px,3.25vw,57px)!important;line-height:1.35!important;text-shadow:none!important}.premium-public-body .premium-hero-title em{color:var(--egypt-red);font-style:normal}.premium-public-body .premium-hero-subtitle{margin:0 0 15px!important;color:#4c5159!important;font-size:19px!important;line-height:1.9!important;text-shadow:none!important}.hero-threshold-row{display:flex;align-items:center;gap:12px;margin-bottom:25px;color:#20242a;font-size:18px;font-weight:800}.hero-threshold-row .admission-dynamic-threshold{padding:8px 22px;border-radius:12px;color:#18191c;background:linear-gradient(135deg,#f6e7ad,#d2aa45);box-shadow:0 7px 16px rgba(178,137,30,.18);font-size:24px}.premium-public-body .premium-hero-actions{display:flex!important;gap:13px!important}.premium-public-body .coordination-state,.premium-public-body .premium-hero-link{min-height:55px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:11px 24px!important;border-radius:12px!important;font-size:16px!important;font-weight:900!important;text-decoration:none!important}.premium-public-body .coordination-state.is-open{color:#fff!important;background:linear-gradient(135deg,#a80e23,#d9233b)!important;border-color:#d9233b!important;box-shadow:0 10px 24px rgba(188,16,43,.24)!important}.premium-public-body .premium-hero-link{color:#16191d!important;background:#fff!important;border:2px solid #25292f!important}
.hero-school-visual{position:relative;z-index:2;height:355px;overflow:hidden;border-radius:20px;box-shadow:0 18px 40px rgba(0,0,0,.2)}.hero-school-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 55%,rgba(255,255,255,.85) 100%)}.hero-school-visual img{width:100%;height:100%;object-fit:cover}.school-visual-placeholder{height:100%;display:grid;place-items:center;align-content:center;gap:12px;background:linear-gradient(145deg,#dadde1,#f7f7f5);font-size:16px}.school-visual-placeholder span{font-size:80px}.egypt-ribbon-art{position:absolute;right:-100px;bottom:-160px;width:480px;height:320px;z-index:1;border-radius:50%;border:34px solid #c8102e;border-left-color:#fff;border-bottom-color:#111315;transform:rotate(-18deg);opacity:.94}.eagle-mark{position:absolute;top:62px;left:112px;color:#c9a13b;font-size:45px;filter:sepia(1) saturate(2)}

.premium-public-body .global-inquiry-card{display:grid!important;grid-template-columns:310px minmax(300px,1fr) 260px!important;align-items:center!important;gap:20px!important;padding:25px 28px!important;border:1px solid #e0e3e7!important;border-radius:20px!important;background:#fff!important;box-shadow:0 10px 28px rgba(20,23,28,.08)!important}.premium-inquiry-heading h2{margin:4px 0!important;color:#16191d!important;font-size:25px!important}.premium-inquiry-heading p,.premium-inquiry-heading small{margin:0!important;color:#69717c!important;font-size:13px!important}.premium-inquiry-form{display:contents!important}.premium-search-field span{display:none}.premium-public-body .admission-premium-search-input{min-height:58px!important;padding:12px 18px!important;border:1px solid #d8dde3!important;border-radius:13px!important;font-size:15px!important}.premium-public-body .btn-premium-search{min-height:58px!important;border:0!important;border-radius:13px!important;color:#fff!important;background:linear-gradient(135deg,#aa0f25,#d6223b)!important;box-shadow:0 9px 21px rgba(188,16,43,.2)!important;font-size:15px!important;font-weight:900!important}.premium-search-alert{grid-column:1/-1}

.public-quick-services{padding:7px 0 2px}.quick-services-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:14px}.quick-services-heading h2{margin:0;font-size:25px}.quick-services-heading span{color:#727984;font-size:13px}.quick-services-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:12px}.quick-services-grid a{min-height:132px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;padding:14px 10px;border:1px solid #e0e3e7;border-radius:17px;color:#25292f;background:#fff;box-shadow:0 7px 18px rgba(20,23,28,.055);text-align:center;text-decoration:none;transition:.2s ease}.quick-services-grid a:hover{border-color:#d85a6b;box-shadow:0 14px 28px rgba(20,23,28,.11);transform:translateY(-4px)}.quick-services-grid i{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;color:#bd122b;background:#fff4f5;border:1px solid #f2c9cf;font-size:24px;font-style:normal}.quick-services-grid b{font-size:14px;line-height:1.6}

/* بطاقة بيانات الطالب الديناميكية */
.dynamic-student-result-card{overflow:hidden!important;border:0!important;border-radius:22px!important;box-shadow:0 16px 40px rgba(20,23,28,.12)!important}.dynamic-result-heading{min-height:86px!important;padding:18px 24px!important;color:#fff!important;background:linear-gradient(115deg,#101214,#272b30 62%,#9e0c20)!important;border:0!important}.dynamic-result-heading>div{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.dynamic-result-heading b{color:#fff!important;font-size:21px!important}.dynamic-result-heading small{width:100%;padding-right:19px;color:#d6d9dd!important;font-size:13px!important}.result-live-dot{width:11px;height:11px;border-radius:50%;background:#2ee39c;box-shadow:0 0 0 6px rgba(46,227,156,.15);animation:resultPulse 1.7s infinite}.dynamic-result-heading .badge{padding:10px 15px!important;color:#155a3e!important;background:#e8fbf3!important;border-radius:99px!important;font-size:14px!important}@keyframes resultPulse{50%{box-shadow:0 0 0 10px rgba(46,227,156,0)}}.dynamic-result-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:15px!important;padding:22px!important;background:#fff!important}.dynamic-result-grid .detail-item{position:relative;min-height:130px;display:grid!important;grid-template-columns:52px 1fr!important;grid-template-rows:auto 1fr!important;align-items:center;gap:4px 12px;padding:18px!important;overflow:hidden;border:1px solid #e3e6ea!important;border-radius:16px!important;background:#fafbfc!important;transition:.2s ease}.dynamic-result-grid .detail-item::after{content:"";position:absolute;right:0;top:0;bottom:0;width:5px;background:var(--result-color,#c8102e)}.dynamic-result-grid .detail-item:hover{transform:translateY(-3px);box-shadow:0 12px 25px rgba(20,23,28,.1)}.dynamic-result-grid .result-icon{grid-row:1/3;width:48px;height:48px;display:grid;place-items:center;border-radius:13px;color:#fff;background:var(--result-color,#c8102e);font-size:21px}.dynamic-result-grid .detail-item b{color:#6e7681!important;font-size:14px!important}.dynamic-result-grid .detail-item strong{color:#17191d!important;font-size:18px!important;line-height:1.55!important}.result-color-red{--result-color:#c8102e}.result-color-black{--result-color:#202329}.result-color-gold{--result-color:#bd8f24}.result-color-green{--result-color:#07845e}.result-color-blue{--result-color:#176da5}.result-color-purple{--result-color:#7650a5}.supply-receipt-upload{border:1px dashed #c9a13b!important;background:#fffaf0!important}.supply-receipt-upload small{display:block;margin-top:7px;color:#756334;font-size:12px}

.premium-news-carousel-section{margin-top:24px!important}.gallery-section-header h2{font-size:28px!important}.premium-egypt-footer{min-height:92px!important;display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:25px!important;padding:20px max(28px,calc((100% - 1500px)/2))!important;color:#eee!important;background:#101214!important;border-top:4px solid #c8102e!important}.premium-egypt-footer p{margin:0;text-align:center;font-size:13px}.premium-egypt-footer>span{font-size:12px}.footer-social-icons{display:flex;gap:9px}.footer-social-icons a{width:36px;height:36px;display:grid;place-items:center;border:1px solid #4b5057;border-radius:50%;color:#fff;text-decoration:none;font:800 15px Arial;transition:.18s}.footer-social-icons a:hover{border-color:#c8102e;background:#c8102e}

@media(max-width:1250px){.premium-public-body .header-max-width-container{grid-template-columns:1fr auto!important}.public-primary-nav{display:none}.quick-services-grid{grid-template-columns:repeat(4,1fr)}.premium-public-body .global-inquiry-card{grid-template-columns:280px 1fr 230px!important}}
@media(max-width:900px){.premium-public-body .admission-portal-premium-hero-banner{grid-template-columns:1fr!important;padding:28px 22px!important}.hero-school-visual{height:270px}.premium-public-body .global-inquiry-card{display:flex!important;flex-direction:column!important;align-items:stretch!important}.premium-inquiry-form{display:grid!important;gap:12px}.quick-services-grid{grid-template-columns:repeat(2,1fr)}.dynamic-result-grid{grid-template-columns:1fr 1fr!important}.premium-egypt-footer{grid-template-columns:1fr!important;text-align:center}.footer-social-icons{justify-content:center}.premium-egypt-footer>span{text-align:center}}
@media(max-width:600px){.premium-public-body .header-max-width-container{width:calc(100% - 20px)!important;grid-template-columns:1fr auto!important}.premium-public-body .school-branding-identity-zone{display:flex!important}.premium-public-body .mar-logo-shield{display:none!important}.premium-public-body .btn-orders-menu-trigger{padding-inline:12px!important}.premium-public-body .premium-hero-title{font-size:31px!important}.premium-public-body .premium-hero-subtitle{font-size:16px!important}.hero-threshold-row{flex-wrap:wrap;font-size:15px}.premium-public-body .premium-hero-actions{flex-direction:column}.quick-services-grid{grid-template-columns:1fr 1fr}.dynamic-result-grid{grid-template-columns:1fr!important}.dynamic-result-heading{align-items:flex-start!important;gap:12px!important}.premium-public-body .public-main{width:calc(100% - 18px)!important}.hero-school-visual{height:220px}}

/* 12.9.22 — معلومات أكبر وأوامر صف أصغر */
.admissions-readable-table th{font-size:15px!important}.admissions-readable-table td{font-size:16px!important;line-height:1.8!important}.admissions-readable-table td strong{font-size:17px!important}.admissions-readable-table td small{font-size:14px!important}.compact-row-actions{display:grid!important;grid-template-columns:repeat(2,minmax(88px,1fr))!important;gap:7px!important;min-width:210px}.compact-row-actions form{display:contents!important}.premium-admin-body .compact-row-actions .btn-gov-action{min-width:0!important;min-height:36px!important;padding:7px 9px!important;border-radius:8px!important;font-size:12px!important;box-shadow:0 4px 10px rgba(12,39,66,.12)!important}
.premium-admin-body .table:not(.admissions-readable-table) th{font-size:15px!important}.premium-admin-body .table:not(.admissions-readable-table) td{font-size:15px!important}.premium-admin-body .card-body,.premium-admin-body .form-control,.premium-admin-body .form-select,.premium-admin-body textarea{font-size:16px!important}.premium-admin-body .muted{font-size:15px!important}
.premium-topbar-actions form[action*="page=logout"]{position:fixed!important;right:18px!important;bottom:16px!important;z-index:90!important;width:294px!important}.premium-topbar-actions form[action*="page=logout"] .btn{width:100%!important;min-height:48px!important;color:#fff!important;background:linear-gradient(135deg,#9e0c20,#d32039)!important;border:1px solid #e34659!important;box-shadow:0 10px 24px rgba(0,0,0,.28)!important;font-size:15px!important}.premium-sidebar .tree-nav{padding-bottom:88px!important}
.premium-hero-content{grid-column:1!important}.hero-school-visual{grid-column:2!important}.homepage-control-card .hero-image-uploader{padding:18px;border:1px dashed #c9a13b;border-radius:14px;background:#fffaf0}.homepage-control-card .hero-image-uploader img{display:block;width:min(520px,100%);max-height:280px;object-fit:cover;margin-top:15px;border-radius:12px;box-shadow:0 10px 24px rgba(0,0,0,.12)}
@media(max-width:1200px){.premium-topbar-actions form[action*="page=logout"]{width:264px}}
@media(max-width:820px){.premium-topbar-actions form[action*="page=logout"]{right:12px;width:min(316px,calc(100% - 52px))}.compact-row-actions{min-width:190px}.premium-hero-content,.hero-school-visual{grid-column:auto!important}}


/* Homepage hero image management 12.9.28 */
.homepage-control-form{align-items:start}.homepage-dual-image-manager{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}.homepage-control-card .hero-image-uploader{min-width:0;display:flex;flex-direction:column;gap:15px;padding:20px!important;border:1px solid #d8dde5!important;border-radius:18px!important;background:linear-gradient(145deg,#fff,#fbfbfc)!important;box-shadow:0 12px 30px rgba(18,24,35,.07)!important}.homepage-control-card .hero-image-uploader.is-image-disabled{border-style:dashed!important;background:#fff9f1!important}.homepage-image-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.homepage-image-heading>div>span{display:inline-flex;padding:4px 9px;border-radius:999px;color:#fff;background:#b80f24;font:800 10px Arial,sans-serif}.homepage-image-heading h3{margin:8px 0 3px!important;font-size:20px!important;color:#16191e!important}.homepage-image-heading p{margin:0!important;color:#69717d!important;font-size:13px!important;line-height:1.75!important}.homepage-image-status{flex:0 0 auto;display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border-radius:999px;font-size:11px;white-space:nowrap}.homepage-image-status.is-active{color:#08725a;background:#e7f8f2;border:1px solid #afe4d5}.homepage-image-status.is-disabled{color:#9b4b00;background:#fff0d9;border:1px solid #f1c98f}.homepage-image-preview{min-height:270px;display:grid;place-items:center;margin-top:auto;border-radius:15px;overflow:hidden;background:#f2f4f7;border:1px solid #e1e5eb}.homepage-control-card .homepage-image-preview>img{display:block!important;width:100%!important;height:270px!important;max-height:none!important;margin:0!important;object-fit:cover!important;border-radius:0!important;box-shadow:none!important}.homepage-image-preview .hero-image-empty-state{width:100%;min-height:270px;display:grid;place-items:center;align-content:center;gap:8px;padding:26px;text-align:center}.homepage-image-preview .hero-image-empty-state b{font-size:16px;color:#2c3138}.homepage-image-preview .hero-image-empty-state span{max-width:360px;color:#717985;font-size:12px;line-height:1.8}.homepage-image-file-input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.homepage-image-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.homepage-image-actions .btn{min-height:44px;padding:9px 15px;font-size:13px}.homepage-selected-file{display:block;min-height:22px;color:#717985;font-size:12px}.homepage-image-command-form{display:none!important}.homepage-control-submit-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding-top:8px}.homepage-control-submit-row .btn{min-height:52px;padding:10px 24px}.homepage-control-submit-row small{color:#69717d}.homepage-image-uploader.has-pending-image{border-color:#0b8d6c!important;box-shadow:0 0 0 3px rgba(11,141,108,.1),0 12px 30px rgba(18,24,35,.07)!important}.homepage-image-uploader.has-pending-image .homepage-selected-file{color:#08725a;font-weight:800}
@media(max-width:1100px){.homepage-dual-image-manager{grid-template-columns:1fr!important}}
@media(max-width:560px){.homepage-image-heading{flex-direction:column}.homepage-image-actions{display:grid;grid-template-columns:1fr}.homepage-image-actions .btn{width:100%;justify-content:center}}

/* ===== egyptian_masterpiece_2026.css ===== */
/* ========================================================================== 
   Egyptian Masterpiece UI — 12.9.26
   هوية وطنية مصرية ديناميكية للواجهة العامة مع الحفاظ على وظائف النظام.
   ========================================================================== */
:root{
  --em-red:#ce1126;
  --em-red-deep:#98101f;
  --em-black:#0b0d10;
  --em-charcoal:#171a1f;
  --em-white:#ffffff;
  --em-ivory:#fffdf8;
  --em-gold:#c9a13b;
  --em-gold-light:#f2d77d;
  --em-ink:#172033;
  --em-muted:#657083;
  --em-line:#e6e8ec;
  --em-page:#f5f6f8;
  --em-success:#087b58;
  --em-danger:#b42336;
  --em-radius:24px;
  --em-shadow:0 24px 70px rgba(16,22,32,.13);
  --em-shadow-soft:0 12px 36px rgba(16,22,32,.08);
  --em-heading:"Cairo","MohammadBoldArt",Arial,sans-serif;
  --em-body:"Tajawal","MohammadBoldArt",Arial,sans-serif;
}

html{scroll-behavior:smooth}
.premium-public-body{background:
  radial-gradient(circle at 8% 18%,rgba(206,17,38,.055),transparent 24%),
  radial-gradient(circle at 92% 42%,rgba(201,161,59,.065),transparent 26%),
  var(--em-page)!important;color:var(--em-ink)!important;font-family:var(--em-body)!important}
.premium-public-body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(rgba(23,32,51,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(23,32,51,.018) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,black,transparent 78%)}
.premium-public-body h1,.premium-public-body h2,.premium-public-body h3,.premium-public-body h4,.premium-public-body b,.premium-public-body strong{font-family:var(--em-heading)!important}
.premium-public-body p,.premium-public-body span,.premium-public-body small,.premium-public-body label,.premium-public-body a,.premium-public-body button,.premium-public-body input,.premium-public-body select,.premium-public-body textarea{font-family:var(--em-body)!important}
.premium-public-body :focus-visible{outline:3px solid rgba(206,17,38,.22)!important;outline-offset:3px!important}

/* Header */
.premium-public-body .egyptian-national-header{position:sticky!important;top:0!important;z-index:300!important;padding:0!important;border:0!important;border-bottom:3px solid var(--em-red)!important;background:rgba(10,12,15,.96)!important;box-shadow:0 12px 34px rgba(0,0,0,.23)!important;backdrop-filter:blur(18px);transition:box-shadow .22s ease,background-color .22s ease}
.premium-public-body .egyptian-national-header.is-scrolled{background:rgba(8,10,12,.985)!important;box-shadow:0 17px 46px rgba(0,0,0,.3)!important}
.national-ministry-strip{min-height:31px;display:flex;align-items:center;justify-content:center;gap:22px;padding:5px max(18px,calc((100% - 1540px)/2));color:#e7e8eb;background:linear-gradient(90deg,#090b0e,#1d2025 50%,#090b0e);border-bottom:1px solid rgba(255,255,255,.08);font-size:11px;letter-spacing:.1px}
.national-ministry-strip span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.national-ministry-strip span+span::before{content:"";width:4px;height:4px;border-radius:50%;background:var(--em-gold)}
.national-ministry-strip img{width:26px;height:17px;object-fit:cover;border-radius:2px;box-shadow:0 2px 6px rgba(0,0,0,.28)}
.premium-public-body .header-max-width-container{width:min(1540px,calc(100% - 42px))!important;min-height:88px!important;display:grid!important;grid-template-columns:minmax(270px,auto) minmax(520px,1fr) auto!important;align-items:center!important;gap:24px!important;padding:10px 0!important}
.premium-public-body .right-flank-identity-menu-zone{display:flex!important;align-items:center!important;gap:14px!important;min-width:0}
.premium-public-body .school-branding-identity-zone{order:-1;display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important;padding:3px 0!important;text-decoration:none!important}
.premium-public-body .egypt-flag-public{width:55px!important;height:36px!important;flex-basis:55px!important;border:1px solid rgba(255,255,255,.18)!important}
.premium-public-body .school-emblem-header{width:56px!important;height:56px!important;min-width:56px!important;display:grid!important;place-items:center!important;padding:3px!important;border:1px solid rgba(242,215,125,.42)!important;border-radius:50%!important;background:#fff!important;box-shadow:0 8px 22px rgba(201,161,59,.22)!important;overflow:hidden}
.school-emblem-header img{width:100%;height:100%;display:block;object-fit:contain}
.premium-public-body .branding-text-mass{min-width:0}
.premium-public-body .main-school-gov-title{margin:0!important;color:#fff!important;font-size:clamp(16px,1.32vw,21px)!important;line-height:1.55!important;white-space:normal!important}
.premium-public-body .sub-gov-authority-text{display:block!important;margin-top:1px;color:#c2c7ce!important;font-size:10px!important;line-height:1.6!important}
.premium-public-body .public-primary-nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-width:0}
.premium-public-body .public-primary-nav a{position:relative;min-height:43px;display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border-radius:11px;color:#d9dde2!important;text-decoration:none!important;font-size:12px!important;font-weight:700!important;white-space:nowrap;transition:.2s ease}
.premium-public-body .public-primary-nav a::after{content:"";position:absolute;right:13px;left:13px;bottom:5px;height:2px;border-radius:999px;background:var(--em-red);transform:scaleX(0);transition:transform .2s ease}
.premium-public-body .public-primary-nav a:hover,.premium-public-body .public-primary-nav a.is-active{color:#fff!important;background:rgba(255,255,255,.075)!important}
.premium-public-body .public-primary-nav a:hover::after,.premium-public-body .public-primary-nav a.is-active::after{transform:scaleX(1)}
.premium-public-body .public-primary-nav a span{color:var(--em-gold-light)}
.premium-public-body .btn-orders-menu-trigger,.premium-public-body .btn-admin-dropdown-trigger{min-height:45px!important;padding:9px 15px!important;border-radius:12px!important;font-size:11px!important;font-weight:800!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}
.premium-public-body .btn-orders-menu-trigger{color:#fff!important;background:rgba(255,255,255,.075)!important;border:1px solid rgba(255,255,255,.16)!important}
.premium-public-body .btn-admin-dropdown-trigger{color:#fff!important;background:linear-gradient(135deg,var(--em-red-deep),var(--em-red))!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 9px 21px rgba(206,17,38,.22)!important}
.premium-public-body .btn-orders-menu-trigger:hover,.premium-public-body .btn-admin-dropdown-trigger:hover{transform:translateY(-2px)!important}
.public-mobile-nav-toggle{display:none;align-items:center;justify-content:center;gap:4px;width:46px;height:46px;padding:9px;border:1px solid rgba(255,255,255,.18);border-radius:12px;color:#fff;background:rgba(255,255,255,.07);cursor:pointer}
.public-mobile-nav-toggle span{width:18px;height:2px;display:block;border-radius:2px;background:#fff;transition:.2s ease}.public-mobile-nav-toggle b{display:none}
.public-mobile-nav-toggle.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg)}.public-mobile-nav-toggle.is-open span:nth-child(2){opacity:0}.public-mobile-nav-toggle.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.premium-public-body .orders-floating-panel-card,.premium-public-body .admin-floating-login-card-panel{border:1px solid rgba(201,161,59,.28)!important;border-radius:18px!important;box-shadow:0 28px 80px rgba(0,0,0,.28)!important}

/* Back bar */
.premium-public-body .public-back-bar{min-height:42px!important;margin:0!important;padding:5px max(22px,calc((100% - 1540px)/2))!important;background:#fff!important;border:0!important;border-bottom:1px solid var(--em-line)!important;box-shadow:0 4px 14px rgba(14,19,28,.035)!important}
.premium-public-body .public-back-bar .btn-back-gov,.premium-public-body .public-back-bar .btn-back-home{min-height:31px!important;padding:5px 11px!important;border-radius:8px!important;font-size:10px!important}
.premium-public-body .public-main{width:min(1540px,calc(100% - 38px))!important;margin:0 auto!important;padding:24px 0 54px!important;min-height:68vh!important}

/* Hero */
.egyptian-masterpiece-shell{max-width:none!important;margin:0 auto 30px!important;gap:25px!important}
.premium-public-body .egyptian-masterpiece-hero{position:relative!important;isolation:isolate;min-height:600px!important;display:grid!important;grid-template-columns:minmax(0,1.04fr) minmax(460px,.96fr)!important;align-items:center!important;gap:42px!important;padding:58px clamp(30px,4.2vw,72px)!important;overflow:hidden!important;border:1px solid rgba(201,161,59,.38)!important;border-radius:32px!important;background:linear-gradient(118deg,#0a0c0f 0%,#16191e 55%,#080a0d 100%)!important;box-shadow:var(--em-shadow)!important;color:#fff!important}
.egyptian-masterpiece-hero::before{content:"";position:absolute;inset:0;z-index:-3;background:radial-gradient(circle at 18% 10%,rgba(206,17,38,.34),transparent 32%),radial-gradient(circle at 78% 28%,rgba(201,161,59,.18),transparent 26%),linear-gradient(90deg,rgba(0,0,0,.04),rgba(0,0,0,.4));pointer-events:none}
.egyptian-masterpiece-hero::after{content:"";position:absolute;right:0;left:0;bottom:0;height:7px;z-index:9;background:linear-gradient(90deg,var(--em-red) 0 33.33%,#fff 33.33% 66.66%,#080808 66.66%)}
.egypt-hero-flag-canvas{position:absolute;inset:auto -7% -25% auto;width:72%;height:92%;z-index:-2;opacity:.24;filter:saturate(1.06);transform:rotate(-9deg);pointer-events:none}
.flag-band{position:absolute;right:0;width:100%;height:33.333%;border-radius:52% 7% 52% 5%/34% 8% 38% 7%;box-shadow:0 26px 58px rgba(0,0,0,.18);animation:flagCanvasWave 8s ease-in-out infinite;transform-origin:right center}
.flag-band-red{top:0;background:#ce1126}.flag-band-white{top:31.5%;background:#fff;animation-delay:-.8s}.flag-band-black{top:63%;background:#060606;animation-delay:-1.6s}
.hero-watermark-emblem{position:absolute;top:29%;right:41%;width:118px;height:118px;object-fit:contain;opacity:.62;filter:drop-shadow(0 10px 24px rgba(0,0,0,.35));animation:emblemFloat 6s ease-in-out infinite}
.egyptian-hero-glow{position:absolute;left:-120px;bottom:-160px;width:430px;height:430px;z-index:-1;border-radius:50%;background:radial-gradient(circle,rgba(206,17,38,.22),transparent 66%);filter:blur(6px);pointer-events:none}
.egyptian-hero-copy{grid-column:auto!important;position:relative!important;z-index:4!important;max-width:760px!important;margin:0!important}
.national-authority-line{display:flex;align-items:center;gap:10px;margin-bottom:18px;color:#e3e5e8;font-size:11px;font-weight:700;letter-spacing:.15px}.national-authority-line img{width:33px;height:21px;object-fit:cover;border-radius:3px}.national-authority-line i{width:5px;height:5px;border-radius:50%;background:var(--em-gold)}
.premium-public-body .egyptian-masterpiece-hero .hero-badge-row{margin:0 0 20px!important}
.premium-public-body .egyptian-masterpiece-hero .premium-year-pill{min-height:42px!important;padding:8px 20px!important;color:#fff!important;background:linear-gradient(105deg,var(--em-red-deep),var(--em-red))!important;border-radius:0 999px 999px 0!important;font-size:14px!important;box-shadow:0 9px 24px rgba(206,17,38,.22)}
.premium-public-body .egyptian-masterpiece-hero .hero-year-badge{min-height:42px;padding:7px 18px;color:#15191f!important;background:linear-gradient(135deg,var(--em-gold-light),var(--em-gold))!important;border-radius:999px 0 0 999px!important;font-size:18px!important}
.premium-public-body .egyptian-masterpiece-hero .premium-hero-title{max-width:760px!important;margin:0 0 16px!important;color:#fff!important;font-size:clamp(41px,4vw,67px)!important;line-height:1.28!important;letter-spacing:-.4px;text-shadow:0 8px 34px rgba(0,0,0,.3)!important}
.premium-public-body .egyptian-masterpiece-hero .premium-hero-title em{position:relative;color:#fff!important;font-style:normal}.premium-public-body .egyptian-masterpiece-hero .premium-hero-title em::after{content:"";position:absolute;right:0;left:0;bottom:-2px;height:5px;border-radius:999px;background:linear-gradient(90deg,var(--em-red),var(--em-gold-light))}
.premium-public-body .egyptian-masterpiece-hero .premium-hero-subtitle{max-width:680px!important;margin:0 0 18px!important;color:#d5d9df!important;font-size:18px!important;line-height:2!important;text-shadow:none!important}
.premium-public-body .egyptian-masterpiece-hero .hero-threshold-row{display:flex!important;align-items:center!important;gap:11px!important;margin:0 0 26px!important;color:#f3f4f6!important;font-size:16px!important;font-weight:800!important}
.premium-public-body .egyptian-masterpiece-hero .admission-dynamic-threshold{min-width:92px;display:inline-flex!important;justify-content:center;padding:8px 18px!important;border:1px solid rgba(242,215,125,.6)!important;border-radius:12px!important;color:#15181d!important;background:linear-gradient(135deg,#fff1b5,var(--em-gold))!important;box-shadow:0 9px 24px rgba(201,161,59,.2)!important;font-size:24px!important}
.premium-public-body .egyptian-masterpiece-hero .premium-hero-actions{justify-content:flex-start!important;gap:12px!important;margin-top:0!important}
.premium-public-body .egyptian-masterpiece-hero .coordination-state,.premium-public-body .egyptian-masterpiece-hero .premium-hero-link{min-height:55px!important;padding:11px 22px!important;border-radius:13px!important;font-size:15px!important;font-weight:900!important;transition:transform .2s ease,box-shadow .2s ease!important}
.premium-public-body .egyptian-masterpiece-hero .coordination-state.is-open{color:#fff!important;background:linear-gradient(135deg,#087957,#0b9a70)!important;border:1px solid rgba(255,255,255,.17)!important;box-shadow:0 12px 26px rgba(8,121,87,.25)!important}
.premium-public-body .egyptian-masterpiece-hero .coordination-state.is-closed{color:#fff!important;background:linear-gradient(135deg,#8e1726,#c82a3e)!important;border:1px solid rgba(255,255,255,.17)!important}
.premium-public-body .egyptian-masterpiece-hero .premium-hero-link{gap:9px;color:#fff!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.28)!important;backdrop-filter:blur(10px)}
.premium-public-body .egyptian-masterpiece-hero .premium-hero-link:hover{transform:translateY(-3px);background:#fff!important;color:#171a1f!important;box-shadow:0 14px 30px rgba(0,0,0,.22)!important}
.hero-trust-line{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:22px;color:#bfc5ce;font-size:11px}.hero-trust-line span{display:inline-flex;align-items:center;gap:5px}.hero-trust-line span::first-letter{color:var(--em-gold-light)}

/* Hero dual-image composition */
.egyptian-hero-gallery{position:relative;z-index:4;min-height:450px;perspective:1100px;transform-style:preserve-3d}
.hero-portrait{position:absolute;margin:0;overflow:hidden;background:#fff;border:1px solid rgba(255,255,255,.22);box-shadow:0 30px 70px rgba(0,0,0,.38);transition:transform .45s cubic-bezier(.2,.75,.25,1),box-shadow .3s ease}
.hero-portrait img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;transition:transform .7s ease}
.hero-portrait img[src$="school-emblem.svg"],.hero-portrait img[src$="egypt-flag.svg"]{object-fit:contain;padding:34px;background:linear-gradient(145deg,#fff,#f4f1e8)}
.hero-portrait-primary{inset:12px 42px 22px 0;border-radius:33px 10px 33px 10px;transform:rotateY(-5deg) rotateZ(-1deg)}
.hero-portrait-primary::before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(to top,rgba(8,10,13,.82),transparent 52%)}
.hero-portrait-primary figcaption{position:absolute;right:24px;left:24px;bottom:22px;z-index:3;color:#fff}.hero-portrait-primary figcaption span{display:block;margin-bottom:4px;color:var(--em-gold-light);font-size:10px}.hero-portrait-primary figcaption b{font-size:17px;line-height:1.55}
.hero-portrait-secondary{top:-7px;left:-6px;width:42%;height:48%;z-index:4;border:5px solid #fff;border-radius:12px 28px 12px 28px;transform:rotate(4deg)}
.hero-portrait:hover img{transform:scale(1.035)}
.hero-portrait-primary:hover{transform:rotateY(-2deg) rotateZ(0) translateY(-5px);box-shadow:0 36px 88px rgba(0,0,0,.45)}
.hero-portrait-secondary:hover{transform:rotate(1deg) translateY(-5px)}
.hero-portrait-primary img.is-packaged-official-image{object-position:center 18%}
.hero-portrait-secondary img.is-packaged-official-image{object-position:center top}
.hero-gold-seal{position:absolute;right:5px;bottom:0;z-index:6;width:125px;height:125px;display:grid;grid-template-columns:48px 1fr;align-items:center;gap:5px;padding:12px;border:1px solid rgba(255,255,255,.52);border-radius:50%;color:#16191e;background:linear-gradient(145deg,#fff6c8,#c99f35);box-shadow:0 16px 38px rgba(0,0,0,.32);transform:rotate(-6deg)}
.hero-gold-seal img{width:48px;height:48px;object-fit:contain}.hero-gold-seal span{font-size:10px;font-weight:900;line-height:1.55;text-align:center}

/* Search, quick services and public cards */
.premium-public-body .global-inquiry-card{position:relative;overflow:hidden;border:1px solid rgba(201,161,59,.3)!important;border-radius:24px!important;background:#fff!important;box-shadow:var(--em-shadow-soft)!important}
.premium-public-body .global-inquiry-card::before{content:"";position:absolute;right:0;top:0;bottom:0;width:7px;background:linear-gradient(var(--em-red) 0 33.33%,#fff 33.33% 66.66%,#111 66.66%);border-left:1px solid #eee}
.premium-inquiry-heading h2{color:var(--em-ink)!important}.premium-section-kicker{color:var(--em-red)!important;font-weight:900!important}
.premium-public-body .admission-premium-search-input{min-height:56px!important;border:1.5px solid #d9dde4!important;border-radius:13px!important;background:#fbfcfd!important;font-size:17px!important;transition:border-color .2s ease,box-shadow .2s ease!important}.premium-public-body .admission-premium-search-input:focus{border-color:var(--em-red)!important;box-shadow:0 0 0 4px rgba(206,17,38,.09)!important;background:#fff!important}
.premium-public-body .btn-premium-search{min-height:56px!important;border-radius:13px!important;background:linear-gradient(135deg,var(--em-red-deep),var(--em-red))!important;box-shadow:0 12px 25px rgba(206,17,38,.19)!important}
.public-quick-services{padding:12px 0 5px!important}.quick-services-heading{margin-bottom:17px!important}.quick-services-heading h2{position:relative;margin:0!important;padding-right:18px;font-size:29px!important;color:var(--em-ink)}.quick-services-heading h2::before{content:"";position:absolute;right:0;top:10%;bottom:10%;width:6px;border-radius:999px;background:linear-gradient(var(--em-red),var(--em-gold))}
.quick-services-heading span{color:var(--em-muted)!important;font-size:13px!important}
.premium-public-body .quick-services-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:13px!important}
.premium-public-body .quick-services-grid a{position:relative;min-height:145px!important;overflow:hidden;padding:18px 12px!important;border:1px solid var(--em-line)!important;border-radius:20px!important;color:var(--em-ink)!important;background:#fff!important;box-shadow:0 8px 24px rgba(18,24,35,.055)!important;transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease!important}
.premium-public-body .quick-services-grid a::before{content:"";position:absolute;right:0;left:0;bottom:0;height:4px;background:linear-gradient(90deg,var(--em-red),var(--em-gold),var(--em-black));transform:scaleX(0);transform-origin:right;transition:transform .24s ease}
.premium-public-body .quick-services-grid a::after{content:"";position:absolute;left:-35px;top:-35px;width:95px;height:95px;border-radius:50%;background:radial-gradient(circle,rgba(206,17,38,.08),transparent 68%)}
.premium-public-body .quick-services-grid a:hover{transform:translateY(-7px)!important;border-color:rgba(206,17,38,.32)!important;box-shadow:0 18px 38px rgba(18,24,35,.12)!important}.premium-public-body .quick-services-grid a:hover::before{transform:scaleX(1)}
.premium-public-body .quick-services-grid i{width:56px!important;height:56px!important;border:1px solid rgba(206,17,38,.16)!important;border-radius:18px!important;color:var(--em-red)!important;background:linear-gradient(145deg,#fff5f6,#fff)!important;font-size:25px!important;box-shadow:inset 0 -8px 14px rgba(206,17,38,.035)}
.premium-public-body .quick-services-grid b{font-size:14px!important;line-height:1.65!important}
.premium-public-body .public-card{border:1px solid var(--em-line)!important;border-radius:22px!important;box-shadow:var(--em-shadow-soft)!important;overflow:hidden!important}.premium-public-body .public-card .card-header{background:linear-gradient(100deg,#fff,#faf8f2)!important;border-bottom:1px solid var(--em-line)!important}.premium-public-body .public-card .card-body{background:#fff!important}
.premium-public-body .form-control,.premium-public-body .form-select{border:1.5px solid #d7dce4!important;border-radius:11px!important;background:#fff!important}.premium-public-body .form-control:focus,.premium-public-body .form-select:focus{border-color:var(--em-red)!important;box-shadow:0 0 0 4px rgba(206,17,38,.08)!important}
.premium-public-body .btn-primary{background:linear-gradient(135deg,var(--em-red-deep),var(--em-red))!important;color:#fff!important}.premium-public-body .badge-success{background:#e7f7f1!important;color:#08724f!important}.premium-public-body .badge-warning{background:#fff4d8!important;color:#855f09!important}
.premium-public-body .table-wrap{border-radius:12px}.premium-public-body .table th{background:#161a20!important;color:#fff!important;border-bottom-color:#2c3139!important}.premium-public-body .table td{background:#fff!important}.premium-public-body .table tbody tr:hover td{background:#fffaf3!important}

/* News */
.premium-public-body .premium-news-carousel-section{margin-top:34px!important;padding:36px!important;border:1px solid var(--em-line);border-radius:28px;background:#fff!important;box-shadow:var(--em-shadow-soft)}
.premium-public-body .gallery-section-header{border-bottom:0!important;padding-bottom:0!important}.premium-public-body .gallery-section-header h2{position:relative;padding-right:18px;color:var(--em-ink)!important;font-size:30px!important}.premium-public-body .gallery-section-header h2::before{content:"";position:absolute;right:0;top:10%;bottom:10%;width:6px;border-radius:99px;background:var(--em-red)}
.premium-public-body .mar-slider-outer-viewport{border:1px solid #e1e4e9!important;border-radius:22px!important;box-shadow:0 18px 45px rgba(15,20,29,.1)!important}.premium-public-body .slide-image-dominant-zone{position:relative}.premium-public-body .slide-image-dominant-zone::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 70%,rgba(255,255,255,.18))}.premium-public-body .slide-text-details-zone{border-right:0!important;border-top:5px solid var(--em-red)!important;background:linear-gradient(145deg,#fff,#fffdf7)!important}
.premium-public-body .slide-official-signature{color:#98751e!important}.premium-public-body .slider-nav-btn:hover{background:var(--em-red)!important;color:#fff!important}

/* Footer */
.premium-public-body .egyptian-masterpiece-footer{position:relative;min-height:170px!important;display:grid!important;grid-template-columns:minmax(320px,1.2fr) minmax(300px,1fr) minmax(220px,.7fr)!important;align-items:center!important;gap:34px!important;overflow:hidden;padding:30px max(30px,calc((100% - 1500px)/2)) 38px!important;color:#eef0f3!important;background:radial-gradient(circle at 8% 20%,rgba(206,17,38,.17),transparent 24%),linear-gradient(112deg,#090b0e,#181b20 55%,#0b0d10)!important;border:0!important;border-top:1px solid rgba(201,161,59,.35)!important;font-size:12px!important;text-align:right!important}
.footer-identity-block{display:flex;align-items:center;gap:15px;min-width:0}.footer-identity-block>img{width:72px;height:72px;object-fit:contain;padding:4px;border-radius:50%;background:#fff;box-shadow:0 10px 25px rgba(0,0,0,.3)}.footer-identity-block b{display:block;color:#fff;font-size:15px;line-height:1.6}.footer-identity-block span{display:block;margin-top:3px;color:#aeb5bf;font-size:10px;line-height:1.7}
.footer-service-links{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}.footer-service-links a{position:relative;padding-right:13px;color:#d9dde3;text-decoration:none;font-size:11px;transition:color .18s ease}.footer-service-links a::before{content:"";position:absolute;right:0;top:50%;width:5px;height:5px;border-radius:50%;background:var(--em-gold);transform:translateY(-50%)}.footer-service-links a:hover{color:#fff}
.footer-copyright{text-align:left}.footer-copyright p{margin:0 0 4px!important;color:#fff;font-size:11px!important}.footer-copyright span{color:#9da5af;font-size:10px!important}.footer-egypt-stripe{position:absolute;right:0;left:0;bottom:0;height:9px;display:grid;grid-template-columns:repeat(3,1fr)}.footer-egypt-stripe i:nth-child(1){background:var(--em-red)}.footer-egypt-stripe i:nth-child(2){background:#fff}.footer-egypt-stripe i:nth-child(3){background:#060606}

/* Homepage dual-image manager */
.visual-homepage-control-card .card-header>div{display:grid;gap:4px}.homepage-control-form{align-items:start}.homepage-dual-image-manager{display:grid!important;grid-template-columns:1fr 1fr!important;gap:20px!important}.homepage-dual-image-manager .hero-image-uploader{min-height:430px;display:flex;flex-direction:column;gap:15px;padding:20px!important;border:1px solid #dfe3e9!important;border-radius:20px!important;background:linear-gradient(145deg,#fff,#fafbfc)!important;box-shadow:0 12px 30px rgba(18,24,35,.07)!important}.hero-image-uploader>div:first-child>span{display:inline-flex;padding:4px 9px;border-radius:999px;color:#fff;background:var(--em-red);font:800 10px Arial,sans-serif}.hero-image-uploader h3{margin:8px 0 3px!important;color:var(--em-ink)!important;font-size:20px!important}.hero-image-uploader p{margin:0;color:var(--em-muted);font-size:12px;line-height:1.75}.homepage-dual-image-manager .hero-image-uploader>img{width:100%!important;height:240px!important;max-height:none!important;margin-top:auto!important;object-fit:cover!important;border-radius:15px!important;box-shadow:0 12px 28px rgba(0,0,0,.15)!important}.hero-image-empty-state,.hero-image-default-state{min-height:240px!important;display:grid!important;place-items:center!important;align-content:center!important;gap:12px!important;margin-top:auto!important;padding:25px!important;border:1px dashed #cfd4dc!important;border-radius:15px!important;background:#fff!important;text-align:center}.hero-image-empty-state img{width:110px;height:88px;object-fit:contain}.hero-image-empty-state span{color:var(--em-muted);font-size:11px;line-height:1.7}.hero-image-default-state img{width:100%;height:190px;object-fit:cover;border-radius:12px}.hero-image-default-state span{color:var(--em-muted);font-size:11px;line-height:1.7}.homepage-control-submit-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding-top:8px}.homepage-control-submit-row .btn{min-height:52px;padding:10px 24px}.homepage-control-submit-row small{color:var(--em-muted)}

/* Reveal animation */
.js-reveal-ready [data-reveal],.js-reveal-ready .reveal-on-scroll{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.25,1)}
.js-reveal-ready [data-reveal].is-visible,.js-reveal-ready .reveal-on-scroll.is-visible{opacity:1;transform:none}

@keyframes flagCanvasWave{0%,100%{transform:skewY(-2deg) scaleX(1)}50%{transform:skewY(2deg) scaleX(.965)}}
@keyframes emblemFloat{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-9px) rotate(3deg)}}

/* Responsive */
@media(max-width:1280px){
  .premium-public-body .header-max-width-container{grid-template-columns:auto minmax(380px,1fr) auto!important;gap:15px!important}.premium-public-body .main-school-gov-title{font-size:15px!important}.premium-public-body .public-primary-nav a{padding-inline:9px!important;font-size:10px!important}
  .premium-public-body .quick-services-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .premium-public-body .egyptian-masterpiece-hero{grid-template-columns:minmax(0,1fr) minmax(390px,.85fr)!important;padding-inline:38px!important}
}
@media(max-width:1120px){
  .national-ministry-strip span:nth-child(3){display:none}.public-mobile-nav-toggle{display:flex;flex-direction:column;grid-column:1;grid-row:1}.premium-public-body .header-max-width-container{position:relative;grid-template-columns:auto minmax(0,1fr) auto!important}.premium-public-body .right-flank-identity-menu-zone{grid-column:2}.premium-public-body .left-flank-action-zone{grid-column:3}
  .premium-public-body .public-primary-nav{position:absolute;top:calc(100% + 8px);right:0;left:0;z-index:320;display:grid!important;grid-template-columns:1fr 1fr;gap:7px;padding:12px;visibility:hidden;opacity:0;transform:translateY(-8px);border:1px solid rgba(201,161,59,.28);border-radius:16px;background:#101318;box-shadow:0 22px 55px rgba(0,0,0,.34);transition:.2s ease;pointer-events:none}.premium-public-body .public-primary-nav.is-open{visibility:visible;opacity:1;transform:none;pointer-events:auto}.premium-public-body .public-primary-nav a{justify-content:flex-start!important;padding:11px 13px!important;font-size:11px!important}
  .premium-public-body .egyptian-masterpiece-hero{min-height:0!important;grid-template-columns:1fr!important;gap:28px!important;padding:42px 34px 52px!important}.egyptian-hero-copy{max-width:900px!important}.egyptian-hero-gallery{width:min(720px,100%);min-height:430px;margin:0 auto}.egypt-hero-flag-canvas{width:95%;height:65%;bottom:-10%;opacity:.17}
  .premium-public-body .egyptian-masterpiece-footer{grid-template-columns:1fr 1fr!important}.footer-copyright{grid-column:1/-1;text-align:center}
}
@media(max-width:820px){
  .national-ministry-strip{justify-content:flex-start;overflow:hidden;padding-inline:14px}.national-ministry-strip span:nth-child(2){display:none}
  .premium-public-body .header-max-width-container{width:calc(100% - 22px)!important;min-height:78px!important;grid-template-columns:auto minmax(0,1fr) auto!important;padding-block:8px!important}.premium-public-body .egypt-flag-public{display:none!important}.premium-public-body .school-emblem-header{width:47px!important;height:47px!important;min-width:47px!important}.premium-public-body .branding-text-mass{display:block!important}.premium-public-body .main-school-gov-title{font-size:12px!important;line-height:1.45!important}.premium-public-body .sub-gov-authority-text{display:none!important}.premium-public-body .orders-dropdown-wrapper{display:none}.premium-public-body .btn-admin-dropdown-trigger{min-width:44px!important;padding-inline:11px!important}.premium-public-body .btn-admin-dropdown-trigger>span:first-child{font-size:0}.premium-public-body .btn-admin-dropdown-trigger>span:first-child::before{content:"🔒";font-size:15px}
  .premium-public-body .public-main{width:calc(100% - 20px)!important;padding-top:14px!important}.premium-public-body .public-back-bar{padding-inline:12px!important}
  .premium-public-body .egyptian-masterpiece-hero{border-radius:24px!important;padding:32px 23px 44px!important}.premium-public-body .egyptian-masterpiece-hero .premium-hero-title{font-size:clamp(33px,8vw,48px)!important}.premium-public-body .egyptian-masterpiece-hero .premium-hero-subtitle{font-size:16px!important}.national-authority-line{flex-wrap:wrap}.hero-trust-line{gap:11px}.egyptian-hero-gallery{min-height:370px}.hero-portrait-primary{inset:8px 25px 15px 0}.hero-portrait-secondary{width:39%;height:44%;left:-1px}.hero-gold-seal{width:105px;height:105px;grid-template-columns:38px 1fr}.hero-gold-seal img{width:38px;height:38px}
  .premium-public-body .quick-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.premium-public-body .premium-news-carousel-section{padding:24px 16px!important;border-radius:22px}.premium-public-body .gallery-section-header h2{font-size:24px!important}
  .premium-public-body .egyptian-masterpiece-footer{grid-template-columns:1fr!important;text-align:center!important}.footer-identity-block{justify-content:center;text-align:right}.footer-service-links{width:min(420px,100%);margin:auto;text-align:right}.footer-copyright{grid-column:auto}.homepage-dual-image-manager{grid-template-columns:1fr!important}
}
@media(max-width:560px){
  .premium-public-body .header-max-width-container{grid-template-columns:42px minmax(0,1fr) 42px!important;gap:7px!important}.public-mobile-nav-toggle{width:42px;height:42px}.premium-public-body .school-branding-identity-zone{justify-content:center!important;gap:7px!important}.premium-public-body .school-emblem-header{width:39px!important;height:39px!important;min-width:39px!important}.premium-public-body .main-school-gov-title{font-size:10px!important;text-align:center}.premium-public-body .btn-admin-dropdown-trigger{width:42px!important;min-width:42px!important;padding:0!important}.premium-public-body .btn-admin-dropdown-trigger .chevron-icon-arrow{display:none}
  .premium-public-body .public-primary-nav{grid-template-columns:1fr}.premium-public-body .public-back-bar .btn-back-home{display:none}
  .premium-public-body .egyptian-masterpiece-hero{padding:27px 17px 38px!important;border-radius:20px!important}.national-authority-line{font-size:9px}.national-authority-line span:last-child,.national-authority-line i{display:none}.premium-public-body .egyptian-masterpiece-hero .premium-year-pill{font-size:11px!important;padding-inline:13px!important}.premium-public-body .egyptian-masterpiece-hero .hero-year-badge{font-size:15px!important;padding-inline:12px!important}.premium-public-body .egyptian-masterpiece-hero .premium-hero-title{font-size:31px!important;line-height:1.35!important}.premium-public-body .egyptian-masterpiece-hero .premium-hero-subtitle{font-size:14px!important;line-height:1.9!important}.premium-public-body .egyptian-masterpiece-hero .hero-threshold-row{font-size:13px!important;flex-wrap:wrap!important}.premium-public-body .egyptian-masterpiece-hero .admission-dynamic-threshold{font-size:20px!important}.premium-public-body .egyptian-masterpiece-hero .premium-hero-actions{flex-direction:column!important;align-items:stretch!important}.premium-public-body .egyptian-masterpiece-hero .coordination-state,.premium-public-body .egyptian-masterpiece-hero .premium-hero-link{width:100%!important;min-height:50px!important;font-size:13px!important}.hero-trust-line{display:grid;grid-template-columns:1fr 1fr;font-size:9px}.hero-trust-line span:last-child{grid-column:1/-1}
  .egyptian-hero-gallery{min-height:305px}.hero-portrait-primary{inset:7px 13px 12px 0;border-radius:22px 8px 22px 8px}.hero-portrait-primary figcaption{right:15px;left:15px;bottom:14px}.hero-portrait-primary figcaption b{font-size:13px}.hero-portrait-secondary{width:42%;height:42%;border-width:3px}.hero-gold-seal{right:0;width:86px;height:86px;grid-template-columns:30px 1fr;padding:8px}.hero-gold-seal img{width:30px;height:30px}.hero-gold-seal span{font-size:8px}
  .quick-services-heading{align-items:flex-start!important;flex-direction:column!important;gap:5px}.quick-services-heading h2{font-size:24px!important}.premium-public-body .quick-services-grid{gap:9px!important}.premium-public-body .quick-services-grid a{min-height:128px!important;border-radius:16px!important}.premium-public-body .quick-services-grid i{width:48px!important;height:48px!important}.premium-public-body .quick-services-grid b{font-size:12px!important}.premium-public-body .premium-news-carousel-section{padding:20px 10px!important}.footer-identity-block>img{width:58px;height:58px}.footer-identity-block b{font-size:12px}.footer-service-links{grid-template-columns:1fr}.footer-copyright{text-align:center}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}.flag-band,.hero-watermark-emblem,.egypt-flag-live{animation:none!important}.hero-portrait,.hero-portrait img,.quick-services-grid a,.premium-hero-link,.btn-orders-menu-trigger,.btn-admin-dropdown-trigger{transition:none!important}.js-reveal-ready [data-reveal],.js-reveal-ready .reveal-on-scroll{opacity:1!important;transform:none!important;transition:none!important}
}
@media print{
  .national-ministry-strip,.egypt-hero-flag-canvas,.egyptian-hero-glow,.hero-portrait-secondary,.hero-gold-seal,.hero-trust-line,.footer-egypt-stripe{display:none!important}.premium-public-body .egyptian-masterpiece-hero{display:block!important;min-height:0!important;padding:20px!important;color:#000!important;background:#fff!important;border:1px solid #aaa!important;box-shadow:none!important}.premium-public-body .egyptian-masterpiece-hero .premium-hero-title,.premium-public-body .egyptian-masterpiece-hero .premium-hero-subtitle,.premium-public-body .egyptian-masterpiece-hero .hero-threshold-row{color:#000!important}.egyptian-hero-gallery{display:none!important}
}


/* Optional hero images managed from the control panel */
.premium-public-body .egyptian-masterpiece-hero.hero-images-0{grid-template-columns:minmax(0,1fr)!important}.premium-public-body .egyptian-masterpiece-hero.hero-images-0 .egyptian-hero-copy{max-width:1050px!important}.egyptian-hero-gallery.hero-gallery-count-1{width:min(600px,100%);margin-inline:auto}.egyptian-hero-gallery.hero-gallery-count-1 .hero-portrait{inset:18px!important;width:auto!important;height:auto!important;border-radius:28px 9px 28px 9px!important}.egyptian-hero-gallery.hero-gallery-count-1 .hero-portrait-secondary{border-width:5px!important}.egyptian-hero-gallery.hero-gallery-count-1 .hero-gold-seal{right:auto;left:-10px;bottom:6px}
@media(max-width:820px){.egyptian-hero-gallery.hero-gallery-count-1{min-height:390px}.egyptian-hero-gallery.hero-gallery-count-1 .hero-portrait{inset:10px!important}}
@media(max-width:560px){.egyptian-hero-gallery.hero-gallery-count-1{min-height:310px}.egyptian-hero-gallery.hero-gallery-count-1 .hero-gold-seal{left:0}}

/* ===== wizard_system_2026.css ===== */
/* Wizard System 2026 — progressive navigation for administration and public admissions */
:root{
  --wizard-blue:#123f73;
  --wizard-blue-2:#1f64a8;
  --wizard-cyan:#16a3b6;
  --wizard-green:#168765;
  --wizard-gold:#d59a27;
  --wizard-red:#b63b48;
  --wizard-ink:#14243a;
  --wizard-soft:#eef5fb;
  --wizard-border:#d9e6f2;
  --wizard-shadow:0 18px 48px rgba(18,63,115,.13);
}

/* Administration sidebar as a guided command wizard */
.premium-sidebar .sidebar-wizard-progress{
  margin:0 14px 14px;padding:13px 14px;border:1px solid rgba(255,255,255,.15);
  border-radius:16px;background:linear-gradient(135deg,rgba(255,255,255,.13),rgba(255,255,255,.04));
  color:#fff;display:grid;gap:7px
}
.sidebar-wizard-progress .wizard-progress-title{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.78rem}
.sidebar-wizard-progress .wizard-progress-title b{font-size:.9rem}
.sidebar-wizard-progress .wizard-progress-track{height:7px;border-radius:999px;background:rgba(255,255,255,.18);overflow:hidden}
.sidebar-wizard-progress .wizard-progress-track i{display:block;width:42%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ffd76b,#31d8ca)}
.sidebar-wizard-progress small{color:rgba(255,255,255,.72);line-height:1.55}
.admin-wizard-nav{counter-reset:admin-wizard-group}
.admin-wizard-nav .nav-group{counter-increment:admin-wizard-group;position:relative;margin:0 10px 9px;border:1px solid rgba(255,255,255,.09);border-radius:17px;overflow:hidden;background:rgba(8,31,58,.26);transition:.25s ease}
.admin-wizard-nav .nav-group:hover,.admin-wizard-nav .nav-group.open{border-color:rgba(255,215,107,.38);background:rgba(15,53,92,.48);transform:translateY(-1px)}
.admin-wizard-nav .nav-group-toggle{min-height:55px;padding-inline:12px}
.admin-wizard-nav .nav-group-title{gap:9px;line-height:1.4}
.admin-wizard-nav .nav-step-number{width:28px;height:28px;border-radius:10px;display:inline-grid;place-items:center;flex:0 0 28px;background:linear-gradient(135deg,#ffd76b,#d69a24);color:#17324f;font-weight:900;font-size:.78rem;box-shadow:0 7px 16px rgba(0,0,0,.18)}
.admin-wizard-nav .nav-group.open .nav-step-number{background:linear-gradient(135deg,#43dfcd,#28aeb1);color:#062f3b}
.admin-wizard-nav .nav-submenu{padding:4px 8px 10px}
.admin-wizard-nav .nav-link{position:relative;border-radius:12px;margin-top:4px;padding-block:10px;border:1px solid transparent}
.admin-wizard-nav .nav-link:before{content:"";position:absolute;right:-1px;top:25%;height:50%;width:3px;border-radius:5px;background:transparent}
.admin-wizard-nav .nav-link.active{background:linear-gradient(90deg,rgba(46,181,183,.25),rgba(255,215,107,.13));border-color:rgba(70,220,204,.25)}
.admin-wizard-nav .nav-link.active:before{background:#4bddc8}
.admin-wizard-nav .nav-link span{width:27px;height:27px;border-radius:9px;display:inline-grid;place-items:center;background:rgba(255,255,255,.08)}

/* Shared wizard */
.wizard-shell{position:relative;border:1px solid var(--wizard-border);border-radius:24px;background:#fff;box-shadow:var(--wizard-shadow);overflow:hidden}
.wizard-shell.card{overflow:visible}
.wizard-heading{padding:22px 24px 15px;background:linear-gradient(135deg,#f9fcff,#eef6fc);border-bottom:1px solid var(--wizard-border)}
.wizard-heading h2,.wizard-heading h3{margin:0;color:var(--wizard-ink)}
.wizard-heading p{margin:7px 0 0;color:#5e7087}
.wizard-stepper{display:grid;grid-template-columns:repeat(var(--wizard-count,4),minmax(130px,1fr));gap:9px;padding:15px 20px;background:#f7fbff;border-bottom:1px solid var(--wizard-border);position:sticky;top:0;z-index:12}
.wizard-step-tab{appearance:none;border:1px solid #d7e4ef;border-radius:15px;background:#fff;padding:10px 11px;display:flex;align-items:center;gap:9px;text-align:right;color:#607087;cursor:pointer;transition:.2s ease;min-width:0}
.wizard-step-tab .wizard-step-icon{width:34px;height:34px;flex:0 0 34px;border-radius:12px;display:grid;place-items:center;background:#edf4fa;color:var(--wizard-blue);font-weight:900}
.wizard-step-tab span:last-child{display:grid;gap:2px;min-width:0}
.wizard-step-tab b{color:#30465f;font-size:.86rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wizard-step-tab small{font-size:.69rem;color:#7c8a9a}
.wizard-step-tab.is-active{border-color:rgba(31,100,168,.55);background:linear-gradient(135deg,#eff8ff,#fff);box-shadow:0 9px 24px rgba(31,100,168,.12);transform:translateY(-2px)}
.wizard-step-tab.is-active .wizard-step-icon{background:linear-gradient(135deg,var(--wizard-blue-2),var(--wizard-cyan));color:#fff}
.wizard-step-tab.is-complete{border-color:rgba(22,135,101,.35);background:#f2fbf7}
.wizard-step-tab.is-complete .wizard-step-icon{background:var(--wizard-green);color:#fff}
.wizard-progress-line{height:5px;background:#e8f0f7;overflow:hidden}
.wizard-progress-line i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--wizard-blue-2),var(--wizard-cyan),var(--wizard-green));transition:width .28s ease}
.wizard-step-panel{display:none;padding:22px;animation:wizardPanelIn .28s ease}
.wizard-step-panel.is-active{display:block}
@keyframes wizardPanelIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.wizard-panel-title{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:18px;padding-bottom:13px;border-bottom:1px dashed #cfdeeb}
.wizard-panel-title>div{display:grid;gap:5px}
.wizard-panel-title h3{margin:0;color:var(--wizard-blue);font-size:1.25rem}
.wizard-panel-title p{margin:0;color:#66798e;line-height:1.7}
.wizard-panel-title .wizard-panel-badge{border-radius:999px;padding:7px 11px;background:#eaf5ff;color:var(--wizard-blue);font-weight:800;white-space:nowrap}
.wizard-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 22px;border-top:1px solid var(--wizard-border);background:#f8fbfe}
.wizard-navigation .wizard-nav-side{display:flex;gap:9px;align-items:center}
.wizard-btn{border:0;border-radius:13px;padding:11px 18px;font:inherit;font-weight:850;cursor:pointer;transition:.2s ease;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.wizard-btn:hover{transform:translateY(-1px)}
.wizard-btn-next{background:linear-gradient(135deg,var(--wizard-blue-2),var(--wizard-cyan));color:#fff;box-shadow:0 9px 22px rgba(31,100,168,.22)}
.wizard-btn-back{background:#eaf0f6;color:#334a62}
.wizard-step-counter{color:#65778b;font-size:.82rem}
.wizard-validation-alert{display:none;margin:0 22px 15px;padding:11px 14px;border-radius:12px;background:#fff1f2;border:1px solid #f2bdc3;color:#922a38;font-weight:750}
.wizard-validation-alert.is-visible{display:block}
.wizard-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.wizard-review-card{border:1px solid #dce8f2;border-radius:16px;background:#fbfdff;padding:15px;display:grid;gap:8px}
.wizard-review-card h4{margin:0;color:var(--wizard-blue)}
.wizard-review-card dl{display:grid;grid-template-columns:minmax(110px,.65fr) 1fr;gap:7px 12px;margin:0}
.wizard-review-card dt{color:#6f8091}.wizard-review-card dd{margin:0;color:#20354b;font-weight:760;overflow-wrap:anywhere}

/* Editable attachment cards */
.edit-attachments-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.edit-attachment-card{border:1px solid #d7e4ef;border-radius:18px;background:#fbfdff;padding:15px;display:grid;gap:11px;position:relative}
.edit-attachment-card.has-file{border-color:rgba(22,135,101,.38);background:#f6fcf9}
.edit-attachment-head{display:flex;justify-content:space-between;gap:9px;align-items:flex-start}
.edit-attachment-head b{color:#243b54;line-height:1.55}.edit-attachment-head .badge{flex:0 0 auto}
.edit-attachment-preview{min-height:90px;border-radius:13px;background:#eef4f8;display:grid;place-items:center;overflow:hidden;color:#718295;text-align:center;padding:10px}
.edit-attachment-preview img{width:100%;height:150px;object-fit:contain;background:#fff;border-radius:10px}
.edit-attachment-actions{display:grid;gap:9px}
.edit-delete-option{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:11px;background:#fff1f2;color:#963342;border:1px solid #f1c5ca;font-weight:760}
.edit-delete-option input{width:18px;height:18px;accent-color:var(--wizard-red)}
.edit-file-meta{font-size:.78rem;color:#6f8194;line-height:1.55}
.edit-security-note{padding:13px 15px;border-radius:14px;background:#fff8e8;border:1px solid #efdba6;color:#6f5419;line-height:1.7}

/* Public status as a process timeline */
.application-status-timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}
.application-status-timeline .status-stage{border:1px solid #dce7f0;border-radius:15px;padding:13px;background:#f9fcff;text-align:center;position:relative}
.application-status-timeline .status-stage b{display:block;color:#334b63;margin-top:5px}.application-status-timeline .status-stage span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;margin:auto;background:#e6eef6;color:#526b84;font-weight:900}
.application-status-timeline .status-stage.is-done{border-color:#abd9ca;background:#f1fbf7}.application-status-timeline .status-stage.is-done span{background:var(--wizard-green);color:#fff}
.application-status-timeline .status-stage.is-current{border-color:#89bae4;background:#eef7ff;box-shadow:0 8px 20px rgba(31,100,168,.1)}.application-status-timeline .status-stage.is-current span{background:var(--wizard-blue-2);color:#fff}
.application-edit-action{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:16px;padding-top:15px;border-top:1px solid #e2eaf1}
.application-edit-action .btn-edit-request{background:linear-gradient(135deg,#c98219,#e7ad3f);color:#fff;border-radius:13px;padding:11px 17px;text-decoration:none;font-weight:900;box-shadow:0 8px 20px rgba(201,130,25,.2)}

/* Public services dropdown presented as ordered actions */
.orders-dropdown-list{counter-reset:public-command}
.orders-dropdown-list li{counter-increment:public-command}
.orders-dropdown-list .orders-dropdown-link:before{content:counter(public-command);width:26px;height:26px;display:grid;place-items:center;border-radius:9px;background:linear-gradient(135deg,#173f70,#1da7b5);color:#fff;font-weight:900;font-size:.72rem;flex:0 0 26px}

@media (max-width:1000px){
  .wizard-stepper{grid-template-columns:repeat(2,minmax(0,1fr));position:static}
  .edit-attachments-grid,.wizard-review-grid{grid-template-columns:1fr}
}
@media (max-width:640px){
  .wizard-stepper{display:flex;overflow-x:auto;padding:11px;scroll-snap-type:x mandatory}
  .wizard-step-tab{min-width:205px;scroll-snap-align:start}
  .wizard-step-panel{padding:15px}
  .wizard-navigation{padding:13px;align-items:stretch;flex-direction:column-reverse}
  .wizard-navigation .wizard-nav-side{width:100%}.wizard-navigation .wizard-btn{flex:1}
  .wizard-step-counter{text-align:center}
  .application-status-timeline{grid-template-columns:1fr}
  .wizard-panel-title{display:grid}
}

/* Public application edit refinements */
.application-edit-verification-card,.application-edit-summary-card{max-width:1080px;margin-inline:auto}
.application-edit-summary-card{margin-bottom:16px}
.edit-security-note[data-edit-upload-code-zone]{display:grid;gap:8px;margin-bottom:16px;transition:.22s ease}
.edit-security-note[data-edit-upload-code-zone].is-required-now{border-color:#dc8d34;background:#fff4df;box-shadow:0 8px 24px rgba(185,111,20,.12)}
.edit-security-note[data-edit-upload-code-zone].is-required-now:before{content:"الكود مطلوب الآن بسبب وجود تغيير في المرفقات";font-weight:900;color:#9a5315}
.application-status-timeline small{display:block;margin-top:5px;color:#728398;line-height:1.5}
.application-status-result .wizard-heading,.application-edit-verification-card .wizard-heading{border-radius:23px 23px 0 0}
@media (max-width:640px){.application-edit-action>*{width:100%;text-align:center}.application-edit-action small{text-align:right}}

/* ===== lazy_student_profile_2026.css ===== */
.lazy-render-block{content-visibility:auto;contain:layout paint style;contain-intrinsic-size:1px 520px}
.lazy-loading-note{min-height:170px;border:1px dashed #b7c6d7;border-radius:16px;background:#f8fbff;display:grid;place-content:center;text-align:center;gap:8px;padding:28px;color:#526477}.lazy-loading-note strong{color:#143a63;font-size:1.05rem}.lazy-loading-note.is-loading strong:before,.student-directory-status.is-loading:before{content:"";display:inline-block;width:16px;height:16px;margin-left:8px;border:3px solid #b9c9da;border-top-color:#1d66a5;border-radius:50%;vertical-align:-3px;animation:lazySpin .75s linear infinite}@keyframes lazySpin{to{transform:rotate(360deg)}}
.student-data-head .badge{align-self:center}.student-directory-filters{display:grid;grid-template-columns:minmax(220px,2fr) repeat(4,minmax(135px,1fr)) auto;gap:10px;align-items:end}.student-directory-status{margin:18px 0 10px;padding:10px 14px;border-radius:10px;background:#eef6ff;color:#174f82}.student-directory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:14px}.student-directory-card{display:grid;grid-template-columns:68px 1fr;gap:12px;position:relative;padding:14px;border:1px solid #dce6ef;border-radius:16px;background:#fff;color:#17324d;text-decoration:none;box-shadow:0 8px 24px rgba(23,50,77,.06);transition:.2s}.student-directory-card:hover{transform:translateY(-2px);border-color:#2d75b5;box-shadow:0 12px 28px rgba(23,50,77,.12)}.student-directory-photo{width:68px;height:82px;border-radius:12px;overflow:hidden;background:#e9f1f8;display:grid;place-items:center}.student-directory-photo img{width:100%;height:100%;object-fit:cover}.student-directory-photo-placeholder{font-size:.75rem;color:#74879a}.student-directory-card-body{display:grid;gap:4px;align-content:start}.student-directory-card-body b{font-size:1rem}.student-directory-card-body span,.student-directory-card-body small{color:#657b8f}.student-directory-open{grid-column:1/-1;font-size:.82rem;color:#1c65a3;font-weight:700}.student-directory-pagination{display:flex;justify-content:center;gap:6px;margin-top:18px}.student-directory-pagination button{border:1px solid #ccd9e5;background:#fff;color:#174f82;border-radius:9px;padding:8px 12px;cursor:pointer}.student-directory-pagination button.active{background:#174f82;color:#fff}
.student-profile-title-wrap{display:flex;gap:14px;align-items:center}.student-profile-photo-frame{width:84px;height:100px;border-radius:16px;overflow:hidden;background:#e9f1f8;border:2px solid #fff;box-shadow:0 5px 18px rgba(18,55,86,.14);display:grid;place-items:center;color:#72869a;font-size:.8rem}.student-profile-photo-frame img{width:100%;height:100%;object-fit:cover}.student-core-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin-bottom:18px}.student-core-item{display:grid;gap:6px;background:#fff;border:1px solid #dce6ef;border-radius:13px;padding:13px}.student-core-item b{color:#28577f;font-size:.82rem}.student-core-item span{color:#172f46;font-weight:700}.student-core-wide{grid-column:1/-1}.student-profile-lazy-sections .card-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.student-profile-section-buttons{display:flex;flex-wrap:wrap;gap:8px;padding:14px;border-bottom:1px solid #e2eaf1}.student-profile-section-target{min-height:240px}.student-edit-card>summary,.student-delete-card>summary{cursor:pointer;list-style:none}.student-edit-card>summary::-webkit-details-marker,.student-delete-card>summary::-webkit-details-marker{display:none}.student-delete-card{border-color:#efc5c5}.student-document-inline-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(240px,2fr) auto;gap:10px;margin-bottom:15px}.student-managed-file{display:flex;justify-content:space-between;gap:10px;align-items:center}.student-managed-file>a{display:grid;gap:5px;color:inherit;text-decoration:none}
@media(max-width:1050px){.student-directory-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.student-directory-filters button{grid-column:1/-1}.student-document-inline-form{grid-template-columns:1fr}}
@media(max-width:650px){.student-directory-filters{grid-template-columns:1fr}.student-directory-filters button{grid-column:auto}.student-profile-title-wrap{align-items:flex-start}.student-profile-photo-frame{width:70px;height:85px}.student-profile-lazy-sections .card-header{align-items:flex-start;flex-direction:column}.student-directory-grid{grid-template-columns:1fr}}
@media print{.lazy-render-block{content-visibility:visible;contain:none}}

/* ===== external_wizard_refresh_2026.css ===== */
/* External Wizard Refresh 13.2.0 — public pages only */
.external-wizard-skin{
  --ext-navy:#102b4c;
  --ext-blue:#1769aa;
  --ext-cyan:#08a7a7;
  --ext-gold:#e4ad3d;
  --ext-ink:#17324d;
  --ext-muted:#60768d;
  --ext-surface:rgba(255,255,255,.96);
  --ext-line:#d6e4ee;
  font-family:"Segoe UI",Arial,sans-serif!important;
  background:
    radial-gradient(circle at 8% 12%,rgba(8,167,167,.13),transparent 26rem),
    radial-gradient(circle at 92% 16%,rgba(228,173,61,.14),transparent 24rem),
    linear-gradient(145deg,#edf6fb 0%,#f9fbfd 46%,#eef5f9 100%)!important;
  color:var(--ext-ink);
}
.external-wizard-skin *:not(.numeric-font):not(.numeric-force-font){font-family:inherit}
.external-wizard-skin .public-main{width:min(1240px,95%);margin:28px auto 48px}
.external-wizard-skin .wizard-shell{
  border:1px solid rgba(23,105,170,.18);
  border-radius:28px;
  background:var(--ext-surface);
  box-shadow:0 26px 70px rgba(16,43,76,.14);
  backdrop-filter:blur(10px);
}
.external-wizard-skin .wizard-heading{
  padding:28px 30px 22px;
  background:linear-gradient(125deg,var(--ext-navy),#164f7f 58%,#0b8f93);
  color:#fff;
  border:0;
}
.external-wizard-skin .wizard-heading h1,
.external-wizard-skin .wizard-heading h2,
.external-wizard-skin .wizard-heading h3{color:#fff;font-weight:900;letter-spacing:.1px}
.external-wizard-skin .wizard-heading p{color:#dcecf6;font-size:1rem;line-height:1.9}
.external-wizard-skin .wizard-stepper{
  padding:16px 20px;
  gap:11px;
  background:linear-gradient(180deg,#f8fbfd,#f1f7fb);
  border-bottom:1px solid var(--ext-line);
}
.external-wizard-skin .wizard-step-tab{
  border:1px solid #d5e2ec;
  border-radius:17px;
  min-height:64px;
  padding:11px 13px;
  background:#fff;
  color:#60768d;
  box-shadow:0 5px 14px rgba(16,43,76,.04);
}
.external-wizard-skin .wizard-step-tab .wizard-step-icon{border-radius:13px;background:#e9f3f9;color:var(--ext-blue)}
.external-wizard-skin .wizard-step-tab.is-active{border-color:rgba(8,167,167,.55);background:linear-gradient(135deg,#effcfc,#fff);box-shadow:0 12px 28px rgba(8,135,151,.14)}
.external-wizard-skin .wizard-step-tab.is-active .wizard-step-icon{background:linear-gradient(135deg,var(--ext-blue),var(--ext-cyan));color:#fff}
.external-wizard-skin .wizard-step-tab.is-complete{border-color:#9fd5c7;background:#f0fbf6}
.external-wizard-skin .wizard-progress-line{height:6px;background:#e3edf3}
.external-wizard-skin .wizard-progress-line i{background:linear-gradient(90deg,var(--ext-blue),var(--ext-cyan),#2a9a68)}
.external-wizard-skin .wizard-step-panel{padding:28px 30px 30px}
.external-wizard-skin .wizard-panel-title{margin-bottom:22px;padding-bottom:16px;border-bottom:1px dashed #c8dbe8}
.external-wizard-skin .wizard-panel-title h3{color:var(--ext-navy);font-size:1.32rem;font-weight:900}
.external-wizard-skin .wizard-panel-title p{color:var(--ext-muted);font-size:.96rem}
.external-wizard-skin .wizard-panel-badge{background:#e8f5fa!important;color:#126a88!important;border:1px solid #c9e6ed}
.external-wizard-skin .form-control,
.external-wizard-skin .form-select,
.external-wizard-skin textarea{
  min-height:48px;
  border:1px solid #c9d9e5;
  border-radius:13px;
  padding:12px 14px;
  background:#fff;
  font-size:1rem;
  color:#17324d;
  box-shadow:inset 0 1px 2px rgba(16,43,76,.025);
}
.external-wizard-skin .form-control:focus,
.external-wizard-skin .form-select:focus,
.external-wizard-skin textarea:focus{outline:3px solid rgba(8,167,167,.15);border-color:#1b9da7;box-shadow:0 0 0 1px rgba(8,167,167,.1)}
.external-wizard-skin label{color:#223f5b;font-weight:800;line-height:1.7}
.external-wizard-skin .input-cell-box,
.external-wizard-skin .upload-cell-box,
.external-wizard-skin .declaration-item-card{
  border-radius:17px;
  border-color:#d7e4ed;
  background:linear-gradient(145deg,#fff,#f8fbfd);
  box-shadow:0 7px 18px rgba(16,43,76,.045);
}
.external-wizard-skin .declaration-item-card:has(input:checked){border-color:#52b9ad;background:#f0fbf8;box-shadow:0 9px 22px rgba(8,167,167,.1)}
.external-wizard-skin .wizard-navigation{padding:18px 24px;background:#f4f8fb;border-top:1px solid var(--ext-line)}
.external-wizard-skin .wizard-btn{border-radius:14px;min-height:45px;padding:11px 21px}
.external-wizard-skin .wizard-btn-next,
.external-wizard-skin .btn-gov-submit-main-fixed{background:linear-gradient(135deg,var(--ext-blue),var(--ext-cyan))!important;color:#fff!important;border:0!important;box-shadow:0 12px 25px rgba(23,105,170,.22)}
.external-wizard-skin .wizard-btn-back{background:#e7eef4;color:#294861}

/* Parent portal code-only access */
.public-page-parent_login .public-main{width:min(780px,94%)}
.parent-access-wizard{overflow:hidden;margin:36px auto}
.parent-access-hero{display:flex;gap:18px;align-items:center;padding:30px;background:linear-gradient(130deg,var(--ext-navy),#175c8f 62%,#0c9495);color:#fff}
.parent-access-symbol{width:72px;height:72px;display:grid;place-items:center;flex:0 0 72px;border-radius:22px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.24);font-size:2rem}
.parent-access-hero small{display:block;color:#f2cc73;font-weight:800;margin-bottom:5px}
.parent-access-hero h1{margin:0;font-size:1.75rem;color:#fff;font-weight:900}
.parent-access-hero p{margin:8px 0 0;color:#d9eaf4;line-height:1.85}
.parent-access-flow{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:18px 22px;background:#f3f8fb;border-bottom:1px solid #dce8f0}
.parent-access-flow>div{position:relative;display:grid;grid-template-columns:38px 1fr;gap:1px 10px;align-items:center;padding:11px 12px;border:1px solid #d9e6ee;border-radius:15px;background:#fff}
.parent-access-flow span{grid-row:1/3;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,var(--ext-blue),var(--ext-cyan));color:#fff;font-weight:900}
.parent-access-flow b{color:#23445f}.parent-access-flow small{color:#71869a;font-size:.75rem}
.parent-code-login-form{display:grid;gap:20px;padding:28px 30px 32px}
.parent-login-field{display:grid;gap:8px}
.parent-login-field>small{color:#6d8194;line-height:1.6}
.parent-input-with-icon{display:grid;grid-template-columns:50px 1fr;border:1px solid #c9d9e5;border-radius:15px;overflow:hidden;background:#fff;transition:.2s ease}
.parent-input-with-icon:focus-within{border-color:#169aa3;box-shadow:0 0 0 4px rgba(8,167,167,.12)}
.parent-input-with-icon>span{display:grid;place-items:center;background:#edf5f8;color:#17698b;font-size:1.2rem;border-left:1px solid #d6e4ec}
.parent-input-with-icon .form-control{border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;min-height:54px;text-align:center;font-size:1.18rem!important;letter-spacing:1.5px}
.parent-student-code{font-size:1.42rem!important;letter-spacing:6px!important}
.parent-access-privacy-note{padding:13px 15px;border-radius:14px;background:#fff8e9;border:1px solid #eed8a4;color:#72541b;line-height:1.75}
.parent-access-submit{min-height:52px;font-size:1.06rem!important;border-radius:15px!important}

/* Status and edit pages */
.public-page-application_status .wizard-shell,
.public-page-application_edit .wizard-shell{box-shadow:0 24px 64px rgba(16,43,76,.13)}
.external-wizard-skin .application-status-timeline .status-stage{border-radius:17px;background:#fff;box-shadow:0 6px 16px rgba(16,43,76,.04)}
.external-wizard-skin .application-status-timeline .status-stage.is-current{background:#edf8ff;border-color:#78b7df}

@media(max-width:760px){
  .external-wizard-skin .public-main{width:min(96%,1240px);margin-top:16px}
  .external-wizard-skin .wizard-heading,.external-wizard-skin .wizard-step-panel{padding:20px 16px}
  .parent-access-hero{padding:22px 17px;align-items:flex-start}
  .parent-access-symbol{width:56px;height:56px;flex-basis:56px;border-radius:17px}
  .parent-access-hero h1{font-size:1.35rem}
  .parent-access-flow{grid-template-columns:1fr;padding:14px}
  .parent-code-login-form{padding:21px 16px 25px}
}

/* ===== pwa_mobile_portal_2026.css ===== */
/* 13.3.0 — PWA installation, responsive admission bars, and parent/student wizard portal */
:root{--pwa-navy:#082b4d;--pwa-blue:#0d6fad;--pwa-cyan:#15a6c7;--pwa-gold:#e0b749;--pwa-red:#b72835;--pwa-ink:#102a43;--pwa-soft:#eef6fb;--pwa-card:#fff;--pwa-shadow:0 18px 50px rgba(8,43,77,.14)}
html{scroll-behavior:smooth}
body{overflow-x:hidden}
button,a,input,select,textarea{touch-action:manipulation}

/* Install controls */
.pwa-install-button{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:42px;padding:.7rem 1rem;border:1px solid rgba(255,255,255,.24);border-radius:14px;background:linear-gradient(135deg,#0d6fad,#073d68);color:#fff!important;font-weight:900;box-shadow:0 9px 22px rgba(5,56,95,.23);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;text-decoration:none;white-space:nowrap}
.pwa-install-button:hover,.pwa-install-button:focus-visible{transform:translateY(-2px);box-shadow:0 14px 30px rgba(5,56,95,.3);filter:saturate(1.08)}
.pwa-install-button.is-installed{background:linear-gradient(135deg,#18794e,#0b5f3a)}
.pwa-install-button.is-unavailable{opacity:.88}
.pwa-install-button .pwa-install-icon{font-size:1.18rem;line-height:1}
.pwa-install-dialog{border:0;padding:0;border-radius:24px;width:min(92vw,560px);box-shadow:0 32px 100px rgba(4,28,52,.32);background:#fff;color:var(--pwa-ink)}
.pwa-install-dialog::backdrop{background:rgba(4,20,38,.68);backdrop-filter:blur(5px)}
.pwa-install-dialog-card{padding:28px;position:relative;overflow:hidden}
.pwa-install-dialog-card:before{content:"";position:absolute;inset:0 0 auto;height:8px;background:linear-gradient(90deg,#cf2736,#fff,#0b0b0b)}
.pwa-install-dialog-header{display:flex;align-items:center;gap:14px;margin-bottom:14px}.pwa-install-dialog-header img{width:64px;height:64px}.pwa-install-dialog-header h2{margin:0;font-size:1.35rem}.pwa-install-dialog-card p{line-height:1.9;color:#52677b}.pwa-install-steps{display:grid;gap:10px;margin:18px 0}.pwa-install-steps div{display:flex;gap:10px;align-items:flex-start;padding:12px;border-radius:14px;background:#f1f7fb;border:1px solid #dceaf4}.pwa-install-steps b{display:grid;place-items:center;min-width:28px;height:28px;border-radius:50%;background:#0d6fad;color:#fff}.pwa-install-dialog-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.pwa-install-dialog-actions button{border:0;border-radius:13px;padding:11px 18px;font-weight:900;cursor:pointer}.pwa-install-dialog-actions .primary{background:#0d6fad;color:#fff}.pwa-install-dialog-actions .secondary{background:#eaf1f6;color:#18364f}
.pwa-toast{position:fixed;z-index:99999;right:50%;bottom:24px;transform:translateX(50%) translateY(20px);padding:13px 18px;border-radius:14px;background:#102e4b;color:#fff;box-shadow:0 14px 40px rgba(0,0,0,.28);font-weight:800;opacity:0;pointer-events:none;transition:.25s ease;max-width:min(92vw,520px);text-align:center}.pwa-toast.is-visible{opacity:1;transform:translateX(50%) translateY(0)}

/* Admission top and side command bars */
.admission-command-topbar{position:sticky;top:8px;z-index:85;display:flex;align-items:center;gap:10px;width:min(96%,1260px);margin:12px auto 18px;padding:10px;border:1px solid rgba(255,255,255,.78);border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 14px 38px rgba(8,43,77,.13);backdrop-filter:blur(14px);overflow-x:auto;scrollbar-width:thin}
.admission-command-topbar a,.admission-command-topbar button{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:9px 14px;border:1px solid #d9e7f2;border-radius:13px;background:#f7fbfe;color:#173b5a;font-weight:850;text-decoration:none;cursor:pointer;transition:.2s ease}
.admission-command-topbar a:hover,.admission-command-topbar button:hover{background:#e8f5fd;border-color:#9ecde7;transform:translateY(-1px)}
.admission-command-topbar .is-primary{background:linear-gradient(135deg,#0d6fad,#0a4d7e);border-color:transparent;color:#fff}
.admission-command-topbar .bar-status{margin-inline-start:auto;display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:999px;background:#ecf8f1;color:#17623f;font-weight:900;white-space:nowrap}.admission-command-topbar .bar-status i{width:9px;height:9px;border-radius:50%;background:#25a56a;box-shadow:0 0 0 5px rgba(37,165,106,.12)}
.admission-command-rail{position:fixed;z-index:82;right:10px;top:210px;display:flex;flex-direction:column;gap:8px;width:74px;padding:10px 8px;border-radius:20px;background:rgba(8,43,77,.94);box-shadow:0 18px 48px rgba(3,27,49,.25);backdrop-filter:blur(10px)}
.admission-command-rail a,.admission-command-rail button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:58px;padding:7px 3px;border:0;border-radius:13px;background:transparent;color:#dceefe;text-decoration:none;cursor:pointer;font:inherit;text-align:center;transition:.2s ease}
.admission-command-rail a:hover,.admission-command-rail button:hover,.admission-command-rail .is-active{background:#fff;color:#0b4e7d;transform:scale(1.03)}
.admission-command-rail .rail-icon{font-size:1.15rem}.admission-command-rail small{font-size:.66rem;line-height:1.25;font-weight:800}
.admission-command-rail-progress{height:54px;width:5px;border-radius:99px;background:rgba(255,255,255,.16);margin:auto;overflow:hidden}.admission-command-rail-progress i{display:block;width:100%;height:0;background:linear-gradient(#e4bd4c,#fff);transition:height .35s ease}
.public-page-admission .public-main{padding-inline:88px 18px}
.public-page-admission #admission-top,.public-page-admission #admission-search,.public-page-admission #quick-services,.public-page-admission #coordinationApplicationForm{scroll-margin-top:115px}

/* Parent/student portal as a dynamic wizard */
.parent-portal-wizard-shell{position:relative;width:min(100%,1320px);margin:0 auto;padding:4px 0 28px}
.parent-portal-entry-celebration{position:fixed;inset:0;z-index:9998;pointer-events:none;overflow:hidden}
.entry-star{position:absolute;top:-40px;color:#f0bf3e;text-shadow:0 0 12px rgba(255,218,102,.85);animation:portalStarFall var(--star-duration,2.8s) cubic-bezier(.24,.7,.2,1) var(--star-delay,0s) forwards;opacity:0;font-size:var(--star-size,20px)}
@keyframes portalStarFall{0%{opacity:0;transform:translate3d(0,-30px,0) rotate(0deg) scale(.7)}12%{opacity:1}75%{opacity:.95}100%{opacity:0;transform:translate3d(var(--star-drift,30px),105vh,0) rotate(540deg) scale(1.15)}}
.parent-portal-wizard-shell .live-academic-activity{border-radius:20px;background:linear-gradient(135deg,#0a3156,#0e6a9d);box-shadow:var(--pwa-shadow);overflow:hidden}
.parent-portal-wizard-shell .live-academic-activity>div{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.15);color:#fff}
.parent-portal-wizard-shell .live-academic-activity span{color:#dceefe}.parent-portal-wizard-shell .live-academic-activity strong{color:#fff}
.parent-head.parent-wizard-hero{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:22px 24px;border-radius:24px;background:radial-gradient(circle at 10% 10%,rgba(255,255,255,.2),transparent 30%),linear-gradient(135deg,#0b2f53,#0d6d9e 66%,#18a2b8);color:#fff;box-shadow:0 22px 55px rgba(8,43,77,.22);position:relative;overflow:hidden}
.parent-head.parent-wizard-hero:after{content:"★";position:absolute;left:24px;bottom:-30px;font-size:120px;color:rgba(255,255,255,.06);transform:rotate(-14deg)}
.parent-portal-avatar{display:grid;place-items:center;width:72px;height:72px;border-radius:22px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);font-size:2rem;box-shadow:inset 0 0 0 5px rgba(255,255,255,.07)}
.parent-head.parent-wizard-hero h1{margin:0 0 6px;color:#fff;font-size:clamp(1.35rem,2.6vw,2rem)}.parent-head.parent-wizard-hero p{margin:0;color:#e5f4ff;line-height:1.8}.parent-head.parent-wizard-hero .parent-hero-actions{display:flex;align-items:center;gap:8px;z-index:2}.parent-head.parent-wizard-hero .btn{border-radius:13px;font-weight:900}
.parent-wizard-progress-wrap{margin:16px 0 12px;padding:12px 14px;border:1px solid #d8e7f1;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(8,43,77,.08)}
.parent-wizard-progress-meta{display:flex;justify-content:space-between;gap:10px;color:#47647b;font-size:.84rem;font-weight:800;margin-bottom:8px}.parent-wizard-progress-track{height:8px;border-radius:99px;background:#e8f0f6;overflow:hidden}.parent-wizard-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0d6fad,#18a7c5,#e0b749);transition:width .35s ease}
.portal-tabs.parent-wizard-steps{display:grid;grid-template-columns:repeat(8,minmax(118px,1fr));gap:10px;margin:0 0 16px;overflow-x:auto;padding:4px 2px 12px;scrollbar-width:thin}
.portal-tabs.parent-wizard-steps a{position:relative;display:grid;grid-template-columns:36px 1fr;align-items:center;gap:9px;min-height:68px;padding:10px 11px;border:1px solid #d7e5ef;border-radius:16px;background:#fff;color:#24445e;text-decoration:none;box-shadow:0 8px 22px rgba(8,43,77,.06);transition:.2s ease}
.portal-tabs.parent-wizard-steps a:hover{transform:translateY(-3px);border-color:#8cc6e4;box-shadow:0 13px 28px rgba(8,43,77,.12)}
.portal-tabs.parent-wizard-steps a.active{background:linear-gradient(145deg,#0b4e7d,#0d7ca8);color:#fff;border-color:transparent;box-shadow:0 14px 32px rgba(11,78,125,.28)}
.portal-step-number{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#eaf4fa;color:#0b5d90;font-weight:950}.portal-tabs a.active .portal-step-number{background:#fff;color:#0b5d90}.portal-step-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.portal-step-copy b{font-size:.89rem;white-space:nowrap}.portal-step-copy small{font-size:.7rem;opacity:.78;white-space:nowrap}
.parent-portal-stage{position:relative;padding:18px;border:1px solid #dbe8f1;border-radius:24px;background:linear-gradient(180deg,#fff,#f7fbfe);box-shadow:0 18px 48px rgba(8,43,77,.1);animation:portalStageIn .34s ease both}
@keyframes portalStageIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.parent-portal-stage .card{border-radius:19px!important;border-color:#dce8f1!important;overflow:hidden;box-shadow:0 9px 24px rgba(8,43,77,.07)}
.parent-portal-stage .card-header{background:linear-gradient(135deg,#eff7fc,#fff);padding:15px 18px!important}.parent-portal-stage .btn,.parent-portal-stage button{transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}.parent-portal-stage .btn:hover,.parent-portal-stage button:hover{transform:translateY(-2px);filter:saturate(1.08)}
.parent-portal-stage .table-wrap{border-radius:0 0 17px 17px}.parent-portal-stage table{min-width:680px}.parent-portal-stage .detail-grid{gap:12px}.parent-portal-stage .detail-item{padding:15px;border:1px solid #ddeaf3;border-radius:15px;background:#fff;box-shadow:0 5px 15px rgba(8,43,77,.04)}
.parent-portal-stage .parent-dashboard-counters-grid{gap:13px}.parent-portal-stage .counter-clean-card{border-radius:19px;background:linear-gradient(145deg,#fff,#f0f8fc);border:1px solid #d9e8f2;box-shadow:0 10px 25px rgba(8,43,77,.07)}
.parent-portal-stage .homework-student-card{border-radius:18px!important;border:1px solid #dce8f1!important;background:#fff;box-shadow:0 9px 24px rgba(8,43,77,.07)}
.parent-portal-quick-help{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}.parent-portal-quick-help span{padding:7px 11px;border-radius:999px;background:#eaf5fb;color:#285570;font-size:.79rem;font-weight:800}

/* Ripple for dynamic commands */
.portal-tabs a,.admission-command-topbar a,.admission-command-topbar button,.admission-command-rail a,.admission-command-rail button,.pwa-install-button{position:relative;overflow:hidden}
.command-ripple{position:absolute;border-radius:50%;background:rgba(255,255,255,.45);transform:scale(0);animation:commandRipple .55s ease-out;pointer-events:none}
@keyframes commandRipple{to{transform:scale(4);opacity:0}}

/* Mobile layout */
@media(max-width:1100px){
  .public-page-admission .public-main{padding-inline:14px}
  .admission-command-rail{position:sticky;top:auto;right:auto;bottom:8px;z-index:90;flex-direction:row;width:min(96%,760px);margin:12px auto;padding:8px;overflow-x:auto;border-radius:17px}
  .admission-command-rail a,.admission-command-rail button{flex:0 0 68px;min-height:54px}.admission-command-rail-progress{display:none}
  .portal-tabs.parent-wizard-steps{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(138px,42vw)}
}
@media(max-width:760px){
  .world-class-header-navigation .header-max-width-container{padding-inline:10px!important;gap:8px!important}
  .school-branding-identity-zone{min-width:0!important}.branding-text-mass{min-width:0}.main-school-gov-title{font-size:.82rem!important;line-height:1.45!important}.sub-gov-authority-text{display:none!important}.school-emblem-header{width:42px!important;height:42px!important}.egypt-flag-public{display:none!important}
  .left-flank-action-zone{gap:6px!important}.left-flank-action-zone>.pwa-install-button{min-width:44px;padding:8px}.left-flank-action-zone>.pwa-install-button .pwa-install-label{display:none}
  .admission-command-topbar{top:4px;width:calc(100% - 16px);margin:8px auto 12px;padding:8px;border-radius:15px}.admission-command-topbar a,.admission-command-topbar button{min-height:39px;padding:8px 11px;font-size:.8rem}.admission-command-topbar .bar-status{display:none}
  .public-page-admission .admission-premium-shell{width:100%!important}.public-page-admission .admission-hero-banner-premium{border-radius:20px!important}.public-page-admission .premium-hero-content{padding-inline:16px!important}.public-page-admission .global-inquiry-card,.public-page-admission .public-quick-services,.public-page-admission .public-card{border-radius:18px!important;margin-inline:0!important}
  .public-page-admission .form-grid-layout,.public-page-admission .form-responsive-upload-grid{grid-template-columns:1fr!important}.public-page-admission .wizard-stepper{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory;padding-bottom:8px}.public-page-admission .wizard-step-tab{flex:0 0 78%!important;scroll-snap-align:center}.public-page-admission .wizard-navigation{position:sticky;bottom:8px;z-index:70;border-radius:16px;box-shadow:0 14px 35px rgba(8,43,77,.22);background:#fff;padding:10px!important}.public-page-admission .wizard-nav-side{width:100%;display:grid!important;grid-template-columns:1fr 1fr;gap:8px}.public-page-admission .wizard-btn{width:100%;min-height:46px}.public-page-admission input,.public-page-admission select,.public-page-admission textarea{font-size:16px!important}
  .parent-portal-wizard-shell{padding-inline:8px}.parent-head.parent-wizard-hero{grid-template-columns:auto 1fr;padding:18px 15px;gap:12px}.parent-portal-avatar{width:55px;height:55px;border-radius:17px;font-size:1.55rem}.parent-head.parent-wizard-hero .parent-hero-actions{grid-column:1/-1;width:100%;justify-content:stretch}.parent-head.parent-wizard-hero .parent-hero-actions>*{flex:1}.parent-head.parent-wizard-hero .pwa-install-button{min-height:42px}.parent-head.parent-wizard-hero h1{font-size:1.18rem}.parent-head.parent-wizard-hero p{font-size:.82rem}
  .parent-wizard-progress-wrap{border-radius:15px}.portal-tabs.parent-wizard-steps{grid-auto-columns:minmax(150px,72vw)}.parent-portal-stage{padding:11px;border-radius:19px}.parent-portal-stage .live-academic-activity{grid-template-columns:1fr!important}.parent-portal-stage .parent-dashboard-counters-grid,.parent-portal-stage .grid-two{grid-template-columns:1fr!important}.parent-portal-stage .table-wrap{overflow:auto;-webkit-overflow-scrolling:touch}.parent-portal-stage .whatsapp-control-action-bar{align-items:stretch!important;flex-direction:column!important}.parent-portal-stage .btn-whatsapp-dispatch{width:100%}
  .pwa-install-dialog-card{padding:24px 18px}.pwa-install-dialog-actions{display:grid;grid-template-columns:1fr 1fr}.pwa-install-dialog-actions button{width:100%}
}
@media(max-width:430px){
  .public-mobile-nav-toggle b{display:none}.btn-orders-menu-trigger>span:nth-child(2){display:none}.btn-orders-menu-trigger{min-width:43px!important;padding-inline:10px!important}.btn-admin-dropdown-trigger>span:first-child{font-size:0}.btn-admin-dropdown-trigger>span:first-child:before{content:"🔒";font-size:1rem}.btn-admin-dropdown-trigger{min-width:42px!important;padding-inline:10px!important}
  .admission-command-rail{width:calc(100% - 12px);margin:8px 6px}.admission-command-rail a,.admission-command-rail button{flex-basis:62px}.admission-command-rail small{font-size:.61rem}
  .parent-head.parent-wizard-hero{grid-template-columns:1fr;text-align:center}.parent-portal-avatar{margin:auto}.parent-head.parent-wizard-hero .parent-hero-actions{display:grid;grid-template-columns:1fr 1fr}.parent-wizard-progress-meta{font-size:.72rem}.portal-tabs.parent-wizard-steps{grid-auto-columns:78vw}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.entry-star{display:none!important}.parent-portal-stage,.pwa-install-button,.portal-tabs a,.admission-command-topbar a,.admission-command-topbar button{animation:none!important;transition:none!important}}
@media print{.pwa-install-button,.pwa-install-dialog,.pwa-toast,.admission-command-topbar,.admission-command-rail,.parent-wizard-progress-wrap,.portal-tabs.parent-wizard-steps,.parent-portal-entry-celebration{display:none!important}.parent-portal-stage{box-shadow:none;border:0;padding:0}}
.parent-access-install{width:100%;margin-top:10px;min-height:50px}.parent-access-wizard{border-radius:27px!important;overflow:hidden;box-shadow:0 24px 70px rgba(8,43,77,.16)!important}.parent-code-login-form{background:linear-gradient(180deg,#fff,#f5faff)}
@media(max-width:760px){.premium-topbar-actions .pwa-install-button{min-width:42px;padding-inline:9px}.premium-topbar-actions .pwa-install-button .pwa-install-label{display:none}.premium-topbar-actions{gap:6px!important;flex-wrap:wrap}.premium-topbar{align-items:flex-start!important}}


/* 13.3.1 — make the administrative data pane the scroll owner.
   RTL on this dedicated container places its vertical scrollbar on the left edge of the data area in Chromium,
   while the right navigation remains fixed and independently scrollable. */
@media (min-width:901px){
  body.premium-admin-body{height:100vh;overflow:hidden}
  body.premium-admin-body .premium-app-shell{height:100vh;min-height:0;overflow:hidden}
  body.premium-admin-body .premium-main{height:100vh;min-height:0;overflow-y:auto;overflow-x:hidden;direction:rtl;scrollbar-gutter:stable;overscroll-behavior-y:contain}
  body.premium-admin-body .premium-main>.premium-topbar,
  body.premium-admin-body .premium-main>.premium-backbar,
  body.premium-admin-body .premium-main>.premium-content{direction:rtl}
  body.premium-admin-body .premium-main::-webkit-scrollbar{width:13px}
  body.premium-admin-body .premium-main::-webkit-scrollbar-track{background:#edf2f6}
  body.premium-admin-body .premium-main::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#0d6fad,#d2a72e);border:3px solid #edf2f6;border-radius:999px}
}
@media (max-width:900px){
  body.premium-admin-body{height:auto;overflow:auto}
  body.premium-admin-body .premium-app-shell{height:auto;overflow:visible}
  body.premium-admin-body .premium-main{height:auto;min-height:100vh;overflow:visible}
}

/* ===== responsive_admin_remember_fix_13_3_2.css ===== */
/* 13.3.2 — إصلاح شامل لعرض الهاتف، الشريط الجانبي، وخيار تذكر الإدارة */
html,body{max-width:100%;overflow-x:hidden}
*,*::before,*::after{box-sizing:border-box}
.admin-remember-30d-option{display:flex!important;align-items:flex-start!important;gap:10px!important;margin:12px 0 16px!important;padding:12px 14px!important;border:1px solid #cfe0ec!important;border-radius:14px!important;background:#f5faff!important;color:#173d5a!important}
.admin-remember-30d-option input{flex:0 0 auto;width:20px!important;height:20px!important;margin-top:2px!important;accent-color:#0d6fad}
.admin-remember-30d-option span{display:grid;gap:3px}.admin-remember-30d-option b{font-size:14px}.admin-remember-30d-option small{color:#647b8e;font-size:11px;line-height:1.7}
.dropdown-checkbox-group{align-items:flex-start!important}.dropdown-checkbox-group input{width:19px!important;height:19px!important;accent-color:#0d6fad}.dropdown-checkbox-group label{line-height:1.6!important}

/* سطح المكتب: القائمة ثابتة، وكل مجموعة كبيرة تمر داخليًا كي تظهر داخل ارتفاع الشاشة. */
@media (min-width:901px){
  body.premium-admin-body .premium-sidebar.sidebar{height:100dvh!important;min-height:0!important}
  body.premium-admin-body .premium-sidebar .tree-nav{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding-bottom:96px!important}
  body.premium-admin-body .premium-sidebar .nav-group.open>.nav-submenu{max-height:min(52dvh,520px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;scrollbar-width:thin!important}
  body.premium-admin-body .premium-sidebar .nav-group.open>.nav-submenu::-webkit-scrollbar{width:7px}
  body.premium-admin-body .premium-sidebar .nav-group.open>.nav-submenu::-webkit-scrollbar-thumb{background:#b28a28;border-radius:20px}
  body.premium-admin-body .premium-content{min-width:0!important}
  body.premium-admin-body .table-wrap{max-width:100%!important;overflow:auto!important;scrollbar-gutter:stable both-edges}
  body.premium-admin-body .table{width:100%!important}
}

/* الهاتف والتابلت: لا توجد أي مساحة ثابتة أو عناصر خارج الشاشة. */
@media (max-width:900px){
  html,body{width:100%!important;min-width:0!important}
  body.premium-admin-body,body.premium-public-body{overflow-x:hidden!important}
  body.premium-admin-body .premium-app-shell.app{display:block!important;width:100%!important;min-width:0!important;margin:0!important;overflow:visible!important}
  body.premium-admin-body .premium-main.main{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;overflow:visible!important}
  body.premium-admin-body .premium-sidebar.sidebar{position:fixed!important;inset:0 0 0 auto!important;width:min(88vw,340px)!important;height:100dvh!important;z-index:1000!important;transform:translateX(105%)!important;overflow:hidden!important}
  body.premium-admin-body .premium-sidebar.sidebar.mobile-open{transform:translateX(0)!important}
  body.premium-admin-body .premium-sidebar .tree-nav{height:auto!important;min-height:0!important;overflow-y:auto!important;padding-bottom:100px!important}
  body.premium-admin-body .premium-sidebar-overlay{position:fixed!important;inset:0!important;z-index:999!important}
  body.premium-admin-body .premium-topbar.topbar{position:relative!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:9px!important;width:100%!important;min-width:0!important;padding:10px 12px!important}
  body.premium-admin-body .premium-topbar .topbar-title{flex:1 1 220px!important;min-width:0!important}
  body.premium-admin-body .premium-topbar-actions{position:static!important;display:flex!important;flex:1 1 100%!important;width:100%!important;justify-content:flex-start!important;align-items:center!important;gap:7px!important;overflow-x:auto!important;padding-bottom:4px!important}
  body.premium-admin-body .premium-topbar-actions form[action*="page=logout"]{position:static!important;right:auto!important;bottom:auto!important;width:auto!important;flex:0 0 auto!important}
  body.premium-admin-body .premium-topbar-actions form[action*="page=logout"] .btn{width:auto!important;min-height:42px!important;font-size:13px!important;padding-inline:12px!important}
  body.premium-admin-body .premium-backbar{display:flex!important;max-width:100%!important;overflow-x:auto!important;white-space:nowrap!important}
  body.premium-admin-body .premium-content.content{width:100%!important;max-width:100%!important;min-width:0!important;padding:12px 10px 28px!important;overflow:visible!important}
  body.premium-admin-body .card,body.premium-admin-body .page-head,body.premium-admin-body .grid-two,body.premium-admin-body .form-grid{max-width:100%!important;min-width:0!important}
  body.premium-admin-body .grid-two,body.premium-admin-body .form-grid{grid-template-columns:1fr!important}
  body.premium-admin-body .table-wrap{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  body.premium-admin-body table{max-width:none!important}

  body.premium-public-body .world-class-header-navigation,body.premium-public-body .public-main,body.premium-public-body .public-footer{width:100%!important;max-width:100%!important;min-width:0!important}
  body.premium-public-body .header-max-width-container{display:flex!important;flex-wrap:wrap!important;align-items:center!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:8px 10px!important;gap:8px!important}
  body.premium-public-body .school-branding-identity-zone{order:1!important;flex:1 1 calc(100% - 110px)!important;min-width:0!important;max-width:100%!important}
  body.premium-public-body .public-mobile-nav-toggle{order:2!important;flex:0 0 44px!important}
  body.premium-public-body .right-flank-identity-menu-zone{order:3!important;display:flex!important;flex:1 1 auto!important;width:auto!important;min-width:0!important}
  body.premium-public-body .left-flank-action-zone{order:4!important;display:flex!important;flex:0 0 auto!important;min-width:0!important;margin:0!important}
  body.premium-public-body .public-primary-nav{order:5!important;width:100%!important;max-width:100%!important}
  body.premium-public-body .public-main{margin:0 auto!important;padding:12px 8px 28px!important}
  body.premium-public-body .parent-access-wizard,body.premium-public-body .wizard-shell,body.premium-public-body .public-card{width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:auto!important}
  body.premium-public-body .parent-access-hero{display:flex!important;flex-direction:column!important;align-items:stretch!important;padding:18px 15px!important}
  body.premium-public-body .parent-access-flow{grid-template-columns:1fr!important;padding:12px!important}
  body.premium-public-body .parent-code-login-form,body.premium-public-body .dropdown-embedded-form{grid-template-columns:1fr!important}
  body.premium-public-body input,body.premium-public-body select,body.premium-public-body textarea{max-width:100%!important;font-size:16px!important}
  body.premium-public-body .admin-floating-login-card-panel{position:fixed!important;inset:72px 10px auto 10px!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - 84px)!important;overflow-y:auto!important;z-index:2000!important;margin:0!important;transform:none!important}
  body.premium-public-body .admin-floating-login-card-panel .dropdown-panel-arrow{display:none!important}
  body.premium-public-body .orders-floating-panel-card{position:fixed!important;inset:72px 10px auto 10px!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - 84px)!important;overflow-y:auto!important;z-index:1999!important}
}

@media (max-width:480px){
  body.premium-public-body .national-ministry-strip{display:none!important}
  body.premium-public-body .branding-text-mass{display:block!important;min-width:0!important}
  body.premium-public-body .main-school-gov-title{display:block!important;font-size:12px!important;white-space:normal!important;overflow-wrap:anywhere!important}
  body.premium-public-body .sub-gov-authority-text{display:none!important}
  body.premium-public-body .school-emblem-header{width:38px!important;height:38px!important;min-width:38px!important}
  body.premium-public-body .btn-orders-menu-trigger,body.premium-public-body .btn-admin-dropdown-trigger,body.premium-public-body .pwa-install-button{min-width:42px!important;max-width:46px!important;padding-inline:8px!important}
  body.premium-public-body .btn-orders-menu-trigger span:nth-child(2),body.premium-public-body .pwa-install-label{display:none!important}
  body.premium-public-body .parent-access-hero h1{font-size:1.25rem!important}
  body.premium-public-body .parent-access-symbol{width:52px!important;height:52px!important;flex-basis:52px!important}
  body.premium-admin-body .premium-content.content{padding-inline:8px!important}
}

/* ===== public_portal_reference_redesign_2026.css ===== */
/* ========================================================================== 
   Public Portal Reference Redesign — 2026-08-07
   إعادة بناء الواجهة الخارجية وفق التصور المرجعي مع ضبط كامل للموبايل.
   Loaded last on public pages so it intentionally overrides legacy skins.
   ========================================================================== */
:root{
  --rp-navy:#061426;
  --rp-navy-2:#0a2039;
  --rp-navy-3:#102b4c;
  --rp-red:#d80f2f;
  --rp-red-deep:#a70b25;
  --rp-gold:#d7aa45;
  --rp-gold-light:#f6d67c;
  --rp-green:#079c73;
  --rp-green-dark:#06775a;
  --rp-white:#fff;
  --rp-page:#f7f9fc;
  --rp-ink:#0f2138;
  --rp-muted:#748095;
  --rp-line:#e2e8f1;
  --rp-shadow:0 18px 55px rgba(13,31,54,.10);
  --rp-shadow-lg:0 30px 80px rgba(2,14,30,.22);
}
html,body{max-width:100%;overflow-x:hidden}
body.premium-public-body{margin:0!important;background:
  radial-gradient(circle at 4% 18%,rgba(216,15,47,.035),transparent 24%),
  radial-gradient(circle at 95% 62%,rgba(215,170,69,.055),transparent 26%),
  linear-gradient(180deg,#fff 0,#f7f9fc 48%,#fff 100%)!important;color:var(--rp-ink)!important}
body.premium-public-body *{box-sizing:border-box}
body.premium-public-body img{max-width:100%}
body.premium-public-body .public-main{width:100%!important;max-width:none!important;margin:0!important;padding:0 0 56px!important;overflow:visible!important}

/* --------------------------------------------------------------------------
   Header — mirrors the supplied reference: government identity right,
   navigation centered, emblem left, with admin/PWA preserved unobtrusively.
   -------------------------------------------------------------------------- */
body.premium-public-body .reference-public-header{
  position:sticky!important;top:0!important;z-index:500!important;width:100%!important;
  padding:0!important;border:0!important;border-bottom:1px solid rgba(215,170,69,.25)!important;
  background:linear-gradient(180deg,#041120 0%,#07192c 100%)!important;
  box-shadow:0 8px 28px rgba(1,11,24,.2)!important;backdrop-filter:blur(16px)
}
.reference-public-header-inner{
  position:relative;width:min(1440px,calc(100% - 56px));min-height:98px;margin:0 auto;
  display:grid;grid-template-columns:minmax(300px,1fr) auto minmax(250px,1fr);align-items:center;gap:24px;
  direction:rtl
}
.reference-government-identity{grid-column:1;justify-self:start;display:flex;align-items:center;gap:14px;color:#fff!important;text-decoration:none!important;min-width:0}
.reference-government-copy{display:grid;gap:4px;text-align:right;line-height:1.3}
.reference-government-copy strong{font-size:15px!important;color:#fff!important;white-space:nowrap}
.reference-government-copy small{font-size:13px!important;color:#fff!important;white-space:nowrap;opacity:.92}
.reference-government-identity>img{width:64px!important;height:42px!important;object-fit:cover;border-radius:5px;box-shadow:0 7px 18px rgba(0,0,0,.32)}
body.premium-public-body .reference-primary-nav{
  grid-column:2;position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;
  gap:18px!important;padding:0!important;visibility:visible!important;opacity:1!important;transform:none!important;
  background:transparent!important;border:0!important;box-shadow:none!important;pointer-events:auto!important
}
body.premium-public-body .reference-primary-nav a{
  position:relative!important;min-height:54px!important;padding:15px 4px 13px!important;border-radius:0!important;
  color:#fff!important;background:transparent!important;font-size:14px!important;font-weight:800!important;text-decoration:none!important;white-space:nowrap
}
body.premium-public-body .reference-primary-nav a::after{
  content:""!important;position:absolute!important;right:25%!important;left:25%!important;bottom:5px!important;height:3px!important;
  border-radius:99px;background:linear-gradient(90deg,var(--rp-gold),#f0c95e)!important;transform:scaleX(0)!important;transition:.2s ease!important
}
body.premium-public-body .reference-primary-nav a:hover::after,
body.premium-public-body .reference-primary-nav a.is-active::after{transform:scaleX(1)!important}
body.premium-public-body .reference-primary-nav a:hover,
body.premium-public-body .reference-primary-nav a.is-active{color:#fff!important;background:transparent!important}
.reference-header-brand-tools{grid-column:3;justify-self:end;display:flex;align-items:center;gap:10px;direction:ltr}
.reference-ministry-emblem{width:78px;height:78px;display:grid;place-items:center;padding:5px;border:1px solid rgba(215,170,69,.55);border-radius:50%;background:rgba(255,255,255,.03);box-shadow:0 8px 25px rgba(0,0,0,.25);overflow:hidden}
.reference-ministry-emblem img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.22))}
.reference-header-utilities{display:flex;gap:7px;direction:rtl}
body.premium-public-body .reference-header-icon-button{
  width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;display:grid!important;place-items:center!important;
  padding:0!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:11px!important;background:rgba(255,255,255,.06)!important;
  color:#fff!important;box-shadow:none!important;font-size:14px!important;overflow:hidden
}
body.premium-public-body .reference-header-icon-button:hover{background:rgba(255,255,255,.12)!important;transform:translateY(-1px)!important}
body.premium-public-body .reference-header-icon-button .pwa-install-label,
body.premium-public-body .reference-header-icon-button .chevron-icon-arrow{display:none!important}
body.premium-public-body .reference-header-icon-button .pwa-install-icon{font-size:18px!important}
body.premium-public-body .reference-public-header .admin-floating-login-card-panel{top:calc(100% + 12px)!important;left:0!important;right:auto!important;width:min(360px,calc(100vw - 24px))!important;z-index:700!important}
body.premium-public-body .reference-mobile-nav-toggle{display:none!important}

/* back bar: hidden on the landing page, compact elsewhere */
body.public-page-admission .public-back-bar{display:none!important}
body.premium-public-body:not(.public-page-admission) .public-back-bar{margin:0!important;padding:7px max(16px,calc((100% - 1360px)/2))!important;background:#fff!important;border-bottom:1px solid var(--rp-line)!important}

/* --------------------------------------------------------------------------
   Home shell / hero
   -------------------------------------------------------------------------- */
body.public-page-admission .admission-premium-shell{width:100%!important;max-width:none!important;margin:0!important;display:block!important}
body.public-page-admission .admission-command-topbar{display:none!important}
body.public-page-admission .egyptian-masterpiece-hero{
  position:relative!important;width:100%!important;min-height:560px!important;margin:0!important;
  display:grid!important;grid-template-columns:minmax(560px,.94fr) minmax(560px,1.06fr)!important;grid-template-areas:"gallery copy"!important;
  align-items:center!important;gap:54px!important;padding:38px max(58px,calc((100% - 1360px)/2)) 30px!important;
  overflow:hidden!important;border:0!important;border-radius:0!important;color:#fff!important;
  background:
    radial-gradient(circle at 78% 32%,rgba(215,170,69,.10),transparent 28%),
    radial-gradient(circle at 10% 92%,rgba(216,15,47,.26),transparent 28%),
    linear-gradient(115deg,#04111f 0%,#06162a 55%,#071a31 100%)!important;
  box-shadow:none!important;isolation:isolate
}
body.public-page-admission .egyptian-masterpiece-hero::before{
  content:""!important;position:absolute!important;inset:auto -10% -45% -10%!important;height:78%!important;z-index:-2!important;
  border-radius:48% 52% 0 0/45% 48% 0 0!important;
  background:linear-gradient(105deg,rgba(148,8,31,.98),rgba(77,9,30,.9) 48%,rgba(18,22,29,.75))!important;
  transform:rotate(-6deg)!important;opacity:.92!important;pointer-events:none!important
}
body.public-page-admission .egyptian-masterpiece-hero::after{
  content:""!important;position:absolute!important;right:0!important;left:0!important;bottom:0!important;height:1px!important;
  background:rgba(215,170,69,.26)!important;z-index:8!important
}
body.public-page-admission .egypt-hero-flag-canvas{display:none!important}
body.public-page-admission .egyptian-hero-glow{position:absolute!important;left:0!important;bottom:-160px!important;width:420px!important;height:420px!important;opacity:.7!important}
body.public-page-admission .egyptian-hero-copy{grid-area:copy!important;max-width:690px!important;margin:0!important;justify-self:start!important;z-index:5!important;text-align:right!important}
body.public-page-admission .national-authority-line{display:none!important}
body.public-page-admission .hero-badge-row{display:flex!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important;margin:0 0 16px!important}
body.public-page-admission .egyptian-masterpiece-hero .premium-year-pill{
  order:1!important;min-height:48px!important;display:inline-flex!important;align-items:center!important;padding:9px 30px!important;
  border-radius:0 18px 18px 0!important;background:linear-gradient(135deg,var(--rp-red),var(--rp-red-deep))!important;
  font-size:16px!important;font-weight:900!important;box-shadow:none!important
}
body.public-page-admission .egyptian-masterpiece-hero .hero-year-badge{
  order:2!important;min-height:48px!important;display:inline-flex!important;align-items:center!important;padding:8px 22px!important;
  border-radius:18px 0 0 18px!important;background:linear-gradient(135deg,#f2ce6b,var(--rp-gold))!important;color:#111a28!important;font-size:20px!important;font-weight:900!important
}
body.public-page-admission .egyptian-masterpiece-hero .premium-hero-title{
  max-width:680px!important;margin:0 0 14px!important;color:#fff!important;font-size:clamp(48px,4.3vw,70px)!important;line-height:1.2!important;
  letter-spacing:-.8px!important;text-shadow:0 12px 34px rgba(0,0,0,.28)!important
}
body.public-page-admission .egyptian-masterpiece-hero .premium-hero-title em{
  display:block!important;margin-top:4px!important;color:var(--rp-gold-light)!important;font-style:normal!important;font-size:.88em!important
}
body.public-page-admission .egyptian-masterpiece-hero .premium-hero-title em::after{
  right:28%!important;left:58%!important;bottom:-9px!important;height:4px!important;background:var(--rp-red)!important
}
body.public-page-admission .egyptian-masterpiece-hero .premium-hero-subtitle{
  max-width:650px!important;margin:0 0 22px!important;color:#f3f5f8!important;font-size:18px!important;font-weight:700!important;line-height:1.9!important
}
.reference-hero-action-panel{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap;width:100%;max-width:700px}
body.public-page-admission .reference-hero-action-panel .hero-threshold-row{
  flex:1 1 245px!important;min-height:92px!important;display:grid!important;grid-template-columns:auto 1fr!important;grid-template-areas:"icon label" "icon value"!important;
  align-items:center!important;gap:1px 12px!important;margin:0!important;padding:12px 16px!important;
  border:1px solid rgba(215,170,69,.42)!important;border-radius:17px!important;background:rgba(5,20,38,.62)!important;backdrop-filter:blur(8px)
}
body.public-page-admission .reference-hero-action-panel .hero-threshold-row::before{
  content:"★";grid-area:icon;width:66px;height:66px;display:grid;place-items:center;border:2px solid var(--rp-gold);border-radius:50%;
  color:var(--rp-gold);font-size:26px;background:rgba(215,170,69,.08)
}
body.public-page-admission .reference-hero-action-panel .hero-threshold-row>span:first-of-type{grid-area:label;color:#f5f7fb!important;font-size:13px!important;align-self:end}
body.public-page-admission .reference-hero-action-panel .hero-threshold-row>span:last-of-type{grid-area:value;justify-self:start;align-self:end;margin-inline-start:8px;color:#fff!important;font-size:13px!important}
body.public-page-admission .reference-hero-action-panel .admission-dynamic-threshold{
  grid-area:value!important;justify-self:center!important;min-width:auto!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;color:var(--rp-gold-light)!important;font-size:31px!important;font-weight:950!important;line-height:1!important
}
body.public-page-admission .reference-hero-action-panel .premium-hero-actions{
  flex:1 1 320px!important;display:grid!important;grid-template-columns:1.08fr .92fr!important;gap:10px!important;margin:0!important
}
body.public-page-admission .reference-hero-action-panel .coordination-state,
body.public-page-admission .reference-hero-action-panel .premium-hero-link{
  min-height:92px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:12px 16px!important;border-radius:17px!important;
  text-align:center!important;font-size:14px!important;font-weight:900!important;line-height:1.5!important;text-decoration:none!important
}
body.public-page-admission .reference-hero-action-panel .coordination-state.is-open{background:linear-gradient(135deg,#0aad7f,#078c69)!important;border-color:rgba(255,255,255,.28)!important}
body.public-page-admission .reference-hero-action-panel .coordination-state.is-closed{background:linear-gradient(135deg,#b51b36,#8c1027)!important}
body.public-page-admission .reference-hero-action-panel .premium-hero-link{background:rgba(6,22,40,.82)!important;border:1px solid rgba(215,170,69,.58)!important;color:#fff!important;gap:8px!important}
body.public-page-admission .hero-trust-line{display:none!important}

/* combined official portrait panel */
body.public-page-admission .egyptian-hero-gallery{
  grid-area:gallery!important;position:relative!important;justify-self:end!important;width:min(590px,100%)!important;height:420px!important;min-height:420px!important;
  margin:0!important;padding:11px!important;border:3px solid var(--rp-gold)!important;border-radius:44px!important;
  background:linear-gradient(145deg,#f6d47c,#a87321)!important;box-shadow:0 26px 70px rgba(0,0,0,.36)!important;overflow:visible!important;perspective:none!important
}
body.public-page-admission .egyptian-hero-gallery::before{content:"";position:absolute;inset:5px;border:3px solid rgba(255,255,255,.88);border-radius:36px;z-index:8;pointer-events:none}
body.public-page-admission .hero-portrait{
  position:absolute!important;top:11px!important;bottom:11px!important;margin:0!important;border:0!important;border-radius:0!important;background:#151515!important;box-shadow:none!important;transform:none!important;overflow:hidden!important
}
body.public-page-admission .hero-portrait-primary{left:11px!important;right:50%!important;width:auto!important;height:auto!important;border-radius:31px 0 0 31px!important;z-index:2!important}
body.public-page-admission .hero-portrait-secondary{right:11px!important;left:50%!important;width:auto!important;height:auto!important;border-radius:0 31px 31px 0!important;z-index:2!important}
body.public-page-admission .hero-portrait img{width:100%!important;height:100%!important;object-fit:cover!important;transform:none!important;filter:saturate(.98) contrast(1.02)}
body.public-page-admission .hero-portrait-primary img{object-position:center 16%!important}
body.public-page-admission .hero-portrait-secondary img{object-position:center 12%!important}
body.public-page-admission .hero-portrait-primary::before{display:none!important}
body.public-page-admission .hero-portrait-primary figcaption{display:none!important}
body.public-page-admission .hero-gold-seal{
  right:auto!important;left:-22px!important;bottom:-12px!important;width:118px!important;height:118px!important;z-index:12!important;
  display:grid!important;grid-template-columns:40px 1fr!important;align-items:center!important;gap:4px!important;padding:11px!important;
  border:2px solid #fff!important;border-radius:50%!important;background:linear-gradient(145deg,#ffeaa2,#d5a63a)!important;color:#12213a!important;
  box-shadow:0 16px 36px rgba(0,0,0,.28)!important;transform:none!important
}
body.public-page-admission .hero-gold-seal img{width:40px!important;height:40px!important}
body.public-page-admission .hero-gold-seal span{font-size:10px!important;font-weight:950!important;color:#12213a!important}

/* --------------------------------------------------------------------------
   Floating vertical rail
   -------------------------------------------------------------------------- */
body.public-page-admission .admission-command-rail{
  position:fixed!important;right:18px!important;top:220px!important;bottom:auto!important;z-index:210!important;width:92px!important;
  display:flex!important;flex-direction:column!important;gap:6px!important;margin:0!important;padding:12px 9px!important;
  border:1px solid rgba(215,170,69,.42)!important;border-radius:24px!important;background:linear-gradient(180deg,#0a213d,#07182c)!important;
  box-shadow:0 18px 45px rgba(2,18,36,.28)!important;backdrop-filter:blur(12px)!important;overflow:visible!important
}
body.public-page-admission .admission-command-rail>a,
body.public-page-admission .admission-command-rail>button{
  position:relative!important;flex:0 0 auto!important;width:100%!important;min-height:82px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;
  padding:9px 4px!important;border:0!important;border-radius:14px!important;background:transparent!important;color:#fff!important;text-decoration:none!important
}
body.public-page-admission .admission-command-rail>a:first-child{color:var(--rp-red)!important}
body.public-page-admission .admission-command-rail>a:first-child::after{content:"";position:absolute;right:-10px;top:20%;bottom:20%;width:3px;border-radius:99px;background:var(--rp-red)}
body.public-page-admission .admission-command-rail .rail-icon{font-size:27px!important;line-height:1!important;color:inherit!important}
body.public-page-admission .admission-command-rail small{font-size:13px!important;font-weight:900!important;color:inherit!important}
body.public-page-admission .admission-command-rail-progress{display:none!important}

/* --------------------------------------------------------------------------
   Instant search card
   -------------------------------------------------------------------------- */
body.public-page-admission .reference-admission-search{
  width:min(1280px,calc(100% - 56px))!important;max-width:1280px!important;margin:18px auto 0!important;padding:22px 42px 20px!important;
  overflow:visible!important;border:1px solid #e7eaf0!important;border-radius:24px!important;background:#fff!important;box-shadow:var(--rp-shadow)!important
}
body.public-page-admission .reference-admission-search::before{display:none!important}
.reference-section-heading{display:flex;align-items:center;justify-content:center;gap:18px;margin:0 auto 16px;text-align:center}
.reference-section-heading h2{position:relative;margin:0!important;color:var(--rp-ink)!important;font-size:28px!important;font-weight:950!important;line-height:1.4!important}
.reference-section-heading h2::after{content:"";position:absolute;right:43%;left:43%;bottom:-7px;height:3px;border-radius:99px;background:var(--rp-red)}
.reference-heading-dot{position:relative;width:38px;height:1px;background:var(--rp-gold)}
.reference-heading-dot::after{content:"";position:absolute;top:50%;width:7px;height:7px;border-radius:50%;background:var(--rp-gold);transform:translateY(-50%)}
.reference-heading-dot:first-child::after{left:0}.reference-heading-dot:last-child::after{right:0}
.reference-search-form{display:grid!important;grid-template-columns:minmax(0,1fr) 330px!important;gap:14px!important;align-items:stretch!important;margin:0!important}
.reference-search-field{position:relative;display:block!important;margin:0!important}
.reference-search-field>span:not(.reference-search-icon){display:none!important}
.reference-search-icon{position:absolute;right:18px;top:50%;z-index:3;transform:translateY(-50%);color:#788497;font-size:18px}
body.public-page-admission .reference-search-field .admission-premium-search-input{
  width:100%!important;min-height:60px!important;margin:0!important;padding:13px 50px 13px 18px!important;border:1.5px solid #d6dce6!important;border-radius:13px!important;
  background:#fff!important;color:#14243b!important;font-size:15px!important;text-align:right!important;box-shadow:none!important
}
body.public-page-admission .reference-search-field .admission-premium-search-input::placeholder{color:#8b94a4!important}
body.public-page-admission .reference-search-field .admission-premium-search-input:focus{border-color:#aeb8c6!important;box-shadow:0 0 0 4px rgba(16,43,76,.05)!important}
body.public-page-admission .reference-search-button{
  min-height:60px!important;margin:0!important;padding:12px 22px!important;border:0!important;border-radius:13px!important;
  background:linear-gradient(135deg,#e01236,#c80c2b)!important;color:#fff!important;box-shadow:0 12px 24px rgba(216,15,47,.18)!important;
  font-size:16px!important;font-weight:950!important;letter-spacing:0!important
}
.reference-search-assurance{display:flex;justify-content:center;align-items:center;gap:0;margin-top:17px;color:#697588;font-size:11px;font-weight:700;flex-wrap:wrap}
.reference-search-assurance span{display:inline-flex;align-items:center;gap:7px;padding:0 20px;min-height:22px}
.reference-search-assurance span+span{border-right:1px solid #d7dce4}
.reference-search-assurance span::before{content:"✓";width:19px;height:19px;display:grid;place-items:center;border:1px solid #aeb8c7;border-radius:50%;font-size:10px;color:#536174}
body.public-page-admission .premium-search-alert{margin:14px 0 0!important;border-radius:12px!important}

/* --------------------------------------------------------------------------
   Quick services — 4 x 2 landscape cards like the reference
   -------------------------------------------------------------------------- */
body.public-page-admission .public-quick-services{width:min(1280px,calc(100% - 56px))!important;margin:18px auto 0!important;padding:0!important}
body.public-page-admission .quick-services-heading{display:flex!important;justify-content:center!important;align-items:center!important;gap:14px!important;margin:0 0 14px!important;text-align:center!important}
body.public-page-admission .quick-services-heading::before,
body.public-page-admission .quick-services-heading::after{content:"";width:44px;height:1px;background:var(--rp-gold)}
body.public-page-admission .quick-services-heading h2{margin:0!important;color:var(--rp-ink)!important;font-size:27px!important;font-weight:950!important}
body.public-page-admission .quick-services-heading h2::before{display:none!important}
body.public-page-admission .quick-services-heading span{display:none!important}
body.public-page-admission .quick-services-grid{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0!important
}
body.public-page-admission .quick-services-grid a{
  min-height:98px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:15px!important;
  padding:16px 20px!important;border:1px solid #e5e9ef!important;border-radius:17px!important;background:#fff!important;color:var(--rp-ink)!important;
  box-shadow:0 8px 24px rgba(17,38,65,.055)!important;text-decoration:none!important;overflow:hidden!important;transition:.2s ease!important
}
body.public-page-admission .quick-services-grid a::before{content:""!important;position:absolute!important;right:0!important;left:0!important;bottom:0!important;height:3px!important;background:linear-gradient(90deg,var(--rp-red),var(--rp-gold))!important;transform:scaleX(0)!important}
body.public-page-admission .quick-services-grid a::after{display:none!important}
body.public-page-admission .quick-services-grid a:hover{transform:translateY(-4px)!important;border-color:#f0c8d0!important;box-shadow:0 16px 34px rgba(17,38,65,.11)!important}
body.public-page-admission .quick-services-grid a:hover::before{transform:scaleX(1)!important}
body.public-page-admission .quick-services-grid i{
  order:2!important;flex:0 0 50px!important;width:50px!important;height:50px!important;display:grid!important;place-items:center!important;margin:0!important;
  border:1px solid rgba(216,15,47,.14)!important;border-radius:14px!important;background:#fff7f8!important;color:var(--rp-red)!important;
  font-size:24px!important;font-style:normal!important;box-shadow:none!important
}
body.public-page-admission .quick-services-grid b{order:1!important;flex:1!important;text-align:right!important;font-size:14px!important;font-weight:900!important;line-height:1.5!important;color:var(--rp-ink)!important}

/* News section harmonized with the new landing page */
body.public-page-admission .premium-news-carousel-section{width:min(1280px,calc(100% - 56px))!important;margin:26px auto 0!important;padding:26px!important;border:1px solid #e5e9ef!important;border-radius:22px!important;background:#fff!important;box-shadow:var(--rp-shadow)!important}
body.public-page-admission .gallery-section-header{align-items:center!important}
body.public-page-admission .gallery-section-header h2{padding:0!important;color:var(--rp-ink)!important;font-size:27px!important}
body.public-page-admission .gallery-section-header h2::before{display:none!important}
body.public-page-admission .premium-section-kicker{color:var(--rp-red)!important}
body.public-page-admission .premium-gallery-all-link{background:var(--rp-navy-2)!important;color:#fff!important;border-radius:12px!important}

/* Footer */
body.premium-public-body .egyptian-masterpiece-footer{margin:0!important;background:linear-gradient(120deg,#061425,#081a2e 55%,#05111f)!important;border-top:1px solid rgba(215,170,69,.28)!important}

/* --------------------------------------------------------------------------
   Tablet / small laptop
   -------------------------------------------------------------------------- */
@media (max-width:1180px){
  .reference-public-header-inner{width:calc(100% - 28px);grid-template-columns:minmax(260px,1fr) auto minmax(190px,.75fr);gap:12px}
  body.premium-public-body .reference-primary-nav{gap:9px!important}
  body.premium-public-body .reference-primary-nav a{font-size:12px!important;padding-inline:3px!important}
  .reference-ministry-emblem{width:66px;height:66px}
  body.public-page-admission .egyptian-masterpiece-hero{grid-template-columns:minmax(450px,.95fr) minmax(470px,1.05fr)!important;gap:32px!important;padding-inline:34px!important}
  body.public-page-admission .egyptian-hero-gallery{height:370px!important;min-height:370px!important}
  body.public-page-admission .egyptian-masterpiece-hero .premium-hero-title{font-size:clamp(42px,4.6vw,58px)!important}
  body.public-page-admission .reference-hero-action-panel .hero-threshold-row{flex-basis:220px!important}
  body.public-page-admission .reference-hero-action-panel .premium-hero-actions{flex-basis:285px!important}
  body.public-page-admission .quick-services-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

/* --------------------------------------------------------------------------
   Mobile navigation and stacked hero
   -------------------------------------------------------------------------- */
@media (max-width:960px){
  body.premium-public-body{padding-bottom:78px!important}
  body.premium-public-body .reference-public-header{position:sticky!important}
  .reference-public-header-inner{width:100%;min-height:78px;padding:10px 13px;grid-template-columns:46px minmax(0,1fr) auto;gap:10px}
  .reference-government-identity{grid-column:2;justify-self:center;gap:9px;max-width:100%}
  .reference-government-copy strong{font-size:12px!important}.reference-government-copy small{font-size:10px!important}
  .reference-government-identity>img{width:42px!important;height:28px!important}
  .reference-header-brand-tools{grid-column:3;gap:5px}
  .reference-ministry-emblem{width:48px;height:48px}
  .reference-header-utilities{display:none}
  body.premium-public-body .reference-mobile-nav-toggle{grid-column:1;display:flex!important;position:relative!important;width:44px!important;height:44px!important;padding:9px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:11px!important;background:rgba(255,255,255,.06)!important}
  body.premium-public-body .reference-mobile-nav-toggle span{width:20px!important;height:2px!important;background:#fff!important}
  body.premium-public-body .reference-primary-nav{
    position:absolute!important;top:calc(100% + 1px)!important;right:10px!important;left:10px!important;z-index:650!important;
    display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;padding:10px!important;
    visibility:hidden!important;opacity:0!important;transform:translateY(-8px)!important;pointer-events:none!important;
    border:1px solid rgba(215,170,69,.28)!important;border-radius:16px!important;background:#07182b!important;box-shadow:0 22px 48px rgba(0,0,0,.32)!important
  }
  body.premium-public-body .reference-primary-nav.is-open{visibility:visible!important;opacity:1!important;transform:none!important;pointer-events:auto!important}
  body.premium-public-body .reference-primary-nav a{min-height:46px!important;justify-content:center!important;padding:10px!important;border-radius:10px!important;background:rgba(255,255,255,.04)!important;font-size:12px!important}
  body.premium-public-body .reference-primary-nav a::after{right:30%!important;left:30%!important;bottom:4px!important}

  body.public-page-admission .egyptian-masterpiece-hero{
    min-height:0!important;grid-template-columns:1fr!important;grid-template-areas:"copy" "gallery"!important;gap:26px!important;
    padding:34px 22px 46px!important;text-align:center!important
  }
  body.public-page-admission .egyptian-hero-copy{justify-self:center!important;max-width:760px!important;text-align:center!important}
  body.public-page-admission .hero-badge-row{justify-content:center!important}
  body.public-page-admission .egyptian-masterpiece-hero .premium-hero-title{max-width:720px!important;font-size:clamp(38px,8vw,55px)!important}
  body.public-page-admission .egyptian-masterpiece-hero .premium-hero-title em::after{right:42%!important;left:42%!important}
  body.public-page-admission .egyptian-masterpiece-hero .premium-hero-subtitle{margin-inline:auto!important;font-size:16px!important}
  .reference-hero-action-panel{margin-inline:auto;justify-content:center}
  body.public-page-admission .egyptian-hero-gallery{justify-self:center!important;width:min(640px,94%)!important;height:410px!important;min-height:410px!important}
  body.public-page-admission .hero-gold-seal{left:-12px!important}

  body.public-page-admission .admission-command-rail{
    position:fixed!important;right:10px!important;left:10px!important;top:auto!important;bottom:max(8px,env(safe-area-inset-bottom))!important;
    width:auto!important;height:64px!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:5px!important;
    padding:6px!important;border-radius:18px!important;z-index:490!important
  }
  body.public-page-admission .admission-command-rail>a,
  body.public-page-admission .admission-command-rail>button{min-height:50px!important;height:50px!important;flex-direction:row!important;gap:8px!important;padding:7px!important;border-radius:12px!important}
  body.public-page-admission .admission-command-rail>a:first-child::after{display:none!important}
  body.public-page-admission .admission-command-rail .rail-icon{font-size:19px!important}
  body.public-page-admission .admission-command-rail small{font-size:11px!important}
  body.public-page-admission .admission-command-rail button[data-admission-wizard-step],
  body.public-page-admission .admission-command-rail .admission-command-rail-progress{display:none!important}

  body.public-page-admission .reference-admission-search,
  body.public-page-admission .public-quick-services,
  body.public-page-admission .premium-news-carousel-section{width:calc(100% - 28px)!important}
  .reference-search-form{grid-template-columns:1fr 250px!important}
  body.public-page-admission .quick-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* --------------------------------------------------------------------------
   Phones
   -------------------------------------------------------------------------- */
@media (max-width:640px){
  .reference-public-header-inner{min-height:70px;padding:8px 10px;grid-template-columns:42px minmax(0,1fr) 42px;gap:7px}
  .reference-government-copy{gap:1px}.reference-government-copy strong{font-size:10px!important}.reference-government-copy small{font-size:8.5px!important;white-space:normal;text-align:center;line-height:1.35}
  .reference-government-identity{gap:6px}.reference-government-identity>img{width:34px!important;height:23px!important}
  .reference-ministry-emblem{width:42px;height:42px}
  body.premium-public-body .reference-mobile-nav-toggle{width:42px!important;height:42px!important}
  body.premium-public-body .reference-primary-nav{grid-template-columns:1fr!important}

  body.public-page-admission .egyptian-masterpiece-hero{padding:26px 14px 38px!important;gap:21px!important}
  body.public-page-admission .egyptian-masterpiece-hero::before{height:62%!important;bottom:-38%!important}
  body.public-page-admission .egyptian-masterpiece-hero .premium-year-pill{min-height:38px!important;padding:7px 15px!important;font-size:11px!important;border-radius:0 13px 13px 0!important}
  body.public-page-admission .egyptian-masterpiece-hero .hero-year-badge{min-height:38px!important;padding:7px 13px!important;font-size:15px!important;border-radius:13px 0 0 13px!important}
  body.public-page-admission .egyptian-masterpiece-hero .premium-hero-title{font-size:clamp(31px,9vw,43px)!important;line-height:1.28!important;margin-bottom:12px!important}
  body.public-page-admission .egyptian-masterpiece-hero .premium-hero-subtitle{font-size:13px!important;line-height:1.8!important;margin-bottom:16px!important}
  .reference-hero-action-panel{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;width:100%!important}
  body.public-page-admission .reference-hero-action-panel .hero-threshold-row{min-height:78px!important;grid-template-columns:54px 1fr!important;padding:10px 13px!important}
  body.public-page-admission .reference-hero-action-panel .hero-threshold-row::before{width:52px;height:52px;font-size:20px}
  body.public-page-admission .reference-hero-action-panel .admission-dynamic-threshold{font-size:25px!important}
  body.public-page-admission .reference-hero-action-panel .premium-hero-actions{grid-template-columns:1fr 1fr!important}
  body.public-page-admission .reference-hero-action-panel .coordination-state,
  body.public-page-admission .reference-hero-action-panel .premium-hero-link{min-height:58px!important;border-radius:13px!important;padding:10px!important;font-size:11px!important}

  body.public-page-admission .egyptian-hero-gallery{width:100%!important;height:292px!important;min-height:292px!important;padding:8px!important;border-width:2px!important;border-radius:26px!important}
  body.public-page-admission .egyptian-hero-gallery::before{inset:4px;border-width:2px;border-radius:21px}
  body.public-page-admission .hero-portrait{top:8px!important;bottom:8px!important}
  body.public-page-admission .hero-portrait-primary{left:8px!important;right:50%!important;border-radius:19px 0 0 19px!important}
  body.public-page-admission .hero-portrait-secondary{right:8px!important;left:50%!important;border-radius:0 19px 19px 0!important}
  body.public-page-admission .hero-gold-seal{left:-5px!important;bottom:-10px!important;width:80px!important;height:80px!important;grid-template-columns:27px 1fr!important;padding:7px!important}
  body.public-page-admission .hero-gold-seal img{width:27px!important;height:27px!important}.hero-gold-seal span{font-size:7px!important}

  body.public-page-admission .reference-admission-search{width:calc(100% - 20px)!important;margin-top:12px!important;padding:18px 13px 15px!important;border-radius:18px!important}
  .reference-section-heading{gap:9px;margin-bottom:13px}.reference-section-heading h2{font-size:21px!important}.reference-heading-dot{width:20px}
  .reference-search-form{grid-template-columns:1fr!important;gap:9px!important}
  body.public-page-admission .reference-search-field .admission-premium-search-input{min-height:54px!important;padding-right:43px!important;font-size:13px!important}
  body.public-page-admission .reference-search-button{min-height:52px!important;font-size:14px!important}
  .reference-search-assurance{display:grid;grid-template-columns:1fr;gap:5px;margin-top:12px;font-size:9px;text-align:right}
  .reference-search-assurance span{padding:0 4px!important;justify-content:flex-start!important}.reference-search-assurance span+span{border-right:0}

  body.public-page-admission .public-quick-services{width:calc(100% - 20px)!important;margin-top:16px!important}
  body.public-page-admission .quick-services-heading{gap:8px!important;margin-bottom:10px!important}
  body.public-page-admission .quick-services-heading::before,
  body.public-page-admission .quick-services-heading::after{width:24px}
  body.public-page-admission .quick-services-heading h2{font-size:21px!important}
  body.public-page-admission .quick-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body.public-page-admission .quick-services-grid a{min-height:94px!important;flex-direction:column-reverse!important;justify-content:center!important;gap:8px!important;padding:11px 8px!important;border-radius:14px!important;text-align:center!important}
  body.public-page-admission .quick-services-grid i{flex-basis:auto!important;width:42px!important;height:42px!important;font-size:20px!important;border-radius:12px!important}
  body.public-page-admission .quick-services-grid b{text-align:center!important;font-size:10.5px!important;line-height:1.45!important}

  body.public-page-admission .premium-news-carousel-section{width:calc(100% - 20px)!important;margin-top:18px!important;padding:14px!important;border-radius:18px!important}
  body.public-page-admission .gallery-section-header{align-items:flex-start!important;gap:10px!important}.premium-public-body .gallery-section-header h2{font-size:20px!important}.premium-gallery-all-link{font-size:10px!important;padding:8px 10px!important}

  body.public-page-admission .admission-command-rail{right:7px!important;left:7px!important;height:60px!important;border-radius:16px!important}
  body.public-page-admission .admission-command-rail>a,
  body.public-page-admission .admission-command-rail>button{min-height:46px!important;height:46px!important;gap:5px!important}
  body.public-page-admission .admission-command-rail .rail-icon{font-size:17px!important}.admission-command-rail small{font-size:9px!important}
}

@media (max-width:380px){
  .reference-government-copy small{display:none!important}.reference-government-copy strong{font-size:9.5px!important}.reference-government-identity>img{width:31px!important;height:21px!important}
  body.public-page-admission .egyptian-masterpiece-hero .premium-hero-title{font-size:29px!important}
  body.public-page-admission .egyptian-hero-gallery{height:255px!important;min-height:255px!important}
  body.public-page-admission .quick-services-grid{grid-template-columns:1fr!important}
  body.public-page-admission .quick-services-grid a{min-height:76px!important;flex-direction:row!important;justify-content:space-between!important;padding:10px 13px!important}
  body.public-page-admission .quick-services-grid b{text-align:right!important;font-size:11px!important}
}

/* landscape phones: reduce vertical hero footprint without horizontal overflow */
@media (max-height:520px) and (orientation:landscape) and (max-width:960px){
  body.public-page-admission .egyptian-masterpiece-hero{grid-template-columns:1fr 1fr!important;grid-template-areas:"gallery copy"!important;gap:16px!important;padding:22px 18px 28px!important}
  body.public-page-admission .egyptian-hero-copy{text-align:right!important}
  body.public-page-admission .hero-badge-row{justify-content:flex-start!important}
  body.public-page-admission .egyptian-masterpiece-hero .premium-hero-title{font-size:30px!important}
  body.public-page-admission .egyptian-masterpiece-hero .premium-hero-subtitle{font-size:11px!important;margin-bottom:10px!important}
  body.public-page-admission .egyptian-hero-gallery{height:250px!important;min-height:250px!important;width:100%!important}
  body.public-page-admission .reference-hero-action-panel .hero-threshold-row{min-height:60px!important}
  body.public-page-admission .reference-hero-action-panel .coordination-state,
  body.public-page-admission .reference-hero-action-panel .premium-hero-link{min-height:46px!important}
}

@media (prefers-reduced-motion:reduce){
  body.premium-public-body *,body.premium-public-body *::before,body.premium-public-body *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

/* final functional polish */
body.premium-public-body .reference-mobile-admin-link,
body.premium-public-body .reference-mobile-install-button{display:none!important}
body.public-page-admission .egyptian-masterpiece-hero{direction:ltr!important}
body.public-page-admission .egyptian-hero-copy{direction:rtl!important}
body.public-page-admission .egyptian-hero-gallery{direction:rtl!important}
@media (max-width:960px){
  body.premium-public-body .reference-primary-nav .reference-mobile-admin-link,
  body.premium-public-body .reference-primary-nav .reference-mobile-install-button{
    display:flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;
    padding:10px!important;border:0!important;border-radius:10px!important;background:rgba(255,255,255,.055)!important;color:#fff!important;
    font:800 12px var(--em-body,Arial,sans-serif)!important;text-decoration:none!important;cursor:pointer!important
  }
  body.premium-public-body .reference-primary-nav .reference-mobile-install-button{border:1px solid rgba(215,170,69,.28)!important;color:#f5d77c!important}
}


/* ==========================================================================
   13.5.2 — تحسين وضوح التنقل العلوي في الواجهة العامة
   تكبير خطوط روابط الشريط العلوي مع الحفاظ على الاستجابة وعدم التداخل.
   ========================================================================== */
body.premium-public-body .reference-primary-nav{gap:16px!important}
body.premium-public-body .reference-primary-nav a{
  font-size:17px!important;
  font-weight:900!important;
  line-height:1.45!important;
  letter-spacing:0!important;
  padding-inline:5px!important
}
@media (max-width:1180px) and (min-width:961px){
  body.premium-public-body .reference-primary-nav{gap:8px!important}
  body.premium-public-body .reference-primary-nav a{font-size:15px!important;padding-inline:2px!important}
}
@media (max-width:960px){
  body.premium-public-body .reference-primary-nav a{font-size:16px!important;min-height:50px!important}
}

/* ===== public_results_portal_2026.css ===== */
.results-portal-shell{width:min(1180px,calc(100% - 32px));margin:26px auto 70px;direction:rtl;color:#0d2745}.results-hero-card{display:flex;align-items:center;gap:22px;padding:28px 30px;border-radius:28px;background:linear-gradient(135deg,#09294c,#0f4677);color:#fff;box-shadow:0 18px 45px rgba(7,39,73,.18);border:1px solid rgba(255,255,255,.16)}.results-hero-icon{width:76px;height:76px;display:grid;place-items:center;border-radius:22px;background:rgba(255,255,255,.12);font-size:38px;flex:0 0 auto}.results-eyebrow{display:block;font-size:13px;font-weight:800;color:#f5cc69;margin-bottom:6px}.results-hero-card h1{margin:0 0 8px;font-size:clamp(28px,4vw,46px);line-height:1.15;color:#fff}.results-hero-card p{margin:0;max-width:790px;color:#e7eef7;line-height:1.9;font-size:15px}.results-search-card{margin-top:18px;background:#fff;border:1px solid #dfe7f0;border-radius:24px;padding:22px 24px;box-shadow:0 10px 28px rgba(8,38,70,.08)}.results-search-card>label{display:block;font-weight:900;margin-bottom:10px}.results-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.results-search-row input{min-width:0;height:54px;border:1px solid #cbd8e6;border-radius:14px;padding:0 17px;font:inherit;font-weight:700;background:#fbfdff;color:#0d2745;outline:none;transition:.2s}.results-search-row input:focus{border-color:#1e69ad;box-shadow:0 0 0 4px rgba(30,105,173,.12)}.results-search-row button,.result-payment-form button{border:0;border-radius:14px;padding:0 24px;background:#0e5da7;color:#fff;font:inherit;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(14,93,167,.2)}.results-search-row button{min-height:54px}.results-search-card small,.result-payment-form small{display:block;margin-top:9px;color:#62758a;line-height:1.7}.results-message{margin-top:18px;padding:18px 20px;border-radius:18px;display:flex;flex-direction:column;gap:5px}.results-message-error{background:#fff4f4;border:1px solid #f0c8c8;color:#8a2020}.results-match-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:28px 2px 12px}.results-match-heading h2{margin:0;font-size:24px}.results-match-heading span{background:#eaf2fb;border:1px solid #d4e3f3;padding:7px 12px;border-radius:999px;font-weight:800;color:#345a80}.results-matches-grid{display:grid;gap:18px}.result-student-card{background:#fff;border:1px solid #dbe5ef;border-radius:24px;padding:22px;box-shadow:0 10px 30px rgba(7,38,70,.08);overflow:hidden;position:relative}.result-student-card.is-failed{border-color:#edc2c2}.result-student-card.is-unlocked{border-color:#b7dfc5}.result-student-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:16px;border-bottom:1px solid #edf1f5}.result-student-head h3{margin:7px 0 0;font-size:22px;line-height:1.5}.result-status-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#e9f2fb;color:#0b5c9e;font-size:12px;font-weight:900}.is-failed .result-status-badge{background:#fff0f0;color:#a62121}.is-unlocked .result-status-badge{background:#eaf8ef;color:#187340}.result-lock-icon{font-size:28px}.result-identity-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.result-identity-grid>div{background:#f7f9fc;border:1px solid #e8edf3;border-radius:14px;padding:12px}.result-identity-grid small{display:block;color:#728398;margin-bottom:4px}.result-identity-grid b{display:block;font-size:15px}.result-review-school{margin-top:18px;background:#fff3f0;border:1px solid #efc5bd;color:#7d281e;border-radius:18px;padding:18px;display:flex;align-items:center;gap:15px}.result-review-school>span{font-size:30px}.result-review-school strong{font-size:21px}.result-review-school p{margin:4px 0 0;color:#8d5048}.result-locked-copy{margin-top:18px;background:#f7fbff;border:1px dashed #b8d0e6;border-radius:17px;padding:16px 18px}.result-locked-copy strong{display:block;margin-bottom:5px}.result-locked-copy p{margin:0;color:#5e7388;line-height:1.75}.result-payment-form{margin-top:14px;padding:17px;background:#f8fafc;border-radius:18px;border:1px solid #e2e9f0}.result-payment-form label{display:block;font-weight:900;margin-bottom:8px}.result-payment-form input{width:100%;height:50px;border:1px solid #cad6e2;border-radius:13px;padding:0 15px;font:inherit;direction:ltr;text-align:left;box-sizing:border-box}.result-payment-form button{min-height:50px;margin-top:13px;width:100%}.result-payment-pending{margin-top:14px;padding:16px 18px;border-radius:16px;background:#fff9e9;border:1px solid #efdda7;color:#745b16;display:flex;flex-direction:column;gap:5px}.result-unlocked-panel{margin-top:18px}.result-final-status,.result-total-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:16px;padding:14px 17px}.result-final-status{background:#eaf8ef;border:1px solid #c4e6d0;color:#146735}.result-final-status strong{font-size:20px}.result-stream-chip{display:inline-flex;margin-top:10px;padding:7px 11px;border-radius:999px;background:#eef3f8;color:#365a7d;font-weight:800}.result-subjects-table{margin-top:14px;border:1px solid #e0e7ee;border-radius:16px;overflow:hidden}.result-subject-row{display:grid;grid-template-columns:minmax(0,1fr) 110px;align-items:center;min-height:48px;padding:0 16px;background:#fff}.result-subject-row:nth-child(even){background:#f8fafc}.result-subject-row+ .result-subject-row{border-top:1px solid #edf1f5}.result-subject-row b{text-align:center;font-size:17px;color:#0b4d86}.result-total-row{margin-top:12px;background:#0b3159;color:#fff}.result-total-row strong{font-size:24px}.result-payment-return-shell{display:grid;place-items:center;min-height:55vh}.payment-return-card{width:min(620px,100%);text-align:center;padding:38px 26px;background:#fff;border:1px solid #dbe5ef;border-radius:28px;box-shadow:0 18px 46px rgba(7,38,70,.12)}.payment-return-symbol{font-size:60px;margin-bottom:8px}.payment-return-card h1{margin:0 0 12px;font-size:30px}.payment-return-card p{margin:0 auto 20px;color:#64778b;line-height:1.85;max-width:500px}.payment-return-button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;padding:0 22px;border-radius:13px;background:#0e5da7;color:#fff!important;text-decoration:none;font-weight:900}.payment-return-button.secondary{background:#eef3f8;color:#244d72!important}.payment-return-loader{display:flex;justify-content:center;gap:7px;margin:18px}.payment-return-loader i{width:9px;height:9px;border-radius:50%;background:#0e5da7;animation:resultPulse 1.1s infinite ease-in-out}.payment-return-loader i:nth-child(2){animation-delay:.15s}.payment-return-loader i:nth-child(3){animation-delay:.3s}@keyframes resultPulse{0%,80%,100%{transform:scale(.7);opacity:.4}40%{transform:scale(1);opacity:1}}@media(max-width:760px){.results-portal-shell{width:min(100% - 18px,1180px);margin-top:14px}.results-hero-card{padding:22px 18px;border-radius:22px;align-items:flex-start}.results-hero-icon{width:58px;height:58px;border-radius:16px;font-size:29px}.results-hero-card p{font-size:13px}.results-search-card{padding:16px;border-radius:19px}.results-search-row{grid-template-columns:1fr}.result-student-card{padding:16px;border-radius:20px}.result-student-head h3{font-size:18px}.result-identity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.result-subject-row{grid-template-columns:minmax(0,1fr) 78px;padding:0 12px}.results-match-heading{margin-top:20px}.results-match-heading h2{font-size:20px}}@media(max-width:430px){.results-hero-card{display:block}.results-hero-icon{margin-bottom:12px}.result-identity-grid{grid-template-columns:1fr 1fr}.result-student-head{gap:8px}.result-lock-icon{font-size:23px}.result-payment-form{padding:14px}.payment-return-card{padding:28px 16px}}

/* ===== public_portal_exact_reference_2026.css ===== */
/* ========================================================================== 
   Exact Egyptian Reference Front Portal — 2026-08-13
   Final visual layer matching the approved homepage mockup while preserving
   all existing routes, forms, IDs and backend behavior.
   ========================================================================== */
:root{
  --ex-navy:#071A2E;
  --ex-navy-2:#0D2F4F;
  --ex-navy-3:#0a2440;
  --ex-red:#CE1126;
  --ex-red-2:#e21435;
  --ex-gold:#D9A62E;
  --ex-gold-soft:#f1cb62;
  --ex-white:#FFFFFF;
  --ex-page:#F4F7FA;
  --ex-ink:#071A2E;
  --ex-muted:#6f7e90;
  --ex-line:#dde4ec;
  --ex-shadow:0 10px 26px rgba(7,26,46,.08);
}
html{scroll-behavior:smooth}
body.premium-public-body{
  margin:0!important;
  background:linear-gradient(180deg,#fff 0%,#f6f8fb 48%,#fff 100%)!important;
  color:var(--ex-ink)!important;
  font-family:var(--school-arabic-font),Arial,sans-serif!important;
}
body.premium-public-body .public-main{padding:0!important;min-height:calc(100vh - 220px)!important}
body.premium-public-body a{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease,color .18s ease}

/* ========================= NATIONAL HEADER ========================= */
body.premium-public-body .reference-public-header{
  height:76px!important;
  min-height:76px!important;
  position:sticky!important;
  top:0!important;
  z-index:800!important;
  border:0!important;
  border-bottom:1px solid rgba(217,166,46,.25)!important;
  background:linear-gradient(180deg,#061729 0%,#071A2E 100%)!important;
  box-shadow:0 5px 20px rgba(0,0,0,.17)!important;
}
.reference-public-header-inner{
  width:min(1380px,calc(100% - 36px))!important;
  min-height:76px!important;
  height:76px!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:minmax(300px,1fr) auto minmax(300px,1fr)!important;
  align-items:center!important;
  gap:18px!important;
  direction:rtl!important;
}
.reference-government-identity{
  grid-column:1!important;
  justify-self:start!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  text-decoration:none!important;
}
.reference-government-identity>img{
  order:-1!important;
  width:62px!important;
  height:40px!important;
  border-radius:4px!important;
  box-shadow:0 4px 12px rgba(0,0,0,.24)!important;
}
.reference-government-copy{gap:2px!important}
.reference-government-copy strong{font-size:14px!important;font-weight:900!important;color:#fff!important}
.reference-government-copy small{font-size:11px!important;color:#e7edf4!important;opacity:.95!important}
body.premium-public-body .reference-primary-nav{
  grid-column:2!important;
  gap:20px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.premium-public-body .reference-primary-nav a{
  min-height:45px!important;
  padding:14px 2px 11px!important;
  color:#fff!important;
  background:transparent!important;
  font-size:13px!important;
  font-weight:900!important;
  border-radius:0!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
body.premium-public-body .reference-primary-nav a::after{
  right:24%!important;left:24%!important;bottom:3px!important;height:3px!important;
  background:var(--ex-gold)!important;
}
.reference-header-brand-tools{
  grid-column:3!important;
  justify-self:end!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  direction:ltr!important;
}
.reference-school-brand{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  text-decoration:none!important;
  color:#fff!important;
}
.reference-school-copy{display:grid!important;gap:2px!important;text-align:right!important;direction:rtl!important;line-height:1.35!important}
.reference-school-copy strong{font-size:12px!important;color:#fff!important;font-weight:900!important;white-space:nowrap!important}
.reference-school-copy small{font-size:11px!important;color:#eef2f7!important;font-weight:700!important;white-space:nowrap!important}
.reference-ministry-emblem{
  width:56px!important;height:56px!important;min-width:56px!important;
  padding:3px!important;border:2px solid rgba(217,166,46,.88)!important;
  background:#081c31!important;border-radius:50%!important;box-shadow:0 4px 16px rgba(0,0,0,.22)!important;
}
.reference-ministry-emblem img{width:100%!important;height:100%!important;object-fit:contain!important}
.reference-header-utilities{gap:5px!important}
body.premium-public-body .reference-header-icon-button{
  width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;
  border-radius:8px!important;font-size:12px!important;background:rgba(255,255,255,.04)!important;
  border-color:rgba(255,255,255,.10)!important;
}
body.premium-public-body .reference-public-header .admin-floating-login-card-panel{top:50px!important}
body.public-page-admission .public-back-bar{display:none!important}

/* ========================= HOMEPAGE HERO ========================= */
body.public-page-admission .admission-premium-shell{width:100%!important;margin:0!important;max-width:none!important;background:transparent!important}
body.public-page-admission .admission-command-topbar{display:none!important}
body.public-page-admission .egyptian-masterpiece-hero{
  width:100%!important;
  min-height:305px!important;
  height:auto!important;
  margin:0!important;
  padding:20px max(72px,calc((100% - 1320px)/2)) 20px!important;
  display:grid!important;
  grid-template-columns:minmax(470px,.92fr) minmax(540px,1.08fr)!important;
  grid-template-areas:"gallery copy"!important;
  gap:72px!important;
  align-items:center!important;
  color:#fff!important;
  border-radius:0!important;border:0!important;box-shadow:none!important;
  overflow:hidden!important;
  isolation:isolate!important;
  background:
    radial-gradient(circle at 82% 26%,rgba(217,166,46,.11),transparent 25%),
    linear-gradient(110deg,#061629 0%,#071A2E 47%,#0D2F4F 100%)!important;
}
body.public-page-admission .egyptian-masterpiece-hero::before{
  content:""!important;position:absolute!important;z-index:-2!important;
  left:-7%!important;right:-7%!important;bottom:-68px!important;height:145px!important;
  border-radius:50% 45% 0 0/42% 38% 0 0!important;
  transform:rotate(-2deg)!important;
  background:linear-gradient(90deg,rgba(206,17,38,.95),rgba(125,13,35,.73) 46%,rgba(7,26,46,.2))!important;
  opacity:.94!important;
}
body.public-page-admission .egyptian-masterpiece-hero::after{
  content:""!important;position:absolute!important;z-index:-1!important;
  left:-4%!important;right:-4%!important;bottom:0!important;height:48px!important;
  background:
    linear-gradient(176deg,transparent 0 44%,rgba(255,255,255,.95) 45% 49%,transparent 50%),
    linear-gradient(177deg,transparent 0 58%,rgba(0,0,0,.48) 59% 63%,transparent 64%)!important;
  opacity:.9!important;
}
body.public-page-admission .egypt-hero-flag-canvas{display:block!important;position:absolute!important;inset:0!important;z-index:-3!important;overflow:hidden!important;opacity:.12!important}
body.public-page-admission .egypt-hero-flag-canvas .flag-band{display:none!important}
body.public-page-admission .hero-watermark-emblem{position:absolute!important;right:44%!important;bottom:15px!important;width:46px!important;height:46px!important;opacity:.12!important}
body.public-page-admission .egyptian-hero-glow{left:5%!important;bottom:-90px!important;width:350px!important;height:350px!important;opacity:.42!important}

body.public-page-admission .egyptian-hero-copy{
  grid-area:copy!important;
  align-self:center!important;
  justify-self:start!important;
  width:100%!important;max-width:630px!important;
  text-align:right!important;
  margin:0!important;
  z-index:5!important;
}
body.public-page-admission .hero-badge-row{margin:0 0 10px!important;justify-content:flex-start!important;display:flex!important;gap:0!important}
body.public-page-admission .egyptian-masterpiece-hero .premium-year-pill{
  order:1!important;min-height:34px!important;height:34px!important;padding:6px 20px!important;
  border-radius:0 10px 10px 0!important;background:linear-gradient(135deg,#db1432,var(--ex-red))!important;
  color:#fff!important;font-size:12px!important;font-weight:900!important;
}
body.public-page-admission .egyptian-masterpiece-hero .hero-year-badge{
  order:2!important;min-height:34px!important;height:34px!important;padding:5px 18px!important;
  border-radius:10px 0 0 10px!important;background:linear-gradient(135deg,#f3ce62,var(--ex-gold))!important;
  color:#071A2E!important;font-size:17px!important;font-weight:950!important;
}
body.public-page-admission .egyptian-masterpiece-hero .premium-hero-title{
  margin:0 0 6px!important;max-width:610px!important;
  color:#fff!important;font-size:clamp(34px,3.2vw,48px)!important;line-height:1.18!important;
  letter-spacing:-.4px!important;text-shadow:0 6px 18px rgba(0,0,0,.18)!important;
}
body.public-page-admission .egyptian-masterpiece-hero .premium-hero-title em{
  display:block!important;margin-top:2px!important;color:var(--ex-gold-soft)!important;font-style:normal!important;font-size:.9em!important;
}
body.public-page-admission .egyptian-masterpiece-hero .premium-hero-title em::after{display:none!important}
body.public-page-admission .egyptian-masterpiece-hero .premium-hero-subtitle{
  margin:0 0 9px!important;max-width:600px!important;color:#f2f6fb!important;
  font-size:12px!important;font-weight:750!important;line-height:1.55!important;
}
.reference-hero-action-panel{width:100%!important;max-width:600px!important;display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
body.public-page-admission .reference-hero-action-panel .hero-threshold-row{
  width:100%!important;min-height:58px!important;height:58px!important;margin:0!important;padding:6px 15px!important;
  display:grid!important;grid-template-columns:46px 1fr auto!important;grid-template-areas:"icon label value"!important;
  align-items:center!important;gap:10px!important;
  border:1px solid rgba(217,166,46,.65)!important;border-radius:12px!important;background:rgba(4,20,38,.72)!important;backdrop-filter:blur(8px)!important;
}
body.public-page-admission .reference-hero-action-panel .hero-threshold-row::before{
  content:"▥"!important;grid-area:icon!important;width:40px!important;height:40px!important;
  display:grid!important;place-items:center!important;border:1px solid rgba(217,166,46,.35)!important;border-radius:7px!important;
  color:var(--ex-gold-soft)!important;font-size:22px!important;background:rgba(255,255,255,.02)!important;
}
body.public-page-admission .reference-hero-action-panel .hero-threshold-row>span:first-of-type{
  grid-area:label!important;align-self:center!important;color:#fff!important;font-size:11px!important;font-weight:900!important;
}
body.public-page-admission .reference-hero-action-panel .admission-dynamic-threshold{
  grid-area:value!important;justify-self:end!important;align-self:center!important;color:var(--ex-gold-soft)!important;
  font-size:28px!important;line-height:1!important;font-weight:950!important;
}
body.public-page-admission .reference-hero-action-panel .hero-threshold-row>span:last-of-type{
  grid-area:value!important;justify-self:end!important;align-self:end!important;margin:0 47px 1px 0!important;color:#fff!important;font-size:10px!important;
}
body.public-page-admission .reference-hero-action-panel .premium-hero-actions{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:0!important;
}
body.public-page-admission .reference-hero-action-panel .premium-hero-link,
body.public-page-admission .reference-hero-action-panel .coordination-state{
  min-height:42px!important;height:42px!important;padding:8px 14px!important;border-radius:10px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  text-decoration:none!important;font-size:12px!important;font-weight:900!important;line-height:1!important;
}
body.public-page-admission .reference-hero-action-panel .premium-hero-link{
  order:1!important;color:#fff!important;background:rgba(5,24,43,.74)!important;border:1px solid rgba(217,166,46,.72)!important;
}
body.public-page-admission .reference-hero-action-panel .coordination-state{
  order:2!important;color:#fff!important;background:linear-gradient(135deg,#e21536,#ce1126)!important;border:1px solid rgba(255,255,255,.12)!important;
}
body.public-page-admission .reference-hero-action-panel .coordination-state.is-closed{background:linear-gradient(135deg,#787f88,#5f6771)!important}
body.public-page-admission .reference-hero-action-panel .coordination-state i{font-style:normal!important;font-size:14px!important;transform:rotate(180deg)!important}
body.public-page-admission .hero-trust-line{display:none!important}

/* Official image block */
body.public-page-admission .egyptian-hero-gallery{
  grid-area:gallery!important;justify-self:end!important;align-self:center!important;
  width:min(500px,100%)!important;height:245px!important;min-height:245px!important;margin:0!important;padding:8px!important;
  border:4px solid var(--ex-gold)!important;border-radius:27px!important;background:linear-gradient(145deg,#f2cb62,#a87820)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.33),0 0 22px rgba(217,166,46,.14)!important;overflow:visible!important;
}
body.public-page-admission .egyptian-hero-gallery::before{inset:4px!important;border:2px solid rgba(255,255,255,.85)!important;border-radius:21px!important}
body.public-page-admission .hero-portrait{top:8px!important;bottom:8px!important;background:#d4c8b5!important}
body.public-page-admission .hero-portrait-primary{left:8px!important;right:50%!important;border-radius:18px 0 0 18px!important}
body.public-page-admission .hero-portrait-secondary{right:8px!important;left:50%!important;border-radius:0 18px 18px 0!important}
body.public-page-admission .hero-portrait img{object-fit:cover!important;filter:saturate(.98) contrast(1.02)!important}
body.public-page-admission .hero-portrait-primary img{object-position:center 25%!important}
body.public-page-admission .hero-portrait-secondary img{object-position:center 18%!important}
body.public-page-admission .hero-gold-seal{
  left:-20px!important;bottom:-14px!important;width:90px!important;height:90px!important;padding:8px!important;
  grid-template-columns:30px 1fr!important;border-width:2px!important;box-shadow:0 9px 24px rgba(0,0,0,.24)!important;
}
body.public-page-admission .hero-gold-seal img{width:30px!important;height:30px!important}
body.public-page-admission .hero-gold-seal span{font-size:8px!important;line-height:1.4!important}

/* ========================= EGYPT DIVIDER ========================= */
.egypt-reference-divider{
  position:relative!important;width:100%!important;height:11px!important;display:grid!important;grid-template-rows:3px 3px 3px!important;overflow:visible!important;background:#fff!important;
}
.egypt-reference-divider>i:nth-child(1){background:var(--ex-red)!important}
.egypt-reference-divider>i:nth-child(2){background:#fff!important}
.egypt-reference-divider>i:nth-child(3){background:#161616!important}
.egypt-reference-divider>span{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:28px!important;height:28px!important;display:grid!important;place-items:center!important;background:#fff!important;border-radius:50%!important;z-index:2!important}
.egypt-reference-divider img{width:18px!important;height:18px!important;opacity:.65!important}

/* ========================= FLOATING RAIL ========================= */
body.public-page-admission .admission-command-rail{
  position:fixed!important;right:18px!important;top:164px!important;z-index:520!important;width:66px!important;
  padding:7px 5px!important;gap:2px!important;border:1px solid rgba(217,166,46,.44)!important;border-radius:18px!important;
  background:linear-gradient(180deg,#0a2745,#071A2E)!important;box-shadow:0 10px 25px rgba(0,0,0,.24)!important;
}
body.public-page-admission .admission-command-rail>a,
body.public-page-admission .admission-command-rail>button{
  min-height:60px!important;height:60px!important;padding:6px 2px!important;gap:4px!important;border-radius:11px!important;
}
body.public-page-admission .admission-command-rail .rail-icon{font-size:20px!important}
body.public-page-admission .admission-command-rail small{font-size:9px!important;font-weight:900!important}
body.public-page-admission .admission-command-rail>a:first-child::after{right:-6px!important;width:2px!important}
body.public-page-admission .admission-command-rail button[data-admission-wizard-step],
body.public-page-admission .admission-command-rail .admission-command-rail-progress{display:none!important}

/* ========================= SEARCH CARD ========================= */
body.public-page-admission .reference-admission-search{
  width:min(1280px,calc(100% - 64px))!important;max-width:1280px!important;
  margin:14px auto 0!important;padding:14px 24px!important;
  display:grid!important;grid-template-columns:280px minmax(0,1fr)!important;grid-template-areas:"heading form" "heading assurance" "alert alert"!important;
  column-gap:20px!important;row-gap:6px!important;align-items:center!important;
  border:1px solid #e1e6ed!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 22px rgba(7,26,46,.06)!important;
}
body.public-page-admission .reference-search-heading{grid-area:heading!important;margin:0!important;gap:12px!important;align-self:center!important}
body.public-page-admission .reference-search-heading h2{font-size:25px!important;line-height:1.45!important;font-weight:650!important;color:var(--ex-ink)!important}
body.public-page-admission .reference-search-heading h2 strong{font-size:1.16em!important;font-weight:950!important}
body.public-page-admission .reference-search-heading h2::after{right:38%!important;left:38%!important;bottom:-5px!important;height:2px!important}
.reference-heading-dot{width:25px!important;background:var(--ex-gold)!important}
.reference-heading-dot::after{width:6px!important;height:6px!important}
.reference-search-form{
  grid-area:form!important;display:grid!important;grid-template-columns:minmax(0,1fr) 260px!important;gap:10px!important;align-items:center!important;margin:0!important;
}
body.public-page-admission .reference-search-field .admission-premium-search-input{
  min-height:50px!important;height:50px!important;padding:9px 46px 9px 15px!important;border:1.5px solid #d8dfe8!important;border-radius:10px!important;
  font-size:13px!important;box-shadow:0 0 0 4px rgba(206,17,38,.05)!important;
}
.reference-search-icon{right:16px!important;font-size:17px!important}
body.public-page-admission .reference-search-button{
  min-height:50px!important;height:50px!important;border-radius:10px!important;font-size:13px!important;padding:10px 18px!important;background:linear-gradient(135deg,#e11434,var(--ex-red))!important;box-shadow:0 8px 18px rgba(206,17,38,.15)!important;
}
.reference-search-assurance{grid-area:assurance!important;justify-content:flex-start!important;margin:2px 0 0!important;font-size:9px!important;gap:0!important}
.reference-search-assurance span{padding:0 16px!important;min-height:18px!important}
.reference-search-assurance span:first-child{padding-right:0!important}
.reference-search-assurance span::before{width:16px!important;height:16px!important;font-size:8px!important}
.reference-search-assurance span+span{border-right:1px solid #d9e0e8!important}
body.public-page-admission .premium-search-alert{grid-area:alert!important;margin:5px 0 0!important;font-size:12px!important}

/* ========================= SERVICES ========================= */
body.public-page-admission .public-quick-services{width:min(1280px,calc(100% - 64px))!important;margin:10px auto 0!important;padding:0!important}
body.public-page-admission .quick-services-heading{margin:0 0 8px!important;gap:10px!important}
body.public-page-admission .quick-services-heading::before,
body.public-page-admission .quick-services-heading::after{width:36px!important;background:var(--ex-gold)!important}
body.public-page-admission .quick-services-heading h2{font-size:21px!important;font-weight:950!important;color:var(--ex-ink)!important}
body.public-page-admission .quick-services-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px 12px!important}
body.public-page-admission .quick-services-grid a{
  position:relative!important;min-height:62px!important;height:62px!important;padding:8px 10px!important;
  display:grid!important;grid-template-columns:38px 1fr 15px!important;align-items:center!important;gap:9px!important;
  border:1px solid #dfe5ec!important;border-radius:10px!important;background:#fff!important;color:var(--ex-ink)!important;
  box-shadow:0 4px 13px rgba(7,26,46,.045)!important;overflow:hidden!important;
}
body.public-page-admission .quick-services-grid a::before{height:2px!important;background:linear-gradient(90deg,var(--ex-red),var(--ex-gold))!important}
body.public-page-admission .quick-services-grid i{
  order:initial!important;width:36px!important;height:36px!important;min-width:36px!important;display:grid!important;place-items:center!important;
  margin:0!important;border-radius:50%!important;border:0!important;background:var(--ex-red)!important;color:#fff!important;font-size:17px!important;
}
body.public-page-admission .quick-services-grid a:nth-child(even) i{background:var(--ex-navy-2)!important}
body.public-page-admission .quick-services-grid a>span{min-width:0!important;display:grid!important;gap:1px!important;text-align:right!important}
body.public-page-admission .quick-services-grid b{font-size:11px!important;line-height:1.25!important;font-weight:950!important;color:var(--ex-ink)!important}
body.public-page-admission .quick-services-grid small{font-size:8px!important;line-height:1.35!important;color:#778496!important;font-weight:600!important;white-space:normal!important}
body.public-page-admission .quick-services-grid em{font-style:normal!important;font-size:20px!important;color:#10283f!important;text-align:left!important}
body.public-page-admission .quick-services-grid a:hover{transform:translateY(-4px)!important;box-shadow:0 10px 24px rgba(7,26,46,.11)!important;border-color:#e8bdc5!important}

/* ========================= NEWS ========================= */
.reference-news-section{
  width:min(1280px,calc(100% - 64px))!important;margin:10px auto 0!important;padding:0!important;
}
.reference-news-heading{display:flex!important;align-items:end!important;justify-content:space-between!important;gap:20px!important;margin-bottom:8px!important}
.reference-news-heading>div{text-align:right!important}
.reference-news-heading span{display:block!important;margin-bottom:2px!important;color:var(--ex-red)!important;font-size:9px!important;font-weight:900!important}
.reference-news-heading h2{margin:0!important;color:var(--ex-ink)!important;font-size:21px!important;font-weight:950!important}
.reference-news-heading p{margin:3px 0 0!important;color:#7a8798!important;font-size:9px!important;line-height:1.5!important}
.reference-news-heading>a{padding:8px 14px!important;border-radius:8px!important;background:var(--ex-navy)!important;color:#fff!important;text-decoration:none!important;font-size:10px!important;font-weight:900!important}
.reference-news-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.reference-news-card{
  min-height:110px!important;display:grid!important;grid-template-columns:36% 1fr!important;direction:rtl!important;
  border:1px solid #dfe5ec!important;border-radius:12px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 4px 14px rgba(7,26,46,.045)!important;
}
.reference-news-image{display:block!important;min-height:110px!important;overflow:hidden!important;background:#eef2f6!important}
.reference-news-image img{width:100%!important;height:100%!important;min-height:110px!important;object-fit:cover!important;display:block!important}
.reference-news-copy{padding:9px 11px!important;display:flex!important;flex-direction:column!important;min-width:0!important}
.reference-news-meta{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;color:#7e8998!important;font-size:8px!important}
.reference-news-meta span{color:var(--ex-red)!important;font-weight:800!important}
.reference-news-copy h3{margin:4px 0 3px!important;font-size:11px!important;line-height:1.4!important;color:var(--ex-ink)!important;font-weight:950!important}
.reference-news-copy p{margin:0!important;font-size:8px!important;line-height:1.55!important;color:#69778a!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.reference-news-more{margin-top:auto!important;padding-top:4px!important;color:var(--ex-red)!important;text-decoration:none!important;font-size:8px!important;font-weight:900!important}

/* ========================= COORDINATION STEPS ========================= */
.reference-coordination-steps{width:min(1280px,calc(100% - 64px))!important;margin:9px auto 0!important}
.reference-coordination-steps .quick-services-heading{margin-bottom:7px!important}
.reference-coordination-steps .quick-services-heading h2{font-size:19px!important}
.reference-steps-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:36px!important;direction:rtl!important}
.reference-step{
  position:relative!important;min-height:50px!important;display:grid!important;grid-template-columns:34px 34px 1fr!important;align-items:center!important;gap:7px!important;
  padding:7px 10px!important;border:1px solid #dfe5ec!important;border-radius:11px!important;background:#fff!important;box-shadow:0 3px 12px rgba(7,26,46,.035)!important;
}
.reference-step:not(:last-child)::after{content:"····➤"!important;position:absolute!important;left:-35px!important;top:50%!important;transform:translateY(-50%) rotate(180deg)!important;color:#647489!important;font-size:12px!important;letter-spacing:1px!important}
.reference-step .step-number{width:21px!important;height:21px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:var(--ex-navy-2)!important;color:#fff!important;font-size:9px!important;font-weight:950!important;position:absolute!important;right:3px!important;top:3px!important;border:2px solid #fff!important}
.reference-step i{width:32px!important;height:32px!important;display:grid!important;place-items:center!important;border:1.5px solid var(--ex-gold)!important;border-radius:50%!important;color:var(--ex-navy-2)!important;font-style:normal!important;font-size:15px!important;background:#fff!important}
.reference-step b{font-size:10px!important;line-height:1.35!important;color:var(--ex-ink)!important;font-weight:900!important}

/* ========================= STATS ========================= */
.reference-statistics-strip{
  width:100%!important;margin:10px 0 0!important;padding:10px max(80px,calc((100% - 1280px)/2))!important;
  display:grid!important;grid-template-columns:repeat(4,1fr)!important;align-items:center!important;
  color:#fff!important;background:linear-gradient(100deg,#06182b,#0a2c4d 50%,#071A2E)!important;border-top:1px solid rgba(217,166,46,.3)!important;
}
.reference-statistics-strip>div{min-height:47px!important;display:grid!important;grid-template-columns:42px 1fr auto!important;grid-template-areas:"icon label value" "icon label sub"!important;align-items:center!important;gap:0 9px!important;padding:0 18px!important;border-left:1px solid rgba(255,255,255,.22)!important}
.reference-statistics-strip>div:last-child{border-left:0!important}
.reference-statistics-strip i{grid-area:icon!important;color:var(--ex-gold-soft)!important;font-style:normal!important;font-size:25px!important}
.reference-statistics-strip span{grid-area:label!important;font-size:9px!important;color:#fff!important;font-weight:800!important}
.reference-statistics-strip b{grid-area:value!important;font-size:18px!important;color:var(--ex-gold-soft)!important;font-weight:950!important;white-space:nowrap!important}
.reference-statistics-strip small{grid-area:sub!important;font-size:8px!important;color:#fff!important;align-self:start!important}

/* ========================= RESULTS / FORMS AFTER LANDING ========================= */
body.public-page-admission .exact-reference-home + .public-card,
body.public-page-admission .exact-reference-home ~ .public-card,
body.public-page-admission .exact-reference-home ~ form.public-card,
body.public-page-admission .student-auto-data-box,
body.public-page-admission .coordination-application-form{
  width:min(1280px,calc(100% - 64px))!important;margin:18px auto!important;
}

/* ========================= GLOBAL PUBLIC PAGES ========================= */
body.premium-public-body:not(.public-page-admission) .public-main{padding:24px 24px 46px!important;background:var(--ex-page)!important}
body.premium-public-body:not(.public-page-admission) .public-main>*.card,
body.premium-public-body:not(.public-page-admission) .public-main>.public-card,
body.premium-public-body:not(.public-page-admission) .public-main>section{
  max-width:1280px;margin-left:auto!important;margin-right:auto!important;
}
body.premium-public-body:not(.public-page-admission) .public-back-bar{background:#fff!important;border-color:#e0e6ed!important}

/* ========================= FOOTER ========================= */
body.premium-public-body .reference-exact-footer{
  position:relative!important;margin:0!important;padding:0!important;color:#fff!important;
  background:linear-gradient(110deg,#051527,#071A2E 55%,#061526)!important;border:0!important;box-shadow:none!important;
}
.reference-footer-flag{position:relative!important;height:8px!important;display:grid!important;grid-template-rows:3px 2px 3px!important;background:#fff!important}
.reference-footer-flag i:nth-child(1){background:var(--ex-red)!important}.reference-footer-flag i:nth-child(2){background:#fff!important}.reference-footer-flag i:nth-child(3){background:#161616!important}
.reference-footer-flag span{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:24px!important;height:24px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#fff!important}
.reference-footer-flag img{width:15px!important;height:15px!important;opacity:.65!important}
.reference-footer-grid{
  width:min(1280px,calc(100% - 64px))!important;margin:0 auto!important;padding:19px 0 14px!important;
  display:grid!important;grid-template-columns:1fr 1.35fr 1.15fr!important;gap:42px!important;align-items:start!important;direction:ltr!important;
}
.reference-footer-grid section,.reference-footer-grid nav{direction:rtl!important;text-align:right!important}
.reference-footer-grid h2{margin:0 0 9px!important;color:#fff!important;font-size:11px!important;font-weight:950!important}
.reference-footer-contact p{margin:5px 0!important;display:flex!important;align-items:center!important;gap:8px!important;color:#dce6f0!important;font-size:9px!important;line-height:1.4!important}
.reference-footer-contact p>span:first-child{color:var(--ex-gold)!important;width:14px!important;text-align:center!important}
.reference-footer-contact a{color:#dce6f0!important;text-decoration:none!important}
.reference-footer-links>div{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px 24px!important}
.reference-footer-links a{position:relative!important;padding-right:10px!important;color:#e5edf5!important;text-decoration:none!important;font-size:9px!important}
.reference-footer-links a::before{content:""!important;position:absolute!important;right:0!important;top:50%!important;width:4px!important;height:4px!important;margin-top:-2px!important;border-radius:50%!important;background:var(--ex-gold)!important}
.reference-footer-identity{display:flex!important;align-items:center!important;gap:12px!important}
.reference-footer-identity>img{width:62px!important;height:62px!important;flex:0 0 62px!important}
.reference-footer-identity h2{font-size:12px!important;line-height:1.5!important;margin-bottom:4px!important}
.reference-footer-identity p{margin:0!important;color:#c8d5e1!important;font-size:8px!important;line-height:1.6!important}
.reference-footer-bottom{border-top:1px solid rgba(255,255,255,.08)!important;padding:8px 24px 10px!important;text-align:center!important;color:#bfcbd8!important;font-size:8px!important}
.reference-footer-bottom p{display:inline!important;margin:0 10px!important}.reference-footer-bottom span{opacity:.85!important}

/* ========================= TABLET ========================= */
@media (max-width:1180px){
  .reference-public-header-inner{grid-template-columns:minmax(245px,1fr) auto minmax(245px,1fr)!important;width:calc(100% - 24px)!important}
  body.premium-public-body .reference-primary-nav{gap:10px!important}
  body.premium-public-body .reference-primary-nav a{font-size:11px!important}
  .reference-school-copy{display:none!important}
  body.public-page-admission .egyptian-masterpiece-hero{grid-template-columns:minmax(390px,.9fr) minmax(480px,1.1fr)!important;gap:34px!important;padding-inline:36px!important}
  body.public-page-admission .egyptian-hero-gallery{width:min(430px,100%)!important;height:230px!important;min-height:230px!important}
  body.public-page-admission .egyptian-masterpiece-hero .premium-hero-title{font-size:38px!important}
  body.public-page-admission .reference-admission-search{grid-template-columns:240px 1fr!important;width:calc(100% - 40px)!important}
  body.public-page-admission .public-quick-services,.reference-news-section,.reference-coordination-steps{width:calc(100% - 40px)!important}
  body.public-page-admission .quick-services-grid{grid-template-columns:repeat(4,1fr)!important}
  .reference-news-grid{grid-template-columns:repeat(3,1fr)!important}
}

/* ========================= MOBILE ========================= */
@media (max-width:960px){
  body.premium-public-body{padding-bottom:72px!important}
  body.premium-public-body .reference-public-header{height:68px!important;min-height:68px!important}
  .reference-public-header-inner{height:68px!important;min-height:68px!important;width:100%!important;padding:7px 10px!important;grid-template-columns:44px minmax(0,1fr) 48px!important;gap:8px!important}
  .reference-government-identity{grid-column:2!important;justify-self:center!important}
  .reference-government-identity>img{width:42px!important;height:28px!important}.reference-government-copy strong{font-size:10px!important}.reference-government-copy small{font-size:8px!important}
  .reference-header-brand-tools{grid-column:3!important}.reference-school-copy,.reference-header-utilities{display:none!important}.reference-ministry-emblem{width:44px!important;height:44px!important;min-width:44px!important}
  body.premium-public-body .reference-mobile-nav-toggle{grid-column:1!important;width:42px!important;height:42px!important;display:flex!important}
  body.premium-public-body .reference-primary-nav{top:68px!important;right:8px!important;left:8px!important;grid-template-columns:1fr 1fr!important;gap:5px!important;padding:8px!important}
  body.premium-public-body .reference-primary-nav a{font-size:10px!important;min-height:42px!important}

  body.public-page-admission .egyptian-masterpiece-hero{
    min-height:0!important;grid-template-columns:1fr!important;grid-template-areas:"copy" "gallery"!important;gap:18px!important;padding:24px 18px 34px!important;
  }
  body.public-page-admission .egyptian-hero-copy{text-align:center!important;justify-self:center!important;max-width:680px!important}
  body.public-page-admission .hero-badge-row{justify-content:center!important}
  body.public-page-admission .egyptian-masterpiece-hero .premium-hero-title{font-size:clamp(31px,8vw,42px)!important}
  body.public-page-admission .egyptian-masterpiece-hero .premium-hero-subtitle{margin-inline:auto!important}
  .reference-hero-action-panel{margin-inline:auto!important}
  body.public-page-admission .egyptian-hero-gallery{justify-self:center!important;width:min(470px,94%)!important;height:235px!important;min-height:235px!important}
  body.public-page-admission .hero-gold-seal{left:-12px!important}

  body.public-page-admission .admission-command-rail{right:8px!important;left:8px!important;top:auto!important;bottom:max(7px,env(safe-area-inset-bottom))!important;width:auto!important;height:58px!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;padding:5px!important;border-radius:15px!important}
  body.public-page-admission .admission-command-rail>a{height:48px!important;min-height:48px!important;display:flex!important;flex-direction:row!important;gap:7px!important}
  body.public-page-admission .admission-command-rail>a:first-child::after{display:none!important}
  body.public-page-admission .admission-command-rail .rail-icon{font-size:17px!important}.admission-command-rail small{font-size:10px!important}

  body.public-page-admission .reference-admission-search{
    width:calc(100% - 24px)!important;margin-top:10px!important;padding:14px!important;
    grid-template-columns:1fr!important;grid-template-areas:"heading" "form" "assurance" "alert"!important;gap:9px!important;
  }
  body.public-page-admission .reference-search-heading h2{font-size:21px!important}
  .reference-search-form{grid-template-columns:1fr!important;gap:8px!important}.reference-search-assurance{justify-content:center!important}
  .reference-search-assurance span{padding:0 8px!important}

  body.public-page-admission .public-quick-services,.reference-news-section,.reference-coordination-steps{width:calc(100% - 24px)!important}
  body.public-page-admission .quick-services-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}
  body.public-page-admission .quick-services-grid a{height:auto!important;min-height:72px!important}
  .reference-news-heading{align-items:center!important}.reference-news-grid{grid-template-columns:1fr!important}.reference-news-card{min-height:125px!important}
  .reference-steps-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}.reference-step:not(:last-child)::after{display:none!important}
  .reference-statistics-strip{grid-template-columns:1fr 1fr!important;padding:8px 12px!important;gap:0!important}.reference-statistics-strip>div{border-bottom:1px solid rgba(255,255,255,.12)!important}
  .reference-footer-grid{width:calc(100% - 28px)!important;grid-template-columns:1fr!important;gap:18px!important;padding:18px 0!important}.reference-footer-grid section,.reference-footer-grid nav{text-align:center!important}.reference-footer-identity{justify-content:center!important}.reference-footer-contact p{justify-content:center!important}.reference-footer-links>div{grid-template-columns:1fr 1fr!important;text-align:right!important}
}

@media (max-width:560px){
  .reference-government-copy small{display:none!important}
  body.public-page-admission .egyptian-masterpiece-hero .premium-hero-title{font-size:31px!important}
  body.public-page-admission .egyptian-hero-gallery{height:205px!important;min-height:205px!important}
  body.public-page-admission .quick-services-grid{grid-template-columns:1fr!important}
  .reference-steps-grid{grid-template-columns:1fr!important}
  .reference-statistics-strip{grid-template-columns:1fr!important}.reference-statistics-strip>div{border-left:0!important}
}

@media print{
  .reference-public-header,.admission-command-rail,.reference-exact-footer,.egypt-reference-divider{display:none!important}
}

/* Preserve the legacy 3-second server carousel contract without duplicating it visually. */
body.public-page-admission .premium-news-carousel-section{display:none!important}

/* ===== public_header_refine_2026.css ===== */
/* ========================================================================== 
   Public Header Refinement — 2026-08-13
   Clear non-overlapping national header, 3-second controlled photo rotator,
   stronger Egypt identity, larger public controls, and natural responsive display.
   Loaded LAST on all public portal pages.
   ========================================================================== */
:root{
  --phr-navy:#071A2E;
  --phr-navy-2:#0D2F4F;
  --phr-red:#CE1126;
  --phr-gold:#D9A62E;
  --phr-white:#FFFFFF;
}

/* ---------- Header structure: no text collisions ---------- */
body.premium-public-body .reference-public-header{
  height:auto!important;
  min-height:112px!important;
  overflow:visible!important;
  border-bottom:0!important;
  background:
    radial-gradient(circle at 11% 0%,rgba(217,166,46,.09),transparent 24%),
    linear-gradient(180deg,#041426 0%,#071A2E 100%)!important;
  box-shadow:0 8px 28px rgba(2,14,28,.24)!important;
}
body.premium-public-body .reference-public-header::after{
  content:""!important;
  position:absolute!important;
  right:0!important;left:0!important;bottom:-7px!important;
  height:7px!important;
  background:linear-gradient(to bottom,
    var(--phr-red) 0 33.333%,
    #fff 33.333% 66.666%,
    #151515 66.666% 100%)!important;
  box-shadow:0 2px 0 rgba(217,166,46,.38)!important;
  pointer-events:none!important;
}
.reference-public-header-inner{
  width:min(1460px,calc(100% - 28px))!important;
  min-height:112px!important;
  height:auto!important;
  margin:0 auto!important;
  padding:9px 0!important;
  display:grid!important;
  grid-template-columns:minmax(360px,1.04fr) minmax(430px,1.18fr) minmax(286px,.86fr)!important;
  align-items:center!important;
  gap:14px!important;
  direction:rtl!important;
}

/* Right top zone: national identity + rotating photos */
.reference-header-right-zone{
  grid-column:1!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:minmax(210px,1fr) 132px!important;
  align-items:center!important;
  gap:12px!important;
  justify-self:stretch!important;
}
.reference-header-right-zone .reference-government-identity{
  grid-column:1!important;
  width:100%!important;
  min-width:0!important;
  justify-self:stretch!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 78px!important;
  align-items:center!important;
  gap:10px!important;
  padding:4px 0!important;
}
.reference-header-right-zone .reference-government-copy{
  min-width:0!important;
  display:grid!important;
  gap:3px!important;
  text-align:right!important;
  line-height:1.35!important;
}
.reference-header-right-zone .reference-government-copy strong{
  display:block!important;
  font-size:15px!important;
  line-height:1.35!important;
  font-weight:950!important;
  color:#fff!important;
  white-space:normal!important;
  overflow:visible!important;
}
.reference-header-right-zone .reference-government-copy small{
  display:block!important;
  font-size:11.5px!important;
  line-height:1.5!important;
  font-weight:750!important;
  color:#f2f5f8!important;
  white-space:normal!important;
  overflow:visible!important;
}
.reference-header-right-zone .reference-government-identity>img{
  order:initial!important;
  width:78px!important;
  height:52px!important;
  min-width:78px!important;
  object-fit:cover!important;
  border:1px solid rgba(255,255,255,.7)!important;
  border-radius:6px!important;
  box-shadow:0 6px 16px rgba(0,0,0,.28),0 0 0 2px rgba(217,166,46,.16)!important;
}
.reference-header-photo-rotator{
  grid-column:2!important;
  position:relative!important;
  width:132px!important;
  height:78px!important;
  overflow:hidden!important;
  border-radius:12px!important;
  border:1px solid rgba(217,166,46,.72)!important;
  background:#0b2139!important;
  box-shadow:0 8px 20px rgba(0,0,0,.28)!important;
  isolation:isolate!important;
}
.reference-header-photo-viewport{
  position:absolute!important;inset:0!important;overflow:hidden!important;
}
.reference-header-photo-viewport img{
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center 22%!important;
  opacity:0!important;visibility:hidden!important;
  transform:scale(1.035)!important;
  transition:opacity .45s ease,transform 3s linear,visibility .45s!important;
  pointer-events:none!important;
}
.reference-header-photo-viewport img.is-active{
  opacity:1!important;visibility:visible!important;transform:scale(1)!important;
}
.reference-header-photo-rotator::after{
  content:""!important;position:absolute!important;inset:0!important;z-index:2!important;
  background:linear-gradient(180deg,transparent 55%,rgba(2,13,25,.38))!important;pointer-events:none!important;
}
.header-photo-control{
  position:absolute!important;top:50%!important;z-index:4!important;
  width:24px!important;height:30px!important;min-width:24px!important;min-height:30px!important;
  display:grid!important;place-items:center!important;
  transform:translateY(-50%)!important;
  border:1px solid rgba(255,255,255,.34)!important;border-radius:8px!important;
  background:rgba(7,26,46,.72)!important;color:#fff!important;
  font:900 20px/1 Arial,sans-serif!important;cursor:pointer!important;
  opacity:.78!important;
}
.header-photo-control:hover,.header-photo-control:focus-visible{opacity:1!important;background:var(--phr-red)!important}
.header-photo-control.is-prev{right:5px!important}
.header-photo-control.is-next{left:5px!important}
.header-photo-dots{
  position:absolute!important;z-index:5!important;right:50%!important;bottom:5px!important;
  transform:translateX(50%)!important;display:flex!important;gap:4px!important;
}
.header-photo-dots button{
  width:6px!important;height:6px!important;min-width:6px!important;min-height:6px!important;padding:0!important;
  border:0!important;border-radius:50%!important;background:rgba(255,255,255,.62)!important;cursor:pointer!important;
}
.header-photo-dots button.is-active{width:17px!important;border-radius:99px!important;background:var(--phr-gold)!important}

/* Clear centered nav */
body.premium-public-body .reference-primary-nav{
  grid-column:2!important;
  position:static!important;
  min-width:0!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:16px!important;
  padding:0 4px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.premium-public-body .reference-primary-nav a{
  min-height:48px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:11px 3px!important;
  font-size:13.2px!important;
  line-height:1.2!important;
  font-weight:900!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-shadow:0 1px 1px rgba(0,0,0,.16)!important;
}

/* Left zone: school identity on its own row, utilities below it */
.reference-header-brand-tools{
  grid-column:3!important;
  min-width:0!important;
  justify-self:stretch!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:5px!important;
  direction:ltr!important;
}
.reference-school-brand{
  max-width:100%!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
}
.reference-ministry-emblem{
  width:52px!important;height:52px!important;min-width:52px!important;
  padding:3px!important;
  border:2px solid rgba(217,166,46,.86)!important;
}
.reference-school-copy{
  min-width:0!important;
  display:grid!important;
  gap:1px!important;
  text-align:right!important;
  direction:rtl!important;
}
.reference-school-copy strong,
.reference-school-copy small{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.reference-school-copy strong{font-size:11.5px!important;line-height:1.35!important}
.reference-school-copy small{font-size:10.5px!important;line-height:1.35!important}
.reference-header-utilities{
  width:auto!important;
  max-width:100%!important;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  direction:ltr!important;
  justify-content:flex-start!important;
}
body.premium-public-body .reference-header-icon-button{
  width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;
  border-radius:9px!important;font-size:13px!important;
  flex:0 0 34px!important;
}
/* Natural 100% responsive display — no custom page zoom controls. */
html{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden;
  overflow-y:auto;
}
body.premium-public-body{
  width:100%!important;
  max-width:100%!important;
  min-height:100vh!important;
  zoom:1!important;
  overflow-x:hidden!important;
}
body.premium-public-body *,body.premium-public-body *::before,body.premium-public-body *::after{box-sizing:border-box}
body.premium-public-body img,body.premium-public-body svg,body.premium-public-body video{max-width:100%;height:auto}

/* The requested floating command button/rail is removed completely. */
body.public-page-admission .admission-command-rail{display:none!important}

/* Stronger Egyptian-flag visual language in the hero without covering content. */
body.public-page-admission .egyptian-masterpiece-hero{
  border-bottom:0!important;
}
body.public-page-admission .egyptian-masterpiece-hero .egypt-hero-flag-canvas{
  display:block!important;opacity:.19!important;pointer-events:none!important;
}
body.public-page-admission .egyptian-masterpiece-hero .egypt-hero-flag-canvas::after{
  content:""!important;position:absolute!important;right:-6%!important;left:-6%!important;bottom:6px!important;height:26px!important;
  background:linear-gradient(to bottom,var(--phr-red) 0 33.3%,rgba(255,255,255,.96) 33.3% 66.6%,#151515 66.6% 100%)!important;
  transform:rotate(-1.2deg)!important;opacity:.78!important;
}
body.public-page-admission .hero-watermark-emblem{opacity:.22!important}

/* Larger primary actions and cards, keeping the same routes/functions. */
body.public-page-admission .premium-hero-actions a,
body.public-page-admission .coordination-state{
  min-height:48px!important;
  padding:11px 18px!important;
  font-size:13px!important;
}
body.public-page-admission .reference-search-button{
  min-height:56px!important;height:56px!important;
  padding-inline:22px!important;font-size:14px!important;
}
body.public-page-admission .reference-search-field .admission-premium-search-input{
  min-height:56px!important;height:56px!important;font-size:14px!important;
}
body.public-page-admission .quick-services-grid a{
  min-height:72px!important;height:auto!important;padding:10px 12px!important;
}
body.public-page-admission .quick-services-grid i{width:40px!important;height:40px!important;min-width:40px!important;font-size:18px!important}
body.public-page-admission .quick-services-grid b{font-size:12px!important}
body.public-page-admission .quick-services-grid small{font-size:9px!important;line-height:1.45!important}
body.public-page-admission .reference-news-heading>a{min-height:38px!important;padding:10px 17px!important;font-size:11px!important}
body.premium-public-body:not(.public-page-admission) .public-back-bar a,
body.premium-public-body:not(.public-page-admission) .public-back-bar button{min-height:42px!important;padding:9px 16px!important}

/* Medium screens: switch to menu before any header text can collide. */
@media (max-width:1180px){
  body.premium-public-body .reference-public-header{min-height:104px!important}
  .reference-public-header-inner{
    min-height:104px!important;
    grid-template-columns:minmax(340px,1fr) 54px minmax(250px,.78fr)!important;
    gap:10px!important;
  }
  .reference-header-right-zone{grid-template-columns:minmax(205px,1fr) 110px!important;gap:8px!important}
  .reference-header-photo-rotator{width:110px!important;height:70px!important}
  body.premium-public-body .reference-mobile-nav-toggle{
    grid-column:2!important;display:flex!important;position:static!important;justify-self:center!important;
  }
  body.premium-public-body .reference-primary-nav{
    position:absolute!important;top:calc(100% + 7px)!important;right:12px!important;left:12px!important;z-index:950!important;
    display:none!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;
    padding:10px!important;border:1px solid #dce3eb!important;border-radius:14px!important;
    background:#fff!important;box-shadow:0 18px 42px rgba(4,20,38,.22)!important;
  }
  body.premium-public-body .reference-primary-nav.is-open{display:grid!important}
  body.premium-public-body .reference-primary-nav a{
    min-height:44px!important;padding:9px!important;border:1px solid #e5eaf0!important;border-radius:9px!important;
    background:#f8fafc!important;color:var(--phr-navy)!important;text-shadow:none!important;
  }
  body.premium-public-body .reference-primary-nav a.is-active{background:#fff4f5!important;color:var(--phr-red)!important;border-color:#f1c7cc!important}
  body.premium-public-body .reference-primary-nav a::after{display:none!important}
}

@media (max-width:820px){
  body.premium-public-body .reference-public-header{min-height:92px!important}
  .reference-public-header-inner{
    width:calc(100% - 16px)!important;min-height:92px!important;padding:7px 0!important;
    grid-template-columns:minmax(0,1fr) 48px auto!important;gap:7px!important;
  }
  .reference-header-right-zone{grid-column:1!important;display:block!important}
  .reference-header-photo-rotator{display:none!important}
  .reference-header-right-zone .reference-government-identity{grid-template-columns:minmax(0,1fr) 58px!important;gap:7px!important}
  .reference-header-right-zone .reference-government-identity>img{width:58px!important;height:39px!important;min-width:58px!important}
  .reference-header-right-zone .reference-government-copy strong{font-size:12px!important}
  .reference-header-right-zone .reference-government-copy small{font-size:9px!important}
  .reference-header-brand-tools{grid-column:3!important;align-items:center!important;width:auto!important}
  .reference-school-copy{display:none!important}
  .reference-ministry-emblem{width:44px!important;height:44px!important;min-width:44px!important}
  .reference-header-utilities{position:absolute!important;left:58px!important;bottom:7px!important}
  body.premium-public-body .reference-header-icon-button{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;flex-basis:30px!important}
  body.premium-public-body .reference-primary-nav{grid-template-columns:1fr 1fr!important;top:calc(100% + 7px)!important}
  body.public-page-admission .premium-hero-actions a,
  body.public-page-admission .coordination-state{min-height:50px!important;font-size:13px!important}
  body.public-page-admission .reference-search-button{min-height:54px!important;height:auto!important}
}

@media (max-width:520px){
  .reference-public-header-inner{grid-template-columns:minmax(0,1fr) 45px 47px!important}
  .reference-header-right-zone .reference-government-copy small{display:none!important}
  .reference-header-right-zone .reference-government-copy strong{font-size:11px!important;line-height:1.35!important}
  .reference-header-right-zone .reference-government-identity{grid-template-columns:minmax(0,1fr) 50px!important}
  .reference-header-right-zone .reference-government-identity>img{width:50px!important;height:34px!important;min-width:50px!important}
  .reference-header-utilities{left:53px!important}
  body.premium-public-body .reference-header-icon-button{display:none!important}
}

@media (prefers-reduced-motion:reduce){
  .reference-header-photo-viewport img{transition:none!important;transform:none!important}
}

/* ========================================================================== 
   Final public portal polish — 2026-08-13
   - no literal flag graphic in the public header
   - photo album occupies the former top-right visual slot
   - full Egypt-inspired red/white/black language without flag images
   - footer content protected from clipping and aligned RTL
   - zoom-safe page scrolling
   ========================================================================== */

/* Always keep the document vertically scrollable, including after UI zoom. */
html{
  height:auto!important;
  min-height:100%!important;
  overflow-y:scroll!important;
  overflow-x:hidden!important;
  scrollbar-gutter:stable!important;
}
body.premium-public-body{
  height:auto!important;
  min-height:100vh!important;
  overflow-y:visible!important;
  overflow-x:hidden!important;
}

/* Header: clean three-zone architecture with generous text room. */
body.premium-public-body .reference-public-header{
  min-height:96px!important;
  background:
    radial-gradient(circle at 8% 0%,rgba(217,166,46,.10),transparent 28%),
    linear-gradient(115deg,#041326 0%,#071A2E 54%,#0D2F4F 100%)!important;
}
body.premium-public-body .reference-public-header::after{
  height:6px!important;
  bottom:-6px!important;
  background:linear-gradient(to bottom,
    #CE1126 0 34%,
    rgba(255,255,255,.98) 34% 66%,
    #111 66% 100%)!important;
  box-shadow:0 1px 0 rgba(217,166,46,.26)!important;
}
.reference-public-header-inner{
  width:min(1500px,calc(100% - 32px))!important;
  min-height:96px!important;
  padding:10px 0!important;
  grid-template-columns:minmax(310px,.98fr) minmax(500px,1.5fr) minmax(255px,.82fr)!important;
  gap:20px!important;
}

/* Top-right zone: the rotating album replaces the old flag picture slot. */
.reference-header-right-zone{
  min-width:0!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  direction:rtl!important;
  gap:12px!important;
}
.reference-header-right-zone .reference-government-identity{
  order:2!important;
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  display:block!important;
  padding:0!important;
}
.reference-header-right-zone .reference-government-copy{
  display:block!important;
  width:100%!important;
  text-align:right!important;
}
.reference-header-right-zone .reference-government-copy strong{
  font-size:14px!important;
  line-height:1.45!important;
  white-space:nowrap!important;
}
.reference-header-right-zone .reference-government-copy small{
  margin-top:3px!important;
  font-size:10.5px!important;
  line-height:1.5!important;
  white-space:nowrap!important;
}
.reference-header-right-zone .reference-government-identity>img{display:none!important}
.reference-header-corner-album{
  order:1!important;
  flex:0 0 102px!important;
  width:102px!important;
  height:70px!important;
  grid-column:auto!important;
  border-radius:10px!important;
  border:1px solid rgba(217,166,46,.82)!important;
  box-shadow:0 8px 20px rgba(0,0,0,.30),0 0 0 2px rgba(255,255,255,.055)!important;
}
.reference-header-corner-album .header-photo-control{
  width:20px!important;height:26px!important;min-width:20px!important;min-height:26px!important;
  font-size:17px!important;border-radius:6px!important;
}
.reference-header-corner-album .header-photo-dots{bottom:4px!important}

/* Center navigation: larger, clearer labels with enough separation. */
body.premium-public-body .reference-primary-nav{
  gap:clamp(13px,1.5vw,24px)!important;
}
body.premium-public-body .reference-primary-nav a{
  min-height:50px!important;
  font-size:13.8px!important;
  line-height:1.3!important;
  padding:12px 2px!important;
  color:#fff!important;
  opacity:1!important;
}
body.premium-public-body .reference-primary-nav a.is-active{
  color:#fff!important;
}

/* Left brand/tools: keep school name readable and controls on one tidy row. */
.reference-header-brand-tools{
  align-items:flex-start!important;
  gap:7px!important;
}
.reference-school-brand{gap:10px!important}
.reference-school-copy strong{font-size:12px!important;line-height:1.45!important;color:#fff!important}
.reference-school-copy small{font-size:10.5px!important;line-height:1.4!important;color:#dfe9f2!important}
.reference-ministry-emblem{width:50px!important;height:50px!important;min-width:50px!important}
.reference-header-utilities{gap:7px!important}

/* No public floating command rail. */
body.premium-public-body .admission-command-rail{display:none!important}

/* Egypt-inspired design without literal flag images: curved tri-color accents only. */
body.public-page-admission .egyptian-masterpiece-hero .egypt-hero-flag-canvas{
  display:block!important;
  opacity:.18!important;
  background:
    radial-gradient(ellipse at 10% 96%,rgba(206,17,38,.34),transparent 36%),
    linear-gradient(176deg,transparent 0 78%,rgba(206,17,38,.72) 78% 82%,rgba(255,255,255,.84) 82% 85%,rgba(15,15,15,.72) 85% 89%,transparent 89%)!important;
}
body.public-page-admission .egyptian-masterpiece-hero .egypt-hero-flag-canvas .flag-band{display:none!important}
body.public-page-admission .egyptian-masterpiece-hero .egypt-hero-flag-canvas::after{display:none!important}
body.public-page-admission .hero-watermark-emblem{opacity:.16!important}

/* Footer: no clipping, all Arabic copy cleanly right-aligned. */
body.premium-public-body .reference-exact-footer,
body.premium-public-body .egyptian-masterpiece-footer{
  display:block!important;
  min-height:0!important;
  height:auto!important;
  overflow:visible!important;
  padding:0!important;
  text-align:right!important;
  direction:rtl!important;
  background:linear-gradient(110deg,#041426 0%,#071A2E 58%,#0A2744 100%)!important;
}
.reference-footer-flag{
  height:7px!important;
  overflow:visible!important;
}
.reference-footer-grid{
  width:min(1320px,calc(100% - 56px))!important;
  margin:0 auto!important;
  padding:26px 0 24px!important;
  display:grid!important;
  grid-template-columns:minmax(250px,1fr) minmax(330px,1.2fr) minmax(320px,1.25fr)!important;
  grid-template-areas:"contact links identity"!important;
  gap:44px!important;
  align-items:start!important;
  direction:ltr!important;
  overflow:visible!important;
}
.reference-footer-contact{grid-area:contact!important}
.reference-footer-links{grid-area:links!important}
.reference-footer-identity{grid-area:identity!important}
.reference-footer-grid section,
.reference-footer-grid nav{
  min-width:0!important;
  direction:rtl!important;
  text-align:right!important;
  overflow:visible!important;
}
.reference-footer-grid h2{
  margin:0 0 12px!important;
  font-size:13px!important;
  line-height:1.55!important;
  text-align:right!important;
  white-space:normal!important;
}
.reference-footer-contact p{
  margin:7px 0!important;
  justify-content:flex-start!important;
  direction:rtl!important;
  text-align:right!important;
  font-size:10.5px!important;
  line-height:1.7!important;
  white-space:normal!important;
}
.reference-footer-contact p>span:first-child{flex:0 0 18px!important}
.reference-footer-links>div{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px 22px!important;
  text-align:right!important;
}
.reference-footer-links a{
  display:block!important;
  min-width:0!important;
  font-size:10.5px!important;
  line-height:1.55!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
.reference-footer-identity{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 70px!important;
  gap:15px!important;
  align-items:center!important;
  direction:rtl!important;
  text-align:right!important;
}
.reference-footer-identity>img{
  grid-column:2!important;
  width:70px!important;height:70px!important;min-width:70px!important;
}
.reference-footer-identity>div{grid-column:1!important;min-width:0!important}
.reference-footer-identity h2{
  font-size:14px!important;
  line-height:1.7!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
.reference-footer-identity p{
  font-size:9.5px!important;
  line-height:1.75!important;
  white-space:normal!important;
  word-break:normal!important;
}
.reference-footer-bottom{
  min-height:46px!important;
  padding:12px max(28px,calc((100% - 1320px)/2)) 14px!important;
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:8px 20px!important;
  direction:rtl!important;
  text-align:right!important;
  font-size:9.5px!important;
  line-height:1.7!important;
  overflow:visible!important;
}
.reference-footer-bottom p,
.reference-footer-bottom span{
  display:block!important;
  margin:0!important;
  text-align:right!important;
  white-space:normal!important;
}

/* Responsive header/footer stays readable before collision happens. */
@media (max-width:1260px){
  .reference-public-header-inner{
    grid-template-columns:minmax(285px,1fr) 54px minmax(245px,.86fr)!important;
    gap:12px!important;
  }
  .reference-header-right-zone{gap:9px!important}
  .reference-header-corner-album{width:86px!important;height:62px!important;flex-basis:86px!important}
  .reference-header-right-zone .reference-government-copy strong{font-size:12.5px!important}
  .reference-header-right-zone .reference-government-copy small{font-size:9.5px!important}
  body.premium-public-body .reference-mobile-nav-toggle{
    grid-column:2!important;display:flex!important;position:static!important;justify-self:center!important;
  }
  body.premium-public-body .reference-primary-nav{
    position:absolute!important;top:calc(100% + 7px)!important;right:12px!important;left:12px!important;z-index:950!important;
    display:none!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;
    padding:10px!important;border:1px solid #dce3eb!important;border-radius:14px!important;
    background:#fff!important;box-shadow:0 18px 42px rgba(4,20,38,.22)!important;
  }
  body.premium-public-body .reference-primary-nav.is-open{display:grid!important}
  body.premium-public-body .reference-primary-nav a{
    min-height:44px!important;padding:9px!important;border:1px solid #e5eaf0!important;border-radius:9px!important;
    background:#f8fafc!important;color:#071A2E!important;text-shadow:none!important;font-size:12px!important;
  }
  body.premium-public-body .reference-primary-nav a.is-active{background:#fff4f5!important;color:#CE1126!important;border-color:#f1c7cc!important}
  body.premium-public-body .reference-primary-nav a::after{display:none!important}
}

@media (max-width:1080px){
  .reference-footer-grid{
    width:calc(100% - 36px)!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-areas:"identity links" "contact contact"!important;
    gap:24px 34px!important;
  }
  .reference-footer-contact{max-width:none!important}
}

@media (max-width:820px){
  body.premium-public-body .reference-public-header{min-height:88px!important}
  .reference-public-header-inner{
    width:calc(100% - 16px)!important;min-height:88px!important;
    grid-template-columns:minmax(0,1fr) 46px auto!important;gap:7px!important;
  }
  .reference-header-right-zone{display:flex!important;gap:7px!important}
  .reference-header-corner-album{display:block!important;width:66px!important;height:48px!important;flex-basis:66px!important;border-radius:8px!important}
  .reference-header-corner-album .header-photo-control{display:none!important}
  .reference-header-corner-album .header-photo-dots{bottom:3px!important}
  .reference-header-right-zone .reference-government-copy strong{font-size:11px!important;white-space:normal!important}
  .reference-header-right-zone .reference-government-copy small{font-size:8px!important;white-space:normal!important}
  .reference-header-brand-tools{grid-column:3!important;align-items:center!important}
  .reference-school-copy{display:none!important}
  .reference-header-utilities{position:absolute!important;left:56px!important;bottom:7px!important}
  .reference-footer-grid{
    width:calc(100% - 28px)!important;
    grid-template-columns:1fr!important;
    grid-template-areas:"identity" "links" "contact"!important;
    gap:22px!important;
    padding:24px 0!important;
  }
  .reference-footer-grid section,.reference-footer-grid nav{text-align:right!important}
  .reference-footer-identity{justify-content:initial!important}
  .reference-footer-contact p{justify-content:flex-start!important}
  .reference-footer-bottom{padding-inline:14px!important;display:block!important;text-align:right!important}
  .reference-footer-bottom p,.reference-footer-bottom span{margin:3px 0!important}
}

@media (max-width:520px){
  .reference-header-corner-album{width:56px!important;height:43px!important;flex-basis:56px!important}
  .reference-header-right-zone .reference-government-copy small{display:none!important}
  .reference-header-right-zone .reference-government-copy strong{font-size:10.5px!important}
  .reference-footer-links>div{grid-template-columns:1fr!important}
  .reference-footer-identity{grid-template-columns:minmax(0,1fr) 58px!important}
  .reference-footer-identity>img{width:58px!important;height:58px!important;min-width:58px!important}
}

/* ===== sedd_full_project_reference_2026.css ===== */
/*
 * SEDD-inspired full project reference skin — 2026
 * Applied last so it can normalize the public portal and internal admin shell
 * without changing routes, forms, permissions or database logic.
 */
:root{
  --sedd-navy:#07365b;
  --sedd-navy-2:#0b4c7a;
  --sedd-blue:#1672c5;
  --sedd-purple:#7048e8;
  --sedd-green:#129c73;
  --sedd-orange:#dd7d00;
  --sedd-cyan:#079bb5;
  --sedd-red:#d83d4f;
  --sedd-ink:#082c50;
  --sedd-muted:#66778b;
  --sedd-line:#d6e3ef;
  --sedd-soft:#f7faff;
  --sedd-warning:#fff2c9;
  --sedd-warning-ink:#7c5100;
  --sedd-radius:16px;
  --sedd-shadow:0 8px 26px rgba(12,52,85,.07);
}

html{scroll-behavior:smooth;background:#fff}
body.public-body,
body.premium-public-body{
  margin:0!important;
  min-width:0;
  background:#fff!important;
  color:var(--sedd-ink)!important;
  overflow-x:hidden!important;
  font-family:"Cairo","Arial",sans-serif!important;
}

/* ===== Public header: white, light, portal-like ===== */
.sedd-public-header{
  position:relative;
  z-index:1000;
  background:#fff;
  border-bottom:1px solid #e4edf5;
  box-shadow:0 2px 12px rgba(0,43,77,.04);
}
.sedd-public-header__inner{
  width:min(100% - 32px,1260px);
  min-height:104px;
  margin-inline:auto;
  display:grid;
  grid-template-columns:minmax(300px,1fr) minmax(300px,430px) auto;
  align-items:center;
  gap:18px;
  direction:rtl;
}
.sedd-public-header__actions{display:flex;align-items:center;gap:10px;white-space:nowrap}
.sedd-head-btn{
  min-height:46px;
  padding:0 19px;
  border-radius:14px;
  border:1px solid #d5e1ec;
  background:#fff;
  color:var(--sedd-ink);
  font-weight:800;
  font-size:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none!important;
  cursor:pointer;
  transition:.2s ease;
}
.sedd-head-btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(7,54,91,.08)}
.sedd-head-btn--login{background:#064a7c;color:#fff;border-color:#064a7c}
.sedd-head-btn--install{background:#109574;color:#fff;border-color:#109574}
.sedd-public-header .pwa-install-button{margin:0!important}
.sedd-header-search{
  height:48px;
  border:1px solid #cdddea;
  border-radius:13px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:#fff;
}
.sedd-header-search input{
  flex:1;
  min-width:0;
  height:100%;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  padding:0 18px!important;
  background:transparent!important;
  color:#24384b!important;
  font-size:18px!important;
  font-weight:600;
}
.sedd-header-search button{
  width:54px;height:100%;border:0;background:#fff;color:#0a5b95;font-size:25px;cursor:pointer
}
.sedd-public-brand{display:flex;align-items:center;justify-content:flex-start;gap:16px;min-width:0;direction:ltr}
.sedd-brand-copy{direction:rtl;text-align:right;line-height:1.16;min-width:0}
.sedd-brand-copy strong{display:block;color:#063f6d;font-size:20px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sedd-brand-copy small{display:block;color:#6b7c8f;font-size:12px;margin-top:4px;direction:ltr;text-align:left}
.sedd-brand-logos{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.sedd-brand-logos span{width:58px;height:58px;border-inline-start:1px solid #e4edf5;padding-inline-start:9px;display:grid;place-items:center}
.sedd-brand-logos span:first-child{border-inline-start:0;padding-inline-start:0}
.sedd-brand-logos img{max-width:100%;max-height:100%;object-fit:contain}
.sedd-mobile-menu{display:none}
.sedd-public-nav{
  border-top:1px solid #edf3f7;
  background:#fff;
}
.sedd-public-nav__inner{
  width:min(100% - 32px,1260px);
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:46px;
  overflow:auto;
}
.sedd-public-nav a{
  color:#36536d;text-decoration:none;font-weight:800;font-size:13px;padding:9px 14px;border-radius:9px;white-space:nowrap
}
.sedd-public-nav a:hover,.sedd-public-nav a.is-active{color:#074b7c;background:#eef7ff}

/* Admin login dropdown survives but visually belongs to new header */
.sedd-public-header .admin-dropdown-menu-wrapper{position:relative}
.sedd-public-header .btn-admin-dropdown-trigger{all:unset;box-sizing:border-box}
.sedd-public-header .btn-admin-dropdown-trigger.sedd-head-btn{display:inline-flex;min-height:46px;padding:0 19px;border-radius:14px;cursor:pointer;background:#064a7c;color:#fff;border:1px solid #064a7c;font-weight:800}
.sedd-public-header .admin-floating-login-card-panel{z-index:1600}

/* Hide legacy public shell chrome that conflicts with the reference */
body.public-page-admission .public-back-bar{display:none!important}
.admission-command-topbar,.admission-command-rail{display:none!important}

.public-main{
  width:min(100% - 30px,1260px)!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:0 0 34px!important;
}
.public-main>.alert{margin:14px 0!important}

/* ===== Reference hero ===== */
.sedd-reference-home{padding-top:14px}
.sedd-setup-ribbon{
  min-height:48px;border-radius:0;background:var(--sedd-warning);color:var(--sedd-warning-ink);
  display:flex;align-items:center;justify-content:center;gap:18px;padding:9px 18px;font-size:14px;font-weight:800;margin-bottom:0
}
.sedd-setup-ribbon a{color:#8a5c00;text-decoration:underline;font-weight:900}
.sedd-reference-hero{
  position:relative;
  height:306px;
  border-radius:18px;
  overflow:hidden;
  background:#06385f;
  box-shadow:none;
  isolation:isolate;
}
.sedd-hero-slide{position:absolute;inset:0;display:grid;grid-template-columns:1.08fr .92fr;opacity:0;visibility:hidden;transition:opacity .45s ease;direction:ltr}
.sedd-hero-slide.is-active{opacity:1;visibility:visible;z-index:2}
.sedd-hero-left,.sedd-hero-right{position:relative;min-width:0;overflow:hidden}
.sedd-hero-left{background:#06385f;display:flex;align-items:stretch;justify-content:center}
.sedd-hero-left::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#06385f 0%,rgba(6,56,95,.7) 23%,rgba(6,56,95,0) 54%,rgba(6,56,95,.28) 100%);z-index:2;pointer-events:none}
.sedd-hero-left img{width:52%;height:100%;object-fit:cover;object-position:center top;position:relative;z-index:1}
.sedd-hero-right img{width:100%;height:100%;object-fit:cover;object-position:center}
.sedd-hero-right::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,56,95,.28),transparent 40%)}
.sedd-hero-caption{position:absolute;z-index:5;bottom:16px;left:32px;right:auto;color:#fff;font-size:13px;font-weight:900;padding-bottom:5px;border-bottom:3px solid #f0b21b;direction:rtl}
.sedd-hero-caption small{display:block;font-weight:600;color:#dcecff;margin-top:3px}
.sedd-hero-dots{position:absolute;z-index:7;bottom:17px;left:18px;display:flex;align-items:center;gap:5px;direction:ltr}
.sedd-hero-dots button{width:8px;height:8px;border-radius:50%;border:0;background:#b9cada;padding:0;cursor:pointer}
.sedd-hero-dots button.is-active{width:23px;border-radius:8px;background:#fff}

/* ===== Home grid ===== */
.sedd-home-grid{display:grid;grid-template-columns:390px minmax(0,1fr);gap:14px;margin-top:18px;direction:ltr;align-items:start}
.sedd-home-grid>*{direction:rtl}
.sedd-alert-panel{
  border:1px solid #cfe0ee;border-radius:16px;background:#fff;padding:14px;min-height:292px;box-shadow:0 3px 12px rgba(7,54,91,.025)
}
.sedd-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.sedd-panel-head h2{font-size:23px;margin:0;color:#063c69;font-weight:900}
.sedd-panel-head h2 span{color:#1c79c3}
.sedd-panel-head a{background:#f1f6fb;color:#48627b;text-decoration:none;border-radius:9px;padding:8px 12px;font-size:12px;font-weight:800}
.sedd-alert-list{display:grid;gap:9px}
.sedd-alert-item{position:relative;border:1px solid #dce8f1;border-radius:10px;padding:10px 11px 10px 72px;min-height:58px;background:#fff}
.sedd-alert-item b{display:block;color:#153d62;font-size:13px;line-height:1.35;margin-bottom:4px}
.sedd-alert-item p{margin:0;color:#8191a0;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sedd-alert-item time{position:absolute;left:10px;top:14px;font-size:10px;color:#66819b}
.sedd-alert-tag{position:absolute;left:8px;bottom:7px;padding:3px 6px;border:1px solid #f2b8bd;background:#fff1f2;color:#c0323e;border-radius:6px;font-size:9px;font-weight:800}
.sedd-alert-tag.is-new{border-color:#a8dfbf;background:#effbf4;color:#168749}
.sedd-alert-tag.is-info{border-color:#b9d5ff;background:#f0f6ff;color:#2e66be}
.sedd-all-alerts{display:block;text-align:center;margin-top:10px;border:1px solid #c7d9e8;border-radius:999px;padding:7px;color:#285170;text-decoration:none;font-size:12px;font-weight:800}

.sedd-portals-panel{min-width:0}
.sedd-portals-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.sedd-portal-card{
  min-height:175px;border:1px solid #cfe0ee;border-radius:14px;background:#fff;padding:17px 13px 14px;
  text-decoration:none!important;color:#0b385f!important;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:flex-start;transition:.2s ease;box-shadow:0 3px 12px rgba(7,54,91,.025)
}
.sedd-portal-card:hover{transform:translateY(-3px);box-shadow:var(--sedd-shadow);border-color:#b8d2e7}
.sedd-portal-icon{width:58px;height:58px;display:grid;place-items:center;margin-bottom:8px;color:var(--card-color,#1672c5);font-size:42px;line-height:1}
.sedd-portal-card h3{font-size:19px;line-height:1.08;margin:0 0 6px;font-weight:900;color:#08385f}
.sedd-portal-card p{font-size:11.5px;line-height:1.45;color:#8290a0;margin:0 0 6px;min-height:34px}
.sedd-portal-card span.sedd-enter{font-size:12px;color:var(--card-color,#1672c5);font-weight:900;margin-top:auto}
.sedd-portal-card--blue{--card-color:#1475cf}.sedd-portal-card--purple{--card-color:#7147e8}.sedd-portal-card--orange{--card-color:#df7c00}.sedd-portal-card--green{--card-color:#119b72}.sedd-portal-card--cyan{--card-color:#049bb7}

/* ===== Search and secondary services ===== */
.sedd-section{margin-top:18px}
.sedd-section-title{display:flex;align-items:center;gap:10px;margin:0 0 12px;color:#073b65;font-size:22px;font-weight:900}
.sedd-section-title::before{content:"";width:5px;height:24px;border-radius:5px;background:#1980ce}
.reference-admission-search,
.global-inquiry-card.reference-admission-search{
  margin:18px 0 0!important;border:1px solid #d5e3ee!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important;padding:18px!important;display:grid!important;grid-template-columns:280px 1fr!important;gap:18px!important;align-items:center!important
}
.reference-admission-search .reference-section-heading{margin:0!important;text-align:right!important;justify-content:flex-start!important}
.reference-admission-search .reference-heading-dot{display:none!important}
.reference-admission-search h2{margin:0!important;font-size:24px!important;line-height:1.2!important;color:#073a63!important}
.reference-admission-search .reference-search-form{display:grid!important;grid-template-columns:1fr 250px!important;gap:10px!important;align-items:center!important}
.reference-admission-search .reference-search-field{height:52px!important;border:1px solid #cbdce9!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important}
.reference-admission-search .reference-search-button{height:52px!important;border-radius:11px!important;background:#0b568c!important;color:#fff!important;border:0!important;font-size:15px!important;font-weight:900!important}
.reference-search-assurance{grid-column:2;display:flex!important;gap:22px!important;justify-content:flex-start!important;color:#688096!important;font-size:11px!important}
.reference-search-assurance span::before{content:"✓";display:inline-grid;place-items:center;width:18px;height:18px;border:1px solid #9fc0d9;border-radius:50%;margin-left:5px;color:#3370a5}

.sedd-secondary-services{margin-top:18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.sedd-secondary-card{border:1px solid #d7e5ef;border-radius:14px;background:#fff;padding:14px 16px;text-decoration:none!important;color:#0b3a62!important;display:flex;align-items:center;gap:11px;min-height:78px}
.sedd-secondary-card i{width:43px;height:43px;border-radius:12px;background:#f0f7fd;display:grid;place-items:center;color:#1672c5;font-style:normal;font-size:22px;flex:0 0 auto}
.sedd-secondary-card b{display:block;font-size:14px}.sedd-secondary-card small{display:block;color:#8494a3;margin-top:3px;font-size:10.5px}

/* Legacy sections: keep functionality, but visually harmonize */
.public-quick-services{display:none!important}
.reference-news-section,.reference-coordination-steps,.reference-statistics-strip{display:none!important}
.premium-news-carousel-section{display:none!important}
.public-card,.card.public-card,.wizard-shell{
  border:1px solid #d7e4ee!important;border-radius:16px!important;box-shadow:none!important;background:#fff!important
}
.card-header{border-color:#e3edf4!important;background:#fbfdff!important}
.btn,.form-control,.form-select,textarea{border-radius:10px!important}
.form-control,.form-select,textarea{border-color:#cfdde9!important;box-shadow:none!important}
.form-control:focus,.form-select:focus,textarea:focus{border-color:#4f93ca!important;box-shadow:0 0 0 3px rgba(35,126,197,.10)!important}

/* Public footer: light like modern government portals */
.public-footer.reference-exact-footer{
  margin-top:28px!important;background:#f7faff!important;color:#34566f!important;border-top:1px solid #dbe7f0!important;padding-top:24px!important
}
.reference-footer-flag{display:none!important}
.reference-footer-grid{width:min(100% - 32px,1260px)!important;margin:auto!important;gap:28px!important}
.public-footer h2{color:#073c67!important;font-size:15px!important}
.public-footer a{color:#365e7d!important}
.reference-footer-bottom{border-top:1px solid #dce7ef!important;color:#6e8192!important;background:#fff!important}

/* ===== Internal project normalization to same visual language ===== */
body.premium-admin-body{background:#f7faff!important;color:var(--sedd-ink)!important}
body.premium-admin-body .premium-sidebar{background:linear-gradient(180deg,#06365b 0%,#052b49 100%)!important;border-left:0!important}
body.premium-admin-body .premium-brand{border-bottom:1px solid rgba(255,255,255,.12)!important}
body.premium-admin-body .premium-topbar{background:#fff!important;border-bottom:1px solid #dce7ef!important;box-shadow:none!important}
body.premium-admin-body .premium-content{background:#f7faff!important}
body.premium-admin-body .card,
body.premium-admin-body .metric-card,
body.premium-admin-body .panel{
  border-color:#d9e5ee!important;box-shadow:0 4px 18px rgba(8,54,91,.035)!important;border-radius:14px!important
}
body.premium-admin-body .nav-link.active,
body.premium-admin-body .nav-group-toggle:hover{background:rgba(255,255,255,.10)!important}
body.premium-admin-body .btn-primary{background:#0b568c!important;border-color:#0b568c!important}

@media (max-width:1100px){
  .sedd-public-header__inner{grid-template-columns:1fr auto;min-height:92px}
  .sedd-header-search{grid-column:1/-1;order:3;margin-bottom:12px}
  .sedd-public-brand{grid-column:1;grid-row:1}
  .sedd-public-header__actions{grid-column:2;grid-row:1}
  .sedd-home-grid{grid-template-columns:320px minmax(0,1fr)}
  .sedd-portals-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sedd-secondary-services{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:820px){
  .sedd-public-header__inner{width:min(100% - 20px,1260px);grid-template-columns:1fr auto;gap:10px;min-height:80px}
  .sedd-public-brand{min-width:0}
  .sedd-brand-copy strong{font-size:15px;max-width:280px}
  .sedd-brand-copy small{font-size:10px}
  .sedd-brand-logos span{width:44px;height:44px}
  .sedd-public-header__actions .sedd-head-btn:not(.sedd-head-btn--login){display:none}
  .sedd-public-nav{display:none}
  .sedd-mobile-menu{display:inline-flex}
  .sedd-reference-hero{height:260px}
  .sedd-hero-slide{grid-template-columns:1fr 1fr}
  .sedd-hero-left img{width:76%}
  .sedd-home-grid{grid-template-columns:1fr;direction:rtl}
  .sedd-alert-panel{order:2}
  .sedd-portals-panel{order:1}
  .sedd-portals-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .reference-admission-search,.global-inquiry-card.reference-admission-search{grid-template-columns:1fr!important}
  .reference-search-assurance{grid-column:1!important}
  .reference-admission-search .reference-search-form{grid-template-columns:1fr!important}
  .sedd-secondary-services{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
  .public-main{width:min(100% - 16px,1260px)!important}
  .sedd-public-header__inner{width:calc(100% - 16px)}
  .sedd-brand-copy strong{font-size:12px;max-width:180px}
  .sedd-brand-copy small{display:none}
  .sedd-brand-logos span{width:38px;height:38px}
  .sedd-head-btn--login{min-height:40px;padding:0 11px;font-size:12px}
  .sedd-header-search{height:44px}
  .sedd-header-search input{font-size:14px!important}
  .sedd-reference-home{padding-top:8px}
  .sedd-reference-hero{height:220px;border-radius:13px}
  .sedd-hero-slide{grid-template-columns:1fr}
  .sedd-hero-right{display:none}
  .sedd-hero-left img{width:65%}
  .sedd-hero-caption{right:14px;left:auto;font-size:11px}
  .sedd-portals-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .sedd-portal-card{min-height:145px;padding:13px 9px}
  .sedd-portal-icon{height:46px;width:46px;font-size:34px}
  .sedd-portal-card h3{font-size:15px}
  .sedd-portal-card p{font-size:10px}
  .sedd-alert-panel{padding:11px}
  .sedd-secondary-services{grid-template-columns:1fr}
  .reference-admission-search,.global-inquiry-card.reference-admission-search{padding:13px!important}
}
.sedd-hero-placeholder{object-fit:contain!important;padding:42px!important;background:#07365b!important}
@media(max-width:820px){
  .sedd-mobile-menu{display:inline-grid;place-items:center;width:42px;height:42px;border:1px solid #cfdeea;border-radius:10px;background:#fff;color:#0b4c7a;font-size:22px;cursor:pointer;grid-column:2;grid-row:1}
  .sedd-public-nav.is-open,.sedd-public-nav[data-open="1"]{display:block!important}
}

/* ===== 13.7.1 — Login alignment and responsive repair ===== */
.sedd-public-header .admin-dropdown-menu-wrapper{
  position:relative!important;
  overflow:visible!important;
}
.sedd-public-header .admin-floating-login-card-panel{
  position:absolute!important;
  top:calc(100% + 14px)!important;
  right:0!important;
  left:auto!important;
  width:min(430px,calc(100vw - 32px))!important;
  min-width:380px!important;
  max-width:430px!important;
  max-height:calc(100vh - 132px)!important;
  margin:0!important;
  padding:22px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  direction:rtl!important;
  text-align:right!important;
  border:1px solid #d6e3ef!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 26px 70px rgba(8,44,80,.24)!important;
  transform:translateY(10px) scale(.985)!important;
  transform-origin:top right!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  z-index:4000!important;
}
.sedd-public-header .admin-floating-login-card-panel.dropdown-panel-active-state{
  transform:translateY(0) scale(1)!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
.sedd-public-header .admin-floating-login-card-panel .dropdown-panel-arrow{
  top:-8px!important;
  right:28px!important;
  left:auto!important;
  width:16px!important;
  height:16px!important;
  border:1px solid #d6e3ef!important;
  border-left:0!important;
  border-bottom:0!important;
  background:#fff!important;
  transform:rotate(-45deg)!important;
}
.admin-login-card-head{
  display:grid;
  grid-template-columns:52px minmax(0,1fr) 36px;
  align-items:center;
  gap:12px;
  margin-bottom:8px;
}
.admin-login-card-icon{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:linear-gradient(145deg,#eaf5ff,#f7fbff);
  border:1px solid #d4e6f5;
  color:#074b7c;
  font-size:23px;
}
.admin-login-card-heading{min-width:0}
.admin-login-card-heading>span{
  display:block;
  color:#718398;
  font-size:11px;
  font-weight:800;
  margin-bottom:2px;
}
.sedd-public-header .admin-login-card-heading .dropdown-panel-title{
  margin:0!important;
  color:#07365b!important;
  font-size:21px!important;
  line-height:1.35!important;
  font-weight:900!important;
}
.admin-login-card-close{
  width:36px;
  height:36px;
  border:1px solid #dce7f0;
  border-radius:10px;
  background:#f8fbfe;
  color:#61768b;
  display:grid;
  place-items:center;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}
.admin-login-card-close:hover{background:#fff0f2;color:#c31f36;border-color:#f1cbd1}
.sedd-public-header .dropdown-panel-subtitle{
  margin:5px 0 17px!important;
  color:#6d7e91!important;
  font-size:13px!important;
  line-height:1.8!important;
}
.sedd-public-header .dropdown-embedded-form{display:grid!important;gap:14px!important}
.sedd-public-header .dropdown-input-group{display:grid!important;gap:7px!important}
.sedd-public-header .dropdown-field-label{
  margin:0!important;
  color:#183d61!important;
  font-size:13px!important;
  font-weight:900!important;
}
.admin-login-input-shell{
  min-height:52px;
  display:flex;
  align-items:center;
  gap:10px;
  padding-inline:12px;
  border:1px solid #cbdbe8;
  border-radius:12px;
  background:#fff;
  transition:border-color .18s ease,box-shadow .18s ease;
}
.admin-login-input-shell:focus-within{
  border-color:#1672c5;
  box-shadow:0 0 0 4px rgba(22,114,197,.10);
}
.admin-login-input-shell>span{
  flex:0 0 25px;
  width:25px;
  display:grid;
  place-items:center;
  color:#6c87a1;
  font-size:16px;
}
.sedd-public-header .admin-login-input-shell .dropdown-text-field{
  flex:1;
  min-width:0;
  min-height:50px!important;
  height:50px!important;
  margin:0!important;
  padding:0 4px!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#102f4b!important;
  font-size:15px!important;
}
.sedd-public-header .admin-login-input-shell .dropdown-text-field::placeholder{
  color:#a7b3c0!important;
  opacity:1!important;
}
.admin-login-remember-row{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:48px;
  padding:9px 11px;
  border:1px solid #e1e9f0;
  border-radius:12px;
  background:#f8fbfd;
}
.admin-login-remember-row input{
  width:19px!important;
  height:19px!important;
  margin:0!important;
  accent-color:#0b639e;
}
.admin-login-remember-row label{
  display:flex!important;
  flex-direction:column;
  gap:1px;
  margin:0!important;
  color:#294760!important;
  cursor:pointer;
}
.admin-login-remember-row label b{font-size:12px}
.admin-login-remember-row label small{font-size:10px;color:#7a8c9e}
.sedd-public-header .btn-dropdown-submit-action{
  min-height:52px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border:0!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#074b7c,#126ca9)!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:900!important;
  box-shadow:0 10px 22px rgba(7,75,124,.18)!important;
}
.admin-login-card-foot{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:15px;
  padding-top:14px;
  border-top:1px solid #e8eef4;
  color:#8796a5;
  font-size:11px;
}
.admin-login-card-foot a{color:#075b94!important;font-weight:900;text-decoration:none!important}
.admin-login-card-foot i{font-style:normal;color:#c3ced8}

/* Stand-alone admin login route uses the same disciplined visual language. */
.premium-admin-body .login-page{
  min-height:100vh!important;
  padding:38px 20px!important;
  display:grid!important;
  place-items:center!important;
  background:linear-gradient(145deg,#f7faff 0,#edf5fb 58%,#e7f0f7 100%)!important;
}
.premium-admin-body .login-portal-grid{
  width:min(980px,100%)!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:22px!important;
  align-items:stretch!important;
}
.premium-admin-body .login-card{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:30px!important;
  border:1px solid #d8e4ee!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 18px 46px rgba(8,44,80,.10)!important;
}
.premium-admin-body .login-card h1,.premium-admin-body .login-card h2{
  margin-top:0!important;
  color:#07365b!important;
  line-height:1.55!important;
}
.premium-admin-body .login-card .form-control,.premium-admin-body .login-card .form-select{
  min-height:52px!important;
  border:1px solid #cbdbe8!important;
  border-radius:11px!important;
  background:#fff!important;
}
.premium-admin-body .login-card .btn{min-height:50px!important;border-radius:11px!important}
.premium-admin-body .login-secondary-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;margin-top:12px!important}

@media(max-width:820px){
  .sedd-public-header .admin-floating-login-card-panel{
    position:fixed!important;
    top:76px!important;
    right:12px!important;
    left:12px!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    max-height:calc(100dvh - 92px)!important;
    padding:18px!important;
    transform:translateY(8px) scale(.99)!important;
    transform-origin:top center!important;
  }
  .sedd-public-header .admin-floating-login-card-panel.dropdown-panel-active-state{transform:none!important}
  .sedd-public-header .admin-floating-login-card-panel .dropdown-panel-arrow{display:none!important}
  .admin-login-card-head{grid-template-columns:46px minmax(0,1fr) 34px;gap:10px}
  .admin-login-card-icon{width:46px;height:46px;font-size:20px}
  .premium-admin-body .login-portal-grid{grid-template-columns:1fr!important;max-width:560px!important}
}
@media(max-width:520px){
  .sedd-public-header .admin-floating-login-card-panel{top:66px!important;right:8px!important;left:8px!important;padding:15px!important;border-radius:15px!important}
  .sedd-public-header .admin-login-card-heading .dropdown-panel-title{font-size:18px!important}
  .admin-login-card-heading>span{font-size:10px}
  .sedd-public-header .dropdown-panel-subtitle{font-size:12px!important;margin-bottom:13px!important}
  .premium-admin-body .login-page{padding:14px!important}
  .premium-admin-body .login-card{padding:20px!important}
  .premium-admin-body .login-secondary-actions{grid-template-columns:1fr!important}
}

/* ===== egypt_flag_buttons_2026.css ===== */
/*
 * Egyptian flag button palette — 2026
 * Visual-only override. No routes, forms, permissions or backend behavior changed.
 * Palette: Egyptian red #CE1126, white #FFFFFF, black #111111.
 */
:root{
  --egypt-btn-red:#CE1126;
  --egypt-btn-red-dark:#A80E1F;
  --egypt-btn-white:#FFFFFF;
  --egypt-btn-black:#111111;
  --egypt-btn-black-soft:#202124;
  --egypt-btn-line:#D7DEE6;
}

/* Shared button geometry */
body.public-body .sedd-head-btn,
body.public-body .btn,
body.public-body button.reference-search-button,
body.premium-admin-body .btn{
  font-weight:800!important;
  transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease!important;
}
body.public-body .sedd-head-btn:hover,
body.public-body .btn:hover,
body.public-body button.reference-search-button:hover,
body.premium-admin-body .btn:hover{
  transform:translateY(-1px);
}

/* ===== Public header: red / white / black ===== */
body.public-body .sedd-head-btn--login,
body.public-body .btn-admin-dropdown-trigger.sedd-head-btn{
  background:var(--egypt-btn-red)!important;
  border-color:var(--egypt-btn-red)!important;
  color:#fff!important;
  box-shadow:0 6px 14px rgba(206,17,38,.16)!important;
}
body.public-body .sedd-head-btn--login:hover,
body.public-body .btn-admin-dropdown-trigger.sedd-head-btn:hover{
  background:var(--egypt-btn-red-dark)!important;
  border-color:var(--egypt-btn-red-dark)!important;
}

body.public-body .sedd-head-btn--install,
body.public-body .pwa-install-button{
  background:var(--egypt-btn-black)!important;
  border-color:var(--egypt-btn-black)!important;
  color:#fff!important;
  box-shadow:0 6px 14px rgba(17,17,17,.14)!important;
}
body.public-body .sedd-head-btn--install:hover,
body.public-body .pwa-install-button:hover{
  background:#000!important;
  border-color:#000!important;
}

/* Neutral / quick actions are the white stripe of the flag */
body.public-body .sedd-public-header__actions > .sedd-head-btn:not(.sedd-head-btn--login):not(.sedd-head-btn--install),
body.public-body .sedd-public-header__actions > a.sedd-head-btn:not(.sedd-head-btn--login):not(.sedd-head-btn--install){
  background:var(--egypt-btn-white)!important;
  border:1px solid #BFC8D2!important;
  color:var(--egypt-btn-black)!important;
  box-shadow:0 4px 12px rgba(17,17,17,.06)!important;
}
body.public-body .sedd-public-header__actions > .sedd-head-btn:not(.sedd-head-btn--login):not(.sedd-head-btn--install):hover{
  border-color:var(--egypt-btn-red)!important;
  color:var(--egypt-btn-red)!important;
}

/* ===== Main public CTAs ===== */
body.public-body .reference-admission-search .reference-search-button,
body.public-body .btn-primary,
body.public-body button.btn-primary,
body.public-body a.btn-primary{
  background:var(--egypt-btn-red)!important;
  border-color:var(--egypt-btn-red)!important;
  color:#fff!important;
  box-shadow:0 7px 16px rgba(206,17,38,.14)!important;
}
body.public-body .reference-admission-search .reference-search-button:hover,
body.public-body .btn-primary:hover{
  background:var(--egypt-btn-red-dark)!important;
  border-color:var(--egypt-btn-red-dark)!important;
}

body.public-body .btn-success,
body.public-body .btn-secondary,
body.public-body .btn-dark{
  background:var(--egypt-btn-black)!important;
  border-color:var(--egypt-btn-black)!important;
  color:#fff!important;
}
body.public-body .btn-success:hover,
body.public-body .btn-secondary:hover,
body.public-body .btn-dark:hover{
  background:#000!important;
  border-color:#000!important;
}

body.public-body .btn-light,
body.public-body .btn-outline-primary,
body.public-body .btn-outline-secondary{
  background:var(--egypt-btn-white)!important;
  color:var(--egypt-btn-black)!important;
  border:1px solid #BFC8D2!important;
}
body.public-body .btn-light:hover,
body.public-body .btn-outline-primary:hover,
body.public-body .btn-outline-secondary:hover{
  color:var(--egypt-btn-red)!important;
  border-color:var(--egypt-btn-red)!important;
  background:#fff!important;
}
body.public-body .btn-danger{
  background:var(--egypt-btn-red)!important;
  border-color:var(--egypt-btn-red)!important;
  color:#fff!important;
}

/* Hero uses a deliberate black + red pair */
body.public-page-admission .reference-hero-action-panel .premium-hero-link{
  background:var(--egypt-btn-black)!important;
  border:1px solid rgba(255,255,255,.35)!important;
  color:#fff!important;
}
body.public-page-admission .reference-hero-action-panel .premium-hero-link:hover{
  background:#000!important;
}
body.public-page-admission .reference-hero-action-panel .coordination-state{
  background:var(--egypt-btn-red)!important;
  border-color:var(--egypt-btn-red)!important;
  color:#fff!important;
}

/* ===== Portal/service entry actions: repeat the flag rhythm ===== */
body.public-body .sedd-portal-card{
  --card-color:var(--egypt-btn-red)!important;
}
body.public-body .sedd-portal-card:nth-child(3n+2){--card-color:var(--egypt-btn-black)!important}
body.public-body .sedd-portal-card:nth-child(3n){--card-color:var(--egypt-btn-red)!important}

body.public-body .sedd-portal-card span.sedd-enter{
  min-height:30px;
  padding:6px 12px;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--egypt-btn-red);
  color:#fff!important;
  border:1px solid var(--egypt-btn-red);
  margin-top:auto;
}
body.public-body .sedd-portal-card:nth-child(3n+2) span.sedd-enter{
  background:var(--egypt-btn-black);
  border-color:var(--egypt-btn-black);
  color:#fff!important;
}
body.public-body .sedd-portal-card:nth-child(3n) span.sedd-enter{
  background:#fff;
  color:var(--egypt-btn-black)!important;
  border-color:#BFC8D2;
}
body.public-body .sedd-portal-card:nth-child(3n) .sedd-portal-icon{
  color:var(--egypt-btn-black)!important;
}
body.public-body .sedd-portal-card:hover span.sedd-enter{
  box-shadow:0 5px 12px rgba(17,17,17,.12);
}

/* Secondary service cards get restrained Egyptian accents, not extra flag images */
body.public-body .sedd-secondary-card:nth-child(3n+1) i{background:#fff0f2!important;color:var(--egypt-btn-red)!important}
body.public-body .sedd-secondary-card:nth-child(3n+2) i{background:#f1f2f3!important;color:var(--egypt-btn-black)!important}
body.public-body .sedd-secondary-card:nth-child(3n) i{background:#fff!important;color:var(--egypt-btn-red)!important;border:1px solid #d6dde5}

/* Small list / news / utility actions */
body.public-body .sedd-panel-head a,
body.public-body .sedd-all-alerts{
  background:#fff!important;
  color:var(--egypt-btn-black)!important;
  border:1px solid #C8D0D8!important;
}
body.public-body .sedd-panel-head a:hover,
body.public-body .sedd-all-alerts:hover{
  color:var(--egypt-btn-red)!important;
  border-color:var(--egypt-btn-red)!important;
}

/* ===== Internal/admin interface buttons also follow the same palette ===== */
body.premium-admin-body .btn-primary,
body.premium-admin-body button.btn-primary,
body.premium-admin-body a.btn-primary,
body.premium-admin-body .btn-danger{
  background:var(--egypt-btn-red)!important;
  border-color:var(--egypt-btn-red)!important;
  color:#fff!important;
}
body.premium-admin-body .btn-primary:hover,
body.premium-admin-body .btn-danger:hover{
  background:var(--egypt-btn-red-dark)!important;
  border-color:var(--egypt-btn-red-dark)!important;
}
body.premium-admin-body .btn-success,
body.premium-admin-body .btn-secondary,
body.premium-admin-body .btn-dark{
  background:var(--egypt-btn-black)!important;
  border-color:var(--egypt-btn-black)!important;
  color:#fff!important;
}
body.premium-admin-body .btn-light,
body.premium-admin-body .btn-outline-primary,
body.premium-admin-body .btn-outline-secondary{
  background:#fff!important;
  color:var(--egypt-btn-black)!important;
  border-color:#C7CED6!important;
}
body.premium-admin-body .btn-light:hover,
body.premium-admin-body .btn-outline-primary:hover,
body.premium-admin-body .btn-outline-secondary:hover{
  color:var(--egypt-btn-red)!important;
  border-color:var(--egypt-btn-red)!important;
}

/* Thin tri-colour detail on larger CTA buttons — visual identity only, no flag image. */
body.public-body .sedd-head-btn,
body.public-body .reference-search-button,
body.public-body .btn-primary,
body.premium-admin-body .btn-primary{
  position:relative;
  overflow:hidden;
}
body.public-body .sedd-head-btn::after,
body.public-body .reference-search-button::after,
body.public-body .btn-primary::after,
body.premium-admin-body .btn-primary::after{
  content:"";
  position:absolute;
  right:0;left:0;bottom:0;
  height:3px;
  background:linear-gradient(90deg,var(--egypt-btn-red) 0 33.333%,#fff 33.333% 66.666%,var(--egypt-btn-black) 66.666% 100%);
  pointer-events:none;
  opacity:.95;
}

@media (max-width:760px){
  body.public-body .sedd-head-btn{min-height:44px!important}
  body.public-body .sedd-portal-card span.sedd-enter{min-height:28px;padding:5px 9px;font-size:11px}
}

/* ===== egypt_portal_album_2026.css ===== */
/*
 * SEDD 13.7.3 — Egyptian portal identity + homepage album
 * Visual treatment only for public tabs/buttons; admin rules are scoped to the album manager.
 */
:root{
  --eg-red:#CE1126;
  --eg-red-soft:rgba(206,17,38,.075);
  --eg-black:#111111;
  --eg-black-soft:rgba(17,17,17,.045);
  --eg-white:#ffffff;
  --eg-navy:#082b4b;
  --eg-gold:#d7aa31;
}

/* ===== Faint Egyptian-flag rhythm behind public navigation tabs/cards ===== */
body.public-body .sedd-public-nav__inner>a,
body.public-body .sedd-portal-card,
body.public-body .sedd-secondary-card,
body.public-body .sedd-alert-item,
body.public-body .wizard-step-tab,
body.public-body .staff-login-tab{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:linear-gradient(180deg,
    rgba(206,17,38,.072) 0%,rgba(206,17,38,.045) 31.5%,
    rgba(255,255,255,.98) 31.5%,rgba(255,255,255,1) 67%,
    rgba(17,17,17,.040) 67%,rgba(17,17,17,.062) 100%)!important;
}
body.public-body .sedd-public-nav__inner>a.is-active,
body.public-body .wizard-step-tab.active,
body.public-body .wizard-step-tab[aria-selected="true"],
body.public-body .staff-login-tab.active{
  background:linear-gradient(180deg,
    rgba(206,17,38,.135) 0 31.5%,
    rgba(255,255,255,1) 31.5% 67%,
    rgba(17,17,17,.082) 67% 100%)!important;
}
body.public-body .sedd-public-nav__inner>a:hover,
body.public-body .sedd-portal-card:hover,
body.public-body .sedd-secondary-card:hover,
body.public-body .wizard-step-tab:hover,
body.public-body .staff-login-tab:hover{
  border-color:rgba(206,17,38,.32)!important;
  box-shadow:0 12px 30px rgba(7,39,67,.11),0 0 0 1px rgba(206,17,38,.05)!important;
}

/* ===== Luminous buttons with a moving rectangular Egyptian border ===== */
body.public-body :is(.sedd-head-btn,.reference-search-button,.btn,.btn-dropdown-submit-action,.btn-back-gov,.btn-back-home,.sedd-enter,.sedd-all-alerts,.sedd-panel-head a,.wizard-step-tab,.staff-login-tab){
  position:relative!important;
  isolation:isolate;
  overflow:hidden!important;
  transition:transform .2s ease,box-shadow .25s ease,filter .25s ease!important;
}
body.public-body :is(.sedd-head-btn,.reference-search-button,.btn,.btn-dropdown-submit-action,.btn-back-gov,.btn-back-home,.sedd-enter,.sedd-all-alerts,.sedd-panel-head a,.wizard-step-tab,.staff-login-tab)::after{
  content:"";
  position:absolute;
  inset:-2px;
  z-index:4;
  padding:2px;
  border-radius:inherit;
  pointer-events:none;
  opacity:0;
  background:linear-gradient(90deg,
    transparent 0%,
    var(--eg-red) 12%,
    #ff6b7a 27%,
    #fff 43%,
    #dfe6ec 54%,
    #111 69%,
    #5d6570 83%,
    transparent 100%);
  background-size:300% 100%;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
}
body.public-body :is(.sedd-head-btn,.reference-search-button,.btn,.btn-dropdown-submit-action,.btn-back-gov,.btn-back-home,.sedd-enter,.sedd-all-alerts,.sedd-panel-head a,.wizard-step-tab,.staff-login-tab):hover{
  transform:translateY(-2px) scale(1.015)!important;
  filter:brightness(1.04);
  box-shadow:0 0 0 1px rgba(255,255,255,.72),0 0 13px rgba(206,17,38,.34),0 9px 24px rgba(7,39,67,.18)!important;
}
body.public-body :is(.sedd-head-btn,.reference-search-button,.btn,.btn-dropdown-submit-action,.btn-back-gov,.btn-back-home,.sedd-enter,.sedd-all-alerts,.sedd-panel-head a,.wizard-step-tab,.staff-login-tab):hover::after,
body.public-body :is(.sedd-head-btn,.reference-search-button,.btn,.btn-dropdown-submit-action,.btn-back-gov,.btn-back-home,.sedd-enter,.sedd-all-alerts,.sedd-panel-head a,.wizard-step-tab,.staff-login-tab):focus-visible::after{
  opacity:1;
  animation:egyptRectBorderRun 1.15s linear infinite;
}
@keyframes egyptRectBorderRun{to{background-position:-300% 0}}
@media (prefers-reduced-motion:reduce){
  body.public-body :is(.sedd-head-btn,.reference-search-button,.btn,.btn-dropdown-submit-action,.btn-back-gov,.btn-back-home,.sedd-enter,.sedd-all-alerts,.sedd-panel-head a,.wizard-step-tab,.staff-login-tab):hover::after{animation:none;background-position:50% 0}
}

/* ===== Real homepage album: one full image per slide ===== */
body.public-page-admission .sedd-reference-hero.sedd-reference-hero--album{
  height:400px;
  background:#062f51;
  border-radius:0 0 18px 18px;
  overflow:hidden;
}
body.public-page-admission .sedd-reference-hero--album .sedd-hero-slide.sedd-hero-album-slide{
  display:block!important;
  grid-template-columns:none!important;
  position:absolute;
  inset:0;
}
body.public-page-admission .sedd-reference-hero--album .sedd-hero-album-image{
  position:absolute;
  inset:0;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  padding:0!important;
  background:#062f51;
  transform:scale(1.002);
  transition:transform 3.4s ease;
}
body.public-page-admission .sedd-reference-hero--album .sedd-hero-slide.is-active .sedd-hero-album-image{transform:scale(1.025)}
body.public-page-admission .sedd-reference-hero--album .sedd-hero-album-shade{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(5,35,60,.02) 40%,rgba(4,30,52,.68) 100%);
}
body.public-page-admission .sedd-reference-hero--album .sedd-hero-caption{
  right:26px;
  left:auto;
  bottom:22px;
  z-index:4;
  max-width:min(520px,70%);
  padding:9px 15px 10px;
  border:0;
  border-right:4px solid var(--eg-gold);
  border-radius:8px 0 0 8px;
  background:rgba(5,32,55,.68);
  backdrop-filter:blur(7px);
  color:#fff;
  font-size:14px;
  font-weight:900;
  box-shadow:0 7px 24px rgba(0,0,0,.15);
}
body.public-page-admission .sedd-reference-hero--album .sedd-hero-dots{
  left:24px;
  bottom:24px;
  z-index:5;
  padding:6px 8px;
  border-radius:999px;
  background:rgba(5,32,55,.42);
  backdrop-filter:blur(5px);
}

/* ===== Backend album management ===== */
.premium-admin-body .homepage-album-control-card{overflow:visible}
.premium-admin-body .homepage-album-admin-head{
  display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
}
.premium-admin-body .homepage-album-admin-head>div:first-child{max-width:720px}
.premium-admin-body .homepage-album-summary{display:flex;gap:10px;flex-wrap:wrap}
.premium-admin-body .homepage-album-summary span{
  min-width:120px;padding:10px 14px;border:1px solid #d9e3ec;border-radius:12px;background:#f8fbfd;color:#536273;font-size:12px;text-align:center
}
.premium-admin-body .homepage-album-summary strong{display:block;color:#0b2c4e;font-size:21px;line-height:1.1;margin-bottom:3px}
.premium-admin-body .homepage-copy-settings{
  border:1px solid #dce5ed;border-radius:16px;background:#fbfdff;padding:16px;margin-bottom:4px
}
.premium-admin-body .homepage-copy-settings__head{margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #e5ebf1}
.premium-admin-body .homepage-copy-settings__head b{display:block;color:#0b2c4e;font-size:17px}
.premium-admin-body .homepage-copy-settings__head small{color:#768697}
.premium-admin-body .homepage-album-uploader{
  display:grid;grid-template-columns:minmax(260px,.8fr) minmax(320px,1.2fr);gap:18px;align-items:center;
  padding:20px;border:1px dashed #bdcddd;border-radius:18px;background:linear-gradient(135deg,#fafdff,#f5f8fb)
}
.premium-admin-body .homepage-album-uploader__copy h3{margin:5px 0 7px;color:#0b2c4e;font-size:21px}
.premium-admin-body .homepage-album-uploader__copy p{margin:0;color:#778697;line-height:1.8;font-size:12px}
.premium-admin-body .homepage-album-kicker{display:inline-flex;padding:5px 9px;border-radius:999px;background:#fff0f2;color:#b70f22;font-size:11px;font-weight:900}
.premium-admin-body .homepage-album-file-input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.premium-admin-body .homepage-album-dropzone{
  min-height:136px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;
  border:2px dashed #9fb6cb;border-radius:15px;background:#fff;color:#0b2c4e;text-align:center;transition:.2s ease
}
.premium-admin-body .homepage-album-dropzone:hover{border-color:#ce1126;box-shadow:0 8px 24px rgba(8,43,75,.08);transform:translateY(-1px)}
.premium-admin-body .homepage-album-upload-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#082b4b;color:#fff;font-size:27px;line-height:1}
.premium-admin-body .homepage-album-dropzone small{color:#8090a0}
.premium-admin-body .homepage-album-pending{grid-column:1/-1;color:#748596;font-size:12px}
.premium-admin-body .homepage-album-pending.has-files{padding-top:12px;border-top:1px solid #dde7ef}
.premium-admin-body .homepage-album-pending-note{font-weight:800;color:#0a6b50;margin-bottom:9px}
.premium-admin-body .homepage-album-pending-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px}
.premium-admin-body .homepage-album-pending-grid figure{margin:0;border:1px solid #dbe5ed;border-radius:11px;overflow:hidden;background:#fff}
.premium-admin-body .homepage-album-pending-grid img{display:block;width:100%;height:72px;object-fit:cover}
.premium-admin-body .homepage-album-pending-grid figcaption{padding:5px 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#617080;direction:ltr;text-align:left}
.premium-admin-body .homepage-album-interval-control{align-self:end}
.premium-admin-body .homepage-album-interval-control small{display:block;margin-top:5px;color:#7f8e9d}
.premium-admin-body .homepage-album-library{margin-top:4px}
.premium-admin-body .homepage-album-library__head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:2px 0 14px;flex-wrap:wrap}
.premium-admin-body .homepage-album-library__head h3{margin:3px 0;color:#0b2c4e;font-size:21px}
.premium-admin-body .homepage-album-library__head p{margin:0;color:#7c8b9a;font-size:12px}
.premium-admin-body .homepage-album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.premium-admin-body .homepage-album-slide-card{
  position:relative;border:1px solid #d9e3eb;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 5px 18px rgba(8,43,75,.055)
}
.premium-admin-body .homepage-album-slide-card.is-disabled{opacity:.7;background:#f6f7f8}
.premium-admin-body .homepage-album-slide-number{position:absolute;z-index:3;top:10px;right:10px;display:flex;align-items:center;gap:5px;padding:4px 8px;border-radius:999px;background:rgba(8,43,75,.88);color:#fff;font-size:9px;box-shadow:0 3px 10px rgba(0,0,0,.15)}
.premium-admin-body .homepage-album-slide-number strong{font-size:13px;color:#ffd04d}
.premium-admin-body .homepage-album-slide-preview{height:170px;position:relative;background:#eaf0f5;overflow:hidden}
.premium-admin-body .homepage-album-slide-preview img{width:100%;height:100%;object-fit:cover;display:block}
.premium-admin-body .homepage-album-state{position:absolute;left:9px;bottom:9px;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900;box-shadow:0 3px 8px rgba(0,0,0,.13)}
.premium-admin-body .homepage-album-state.is-on{background:#dcf8ee;color:#087153}
.premium-admin-body .homepage-album-state.is-off{background:#f1f2f3;color:#636b72}
.premium-admin-body .homepage-album-slide-body{padding:12px}
.premium-admin-body .homepage-album-slide-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.premium-admin-body .homepage-album-slide-meta b{color:#0b2c4e;font-size:14px}
.premium-admin-body .homepage-album-slide-meta small{color:#8b98a5;font-size:10px}
.premium-admin-body .homepage-album-slide-body label{font-size:11px;color:#667585}
.premium-admin-body .homepage-album-slide-body .form-control{margin-top:5px}
.premium-admin-body .homepage-album-slide-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}
.premium-admin-body .homepage-album-slide-actions .btn{min-width:0!important;padding-inline:8px!important}
.premium-admin-body .homepage-album-empty{padding:35px;text-align:center;border:1px dashed #c9d6e2;border-radius:15px;background:#fafcfe;color:#728292}
.premium-admin-body .homepage-album-empty b{display:block;color:#0b2c4e;font-size:18px;margin-bottom:5px}
.premium-admin-body .homepage-album-save-row{position:sticky;bottom:12px;z-index:10;padding:11px 13px;border-radius:14px;background:rgba(255,255,255,.94);backdrop-filter:blur(9px);box-shadow:0 7px 25px rgba(8,43,75,.12)}

@media(max-width:1050px){
  .premium-admin-body .homepage-album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  body.public-page-admission .sedd-reference-hero.sedd-reference-hero--album{height:250px;border-radius:0 0 12px 12px}
  body.public-page-admission .sedd-reference-hero--album .sedd-hero-caption{right:12px;bottom:13px;max-width:78%;font-size:11px;padding:7px 10px}
  body.public-page-admission .sedd-reference-hero--album .sedd-hero-dots{left:12px;bottom:13px}
  .premium-admin-body .homepage-album-uploader{grid-template-columns:1fr;padding:14px}
  .premium-admin-body .homepage-album-pending{grid-column:1}
  .premium-admin-body .homepage-album-grid{grid-template-columns:1fr}
  .premium-admin-body .homepage-album-slide-preview{height:210px}
}

/* ===== release_13_8_2.css ===== */
/*
 * MAR School 13.8.2
 * - Compact square public-service tiles with Egyptian flag identity.
 * - Larger, clearer admin sidebar submenu typography.
 */

/* ===== Public admission portal: compact square service tiles ===== */
body.public-body.public-page-admission .sedd-portals-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(142px,1fr))!important;
  gap:10px!important;
  align-items:start!important;
}
body.public-body.public-page-admission .sedd-portal-card{
  position:relative!important;
  aspect-ratio:1 / 1!important;
  min-height:0!important;
  height:auto!important;
  padding:12px 10px 10px!important;
  border-radius:15px!important;
  border:1px solid rgba(7,54,91,.16)!important;
  justify-content:center!important;
  overflow:hidden!important;
  background:
    linear-gradient(180deg,
      rgba(206,17,38,.16) 0 30%,
      rgba(255,255,255,.985) 30% 70%,
      rgba(17,17,17,.09) 70% 100%)!important;
  box-shadow:0 4px 14px rgba(7,54,91,.055)!important;
}
body.public-body.public-page-admission .sedd-portal-card::before{
  content:"🇪🇬";
  position:absolute;
  top:7px;
  left:8px;
  z-index:2;
  font-size:15px;
  line-height:1;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.08));
}
body.public-body.public-page-admission .sedd-portal-card:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 8px 20px rgba(7,54,91,.11)!important;
}
body.public-body.public-page-admission .sedd-portal-icon{
  width:38px!important;
  height:38px!important;
  min-height:38px!important;
  margin:0 0 5px!important;
  font-size:29px!important;
  line-height:1!important;
}
body.public-body.public-page-admission .sedd-portal-card h3{
  margin:0 0 4px!important;
  font-size:15px!important;
  line-height:1.28!important;
  min-height:0!important;
}
body.public-body.public-page-admission .sedd-portal-card p{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  overflow:hidden!important;
  margin:0 0 7px!important;
  min-height:0!important;
  font-size:10.2px!important;
  line-height:1.48!important;
  color:#657789!important;
}
body.public-body.public-page-admission .sedd-portal-card span.sedd-enter{
  min-height:25px!important;
  padding:4px 9px!important;
  border-radius:7px!important;
  font-size:10.5px!important;
  line-height:1.25!important;
}
@media (max-width:760px){
  body.public-body.public-page-admission .sedd-portals-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body.public-body.public-page-admission .sedd-portal-card{
    padding:10px 8px 8px!important;
    border-radius:13px!important;
  }
  body.public-body.public-page-admission .sedd-portal-icon{width:34px!important;height:34px!important;min-height:34px!important;font-size:26px!important}
  body.public-body.public-page-admission .sedd-portal-card h3{font-size:13.5px!important}
  body.public-body.public-page-admission .sedd-portal-card p{font-size:9.5px!important;-webkit-line-clamp:2!important}
}

/* ===== Internal admin sidebar: larger submenu labels ===== */
body.premium-admin-body .premium-sidebar .nav-submenu .nav-link{
  font-size:14px!important;
  line-height:1.55!important;
  font-weight:750!important;
  min-height:52px!important;
  padding:11px 14px!important;
  letter-spacing:0!important;
}
body.premium-admin-body .premium-sidebar .nav-submenu .nav-link > span:first-child{
  min-width:22px!important;
  font-size:16px!important;
  text-align:center!important;
}
body.premium-admin-body .premium-sidebar .nav-submenu .nav-link b{
  font-size:14px!important;
  line-height:1.55!important;
}
body.premium-admin-body .premium-sidebar .nav-submenu .nav-link small{
  display:block;
  font-size:11.5px!important;
  line-height:1.45!important;
}
