:root{font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;background:#f3f6fb;color:#182b47;--brand:#2463a6}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:10px;background:var(--brand);color:#fff;padding:10px 15px;font-weight:600}button.secondary{background:#e7eef8;color:#163d68}input,select,textarea{width:100%;border:1px solid #ccd5e2;border-radius:9px;padding:10px;background:#fff;color:#16263c}label{display:block;font-size:.82rem;font-weight:650;color:#465672;margin:9px 0 4px}textarea{min-height:100px}a{color:var(--brand)}.auth{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:min(460px,100%);background:white;border-radius:20px;padding:34px;box-shadow:0 18px 48px #203b601a}.auth-card h1{margin:10px 0}.auth-card button{width:100%;margin-top:20px}.logo{display:inline-flex;align-items:center;justify-content:center;background:var(--brand);color:#fff;width:54px;height:54px;border-radius:16px;font-weight:900;font-size:1.5rem}.shell{min-height:100vh}.top{background:white;border-bottom:1px solid #e5eaf2;padding:14px max(20px,calc((100vw - 1200px)/2));display:flex;gap:12px;align-items:center;flex-wrap:wrap}.top .school-name{font-weight:800;font-size:1.15rem;flex:1}.top img{max-height:40px;max-width:120px;object-fit:contain}.layout{max-width:1200px;margin:0 auto;padding:24px 18px 45px}.subhead{color:#718097;font-size:.9rem}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 22px}.tabs button{background:white;color:#31547c;border:1px solid #d7dfeb}.tabs button.active{background:var(--brand);color:#fff}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:18px}.panel{background:#fff;padding:20px;border:1px solid #e5ebf4;border-radius:16px;box-shadow:0 3px 12px #22385806}.panel h2{margin:0 0 12px;font-size:1.1rem}.panel form{margin-top:12px}.row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:11px 0;border-bottom:1px solid #edf1f6}.row:last-child{border-bottom:none}.muted{color:#75839a;font-size:.87rem}.stat{font-size:2rem;font-weight:800;color:var(--brand)}.notice{border-radius:10px;padding:12px;margin-bottom:16px}.error{background:#feecec;color:#8e2525}.ok{background:#e6f7ed;color:#155c37}.points{font-weight:800;color:var(--brand);font-variant-numeric:tabular-nums}.footer{text-align:center;color:#77869a;padding:25px;font-size:.82rem}.empty{padding:18px 0;color:#8291a5}.loading{text-align:center;margin:30vh auto}.chip{font-size:.75rem;background:#eaf1fb;border-radius:99px;padding:3px 8px;white-space:nowrap}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media(max-width:640px){.layout{padding:14px 12px 30px}.auth-card{padding:22px}.panel{padding:16px}.two{grid-template-columns:1fr}.top{padding:13px}.tabs{overflow:auto}.top .school-name{font-size:1rem}}
/* Alhijra responsive school platform v0.2 */
:root{--ink:#172b49;--muted:#72819b;--radius:18px}
body{background:#f5f7fc;color:var(--ink)}
.app-frame{min-height:100vh;display:grid;grid-template-columns:264px minmax(0,1fr)}
.sidenav{background:#fff;border-right:1px solid #e6ecf3;display:flex;flex-direction:column;gap:3px;padding:24px 14px;position:sticky;top:0;height:100vh;overflow:auto}
.brand-mark{display:flex;gap:12px;align-items:center;padding:3px 10px 24px;border-bottom:1px solid #e7edf5;margin-bottom:15px}
.brand-mark strong{display:block;font-size:1.01rem}
.brand-mark .muted{font-size:.7rem}
.brand-symbol{background:var(--brand);color:white;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;font-size:1.2rem;font-weight:800;flex-shrink:0}
.sidebar-label{color:#95a0b2;letter-spacing:.15em;font-size:.66rem;font-weight:800;padding:0 16px}
.sidenav button{background:transparent;color:#526781;text-align:left;width:100%;border-radius:11px;padding:11px 14px;font-weight:600;transition:background .12s}
.sidenav button:hover{background:#eef4fa}
.sidenav button.current{background:#e9f2ff;color:var(--brand);box-shadow:inset 3px 0 var(--brand)}
.sidebar-bottom{margin-top:auto;padding:18px 10px 0;border-top:1px solid #e8edf5}
.sidebar-bottom small{display:block;color:var(--muted);padding-bottom:12px}
.main-area{min-width:0;display:flex;flex-direction:column}
.content-area{width:min(1320px,100%);margin:0 auto;padding:34px 34px 48px;flex:1}
.page-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px}
.page-head h1{font-size:1.72rem;letter-spacing:-.04em;margin:2px 0}
.eyebrow{font-size:.69rem;font-weight:800;color:#8594aa;letter-spacing:.12em}
.section-title{margin:5px 0 23px}.section-title h2{font-size:1.52rem;letter-spacing:-.03em;margin:0}.section-title p{margin:3px 0 0}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}
.metric-card{border:1px solid #e7edf6;background:#fff;padding:24px;border-radius:var(--radius);box-shadow:0 6px 20px #1c325405;display:flex;flex-direction:column;gap:6px}
.metric-card strong{color:var(--brand);font-size:2rem;line-height:1.15}
.metric-card small{font-size:.73rem}
.grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:18px}
.panel{border:1px solid #e6edf6;padding:24px;border-radius:var(--radius);box-shadow:0 6px 20px #1b304006}
.panel h2{font-size:1.1rem}.panel .muted{overflow-wrap:anywhere}
.empty-state{text-align:center;padding:26px 4px;color:#8997a8}
.empty-state .empty-icon{font-size:1.5rem;color:#9fb2cc}
.empty-state p{font-size:.88rem}
.chip{background:#e9f0fb;color:#41638c;border-radius:99px;font-weight:600}
.notice[hidden],.share-invite[hidden]{display:none}
.notice{border:1px solid transparent}
.toggle{display:flex;align-items:center;gap:8px;margin-top:8px}
.toggle label{display:flex;align-items:center;gap:8px}
.toggle input[type=checkbox]{width:18px;height:18px;accent-color:var(--brand)}
.share-invite{background:#fff;padding:16px;border:1px solid #e3eaf5;border-radius:15px;margin-top:12px}
.share-invite input{font-size:.85rem;margin-bottom:10px}
.attendance-person{display:grid;grid-template-columns:1fr 140px auto;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #e6ecf3}
.attendance-person select{min-width:0}
.mobile-head{display:none}
textarea{resize:vertical}
@media(max-width:1050px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-area{padding:25px 20px}}
@media(max-width:750px){.app-frame{display:block}.sidenav{position:relative;height:auto;display:flex;flex-direction:row;align-items:center;padding:10px;gap:5px;overflow-x:auto;white-space:nowrap;border-right:none;border-bottom:1px solid #e8eef6}.brand-mark,.sidebar-label,.sidebar-bottom{display:none}.sidenav button{width:auto;min-width:max-content;padding:8px 11px;font-size:.86rem}.content-area{padding:20px 12px 30px}.mobile-head{display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e6edf5;padding:12px}.metric-grid{gap:10px}.metric-card{padding:17px}.page-head h1{font-size:1.45rem}.attendance-person{grid-template-columns:1fr 1fr}.attendance-person button{grid-column:1/-1}}
@media(max-width:420px){.metric-grid{grid-template-columns:1fr 1fr}.grid{grid-template-columns:minmax(0,1fr)}.metric-card strong{font-size:1.65rem}}

.school-logo{max-width:100%;width:42px;height:42px;object-fit:contain;border-radius:9px}.logo .school-logo{width:50px;height:50px}

.logo-preview{display:block;max-width:220px;max-height:160px;object-fit:contain;background:#f3f6fb;border:1px solid #e3ebf5;padding:12px;border-radius:14px;margin-bottom:12px}.logo-preview[hidden]{display:none}input[type=file]{max-width:100%;font-size:.85rem}.panel button:disabled{opacity:.6;cursor:wait}

/* Master administration control centre */
.master-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:4px 0 15px}
.master-toolbar input{flex:1;min-width:175px}
.master-toolbar select{width:auto;max-width:170px}
.master-school-row{display:flex;gap:12px;align-items:center;padding:14px 4px;border-top:1px solid #edf1f7}
.master-school-icon{width:43px;height:43px;border-radius:12px;background:#e8f1fa;color:var(--brand);display:grid;place-items:center;flex-shrink:0;font-weight:800}
.master-school-icon img{max-width:100%;max-height:100%;object-fit:contain}
.master-school-name{flex:1;min-width:0;display:grid;gap:2px}
.master-school-name strong{white-space:normal;overflow-wrap:anywhere}
.master-school-name small{font-size:.75rem;color:#7989a3}
.master-school-row button{flex-shrink:0}
.status-pill{font-size:.72rem;padding:4px 10px;border-radius:30px;font-weight:750;text-transform:capitalize}
.status-active{color:#136343;background:#e7f6ee}
.status-suspended{color:#a53136;background:#ffebeb}
.master-overview-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,1fr);gap:18px}
.master-overview-grid .panel:first-child{grid-row:span 2}
.master-top-actions{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:20px}
.modal-overlay{position:fixed;inset:0;background:#10213f9e;z-index:20;display:grid;place-items:center;padding:18px;overflow:auto}
.modal-box{background:white;border-radius:18px;width:min(540px,100%);padding:24px;max-height:90vh;overflow:auto;box-shadow:0 20px 70px #0d23474b}
.modal-box .panel{border:0;box-shadow:none;padding:8px 0}
.modal-title{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e5eaf4;padding-bottom:15px;margin-bottom:15px;font-size:1.16rem}
.modal-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:18px}
@media(max-width:1050px){.master-overview-grid{grid-template-columns:1fr}.master-overview-grid .panel:first-child{grid-row:auto}}
@media(max-width:650px){.master-school-row{flex-wrap:wrap}.master-school-row .master-school-name{flex-basis:60%}.master-toolbar{align-items:stretch;flex-direction:column}.master-toolbar select{width:100%;max-width:none}.master-toolbar input{min-width:0}.modal-box{padding:18px}}

/* Independent master-platform branding */
.master-brand-logo{width:46px;height:46px;max-width:46px;max-height:46px;flex-shrink:0;object-fit:contain;border-radius:10px}
.master-logo-preview{display:block;width:180px;height:128px;max-width:100%;object-fit:contain;border:1px solid #e3eaf5;border-radius:12px;padding:12px;background:#f7f9fc;margin:12px 0}
.master-logo-preview[hidden]{display:none}

/* School-only sidebar identity: give landscape and square logos real display space. */
.sidenav .school-brand-mark{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:11px;
  padding:14px 8px 24px;
  margin-bottom:15px;
  text-align:center;
  white-space:normal;
}
.school-logo-frame{
  width:100%;
  height:112px;
  min-height:112px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.school-sidebar-logo{
  display:block;
  width:100%;
  height:100%;
  max-width:210px;
  max-height:112px;
  object-fit:contain;
  object-position:center;
}
.school-logo-fallback{
  width:74px;
  height:74px;
  font-size:1.9rem;
  border-radius:18px;
}
.school-brand-caption{width:100%;min-width:0}
.school-brand-caption strong{
  font-size:1.08rem;
  line-height:1.3;
  overflow-wrap:anywhere;
}
.school-brand-caption .muted{font-size:.78rem;margin-top:3px}
@media(max-width:750px){
  .sidenav .school-brand-mark{display:none}
}

/* Verified school onboarding */
.ob-copy,.ob-relationship,.ob-request{display:flex;align-items:center;gap:12px;justify-content:space-between;border-top:1px solid #e8eef6;padding:12px 0}
.ob-copy{display:grid;grid-template-columns:1fr auto}
.ob-copy strong{grid-column:1/-1;font-size:.88rem}
.ob-copy input{min-width:0;font-size:.8rem}
.ob-relationship>div:first-child,.ob-request>div:first-child{flex:1;min-width:0;overflow-wrap:anywhere}
.ob-buttons{display:flex;gap:7px;flex-wrap:wrap}
.ob-import-preview{max-height:230px;overflow:auto;margin:12px 0}
.ob-error{color:#b12f38;font-size:.82rem}
@media(max-width:650px){.ob-relationship,.ob-request{flex-wrap:wrap}.ob-copy{grid-template-columns:minmax(0,1fr)}}

/* Al-Hijra Academy cinematic login — video is decorative and muted. */
.auth{position:relative;isolation:isolate;min-height:100dvh;overflow:hidden;background:#102c2c;color:#fff;padding:24px;display:flex;align-items:center;justify-content:center}
.auth-scene{position:absolute;inset:0;z-index:0;background-color:#24463f;background-position:center center;background-repeat:no-repeat;background-size:cover;overflow:hidden;pointer-events:none}
.auth-video{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center center;inset:0;opacity:0;filter:saturate(1.05) brightness(.99);transition:opacity .8s ease}
.auth-scene.video-playing .auth-video{opacity:1}
.auth-scene.video-fallback .auth-video{display:none}
.auth-dim{position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,26,24,.68) 0%,rgba(2,31,29,.39) 48%,rgba(1,23,24,.31) 100%);}
.auth-layout{width:min(1110px,100%);display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,440px);gap:clamp(20px,5vw,80px);align-items:center;position:relative;z-index:1}
.auth-intro{max-width:560px;padding:25px 8px;text-shadow:0 2px 28px rgba(0,0,0,.32)}
.auth-kicker{font-size:.74rem;font-weight:900;color:#f7d898;letter-spacing:.18em}
.auth-motif{font-size:3.2rem;color:#f2d48a;margin:14px 0}
.auth-intro h2{font-family:Georgia,serif;font-size:clamp(2.6rem,4.3vw,4.8rem);line-height:1.07;letter-spacing:-.035em;margin:14px 0 22px;color:#fff}
.auth-intro p{font-size:1.06rem;line-height:1.7;color:#d7e8e1;max-width:470px}
.auth-values{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}
.auth-values span{color:#f0ddb3;background:rgba(255,255,255,.1);border:1px solid rgba(234,218,172,.3);padding:7px 13px;border-radius:50px;font-weight:700;font-size:.85rem}
.auth-credit{display:inline-block;color:#c2d8d0;font-size:.72rem;text-decoration:underline;margin-top:22px}
.auth-card{width:100%;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);color:#173f35;padding:clamp(24px,3vw,36px);border:1px solid rgba(255,255,255,.8);box-shadow:0 25px 80px rgba(0,16,22,.35)}
.auth-card-top{display:flex;gap:16px;align-items:center;margin-bottom:10px}
.auth-card-top h1{font-size:1.65rem;margin:2px 0 0;color:#16392f;line-height:1.2}
.auth-small-label{font-size:.65rem;color:#1c7860;font-weight:900;letter-spacing:.15em}
.auth-card .logo{background:#0b6c54;flex:none}
.auth-card .panel{box-shadow:none;padding:0;border:0;background:transparent}
.auth-card .panel h2{font-size:1.05rem;margin-top:18px}
.auth-card .panel button[type=submit]{background:#0b6c54;color:white;border-radius:11px;min-height:48px}
.auth-card .footer{padding:19px 0 0}
.password-field{position:relative;display:flex;align-items:center}
.password-field input{padding-right:82px}
.password-toggle,.auth-card .password-toggle{position:absolute!important;right:5px;top:50%;transform:translateY(-50%);width:auto!important;min-width:64px!important;min-height:34px!important;margin:0!important;background:#edf4f1!important;color:#0d604a!important;border:1px solid #c8dcd1!important;border-radius:7px!important;padding:5px 9px!important;font-size:.8rem!important;box-shadow:none!important}
.password-toggle:focus-visible{outline:2px solid #0b8065;outline-offset:1px}
@media(max-width:760px){.auth{padding:17px 12px}.auth-layout{grid-template-columns:1fr;gap:12px;max-width:470px}.auth-intro{text-align:center;padding:15px 8px 0}.auth-motif{display:none}.auth-intro h2{font-size:clamp(1.8rem,7vw,2.5rem);margin:9px 0}.auth-intro p{font-size:.85rem;margin:8px auto}.auth-values{justify-content:center;margin:12px 0}.auth-credit{display:none}.auth-card{padding:22px}.auth-scene.video-playing .auth-video{opacity:.88}.auth-dim{background:rgba(3,26,29,.52)}}
@media(prefers-reduced-motion:reduce){.auth-video{display:none}}

/* Static Islamic classroom background: no video and no footage credit. */
.auth-scene{background-color:#183b34;background-repeat:no-repeat;background-position:center center;background-size:cover}
.auth-scene .auth-dim{background:linear-gradient(90deg,rgba(0,43,35,.78) 0%,rgba(0,43,35,.44) 47%,rgba(0,25,21,.24) 100%)}
.auth-video,.auth-credit{display:none!important}
@media(max-width:760px){.auth-scene{background-position:48% center}.auth-scene .auth-dim{background:rgba(0,35,29,.62)}}

/* Approved Islamic classroom artwork (self-hosted).
   Keep all login controls in live HTML — none are baked into the background. */
.auth{isolation:isolate}
.auth-scene{background-image:url('/photos/classroom-reading.webp');background-position:center center;background-size:cover;background-repeat:no-repeat}
.auth-scene .auth-dim{background:linear-gradient(90deg,rgba(0,38,31,.32) 0%,rgba(0,39,32,.10) 49%,rgba(0,27,22,.02) 100%)}
.auth-layout{width:min(1220px,100%);grid-template-columns:minmax(0,1fr) minmax(360px,520px);gap:clamp(28px,4vw,64px)}
.auth-intro{max-width:560px}
.auth-card{min-height:632px;background:#fff;backdrop-filter:none;display:flex;flex-direction:column;justify-content:center;border-radius:21px}
@media(max-width:760px){
 .auth-layout{grid-template-columns:1fr;max-width:470px;gap:14px}
 .auth-card{min-height:0}
 .auth-scene{background-position:45% center}
 .auth-scene .auth-dim{background:linear-gradient(0deg,rgba(0,35,29,.40),rgba(0,35,29,.26))}
}

/* People & Families: card-based school directory */
.pe-root{--pe-green:#086044;--pe-ink:#182b40;color:var(--pe-ink);margin-top:-5px}
.pe-page-intro{padding:14px 18px 26px;background:linear-gradient(106deg,#f4f9f1 0%,#f6faf9 55%,#e3efe7 100%);border:1px solid #e7eee8;border-radius:22px;margin-bottom:20px;position:relative;overflow:hidden}
.pe-page-intro:after{content:'☪';position:absolute;right:34px;top:-57px;font:170px Georgia,serif;color:#d3e6d9;opacity:.6;pointer-events:none}
.pe-page-intro>*{position:relative;z-index:1}
.pe-page-intro h2{font:700 clamp(28px,3vw,42px) Georgia,serif;color:#104d3a;margin:3px 0}
.pe-page-intro p{margin:0;color:#68798b}
.pe-kicker{font-weight:800;font-size:11px;letter-spacing:.19em;color:#be8b2a}
.pe-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}
button.pe-stat{background:white;border:1px solid #e2e9ed;border-radius:16px;padding:19px;color:var(--pe-ink);box-shadow:0 8px 25px #243b3d0a;display:flex;align-items:center;text-align:left;gap:14px;min-width:0}
button.pe-stat.selected{background:linear-gradient(130deg,#0e624b,#064735);color:white;border-color:#ad8736;box-shadow:0 4px 20px #054d3924}
.pe-stat .pe-icon{font-size:26px;color:#0a7957;background:#e5f4e8;border-radius:13px;min-width:58px;height:58px;display:grid;place-items:center}
.pe-stat.selected .pe-icon{color:#ffe29c;background:#ffffff24}
.pe-stat-details{display:flex;flex-direction:column;min-width:0}
.pe-stat-details strong{font-size:14px}
.pe-stat-details b{font-size:28px;line-height:1.25}
.pe-stat-details small{font-size:11px;color:#84949d}
.pe-stat.selected small{color:#d0e9dc}
.pe-tabs{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:18px}
button.pe-btn{font-size:13px;padding:9px 13px;border-radius:9px;white-space:nowrap}
button.pe-btn.primary,button.pe-btn.active{background:#096146;color:white;border:1px solid #096146}
button.pe-btn.outline{background:white;color:#215447;border:1px solid #cbded7}
button.pe-btn.text{background:transparent;color:#9c701e;padding:4px}
.pe-board{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,325px);align-items:start;gap:15px}
.pe-directory,.pe-side-panel{background:white;border:1px solid #e6ebeb;border-radius:16px;padding:19px;box-shadow:0 6px 24px #11283308;min-width:0}
.pe-dir-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:15px}
.pe-dir-header h3{font:700 21px Georgia,serif;margin:0}
.pe-dir-header p{color:#849099;font-size:12px;margin:0}
.pe-actions{display:flex;gap:7px;flex-wrap:wrap}
.pe-toolbar{display:flex;gap:10px;margin:4px 0 17px}
.pe-toolbar select{width:157px;flex-shrink:0}
.pe-search{flex:1;display:flex;align-items:center;gap:7px;border:1px solid #d9e1e5;border-radius:10px;padding:0 12px;min-width:0}
.pe-search input{border:none;box-shadow:none;outline:none;background:transparent;min-width:0}
.pe-search .pe-icon{color:#7a8b95;font-size:22px}
.pe-cards-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pe-family-card{padding:16px;border:1px solid #e0e8e5;border-radius:15px;box-shadow:0 5px 15px #0f302609;min-width:0;display:flex;flex-direction:column;gap:13px}
.pe-person-head{display:flex;align-items:center;gap:11px;min-width:0}
.pe-avatar,.pe-small-avatar{width:45px;height:45px;border-radius:50%;background:linear-gradient(135deg,#d5ebdd,#e9f1e7);display:grid;place-items:center;color:#136b54;font-weight:800;flex-shrink:0}
.pe-small-avatar{width:36px;height:36px}
.pe-person-label{display:flex;flex-direction:column;min-width:0;flex:1}
.pe-person-label strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.pe-person-label span{font-size:11px;color:#748493;overflow-wrap:anywhere}
.pe-pill{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;font-weight:700;border-radius:30px;font-size:10px;white-space:nowrap;background:#f0f3f5;color:#586977}
.pe-pill.good{background:#dbf5df;color:#22723d}
.pe-pill.waiting{background:#fff0c9;color:#936212}
.pe-pill.blue{background:#e5f0fd;color:#24618e}
.pe-family-kids{flex:1}
.pe-kid-caption{display:flex;align-items:center;gap:5px;color:#0c6c4f;margin-bottom:6px;font-size:12px}
.pe-child{display:flex;align-items:center;gap:7px;background:#f1f5f7;padding:5px 8px;border-radius:7px;margin-top:4px;font-size:12px}
.pe-child>span:nth-child(2){flex:1;overflow-wrap:anywhere}
.pe-student-link.pe-btn{width:100%;display:flex;justify-content:flex-start;background:#f1f5f7;color:#164b43;white-space:normal;text-align:left;border:0;font-size:12px;padding:6px 9px;margin:4px 0}
.pe-student-link.pe-btn:hover{background:#e4f1eb}
.pe-empty-child,.pe-empty-side,.pe-nobody{padding:15px;color:#89949b;font-size:13px}
.pe-card-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:auto}
.pe-card-actions .pe-btn{flex:1}
.pe-simple-details{color:#6f8089;font-size:12px;margin-bottom:3px}
.pe-right-rail{display:grid;gap:13px}
.pe-side-panel{padding:16px}
.pe-side-title{display:flex;align-items:center;gap:7px;margin-bottom:9px}
.pe-side-title strong{font-size:15px;flex:1}
.pe-side-sub{font-size:12px;color:#84939a;line-height:1.5}
.pe-side-entry{border-top:1px solid #edf0f0;padding:11px 0;display:flex;align-items:center;gap:9px}
.pe-side-details{display:flex;flex:1;flex-direction:column;min-width:0}
.pe-side-details strong{font-size:12px;overflow-wrap:anywhere}
.pe-side-details span,.pe-side-details small{font-size:11px;color:#82919b;overflow-wrap:anywhere}
.pe-page-info,.pe-page-controls{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:17px;color:#657787;font-size:12px}
.pe-page-controls{margin:0}
.pe-modal-backdrop{position:fixed;inset:0;background:#142833a8;z-index:35;display:flex;align-items:center;justify-content:center;padding:20px}
.pe-modal{background:white;border-radius:18px;padding:23px;width:min(610px,100%);max-height:90vh;overflow-y:auto;box-shadow:0 20px 70px #0820155e}
.pe-modal-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}
.pe-modal-header h2{font:700 24px Georgia,serif;margin:0}
.pe-modal .panel{border:0;padding:0;box-shadow:none}
.pe-modal-field>*{margin-bottom:12px}
.pe-family-detail h3{font-size:15px;margin:20px 0 10px}
.pe-guardian-row{display:flex;gap:11px;align-items:center;padding:11px 0;border-top:1px solid #edf1f0}
.pe-profile-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:17px}
.pe-profile-facts>div{border:1px solid #e8eeeb;border-radius:9px;padding:11px;display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}
.pe-profile-facts strong{font-size:11px;color:#7c8c91}
.pe-profile-facts span{font-size:13px;font-weight:700}
.pe-modal-note{font-size:13px;color:#637d73}
.pe-loading{padding:28px;background:white;border-radius:18px}
@media(max-width:1250px){.pe-board{grid-template-columns:1fr}.pe-right-rail{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:880px){.pe-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pe-cards-grid{grid-template-columns:1fr}.pe-right-rail{grid-template-columns:1fr}}
@media(max-width:520px){.pe-root{padding:0}.pe-stat-grid{gap:8px}.pe-stat{padding:10px!important}.pe-stat .pe-icon{min-width:40px;height:40px;font-size:20px}.pe-stat-details b{font-size:23px}.pe-dir-header{align-items:flex-start}.pe-toolbar{flex-direction:column}.pe-toolbar select{width:100%}.pe-directory{padding:12px}.pe-person-head{flex-wrap:wrap}.pe-modal{padding:16px}}

/* Premium unified school design language — extends People & Families throughout portal */
.app-frame{background:#f5f8f7}
.main-area{background:#f5f8f7}
.content-area{width:min(1460px,100%);padding:30px clamp(16px,3vw,46px) 50px}
.sidenav{background:linear-gradient(180deg,#fcfefd 0%,#fff 70%);border-right:1px solid #e3ece6}
.sidenav button{color:#355e53;font-size:14px;font-weight:650}
.sidenav button:hover{background:#eef6ee;color:#075d44}
.sidenav button.current{background:linear-gradient(90deg,#d3eadb,#e9f5ea);color:#075b42;box-shadow:inset 3px 0 #0c6e50}
.sidebar-label,.eyebrow{color:#64897e}
.brand-mark{border-bottom:1px solid #e6eee7}
.page-head{margin-bottom:19px}
.page-head h1{font:700 clamp(22px,2.4vw,30px) Georgia,serif;color:#174a3e;letter-spacing:-.025em}
.page-head .chip{background:#e2f1e5;color:#1e7053}
.content-area>.notice{margin-bottom:16px}
.section-title h2{font:700 clamp(22px,2.1vw,29px) Georgia,serif;color:#194b3d}
.section-title p{color:#748780}
.panel,.metric-card{border-color:#e0eae4;border-radius:17px;box-shadow:0 8px 26px #243b300a}
.panel h2{font:700 19px Georgia,serif;color:#1a4d40}
.panel .row{border-color:#e8f0e9}
.metric-card strong,.stat{color:#075a42}
button:not(.pe-btn):not(.pe-stat):not(.sidenav button):not(.home-action):not(.home-stat):not(.home-cta-primary):not(.home-cta-light):not(.home-link):not(.home-view-btn){border-radius:10px}
.content-area button:not(.secondary):not(.pe-btn):not(.pe-stat):not(.home-action):not(.home-stat):not(.home-link):not(.home-view-btn):not(.home-cta-light):not(.sidenav button){background:#075e46}
.content-area button.secondary{background:#e8f3eb;color:#175f48}
.content-area button:hover{filter:brightness(.97)}
.content-area input:focus,.content-area select:focus,.content-area textarea:focus{outline:2px solid #94cbb3;outline-offset:1px}
.content-area input,.content-area select,.content-area textarea{border-color:#d4e2da}
.footer{color:#8eaaa0}
.home-premium{display:grid;gap:19px}
.home-hero{position:relative;min-height:196px;border-radius:20px;background:linear-gradient(101deg,#085b45 0%,#0e7056 48%,#e8f3e9 100%);color:white;overflow:hidden;display:flex;align-items:center;padding:29px clamp(22px,3vw,42px);border:1px solid #d3e8d7}
.home-hero:after{position:absolute;right:13%;top:-110px;width:355px;height:355px;border:2px solid #ffffff3b;border-radius:50%;content:'';pointer-events:none}
.home-hero-content{position:relative;z-index:2;max-width:680px}
.home-hero-eyebrow{font-size:11px;letter-spacing:.17em;color:#f2d58a;font-weight:800}
.home-hero h2{font:700 clamp(25px,3vw,40px) Georgia,serif;line-height:1.12;margin:10px 0;color:#fff}
.home-hero p{max-width:565px;font-size:14px;color:#e4f0ec;line-height:1.55;margin:0 0 17px}
.home-hero-actions{display:flex;gap:9px;flex-wrap:wrap}
.home-hero .home-cta-primary,.home-hero .home-cta-light{padding:9px 16px;font-size:13px;border-radius:9px}
.home-hero .home-cta-primary{background:#f7e5bb!important;color:#164b3c!important}
.home-hero .home-cta-light{background:#ffffff22!important;border:1px solid #ffffff66;color:white}
.home-hero-ornament{font:110px Georgia,serif;color:#ffffff30;position:absolute;right:11%;top:4px;display:flex;gap:10px;align-items:center;pointer-events:none}
.home-hero-ornament span+span{font-size:40px;align-self:flex-end;padding-bottom:35px}
.home-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
button.home-stat{display:flex;gap:14px;align-items:center;text-align:left;padding:19px 17px;color:#1a3640;background:white;border:1px solid #e5eee8;border-radius:16px;box-shadow:0 5px 19px #10352209;min-width:0}
.home-stat-icon{width:54px;height:54px;border-radius:15px;display:grid;place-items:center;color:#086a4e;background:#e5f4e9;font-size:24px;flex-shrink:0}
.home-stat-content{display:flex;flex-direction:column;min-width:0}
.home-stat-content>span{font-size:13px;font-weight:700;color:#2a554a}
.home-stat-content>strong{font-size:28px;line-height:1.25;color:#103f32}
.home-stat-content>small{font-size:11px;color:#8b9b94;line-height:1.35}
.home-content-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);gap:17px;align-items:start}
.home-main-column,.home-side-column{display:grid;gap:16px;min-width:0}
.home-panel{background:#fff;border:1px solid #e4eee8;border-radius:17px;padding:20px;box-shadow:0 7px 25px #183a2808;min-width:0}
.home-panel-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.home-panel-title h3{margin:0;color:#184c3b;font:700 20px Georgia,serif}
.home-panel-title>span{color:#8e9f94;font-size:12px}
button.home-link,button.home-view-btn{background:transparent;color:#127254;padding:6px;border:0;font-size:12px;font-weight:750}
button.home-view-btn{border:1px solid #d4e8de;border-radius:8px;padding:5px 9px}
.home-actions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
button.home-action{background:#f9fcfa;border:1px solid #d9e9df;border-radius:13px;padding:14px;display:flex;align-items:center;gap:11px;color:#15533c;text-align:left;min-width:0}
.home-card-symbol,.home-feed-icon{width:41px;height:41px;display:grid;place-items:center;flex-shrink:0;background:#e1f2e5;color:#075f44;border-radius:11px;font-size:21px}
.home-action-copy{display:flex;flex-direction:column;flex:1;min-width:0}
.home-action-copy strong{font-size:13px}
.home-action-copy small{font-size:11px;color:#81968c;line-height:1.35}
.home-action-arrow{font-size:23px;color:#679c83}
.home-feed-row{display:flex;gap:12px;align-items:center;border-top:1px solid #edf3ed;padding:12px 0}
.home-feed-info{display:flex;flex-direction:column;flex:1;min-width:0}
.home-feed-info strong{font-size:13px;color:#214a3f;overflow-wrap:anywhere}
.home-feed-info small{font-size:11px;color:#81938b;overflow-wrap:anywhere;line-height:1.35}
.home-feed-empty{padding:20px 8px;display:flex;flex-direction:column;align-items:center;gap:7px;color:#899b92;text-align:center;font-size:12px}
.home-feed-empty strong{font-size:13px;color:#42695b}
@media(max-width:1150px){.home-content-grid{grid-template-columns:1fr}.home-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-hero-ornament{right:2%}}
@media(max-width:700px){.home-hero{padding:23px 17px;min-height:180px}.home-hero-ornament{display:none}.home-actions-grid{grid-template-columns:1fr 1fr}.home-stat-icon{width:41px;height:41px;font-size:18px}.home-stat{padding:13px!important}.home-stat-content strong{font-size:23px}.home-panel{padding:15px}}
@media(max-width:440px){.home-stat-grid,.home-actions-grid{grid-template-columns:1fr 1fr}.home-action{padding:10px!important;gap:6px!important;flex-wrap:wrap}.home-action-arrow{display:none}.home-action-copy small{font-size:10px}}

/* Overview reference fidelity v2 — campus banner, three-column dashboard, gold highlights */
.home-premium{gap:18px}
.home-premium .home-hero{
 min-height:208px;padding:26px 34px;
 background:radial-gradient(circle at 30% 80%,#105b42 0%,#05472f 62%,#033824 100%);
 border:1px solid #d8e8d8;border-radius:21px;
 box-shadow:0 5px 18px #0d38290e;
}
.home-premium .home-hero:after{display:none}
.home-premium .home-hero-content{z-index:3;max-width:60%}
.home-premium .home-hero h2{font:700 clamp(27px,2.7vw,42px) Georgia,serif;margin:7px 0 6px;line-height:1.16}
.home-premium .home-hero-eyebrow{font-size:10px;letter-spacing:.17em}
.home-premium .home-hero p{margin:0 0 20px;line-height:1.35}
.home-premium .home-hero-actions{gap:13px}
.home-premium .home-cta-primary{background:#f4cc70!important;color:#153b2c!important;padding:12px 23px!important;border:1px solid #e7b755!important;font-weight:800;box-shadow:0 5px 10px #051f1630}
.home-premium .home-cta-light{border:2px solid #f5ecd8!important;color:white!important;background:#06442e87!important;padding:11px 23px!important}
.home-premium .home-hero-campus{
 position:absolute;top:0;right:0;bottom:0;width:48.5%;
 background:#f1d49b;overflow:hidden;
 clip-path:ellipse(112% 158% at 112% 76%);
}
.home-premium .home-hero-campus:before{
 content:'';position:absolute;inset:0;z-index:2;pointer-events:none;
 border-left:8px solid #e0b652;clip-path:ellipse(112% 158% at 112% 76%);
}
.home-premium .home-hero-campus img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 57%}
.home-premium .home-stat-grid{gap:16px}
.home-premium button.home-stat{padding:16px 17px;min-height:105px;box-shadow:0 6px 17px #19382511;gap:16px}
.home-premium .home-stat:nth-child(even) .home-stat-icon{background:#fff2d9;color:#bc870e}
.home-premium .home-stat-content>span{font:700 16px Georgia,serif;color:#192d28}
.home-premium .home-stat-content>strong{font-size:29px;color:#142a27}
.home-premium .home-stat-content>small{font-size:12px;color:#46617a}
.home-dashboard-three{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:16px}
.home-dashboard-three>.home-panel{min-height:305px}
.home-dashboard-three .home-panel{padding:19px;border-radius:18px;box-shadow:0 7px 20px #112f2310;border:1px solid #e4eae5}
.home-dashboard-three .home-panel-title{min-height:29px;gap:7px;margin-bottom:12px}
.home-dashboard-three .home-panel-title h3{font:700 clamp(17px,1.52vw,22px) Georgia,serif;color:#163e2b;white-space:normal}
.home-panel-heading{display:flex;gap:9px;align-items:center;min-width:0}
.home-gold-icon{font-size:27px;color:#d8a21a;line-height:1}
.home-dashboard-three .home-side-column{display:grid;grid-template-rows:auto auto;gap:16px}
.home-dashboard-three .home-info-panel{min-height:145px}
.home-dashboard-three .home-feed-row{padding:11px 0}
.home-dashboard-three .home-feed-icon{background:#e8f4e8;color:#126248;width:40px;height:40px}
.home-dashboard-three .home-activity-panel{min-height:305px}
.home-section-subtitle{font-size:12px;color:#809091;margin-top:-7px;margin-bottom:20px}
.home-dashboard-three .home-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.home-dashboard-three .home-action{min-height:102px;background:#f5faf5;color:#1f442c;border-radius:14px;padding:13px;display:flex;align-items:flex-start;gap:12px;box-shadow:none}
.home-dashboard-three .home-action:nth-child(2),.home-dashboard-three .home-action:nth-child(3){background:#fff8ea}
.home-dashboard-three .home-action:nth-child(2) .home-card-symbol,.home-dashboard-three .home-action:nth-child(3) .home-card-symbol{background:#fff0ca;color:#bc860e}
.home-dashboard-three .home-action .home-action-arrow{display:none}
.home-dashboard-three .home-action .home-card-symbol{font-size:24px;width:42px;height:42px}
.home-dashboard-three .home-action-copy strong{font-size:13px;line-height:1.3;color:#204637}
.home-dashboard-three .home-action-copy small{font-size:11px}
.home-dashboard-three .home-feed-empty{min-height:94px;justify-content:center}
.home-bottom-strip{
 min-height:90px;border:1px solid #e5efe3;border-radius:19px;
 background:linear-gradient(102deg,#fff 0%,#fff 64%,#e7f2df 100%);
 box-shadow:0 7px 22px #17372610;padding:18px 26px;
 display:flex;align-items:center;gap:22px;position:relative;overflow:hidden;
}
.home-bottom-strip:after{
 content:'✧';font:130px Georgia,serif;color:#cde3ca;position:absolute;right:15px;top:-50px;pointer-events:none;
}
.home-bottom-icon{color:#d4a026;font-size:32px;line-height:1}
.home-bottom-strip h3{white-space:nowrap;font:700 22px Georgia,serif;color:#183c2c;margin:0}
.home-bottom-divider{height:45px;width:2px;background:#e4b85b;flex-shrink:0}
.home-bottom-strip p{font-size:13px;line-height:1.45;color:#1e352c;max-width:750px;position:relative;z-index:1;margin:0}
@media(max-width:1300px){
 .home-dashboard-three{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-dashboard-three>.home-side-column{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}
 .home-premium .home-hero-content{max-width:62%}
}
@media(max-width:920px){
 .home-dashboard-three{grid-template-columns:1fr}
 .home-dashboard-three>.home-side-column{grid-column:1;grid-template-columns:1fr 1fr}
 .home-premium .home-hero-campus{width:46%;opacity:.8}
 .home-premium .home-hero-content{max-width:75%}
}
@media(max-width:650px){
 .home-premium .home-hero{padding:25px 18px;min-height:224px}
 .home-premium .home-hero-content{max-width:100%}
 .home-premium .home-hero-campus{opacity:.22;width:70%}
 .home-premium .home-hero p{font-size:13px}
 .home-dashboard-three>.home-side-column{grid-template-columns:1fr}
 .home-bottom-strip{gap:10px;align-items:flex-start;padding:17px;flex-wrap:wrap}
 .home-bottom-strip h3{font-size:19px}
 .home-bottom-strip p{flex-basis:100%;font-size:12px}
 .home-bottom-divider{display:none}
}

/* Photographic school imagery — preserve accessible live controls, never draw UI into images. */
.home-premium .home-hero-campus{
 width:49%;clip-path:ellipse(112% 158% at 112% 76%);
 background:#e8e2c8;isolation:isolate;
}
.home-premium .home-hero-campus img{display:block;width:100%;height:100%;object-fit:cover;object-position:56% 45%}
.home-premium .home-hero-campus:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0b5c3c46,transparent 45%);z-index:1;pointer-events:none}
.school-tab-content{display:grid;gap:18px}
.section-photo-banner{height:180px;position:relative;overflow:hidden;border-radius:19px;background:#0a523c;border:1px solid #dbebe0;box-shadow:0 8px 24px #102f240d}
.section-photo-banner>img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center 44%}
.section-photo-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,51,36,.93),rgba(1,51,36,.80) 30%,rgba(1,51,36,.28) 69%,rgba(1,51,36,.05))}
.section-photo-content{position:absolute;left:clamp(18px,3.5vw,40px);top:50%;transform:translateY(-50%);max-width:560px;color:white}
.section-photo-eyebrow{display:block;letter-spacing:.16em;color:#f3d07a;font-size:10px;font-weight:800}
.section-photo-content h2{font:700 clamp(25px,2.9vw,38px) Georgia,serif;margin:8px 0 5px;color:white}
.section-photo-content p{font-size:13px;line-height:1.5;color:#f1f6ed;margin:0}
@media(max-width:700px){.section-photo-banner{height:150px}.section-photo-content{max-width:85%}.section-photo-content h2{font-size:25px}.home-premium .home-hero-campus{width:76%;opacity:.35}}

/* Real school photograph on sign-in. Strong contrast without masking pupils completely. */
.auth-scene{background-position:center 45%;background-size:cover}
.auth-scene .auth-dim{background:linear-gradient(90deg,rgba(0,37,28,.83) 0%,rgba(0,42,32,.67) 45%,rgba(0,35,28,.24) 100%)}
@media(max-width:760px){.auth-scene{background-position:45% center}.auth-scene .auth-dim{background:rgba(0,36,28,.58)}}

/* Parent and student directory now has a real classroom photo, not a drawn emblem. */
.pe-page-intro{
 min-height:174px;
 display:flex;flex-direction:column;justify-content:center;
 padding:25px 30px;
 background:linear-gradient(90deg,rgba(243,249,244,.98) 0%,rgba(243,249,244,.95) 50%,rgba(243,249,244,.26) 75%,rgba(243,249,244,.04) 100%),url('/photos/students-study.webp') right center / cover no-repeat;
 border:1px solid #dfebe3;
}
.pe-page-intro:after{display:none}
.pe-page-intro h2{color:#125441}
@media(max-width:650px){
 .pe-page-intro{background:linear-gradient(90deg,rgba(243,249,244,.96) 0%,rgba(243,249,244,.84) 72%,rgba(243,249,244,.64)),url('/photos/students-study.webp') center / cover no-repeat;padding:20px;min-height:145px}
}

.master-photo-content{display:grid;gap:19px}
.master-photo-banner{height:148px}
.master-photo-banner .section-photo-content h2{font-size:clamp(23px,2.4vw,32px)}
@media(max-width:650px){.master-photo-banner{height:137px}}

/* Self-registration: shared brand, accessible controls, private invitation QR */
.registration-signup-shortcuts{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:16px}
.registration-shortcut{font-size:12px!important;color:#09644a!important;border:1px solid #c5ded1!important;background:#eaf5ed!important;padding:10px 12px!important}
.registration-auth-card{width:min(510px,96vw);max-height:92vh;overflow-y:auto}
.registration-auth-card .registration-role-switch{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0}
.registration-role-switch button{background:#f5faf5;border:1px solid #d3e6d9;color:#1d624b;padding:10px 11px;font-size:12px;border-radius:8px;flex:1}
.registration-role-switch button.selected{background:#085c41;color:white;border-color:#085c41}
.registration-pane h2{font:700 23px Georgia,serif;color:#104f3a;margin:13px 0 6px}
.registration-pane>p{font-size:13px;line-height:1.5;margin-bottom:15px}
.registration-form{display:grid;gap:12px}
.registration-inputs{display:grid;gap:9px}
.registration-inputs input,.registration-inputs textarea{width:100%;box-sizing:border-box;border:1px solid #cbded2;border-radius:9px;padding:12px;font:inherit;background:#fff}
.registration-code-note{padding:12px;border-radius:10px;border:1px solid #d9e9c7;background:#f2f9e9;font-size:12px;line-height:1.5;color:#316549}
.registration-submit{background:#075f45!important;color:white!important;border-radius:10px;padding:12px 15px;border:0;font-weight:700}
.registration-message{font-size:13px;line-height:1.45;min-height:6px}
.registration-message.success{color:#156a46}.registration-message.error{color:#a12929}
.registration-back{background:transparent!important;border:0;color:#116b4a!important;font-size:13px;margin:9px 0}
.registration-pending-layout{min-height:100vh;display:grid;place-items:center;padding:22px;background:#f1f7f3}
.registration-pending-card{background:white;padding:36px;max-width:530px;width:100%;border-radius:18px;border:1px solid #dae9db;box-shadow:0 13px 34px #1634261c;box-sizing:border-box}
.registration-pending-card h1{font:700 29px Georgia,serif;color:#07543c;margin:0 0 10px}
.registration-pending-card p{line-height:1.6;color:#527566}
.registration-pending-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
.registration-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:17px 0}
.registration-review-list{display:grid;gap:10px}
.registration-review-row{display:flex;align-items:center;gap:10px;border-top:1px solid #e4eee8;padding:13px 0;flex-wrap:wrap}
.registration-review-row>div:first-child{flex:1;min-width:160px}
.registration-review-row strong{font-size:13px;color:#154b39}
.registration-review-row p{margin:5px 0;font-size:11px}
.registration-review-row button{font-size:12px}
.registration-code-output{display:grid;gap:10px;margin-top:12px;background:#f4faf4;border:1px solid #a6c9aa;border-radius:14px;padding:16px}
.registration-code-output strong{color:#114f3d;word-break:break-all}
.registration-code-output input{width:100%;min-width:0;box-sizing:border-box}
.registration-qr{width:220px;height:220px;object-fit:contain;max-width:100%;background:white;padding:8px;border:1px solid #e2e8e2;border-radius:9px}
.registration-parent-connect{display:grid;gap:16px}
@media(max-width:950px){.registration-admin-grid{grid-template-columns:1fr}}
@media(max-width:500px){.registration-auth-card{max-height:96vh}.registration-role-switch button{flex:1 1 45%}.registration-pending-card{padding:22px}}
@media print{body:has(.registration-code-output) .registration-qr{width:320px;height:320px}.registration-code-output button{display:none}}


/* AL HIJRA ACADEMY — approved premium public welcome screen.
   Interactive live HTML, authentic school logo pulled from public school branding.
   Do not place login controls or fictitious student records into a background image. */
.auth.auth-redesign{display:flex;flex-direction:column;min-height:100svh;overflow:hidden;justify-content:flex-start;align-items:stretch;padding:0!important;position:relative;color:white;background:#0a382c}
.auth-redesign .auth-scene{background-position:center center;background-size:cover;filter:saturate(1.04);z-index:0}
.auth-redesign .auth-dim{background:linear-gradient(90deg,rgba(0,41,30,.9) 0%,rgba(0,47,35,.67) 32%,rgba(6,39,31,.25) 64%,rgba(10,26,25,.22) 100%)!important}
.auth-redesign .auth-nav{position:relative;z-index:3;min-height:78px;background:rgba(0,46,32,.96);border-bottom:1px solid rgba(221,176,83,.6);width:100%;padding:11px clamp(23px,5vw,100px);box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:26px}
.auth-site-identity,.auth-card-identity{display:flex;gap:14px;align-items:center}
.auth-site-identity .logo,.auth-card-identity .logo{width:62px;height:62px;display:flex;align-items:center;justify-content:center;background:transparent;border:0;border-radius:0;flex-shrink:0}
.auth-official-logo{display:block;max-width:100%;width:100%;height:100%;object-fit:contain}
.auth-site-identity .school-logo-copy strong{font:700 clamp(19px,2vw,31px) Georgia,serif;letter-spacing:.012em;color:#fff;white-space:nowrap;text-shadow:0 2px 6px #0005}
.auth-site-identity .school-logo-copy small{display:block;color:#e7c679;letter-spacing:.32em;font-size:9px;margin-top:3px}
.auth-nav-links{display:flex;align-items:center;gap:clamp(10px,2.1vw,35px)}
.auth-redesign .auth-nav-link{width:auto!important;background:transparent!important;color:#fff!important;border:0!important;margin:0!important;font-size:14px;font-weight:700;padding:11px 0!important;white-space:nowrap}
.auth-redesign .auth-nav-link:hover{text-decoration:underline;text-decoration-color:#dfb654;text-underline-offset:7px}
.auth-redesign .auth-nav-signin{width:auto!important;border:1px solid #e8c06d!important;border-radius:40px!important;background:transparent!important;color:#f6d080!important;padding:10px 28px!important;margin:0!important;font:700 15px Georgia,serif!important;white-space:nowrap}
.auth-redesign .auth-layout{width:min(1450px,calc(100% - 72px))!important;max-width:none!important;flex:1;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(390px,.9fr);gap:clamp(30px,4.5vw,76px);align-items:center;padding:36px 0 55px;margin:auto;box-sizing:border-box;z-index:1;position:relative}
.auth-redesign .auth-intro{max-width:650px;padding:25px 0!important;text-align:left!important;text-shadow:0 3px 16px #071b16ad}
.auth-redesign .auth-kicker{font-size:12px;font-weight:800;color:#f4d37f;letter-spacing:.19em}
.auth-gold-rule{display:block;width:94px;height:3px;background:#f4c363;margin:20px 0 26px}
.auth-redesign .auth-intro h2{font:700 clamp(44px,4.5vw,76px)/1.02 Georgia,serif!important;letter-spacing:-.036em;margin:0 0 27px;color:#fff;max-width:700px}
.auth-redesign .auth-intro h2 em{color:#f1c669;font-style:italic}
.auth-redesign .auth-intro p{font-size:clamp(15px,1.26vw,19px)!important;max-width:500px;line-height:1.55;color:#fff;font-weight:500}
.auth-features{display:grid;gap:18px;margin-top:28px}
.auth-feature{display:flex;align-items:center;gap:18px;color:#fff;font-size:17px;font-weight:700}
.auth-feature-icon{width:45px;height:45px;border:1.5px solid #e0b85a;border-radius:50%;display:grid;place-items:center;color:#e8b94d;font-size:22px;background:#084631cc;flex:none}
.auth-redesign .auth-card{width:100%!important;max-width:570px;box-sizing:border-box;min-height:0!important;align-self:center;justify-self:end;padding:clamp(28px,3.2vw,46px)!important;display:flex;flex-direction:column;align-items:stretch;justify-content:center;background:linear-gradient(140deg,rgba(255,253,246,.93),rgba(255,247,226,.77))!important;border:1.5px solid #f4ce7b!important;border-radius:36px!important;box-shadow:0 22px 70px #06291db3,inset 0 2px 23px #fff8!important;backdrop-filter:blur(22px) saturate(1.15)!important;color:#173e30}
.auth-card-identity{justify-content:center;margin:0 auto 19px;gap:13px;text-align:left}
.auth-card-identity .logo{width:85px;height:85px}
.auth-card-identity .school-logo-copy strong{font:700 clamp(20px,1.9vw,30px) Georgia,serif;color:#063c2a;white-space:nowrap}
.auth-card-identity .school-logo-copy small{display:block;letter-spacing:.22em;font-size:8px;color:#315f46}
.auth-redesign .auth-card>h1{font:700 clamp(25px,2.6vw,37px) Georgia,serif!important;text-align:center;color:#063d2b;margin:0 0 7px!important}
.auth-card-subtitle{text-align:center;color:#3a483e!important;font:15px Georgia,serif;margin:0 0 24px}
.auth-redesign .auth-card .panel{padding:0;border:0!important;box-shadow:none!important;background:transparent!important;display:block}
.auth-redesign .auth-card .panel>h2{display:none}
.auth-redesign .auth-card .panel form{display:grid;gap:12px}
.auth-redesign .auth-card .field{margin:0!important}
.auth-redesign .auth-card .field label{font-size:13px;color:#1b241f;font-weight:750;margin:0 0 5px}
.auth-redesign .auth-card .field input{height:44px;background:#fffdfadf;border:1px solid #e5d7b9!important;border-radius:15px!important;box-shadow:0 4px 15px #4c2f1412;padding:11px 15px;color:#24372b;font:500 15px system-ui,sans-serif}
.auth-redesign .auth-card .field input:focus-visible{outline:2px solid #d5a044;outline-offset:1px}
.auth-redesign .auth-card .panel button[type=submit]{margin:12px 0 0!important;height:51px!important;width:100%;border-radius:24px!important;background:linear-gradient(180deg,#086144,#03422f)!important;color:white!important;box-shadow:0 7px 16px #102a1977;border:1px solid #cfa34d!important;font:700 18px Georgia,serif}
.auth-redesign .auth-card .password-toggle{margin:0!important;width:auto!important;min-height:31px!important;right:5px;font-size:12px!important}
.auth-role-divider{display:flex;align-items:center;gap:13px;text-align:center;color:#4e574d;margin:22px 0 16px;font:15px Georgia,serif;white-space:nowrap}
.auth-role-divider:before,.auth-role-divider:after{content:'';height:1px;flex:1;background:#cbbf9f}
.auth-role-buttons{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:10px}
.auth-redesign .auth-role-button{background:#fffcf2b5!important;color:#124635!important;border:1px solid #e7dcc1!important;box-shadow:0 4px 12px #122c1a10;padding:12px 5px!important;margin:0!important;width:100%!important;min-height:45px;font-size:12px!important;font-weight:800!important;border-radius:15px!important;white-space:nowrap}
.auth-redesign .auth-role-button:hover{background:#f6e4bc!important;transform:translateY(-1px)}
.auth-card-credit{text-align:center;color:#667a68;font-size:11px;margin-top:18px}
.auth-info-overlay{position:fixed;inset:0;z-index:10;background:#0b241acb;display:grid;place-items:center;padding:15px}
.auth-info-dialog{max-width:520px;width:100%;background:#fffaf1;color:#123d2a;border:1px solid #d0ad63;border-radius:18px;box-shadow:0 25px 70px #0005;padding:28px}
.auth-info-header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.auth-info-header h2{font:700 24px Georgia,serif}
.auth-info-dialog p{line-height:1.6}
.auth-redesign .auth-info-close,.auth-redesign .auth-info-done{width:auto!important;margin:0!important}
@media(min-width:1550px){.auth-redesign .auth-layout{width:min(1500px,calc(100% - 140px))}}
@media(max-width:1040px){
 .auth-redesign .auth-nav{padding:10px 24px}
 .auth-redesign .auth-layout{width:calc(100% - 40px)!important;grid-template-columns:minmax(0,1fr) minmax(370px,1fr);gap:20px}
 .auth-redesign .auth-nav-links{gap:11px}
 .auth-redesign .auth-nav-link{font-size:12px}
 .auth-redesign .auth-intro h2{font-size:clamp(36px,5vw,58px)!important}
 .auth-redesign .auth-card{padding:25px!important}
 .auth-feature{font-size:14px}
 .auth-card-identity .logo{width:64px;height:64px}
}
@media(max-width:750px){
 .auth-redesign .auth-nav{min-height:62px;padding:8px 15px}
 .auth-site-identity .logo{height:46px;width:46px}
 .auth-site-identity .school-logo-copy strong{font-size:17px}
 .auth-site-identity .school-logo-copy small{letter-spacing:.15em;font-size:7px}
 .auth-redesign .auth-nav-links .auth-nav-link{display:none}
 .auth-redesign .auth-nav-signin{padding:8px 14px!important;font-size:12px!important}
 .auth-redesign .auth-layout{width:min(530px,calc(100% - 28px))!important;display:flex;flex-direction:column;gap:12px;padding:25px 0 35px}
 .auth-redesign .auth-intro{max-width:100%;padding:0!important;text-align:center!important}
 .auth-redesign .auth-gold-rule{margin:10px auto}
 .auth-redesign .auth-intro h2{font-size:clamp(32px,8vw,50px)!important;margin-bottom:12px}
 .auth-redesign .auth-intro p{font-size:13px!important;margin:0 auto!important}
 .auth-features{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:15px auto}
 .auth-feature{gap:7px;font-size:11px}
 .auth-feature-icon{width:30px;height:30px;font-size:15px}
 .auth-redesign .auth-card{max-width:100%;border-radius:22px!important;padding:24px 18px!important}
 .auth-redesign .auth-scene{background-position:55% center}
 .auth-redesign .auth-dim{background:linear-gradient(#003924c9,#0739247d)!important}
}
@media(max-width:390px){
 .auth-card-identity .school-logo-copy strong{font-size:18px}
 .auth-redesign .auth-role-buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .auth-redesign .auth-role-button{font-size:10px!important;padding:9px 3px!important}
}


/* Registration shares the same school brand identity, palette and live photo as login. */
.auth-redesign.registration-auth .auth-layout{max-width:none}
.auth-redesign.registration-auth .auth-card{max-width:560px;max-height:calc(100svh - 118px);overflow-y:auto;justify-content:flex-start}
.auth-redesign.registration-auth .auth-intro h2{font-size:clamp(42px,4.2vw,68px)!important}
.registration-auth .registration-pane h2{color:#0a4b35;font:700 25px Georgia,serif}
.registration-auth .registration-pane>p{color:#425b4a}
.registration-auth .registration-role-switch button{background:#fffdf5;border:1px solid #ddcba3;border-radius:15px;color:#174e39;min-height:37px}
.registration-auth .registration-role-switch button.selected{background:#075d43;color:white;border-color:#cda254}
.registration-auth .registration-form .registration-submit{border-radius:22px!important;box-shadow:0 6px 12px #0b302b26}
.registration-auth .registration-inputs input,.registration-auth .registration-inputs textarea{border-radius:13px;background:#fffefad9;border:1px solid #e1d7bd}
.registration-auth .registration-back{margin-top:18px!important;color:#0a593f!important}
@media(max-width:750px){.auth-redesign.registration-auth .auth-card{max-height:none}.registration-auth .registration-role-switch{gap:5px}}


/* Exact approved campus art: red striped school, golden dome, minaret, uniformed learners. */
.auth-redesign .auth-scene{background-image:url('/photos/alhijra-approved-campus.png')!important;background-position:center 51%;background-size:cover}
.auth-redesign .auth-dim{background:linear-gradient(90deg,rgba(0,34,30,.43) 0%,rgba(0,39,33,.28) 35%,rgba(0,40,34,.05) 70%,rgba(0,28,24,.05) 100%)!important}
.auth-redesign .auth-intro{text-shadow:0 2px 14px rgba(0,18,25,.92)}
.auth-redesign .auth-intro p{color:#fff;text-shadow:0 1px 9px rgba(0,12,17,.92)}
.auth-redesign .auth-kicker{color:#ffe7a6;text-shadow:0 1px 9px #18342dd9}
.auth-redesign .auth-site-identity .school-logo-holder,.auth-redesign .auth-card-identity .school-logo-holder{overflow:hidden;position:relative;background:transparent}
.auth-redesign .auth-site-identity .school-logo-holder .auth-official-logo,.auth-redesign .auth-card-identity .school-logo-holder .auth-official-logo{width:auto!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:initial!important;display:block;flex:none}
.auth-redesign .auth-card-identity .school-logo-holder{width:85px;height:85px}
.auth-redesign .auth-site-identity .school-logo-holder{width:62px;height:62px}
@media(max-width:750px){
 .auth-redesign .auth-scene{background-position:37% center!important}
 .auth-redesign .auth-dim{background:linear-gradient(0deg,rgba(0,27,26,.53),rgba(0,38,36,.30))!important}
 .auth-redesign .auth-site-identity .school-logo-holder{width:46px;height:46px}
}


/* Approved welcome-page typography and alignment refinement (Nov 14).
   Preserve the campus scene exactly; text and controls remain real accessible HTML. */
.auth-redesign:not(.registration-auth) .auth-layout{
  width:min(1320px,calc(100% - 100px))!important;
  grid-template-columns:minmax(0,1.2fr) minmax(400px,.92fr);
  column-gap:clamp(45px,6vw,105px);
  align-items:start;
  padding-top:clamp(48px,6vh,72px);
  padding-bottom:42px;
}
.auth-redesign:not(.registration-auth) .auth-intro{
  width:100%;
  max-width:640px;
  padding-top:0!important;
  padding-left:clamp(0px,1.3vw,18px)!important;
  align-self:start;
  text-shadow:0 2px 13px rgba(0,22,28,.8);
}
.auth-redesign:not(.registration-auth) .auth-kicker{
  font-size:clamp(12px,1.05vw,15px);
  font-family:Georgia,serif;
  font-weight:700;
  line-height:1.25;
  letter-spacing:.08em;
  max-width:290px;
}
.auth-redesign:not(.registration-auth) .auth-gold-rule{
  width:150px;
  margin:12px 0 21px;
}
.auth-redesign:not(.registration-auth) .auth-intro h2{
  font:700 clamp(39px,3.35vw,56px)/1.07 Georgia,serif!important;
  letter-spacing:-.028em!important;
  margin:0 0 21px!important;
  max-width:none!important;
  overflow-wrap:normal;
}
.auth-redesign:not(.registration-auth) .auth-title-line{
  display:block;
  white-space:nowrap;
}
.auth-redesign:not(.registration-auth) .auth-intro h2 em{
  color:#f5c259!important;
  font-weight:700;
}
.auth-redesign:not(.registration-auth) .auth-intro p{
  max-width:410px;
  font:400 clamp(14px,1.05vw,17px)/1.48 Georgia,serif!important;
  margin:0!important;
  text-shadow:0 2px 7px rgba(0,23,30,.8);
}
.auth-redesign:not(.registration-auth) .auth-features{
  margin-top:27px;
  gap:12px;
}
.auth-redesign:not(.registration-auth) .auth-feature{
  font:600 clamp(13px,1.05vw,16px)/1.35 Georgia,serif;
  gap:13px;
  max-width:255px;
}
.auth-redesign:not(.registration-auth) .auth-feature-icon{
  width:40px;
  height:40px;
  font-size:19px;
}
.auth-redesign:not(.registration-auth) .auth-card{
  justify-self:end;
  max-width:510px!important;
  padding:clamp(25px,2.6vw,37px)!important;
  margin-top:0;
}
.auth-redesign .auth-site-identity .school-logo-holder{
  width:205px!important;
  height:58px!important;
  overflow:visible!important;
}
.auth-redesign .auth-card-identity .school-logo-holder{
  width:230px!important;
  height:80px!important;
  overflow:visible!important;
}
.auth-redesign .auth-site-identity .school-logo-holder .auth-official-logo,
.auth-redesign .auth-card-identity .school-logo-holder .auth-official-logo{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
}
.auth-redesign .auth-site-identity .school-logo-copy strong,
.auth-redesign .auth-card-identity .school-logo-copy strong{
  display:none;
}
.auth-redesign .auth-site-identity .school-logo-copy{
  padding-left:18px;
  border-left:1px solid #c9a35d;
}
.auth-redesign .auth-site-identity .school-logo-copy small{
  font-size:10px;
  letter-spacing:.25em;
  color:#f1e1b5;
  white-space:nowrap;
}
.auth-redesign .auth-card-identity .school-logo-copy{
  display:none;
}
.auth-redesign .auth-card-identity{margin:0 auto 15px!important;justify-content:center}
.auth-redesign:not(.registration-auth) .auth-card>h1{
  font-size:clamp(25px,2.1vw,32px)!important;
  margin-bottom:4px!important;
}
.auth-redesign:not(.registration-auth) .auth-card-subtitle{
  margin-bottom:20px;
  font-size:14px;
}
@media(max-width:1250px) and (min-width:751px){
 .auth-redesign:not(.registration-auth) .auth-layout{width:calc(100% - 68px)!important;grid-template-columns:minmax(0,1.08fr) minmax(375px,.92fr);gap:30px}
 .auth-redesign:not(.registration-auth) .auth-intro h2{font-size:clamp(33px,3.55vw,47px)!important}
 .auth-redesign:not(.registration-auth) .auth-title-line{white-space:normal}
 .auth-redesign .auth-site-identity .school-logo-holder{width:155px!important}
 .auth-redesign .auth-nav-links{gap:14px}
}
@media(max-width:750px){
 .auth-redesign:not(.registration-auth) .auth-layout{width:min(530px,calc(100% - 28px))!important;display:flex;flex-direction:column;gap:18px;padding:24px 0 35px}
 .auth-redesign:not(.registration-auth) .auth-intro{padding-left:0!important;text-align:center!important}
 .auth-redesign:not(.registration-auth) .auth-title-line{white-space:normal}
 .auth-redesign:not(.registration-auth) .auth-intro h2{font-size:clamp(31px,7.2vw,43px)!important}
 .auth-redesign:not(.registration-auth) .auth-kicker{margin:auto}
 .auth-redesign:not(.registration-auth) .auth-gold-rule{margin:12px auto 18px}
 .auth-redesign:not(.registration-auth) .auth-intro p{margin:auto!important}
 .auth-redesign:not(.registration-auth) .auth-features{justify-content:center}
 .auth-redesign:not(.registration-auth) .auth-card{width:100%;max-width:100%!important;margin:0}
 .auth-redesign .auth-site-identity .school-logo-holder{width:145px!important;height:46px!important}
 .auth-redesign .auth-site-identity .school-logo-copy{display:none}
 .auth-redesign .auth-card-identity .school-logo-holder{width:180px!important;height:62px!important}
}

/* School directory logos must never expose broken-image text or stretch cards. */
.master-school-icon{width:56px;height:56px;min-width:56px;min-height:56px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:13px;background:#edf5f0;color:#0a5b44;line-height:1}
.master-school-icon img{width:100%;height:100%;max-width:100%;max-height:100%;display:block;object-fit:contain}
.master-school-initial{font-size:22px;font-weight:800;line-height:1}
.master-school-row{min-height:78px}


/* Teacher-only classroom roster controls */
.pe-roster-options{display:grid;gap:7px;max-height:320px;overflow-y:auto;margin:12px 0;padding:12px;border:1px solid #dce7df;border-radius:12px;background:#f8fbf9}
.pe-roster-option{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:8px;color:#134e3b;font-size:14px;cursor:pointer;background:#fff;border:1px solid #e5ece8}
.pe-roster-option input{width:17px;height:17px;flex:none;accent-color:#075d43}
.pe-roster-class{padding:14px 2px;border-bottom:1px solid #dfeae3}
.pe-roster-class h3{font-family:Georgia,serif;color:#0d533e;font-size:19px;margin:0 0 12px}
.pe-roster-class .pe-btn{margin:6px 7px 4px 0}
.pe-modal textarea{width:100%;min-height:115px;border:1px solid #dce6de;border-radius:11px;padding:12px;font:14px/1.4 ui-monospace,monospace;resize:vertical;box-sizing:border-box}
.pe-modal input[type=file]{width:100%;max-width:100%;font-size:13px}
.pe-modal .pe-modal-note{line-height:1.55}
@media(max-width:700px){.pe-roster-class .pe-btn{margin-bottom:8px}.pe-roster-options{max-height:240px}}


/* Mobile-first login/registration presentation — preserve approved campus art on desktop.
   Portrait phones get a concise visual hero and an accessible login card immediately below. */
.auth-logo-fallback{
 display:block;color:#f5e7be;font:700 clamp(14px,2vw,20px)/1.1 Georgia,serif;
 letter-spacing:.03em;white-space:normal;text-align:center;
}
.auth-redesign .auth-card-identity .auth-logo-fallback{color:#064a34}
@media(max-width:750px){
 .auth.auth-redesign{min-height:100svh;height:auto;overflow:visible!important;background:#f7f7f0!important}
 .auth-redesign .auth-nav{height:64px;min-height:64px!important;padding:8px 18px!important;gap:10px}
 .auth-redesign .auth-site-identity{flex:1;min-width:0}
 .auth-redesign .auth-site-identity .school-logo-holder{
   width:155px!important;height:48px!important;flex-shrink:1;display:grid;place-items:center;
 }
 .auth-redesign .auth-site-identity .auth-official-logo{max-width:155px!important;width:100%!important;height:100%!important;object-fit:contain!important}
 .auth-redesign .auth-site-identity .school-logo-copy{display:none!important}
 .auth-redesign .auth-nav-signin{font-size:13px!important;padding:9px 15px!important;min-height:38px!important}
 .auth-redesign .auth-scene{
   top:64px!important;bottom:auto!important;height:300px!important;
   background-position:center 52%!important;background-size:cover!important;
 }
 .auth-redesign .auth-dim{background:linear-gradient(90deg,rgba(0,39,35,.72),rgba(0,46,42,.38))!important}
 .auth-redesign:not(.registration-auth) .auth-layout,
 .auth-redesign.registration-auth .auth-layout{
   width:100%!important;max-width:none!important;flex:initial!important;
   display:flex!important;flex-direction:column!important;align-items:stretch!important;
   gap:0!important;margin:0!important;padding:0 0 28px!important;
 }
 .auth-redesign:not(.registration-auth) .auth-intro,
 .auth-redesign.registration-auth .auth-intro{
   box-sizing:border-box;width:100%!important;max-width:100%!important;min-height:275px!important;
   display:flex;flex-direction:column;align-items:center;justify-content:center;
   text-align:center!important;padding:20px 18px 22px!important;color:#fff;
 }
 .auth-redesign:not(.registration-auth) .auth-kicker,
 .auth-redesign.registration-auth .auth-kicker{
   font-size:10px!important;line-height:1.3!important;letter-spacing:.11em!important;
   max-width:none!important;margin:0!important;
 }
 .auth-redesign:not(.registration-auth) .auth-gold-rule,
 .auth-redesign.registration-auth .auth-gold-rule{
   width:80px!important;height:2px!important;margin:10px auto 14px!important;
 }
 .auth-redesign:not(.registration-auth) .auth-intro h2,
 .auth-redesign.registration-auth .auth-intro h2{
   font-size:clamp(26px,7.2vw,36px)!important;line-height:1.12!important;
   letter-spacing:-.025em!important;margin:0 0 12px!important;
   max-width:560px!important;width:100%!important;text-align:center!important;
   overflow:visible!important;overflow-wrap:normal!important;
 }
 .auth-redesign:not(.registration-auth) .auth-title-line{
   display:block!important;white-space:normal!important;
   overflow:visible!important;
 }
 .auth-redesign:not(.registration-auth) .auth-intro p,
 .auth-redesign.registration-auth .auth-intro p{
   max-width:380px!important;margin:0 auto!important;
   font:400 12px/1.45 Georgia,serif!important;
 }
 .auth-redesign .auth-intro .auth-features{display:none!important}
 .auth-redesign:not(.registration-auth) .auth-card,
 .auth-redesign.registration-auth .auth-card{
   box-sizing:border-box;width:calc(100% - 24px)!important;max-width:530px!important;
   margin:0 auto!important;align-self:center;justify-self:center!important;
   padding:24px clamp(16px,5vw,30px) 25px!important;
   border-radius:23px!important;box-shadow:0 10px 34px rgba(5,41,30,.17)!important;
   background:linear-gradient(145deg,#fffefa,#f6f2e6)!important;
   backdrop-filter:none!important;
   max-height:none!important;overflow:visible!important;
 }
 .auth-redesign .auth-card-identity{
   width:100%;margin:0 auto 9px!important;justify-content:center!important;
 }
 .auth-redesign .auth-card-identity .school-logo-holder{
   width:170px!important;height:63px!important;max-width:100%!important;display:grid;place-items:center;
 }
 .auth-redesign .auth-card-identity .auth-official-logo{
   width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important;
 }
 .auth-redesign .auth-card>h1{font-size:clamp(24px,6vw,29px)!important;margin:0 0 6px!important}
 .auth-redesign .auth-card-subtitle{font-size:13px!important;margin:0 0 16px!important}
 .auth-redesign .auth-card .panel form{gap:10px!important}
 .auth-redesign .auth-card .field input{height:46px!important;font-size:16px!important}
 .auth-redesign .auth-card .panel button[type=submit]{min-height:48px!important}
 .auth-redesign .auth-role-divider{margin:14px 0 11px!important;font-size:12px!important}
 .auth-redesign .auth-role-buttons{gap:7px!important;grid-template-columns:1fr 1fr 1.3fr}
 .auth-redesign .auth-role-button{font-size:11px!important;min-height:43px!important;white-space:normal!important;line-height:1.2!important}
 .auth-redesign.registration-auth .registration-pane{max-width:100%}
 .auth-redesign.registration-auth .auth-intro h2{font-size:clamp(25px,7vw,34px)!important}
}
@media(max-width:365px){
 .auth-redesign:not(.registration-auth) .auth-intro h2{font-size:25px!important}
 .auth-redesign .auth-card{padding:19px 14px!important}
 .auth-redesign .auth-site-identity .school-logo-holder{width:125px!important}
}


/* School dashboard mobile navigation: replace the horizontal scrolling menu.
   Desktop navigation and visual design remain unchanged. */
.mobile-drawer-heading{display:none}
.mobile-nav-scrim{display:none}
@media(max-width:750px){
 html,body{max-width:100%;overflow-x:hidden}
 .app-frame{display:block!important;width:100%;min-width:0;overflow-x:clip}
 .main-area{min-width:0;width:100%}
 .sidenav{
   position:fixed!important;top:0;bottom:0;left:0;z-index:1050;
   width:min(308px,86vw)!important;height:100dvh!important;
   display:flex!important;flex-direction:column!important;align-items:stretch!important;
   gap:3px!important;padding:14px 12px!important;overflow-y:auto!important;overflow-x:hidden!important;
   white-space:normal!important;background:#fff!important;
   border-right:1px solid #dce7e1!important;border-bottom:none!important;
   box-shadow:12px 0 35px #063b292d;
   transform:translateX(-110%);visibility:hidden;pointer-events:none;
   transition:transform .2s ease,visibility .2s ease;
 }
 .sidenav.mobile-nav-open{transform:translateX(0);visibility:visible;pointer-events:auto}
 .sidenav .brand-mark,.sidenav .sidebar-label,.sidenav .sidebar-bottom{display:flex!important}
 .sidenav .brand-mark{flex-direction:row;white-space:normal;padding:6px 8px 15px}
 .sidenav .sidebar-label{display:block!important}
 .sidenav .sidebar-bottom{display:block!important;margin-top:auto}
 .sidenav .sidebar-bottom small{display:block}
 .sidenav button{width:100%!important;min-width:0!important;text-align:left!important;white-space:normal!important;padding:12px 14px!important;font-size:14px!important;line-height:1.4}
 .sidenav .mobile-drawer-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;color:#064b39}
 .sidenav .mobile-drawer-heading strong{font-size:14px}
 .sidenav button.mobile-drawer-close{width:auto!important;padding:8px!important;font-size:12px!important;background:#e7f2e9!important;color:#064b39!important}
 .mobile-head{
   display:flex!important;align-items:center!important;gap:10px!important;justify-content:space-between!important;
   position:relative;z-index:2;padding:10px 13px!important;min-height:60px;
   background:#fff!important;border-bottom:1px solid #e1eae5;
 }
 .mobile-head .mobile-menu-toggle{
   display:inline-flex;align-items:center;justify-content:center;
   padding:9px 13px!important;min-width:90px;color:#07583e;background:#e5f2e8;
   font-size:13px;font-weight:750;border:1px solid #c9e2d2;
 }
 .mobile-head .mobile-school-title{
   flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
   text-align:center;font-size:13px;line-height:1.25;
 }
 .mobile-head button.secondary{flex-shrink:0;padding:9px!important;font-size:12px!important}
 .mobile-nav-scrim{
   display:block;position:fixed;inset:0;z-index:1040;width:100%;height:100%;
   border:0;border-radius:0;background:#001b1594;color:transparent;
   font-size:0;cursor:pointer;
 }
 .content-area{padding:18px 13px 28px!important;width:100%;min-width:0}
 .page-head{margin-bottom:13px!important}
 .page-head h1{font-size:clamp(22px,5vw,27px)!important}
 .home-premium{gap:13px!important}
 .home-hero{min-height:0!important;padding:20px 17px!important;border-radius:16px!important}
 .home-hero-content{max-width:100%}
 .home-hero h2{font-size:clamp(25px,6.2vw,32px)!important;line-height:1.1!important}
 .home-hero p{font-size:13px;max-width:100%;line-height:1.45}
 .home-hero-actions{gap:9px}
 .home-hero .home-cta-primary,.home-hero .home-cta-light{min-height:42px;padding:10px 13px!important;font-size:12px}
 .home-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 button.home-stat{min-height:86px;padding:12px 10px!important;gap:8px!important;min-width:0;align-items:center}
 .home-stat-icon{width:39px!important;height:39px!important;font-size:17px!important;flex-shrink:0}
 .home-stat-content{min-width:0}
 .home-stat-content span{font-size:12px}
 .home-stat-content strong{font-size:23px!important}
 .home-stat-content small{font-size:10px;line-height:1.3;overflow-wrap:anywhere}
 .home-content-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px}
 .home-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}
 button.home-action{min-width:0;min-height:96px;padding:11px!important;align-items:flex-start!important}
 .home-action-copy strong{font-size:12px}
 .home-action-copy small{font-size:11px}
 .home-panel{padding:15px!important}
 .home-panel-title h3{font-size:19px}
 .school-tab-content,.home-premium,.home-panel{min-width:0;max-width:100%}
}
@media(max-width:385px){
 .mobile-head{gap:5px!important;padding:9px!important}
 .mobile-head .mobile-menu-toggle{min-width:72px;padding:8px!important}
 .mobile-head .mobile-school-title{font-size:11px}
 .home-actions-grid{grid-template-columns:1fr!important}
 button.home-action{min-height:64px}
 .home-hero-actions{flex-direction:column;align-items:stretch}
 .home-hero-actions button{width:100%}
}
@media(prefers-reduced-motion:reduce){.sidenav{transition:none!important}}


/* Standard school grade-level directory, Preschool to Grade 8 */
.classroom-directory-page{display:grid;gap:17px;min-width:0}
.classroom-directory-page>.panel{padding:21px}
.school-grade-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}
.school-grade-card{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:17px;border:1px solid #dcebe1;border-radius:14px;background:linear-gradient(135deg,#f8fcf9,#fff);min-width:0}
.school-grade-card strong{font:700 19px/1.25 Georgia,serif;color:#12533c}
.school-grade-card small{min-height:20px;font-size:12px;overflow-wrap:anywhere}
.school-grade-enroll-btn{margin-top:10px;width:auto!important;color:#085c43!important;border:1px solid #cfe5d8!important;background:#e9f5ec!important;padding:8px 11px!important;font-size:12px!important}
.classroom-forms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.classroom-forms .panel{min-width:0;padding:20px}
.classroom-forms .field small{display:block;line-height:1.4;margin-top:5px}
@media(max-width:900px){.school-grade-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.classroom-directory-page{gap:12px}.school-grade-grid{gap:8px}.school-grade-card{padding:12px}.school-grade-card strong{font-size:16px}.school-grade-card small{font-size:11px}.classroom-forms{grid-template-columns:minmax(0,1fr)}.classroom-directory-page>.panel{padding:15px}.classroom-forms .panel{padding:16px}}
@media(max-width:365px){.school-grade-grid{grid-template-columns:minmax(0,1fr)}}


/* Make school-class enrollment auditable from the classroom directory */
.school-grade-students{display:flex;flex-direction:column;gap:6px;align-items:stretch;width:100%;margin:8px 0 6px;padding:10px 0;border-top:1px solid #e1eee5}
.school-grade-count{font:700 12px/1.4 system-ui,sans-serif!important;color:#0a5c40!important}
.school-grade-student{display:flex;align-items:center;gap:8px;min-height:29px;font-size:12px;color:#163f31;overflow-wrap:anywhere}
.school-grade-student-avatar{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#e1f2e7;color:#0b5b40;font-size:11px;font-weight:800;flex:none}
.school-grade-empty{font-size:12px;color:#7d8c83;margin:0}
.school-grade-card .school-grade-enroll-btn{margin-top:auto}
@media(max-width:650px){.school-grade-students{padding-top:7px;margin-top:7px}.school-grade-student{font-size:11px}}


/* Al Hijra Academy approved dashboard concept — visual implementation */
@media(min-width:751px){
 .app-frame{grid-template-columns:252px minmax(0,1fr)}
 .app-frame .sidenav{background:linear-gradient(155deg,#003d2f 0%,#005341 55%,#003a2d 100%);color:#fff;border:0;box-shadow:6px 0 24px #092d2410;padding:22px 15px;gap:5px}
 .app-frame .sidenav .school-brand-mark{flex-direction:row;align-items:center;text-align:left;border:0;padding:5px 6px 23px;gap:12px;margin-bottom:13px}
 .app-frame .sidenav .school-logo-frame{width:70px;height:70px;min-height:70px;flex-shrink:0}
 .app-frame .sidenav .school-sidebar-logo{width:68px;height:68px;object-fit:contain;max-height:68px;filter:drop-shadow(0 2px 3px #001e1840)}
 .app-frame .sidenav .school-brand-caption{color:#fff}
 .app-frame .sidenav .school-brand-caption strong{font:700 18px/1.1 Georgia,serif;color:#fff}
 .app-frame .sidenav .school-brand-caption .muted{color:#c1ddd1;font-size:11px}
 .app-frame .sidenav .sidebar-label{display:none}
 .app-frame .sidenav>button{font-size:14px;font-weight:650;color:#e8f4ef;border-radius:10px;padding:11px 15px;min-height:41px}
 .app-frame .sidenav>button:hover{background:#ffffff19;color:#fff}
 .app-frame .sidenav>button.current{background:linear-gradient(105deg,#ffe3a0,#edbd59);color:#10372a;box-shadow:none;font-weight:800}
 .app-frame .sidenav .sidebar-bottom{border-top:1px solid #ffffff39;color:#fff;padding:20px 10px;margin-top:auto}
 .app-frame .sidenav .sidebar-bottom small{color:#e9f3eb}
 .app-frame .sidenav .sidebar-bottom button{color:#fff;background:transparent}
 .app-frame .sidenav .sidebar-bottom button:hover{background:#ffffff24}
}
.app-frame:has(.home-redesign) .main-area{background:#f7faf9}
.app-frame:has(.home-redesign) .content-area{width:100%;max-width:1660px;padding:25px 29px 12px}
.app-frame:has(.home-redesign) .footer{display:none}
.app-frame:has(.home-redesign) .page-head{margin-bottom:18px;min-height:66px}
.app-frame:has(.home-redesign) .page-head .eyebrow{font-size:13px;letter-spacing:0;color:#576b64;font-weight:500}
.app-frame:has(.home-redesign) .page-head h1{font:700 31px/1.1 Georgia,serif;letter-spacing:-.025em;color:#074734}
.dashboard-top-tools{display:flex;align-items:center;gap:18px;min-width:0}
.dashboard-search{width:clamp(250px,33vw,480px);height:43px;border:1px solid #d5e0db;border-radius:30px;display:flex;align-items:center;gap:9px;background:#fff;box-shadow:0 2px 8px #103f2b0b;padding:0 15px;color:#345d4d}
.dashboard-search>span{font-size:26px;line-height:1}
.dashboard-search-input{border:0!important;box-shadow:none!important;outline-offset:-2px!important;background:transparent!important;font-size:13px;padding:8px 3px!important;min-width:0}
.dashboard-profile-button{border:1px solid #d7e5dd!important;background:#fff!important;color:#076146!important;font-size:23px!important;height:43px;width:46px;padding:0!important;box-shadow:0 2px 8px #12352712}
.home-redesign{display:grid;gap:17px}
.home-redesign .home-hero{height:220px;min-height:220px;overflow:hidden;padding:22px 33px;background:radial-gradient(circle at 42% 7%,#0a654b 0,#034531 60%,#003923 100%);border-radius:20px;border:0;box-shadow:0 7px 21px #0d463016}
.home-redesign .home-hero:before{content:'';position:absolute;inset:0 37% 0 0;background:repeating-linear-gradient(60deg,transparent 0 23px,#ffffff08 24px 25px,transparent 26px 47px);opacity:.36}
.home-redesign .home-hero-content{width:65%;max-width:65%;z-index:3}
.home-redesign .home-hero-eyebrow{display:none}
.home-redesign .home-hero-headline{display:flex;align-items:center;gap:20px}
.home-redesign .home-hero-cap{color:#efc05b;font-size:70px;font-weight:300;line-height:1;transform:rotate(-15deg);flex-shrink:0}
.home-redesign .home-welcome{font:400 30px/1 Georgia,serif;color:white}
.home-redesign .home-hero h2{font:700 clamp(29px,2.8vw,43px)/1.12 Georgia,serif;color:#ffe1a0;margin:3px 0 4px}
.home-redesign .home-hero p{font-size:12px;margin:0 0 19px;padding-left:90px;max-width:590px}
.home-redesign .home-hero-actions{padding-left:90px;gap:15px}
.home-redesign .home-cta-primary{border:0!important;border-radius:10px!important;padding:11px 25px!important;background:linear-gradient(#ffe39c,#f1c45e)!important;color:#123524!important}
.home-redesign .home-cta-light{border:2px solid #ecf8ed!important;border-radius:10px!important;padding:9px 22px!important;background:#074b36!important}
.home-redesign .home-hero-campus{width:49%;clip-path:ellipse(110% 158% at 110% 70%);border-left:0}
.home-redesign .home-hero-campus:before{content:'';position:absolute;inset:0;z-index:3;background:linear-gradient(90deg,#f2c766 0 2%,transparent 4%);pointer-events:none}
.home-redesign .home-hero-campus img{object-position:center 42%}
.home-redesign .home-stat-grid{gap:15px}
.home-redesign button.home-stat{min-height:103px;padding:17px 16px;border-radius:15px;box-shadow:0 4px 13px #1e473219;border:1px solid #e1e8e3;background:#fff}
.home-redesign .home-stat-icon{width:63px;height:63px;border-radius:16px;font-size:28px}
.home-redesign button.home-stat:nth-child(2) .home-stat-icon{background:#fff0d4;color:#c18706}
.home-redesign button.home-stat:nth-child(3) .home-stat-icon{background:#dff4fc;color:#147085}
.home-redesign button.home-stat:nth-child(4) .home-stat-icon{background:#fff0d4;color:#c18706}
.home-redesign .home-stat-content>span{font:700 17px Georgia,serif;color:#143c2a}
.home-redesign .home-stat-content>strong{font-size:30px;color:#111b1a;line-height:1.2}
.home-redesign .home-stat-content>small{font-size:12px;color:#375d51}
.home-redesign .home-dashboard-three{display:grid;grid-template-columns:1.08fr 1.04fr 1fr;gap:16px}
.home-redesign .home-dashboard-three>.home-panel{height:245px;min-height:245px}
.home-redesign .home-dashboard-three .home-panel{border-radius:17px;padding:16px;box-shadow:0 5px 19px #163c2512}
.home-redesign .home-panel-title h3{font:700 21px Georgia,serif}
.home-redesign .home-gold-icon{font-size:27px;color:#d99a00}
.home-redesign .home-dashboard-three .home-actions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.home-redesign .home-dashboard-three .home-action{min-height:80px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:4px;padding:8px 5px;background:#eaf8ec;border:0;border-radius:13px}
.home-redesign .home-action:nth-child(2),.home-redesign .home-action:nth-child(5){background:#fff5e4!important}
.home-redesign .home-action:nth-child(3),.home-redesign .home-action:nth-child(4){background:#edf0fd!important}
.home-redesign .home-action:nth-child(6){background:#e6f7f1!important}
.home-redesign .home-action .home-card-symbol{background:transparent!important;width:31px;height:27px;font-size:24px}
.home-redesign .home-action-copy strong{font-size:11px;line-height:1.25}
.home-redesign .home-action-copy small{display:none}
.home-redesign .home-section-subtitle{margin-bottom:9px}
.home-redesign .home-feed-row{padding:9px 0;gap:10px}
.home-redesign .home-feed-icon{font-size:21px;width:34px;height:34px;border-radius:9px}
.home-redesign .home-feed-info strong{font-size:13px}
.home-redesign .home-events-panel .home-feed-empty{min-height:160px}
.home-redesign .home-dashboard-bottom{display:grid;grid-template-columns:1fr 1.1fr;gap:16px}
.home-redesign .home-dashboard-bottom>.home-panel{min-height:160px;padding:17px 19px}
.home-redesign .home-week-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:13px}
.home-redesign .home-week-stat{min-height:91px;display:grid;grid-template-columns:auto 1fr;align-content:center;column-gap:8px;background:#eaf7ed;border-radius:14px;padding:11px}
.home-redesign .home-week-stat:nth-child(2){background:#fff6e4}
.home-redesign .home-week-symbol{grid-row:span 2;color:#11904e;font-size:28px;line-height:1}
.home-redesign .home-week-stat:nth-child(2) .home-week-symbol{color:#c99409}
.home-redesign .home-week-stat strong{color:#162b24;font-size:21px;line-height:1.2}
.home-redesign .home-week-stat small{color:#45594c;font-size:10px}
.home-redesign .home-wave-footer{height:65px;margin:9px -29px -12px;position:relative;overflow:hidden;font-size:0;background:linear-gradient(174deg,transparent 0 34%,#e8dba9 35% 39%,#046247 40% 100%);border-radius:55% 45% 0 0/28% 24% 0 0}
.home-redesign .home-wave-footer:after{content:'';position:absolute;inset:15px 0 0;background:linear-gradient(168deg,transparent 0 40%,#00583d 41% 100%);opacity:.9}
@media(max-width:1320px){
 .home-redesign .home-dashboard-three{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-redesign .home-dashboard-three>.home-events-panel{grid-column:1/-1}
 .home-redesign .home-dashboard-three>.home-panel{height:auto;min-height:200px}
 .home-redesign .home-dashboard-three .home-actions-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .home-redesign .home-hero p,.home-redesign .home-hero-actions{padding-left:0}
}
@media(max-width:950px){
 .dashboard-search{width:240px}
 .home-redesign .home-dashboard-bottom{grid-template-columns:1fr}
 .home-redesign .home-hero-content{width:78%;max-width:78%}
 .home-redesign .home-hero-cap{display:none}
}
@media(max-width:750px){
 .app-frame .sidenav{background:linear-gradient(155deg,#003d2f,#005341)!important;border:0!important}
 .app-frame .sidenav .school-brand-caption strong{color:#fff}
 .app-frame .sidenav button{color:#fff!important}
 .app-frame .sidenav button.current{background:#f1c86c!important;color:#0b392a!important}
 .app-frame .sidenav .mobile-drawer-heading{color:#fff}
 .app-frame .sidenav .sidebar-bottom{border-top-color:#ffffff30}
 .app-frame .sidenav .sidebar-bottom small{color:white}
 .app-frame:has(.home-redesign) .content-area{padding:18px 13px!important}
 .dashboard-top-tools{gap:7px}
 .dashboard-search{width:min(45vw,250px);height:38px}
 .dashboard-search-input{font-size:11px}
 .dashboard-profile-button{height:38px;width:36px;font-size:18px!important}
 .home-redesign .home-hero{height:auto;min-height:225px;padding:19px 16px!important}
 .home-redesign .home-hero-content{width:100%;max-width:100%}
 .home-redesign .home-hero-headline{gap:0}
 .home-redesign .home-welcome{font-size:24px}
 .home-redesign .home-hero h2{font-size:29px!important}
 .home-redesign .home-hero p{padding:0;margin-top:7px}
 .home-redesign .home-hero-actions{padding:0}
 .home-redesign .home-hero-campus{width:65%;opacity:.18}
 .home-redesign .home-dashboard-three{grid-template-columns:1fr}
 .home-redesign .home-dashboard-three>.home-events-panel{grid-column:auto}
 .home-redesign .home-dashboard-bottom{grid-template-columns:1fr}
 .home-redesign .home-week-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-redesign .home-wave-footer{margin:0 -13px -18px}
}
@media(max-width:390px){
 .dashboard-search{width:35vw}
 .home-redesign .home-dashboard-three .home-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-redesign .home-stat-content>span{font-size:13px}
 .home-redesign .home-stat-icon{width:36px;height:36px}
}


/* Sidebar school logo: display uploaded horizontal crest at readable size. */
@media(min-width:751px){
 .app-frame .sidenav .school-brand-mark{
  display:flex!important;flex-direction:column!important;align-items:center!important;
  justify-content:center!important;text-align:center!important;
  padding:13px 8px 23px!important;gap:8px!important;margin-bottom:11px!important;
 }
 .app-frame .sidenav .school-logo-frame{
  width:100%!important;height:110px!important;min-height:110px!important;
  display:flex!important;justify-content:center!important;align-items:center!important;
  overflow:visible!important;flex-shrink:0!important;
 }
 .app-frame .sidenav .school-sidebar-logo{
  width:100%!important;height:100%!important;max-width:215px!important;
  max-height:110px!important;object-fit:contain!important;object-position:center!important;
 }
 .app-frame .sidenav .school-brand-caption{width:100%;text-align:center}
 .app-frame .sidenav .school-brand-caption strong{
  font:600 14px/1.3 system-ui,sans-serif!important;letter-spacing:0!important;
 }
 .app-frame .sidenav .school-brand-caption .muted{color:#c2dfd5!important}
}
@media(max-width:750px){
 .app-frame .sidenav .school-brand-mark{
  flex-direction:column!important;align-items:center!important;justify-content:center!important;
  text-align:center!important;gap:6px!important;padding:8px 8px 17px!important;
 }
 .app-frame .sidenav .school-logo-frame{
  width:100%!important;height:95px!important;min-height:95px!important;overflow:visible!important;
 }
 .app-frame .sidenav .school-sidebar-logo{
  width:100%!important;height:100%!important;max-width:205px!important;max-height:95px!important;object-fit:contain!important;
 }
 .app-frame .sidenav .school-brand-caption strong{color:#fff!important;font-size:14px!important}
}


/* Refined school brand lockup: spacious logo, no competing duplicate title */
@media(min-width:751px){
 .app-frame .sidenav .school-brand-mark{
  padding:17px 12px 21px!important;
  gap:4px!important;
  border-bottom:1px solid #ffffff29!important;
  margin-bottom:19px!important;
 }
 .app-frame .sidenav .school-logo-frame{
  height:123px!important;min-height:123px!important;
  padding:0!important;
 }
 .app-frame .sidenav .school-sidebar-logo{
  max-width:222px!important;max-height:123px!important;
  filter:drop-shadow(0 2px 4px #001c151a)!important;
 }
 .app-frame .sidenav .school-brand-caption{margin-top:1px!important}
 .app-frame .sidenav .school-brand-caption .muted{
  font-size:11px!important;letter-spacing:.035em!important;
  opacity:.85!important;margin-top:0!important;
 }
}
@media(max-width:750px){
 .app-frame .sidenav .school-brand-mark{
  padding:10px 10px 19px!important;gap:2px!important;
  border-bottom:1px solid #ffffff29!important;
 }
 .app-frame .sidenav .school-logo-frame{
  height:110px!important;min-height:110px!important;
 }
 .app-frame .sidenav .school-sidebar-logo{
  max-width:220px!important;max-height:110px!important;
 }
 .app-frame .sidenav .school-brand-caption .muted{color:#cfe5dc!important;font-size:11px!important}
}


/* Approved visual reference: consistent outlined iconography and premium spacing */
.home-redesign .home-stat-icon svg{width:31px;height:31px;display:block;stroke-width:1.9}
.home-redesign .home-action .home-card-symbol{display:grid;place-items:center;width:38px!important;height:35px!important;background:transparent!important}
.home-redesign .home-action .home-card-symbol svg{height:28px;width:28px;stroke-width:1.85}
.home-redesign .home-feed-icon svg{height:22px;width:22px;stroke-width:1.8}
.home-redesign .home-gold-icon{display:flex;align-items:center;justify-content:center;width:28px;height:29px}
.home-redesign .home-gold-icon svg{width:25px;height:25px;stroke:#d99a00;stroke-width:2}
.home-redesign .home-week-symbol{width:29px;height:32px;display:grid;place-items:center}
.home-redesign .home-week-symbol svg{width:26px;height:26px;stroke-width:1.85}
.home-redesign .home-hero-cap{display:flex;align-items:center;justify-content:center;transform:none}
.home-redesign .home-hero-cap svg{width:65px;height:65px;stroke:#f1c567;stroke-width:1.6}
.home-redesign .home-hero-headline{gap:19px}
.home-redesign .home-panel{background:#fff;border:1px solid #e4ebe7}
.home-redesign .home-panel-title{margin-bottom:11px}
.home-redesign .home-dashboard-three .home-action:focus-visible,
.home-redesign .home-stat:focus-visible{outline:3px solid #dfb348;outline-offset:2px}
.home-redesign .home-action:hover{filter:brightness(.98);transform:translateY(-1px)}
.home-redesign .home-actions-grid{align-content:start}
.home-redesign .home-week-grid svg{display:block}
.dashboard-search svg{display:block}
@media(max-width:750px){
 .home-redesign .home-hero-cap{display:none}
 .home-redesign .home-hero-headline{gap:0}
 .home-redesign .home-stat-icon svg{width:22px;height:22px}
}


/* FINAL REFERENCE 2026: screenshot-matched dashboard shell.
   School information and metrics remain live; illustration has no fabricated data. */
@media(min-width:751px){
 .app-frame{grid-template-columns:235px minmax(0,1fr)!important}
 .app-frame .sidenav{
  padding:22px 13px 15px!important;gap:1px!important;
  background:radial-gradient(circle at 0% 4%,#12634b 0,#004432 42%,#003b2c 100%)!important;
 }
 .app-frame .sidenav .school-brand-mark{
  margin:0 0 14px!important;padding:0 1px 19px!important;border:0!important;
  align-items:center!important;gap:0!important;min-height:105px!important;
 }
 .app-frame .sidenav .school-logo-frame{height:97px!important;min-height:97px!important;width:100%!important}
 .app-frame .sidenav .school-sidebar-logo{
  height:95px!important;max-height:95px!important;max-width:208px!important;
  width:100%!important;object-fit:contain!important;filter:drop-shadow(0 2px 6px #002d2255)!important;
 }
 .app-frame .sidenav .school-brand-caption{display:none!important}
 .app-frame .sidenav .sidebar-label{display:none!important}
 .app-frame .sidenav .sidebar-nav-item{
  height:40px!important;min-height:40px!important;padding:7px 13px!important;
  display:flex!important;align-items:center!important;gap:11px!important;
  font-size:13px!important;line-height:1.2!important;color:#e2efe9!important;
  border:0!important;border-radius:9px!important;letter-spacing:-.01em!important;
  background:transparent!important;
 }
 .app-frame .sidenav .sidebar-nav-item:hover{background:#ffffff18!important}
 .app-frame .sidenav .sidebar-nav-item.current{
  background:linear-gradient(100deg,#ffe5a3,#f1c260)!important;
  color:#0a382b!important;box-shadow:0 3px 7px #00221919!important
 }
 .app-frame .sidenav .sidebar-nav-item.current .sidebar-nav-icon{color:#093b30!important}
 .app-frame .sidenav .sidebar-nav-icon{width:19px;height:19px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
 .app-frame .sidenav .sidebar-nav-icon svg{width:18px;height:18px;stroke-width:2}
 .app-frame .sidenav .sidebar-bottom{
  padding:14px 7px 5px!important;background:#0039298c!important;
  border:1px solid #ffffff1d!important;border-radius:14px!important;margin-top:auto!important;
 }
 .app-frame .sidenav .sidebar-user{display:flex;align-items:center;gap:10px;padding:0 3px 11px}
 .app-frame .sidenav .sidebar-user-avatar{
  width:36px;height:36px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;
  color:white;background:#8d634d;font-weight:700
 }
 .app-frame .sidenav .sidebar-user-info{min-width:0;display:flex;flex-direction:column;gap:0}
 .app-frame .sidenav .sidebar-user-info strong{font-size:12px;color:white;font-weight:750;line-height:1.3}
 .app-frame .sidenav .sidebar-user-info small{font-size:11px;color:#bed7cc;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .app-frame .sidenav button.sidebar-logout{padding:8px 6px!important;font-size:12px!important;color:#f4f8f6!important;background:transparent!important}
 .app-frame:has(.home-redesign) .content-area{max-width:1530px!important;padding:24px 22px 0!important}
 .app-frame:has(.home-redesign) .page-head{min-height:57px;margin-bottom:15px}
 .app-frame:has(.home-redesign) .page-head h1{font:700 28px/1.05 Georgia,serif!important;color:#004735}
 .dashboard-top-tools{gap:14px}
 .dashboard-search{width:clamp(260px,29vw,405px)!important}
 .dashboard-notify-button,.dashboard-help-button{width:37px;height:38px;display:grid;place-items:center;background:transparent!important;color:#19362f!important;position:relative;padding:6px!important;border-radius:9px}
 .dashboard-notify-count{position:absolute;top:-2px;right:-2px;background:#e62349;color:white;border-radius:50%;font-size:10px;padding:2px 5px}
 .dashboard-profile-button{
  width:auto!important;min-width:178px;height:48px!important;border:1px solid #dee9e2!important;
  display:flex!important;align-items:center;justify-content:center;gap:9px;padding:6px 10px!important;
  border-radius:15px!important;background:#fff!important;color:#173b2f!important
 }
 .dashboard-profile-avatar{width:29px;height:29px;border-radius:50%;background:#07553e;color:#fff;display:grid;place-items:center;flex-shrink:0}
 .dashboard-profile-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
 .dashboard-profile-copy strong{color:#173229;font-size:11px;white-space:nowrap}
 .dashboard-profile-copy small{font-size:10px;color:#687e75;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:112px}
 .home-redesign{gap:14px!important}
 .home-redesign .home-hero{height:205px!important;min-height:205px!important;padding:18px 25px!important}
 .home-redesign .home-hero-content{max-width:67%!important}
 .home-redesign .home-welcome{font:400 31px/1.1 Georgia,serif!important}
 .home-redesign .home-hero h2{font:700 clamp(28px,3.2vw,40px)/1.12 Georgia,serif!important}
 .home-redesign .home-hero p{padding-left:0!important;margin:4px 0 17px 87px!important}
 .home-redesign .home-hero-actions{padding-left:87px!important}
 .home-redesign .home-hero-cap svg{height:68px!important;width:68px!important}
 .home-redesign .home-hero-campus{width:47%!important}
 .home-redesign .home-stat-grid{gap:13px!important}
 .home-redesign button.home-stat{min-height:91px!important;padding:13px!important;border-radius:14px!important}
 .home-redesign .home-stat-icon{width:56px!important;height:56px!important}
 .home-redesign .home-stat-content>span{font:700 14px/1.1 system-ui,sans-serif!important}
 .home-redesign .home-stat-content>strong{font:800 26px/1.1 system-ui,sans-serif!important}
 .home-redesign .home-dashboard-three{grid-template-columns:1.03fr 1fr 1fr!important;gap:13px!important}
 .home-redesign .home-dashboard-three>.home-panel{height:230px!important;min-height:230px!important}
 .home-redesign .home-dashboard-three>.home-panel{padding:14px!important;border-radius:15px!important}
 .home-redesign .home-panel-title h3{font:750 18px/1.1 system-ui,sans-serif!important;letter-spacing:-.035em;color:#153e30}
 .home-redesign .home-panel-title{margin-bottom:12px}
 .home-redesign .home-dashboard-three .home-actions-grid{gap:8px!important}
 .home-redesign .home-dashboard-three .home-action{height:76px!important;min-height:76px!important;border-radius:12px!important}
 .home-redesign .home-action .home-card-symbol svg{width:27px!important;height:27px!important}
 .home-redesign .home-action-copy strong{font:700 11px/1.2 system-ui,sans-serif!important}
 .home-redesign .home-dashboard-bottom{grid-template-columns:1.02fr 1.12fr!important;gap:13px!important}
 .home-redesign .home-dashboard-bottom>.home-panel{min-height:155px!important;padding:15px!important}
 .home-redesign .home-week-grid{gap:9px!important}
 .home-redesign .home-week-stat{min-height:81px;padding:8px!important}
 .home-redesign .home-wave-footer{height:65px!important;margin-top:4px!important}
}
@media(min-width:751px) and (max-width:1180px){
 .app-frame:has(.home-redesign) .content-area{padding:19px 16px 0!important}
 .home-redesign .home-dashboard-three{grid-template-columns:1fr 1fr!important}
 .home-redesign .home-dashboard-three>.home-events-panel{grid-column:1/-1!important}
 .home-redesign .home-dashboard-three>.home-panel{height:auto!important;min-height:180px!important}
 .home-redesign .home-dashboard-bottom{grid-template-columns:1fr!important}
 .dashboard-help-button{display:none!important}
 .dashboard-search{width:250px!important}
}
@media(max-width:750px){
 .app-frame .sidenav .sidebar-nav-item{display:flex!important;align-items:center!important;gap:10px!important;font-size:13px!important}
 .app-frame .sidenav .sidebar-nav-icon{width:20px;height:20px;display:grid;place-items:center}
 .app-frame .sidenav .sidebar-user{display:flex;align-items:center;gap:10px}
 .app-frame .sidenav .sidebar-user-avatar{width:32px;height:32px;border-radius:50%;background:#8d634d;color:white;display:grid;place-items:center}
 .app-frame .sidenav .sidebar-user-info strong{color:#fff;font-size:13px}
 .app-frame .sidenav .sidebar-user-info small{color:#d2e9da;font-size:10px}
 .app-frame .sidenav .sidebar-logout{color:white!important}
 .dashboard-top-tools{gap:4px}
 .dashboard-notify-button,.dashboard-help-button{display:none!important}
 .dashboard-profile-button{display:none!important}
 .home-redesign .home-hero p,.home-redesign .home-hero-actions{margin-left:0!important;padding-left:0!important}
}


/* Reference finishing details, dynamic data retained */
@media(min-width:751px){
 .home-redesign .home-wave-footer{
  height:90px!important;border-radius:0!important;overflow:hidden!important;
  margin:0 -22px!important;background:#f8faf8 url('/school-dashboard-waves.svg') center bottom/100% 100% no-repeat!important
 }
 .home-redesign .home-wave-footer:after{display:none!important}
 .home-redesign .home-dashboard-three .home-action:nth-child(1){background:#e6f8ed!important}
 .home-redesign .home-dashboard-three .home-action:nth-child(2){background:#fff3d8!important}
 .home-redesign .home-dashboard-three .home-action:nth-child(3){background:#e2f4fd!important}
 .home-redesign .home-dashboard-three .home-action:nth-child(4){background:#f0eafb!important}
 .home-redesign .home-dashboard-three .home-action:nth-child(5){background:#fff3d8!important}
 .home-redesign .home-dashboard-three .home-action:nth-child(6){background:#e3f8ee!important}
 .home-redesign .home-dashboard-three .home-action:nth-child(3) svg{color:#126a91}
 .home-redesign .home-dashboard-three .home-action:nth-child(4) svg{color:#5633a9}
 .home-redesign .home-dashboard-three .home-action:nth-child(5) svg{color:#b88510}
 .home-redesign .home-panel{box-shadow:0 4px 18px #0d422316!important}
 .home-redesign .home-events-panel .home-feed-empty{min-height:148px}
 .home-redesign .home-activity-panel .home-feed-row{min-height:43px;border-bottom:1px solid #e9ede9}
}
@media(max-width:750px){
 .home-redesign .home-wave-footer{
  height:70px!important;background:#f8faf8 url('/school-dashboard-waves.svg') center bottom/auto 100% no-repeat!important;
  border-radius:0!important
 }
 .home-redesign .home-wave-footer:after{display:none!important}
}


/* Real-photo and raster-asset dashboard: no vector illustration files. */
.home-redesign .dashboard-raster-icon{display:block;flex-shrink:0;object-fit:contain}
.home-redesign .home-hero-cap .dashboard-raster-icon{width:65px!important;height:65px!important;filter:brightness(0) saturate(100%) invert(88%) sepia(26%) saturate(1090%) hue-rotate(327deg) brightness(98%) contrast(95%)}
.home-redesign .home-gold-icon .dashboard-raster-icon{width:24px!important;height:24px!important;filter:brightness(0) saturate(100%) invert(69%) sepia(65%) saturate(603%) hue-rotate(355deg) brightness(98%) contrast(91%)}
.home-redesign .home-stat-icon .dashboard-raster-icon{width:30px!important;height:30px!important}
.home-redesign .home-action .dashboard-raster-icon{width:27px!important;height:27px!important}
.home-redesign .home-week-symbol .dashboard-raster-icon{width:25px!important;height:25px!important}
.sidebar-nav-icon .dashboard-raster-icon{width:19px!important;height:19px!important;filter:brightness(0) invert(1)}
.sidebar-nav-item.current .dashboard-raster-icon{filter:none}
.dashboard-top-tools .dashboard-raster-icon{width:21px!important;height:21px!important}
.home-redesign .home-hero-campus:after{background:linear-gradient(90deg,#02533a10,transparent 50%)!important}
.home-redesign .home-hero-campus img{object-fit:cover!important;filter:saturate(1.08) contrast(1.02)!important}
/* No SVG footer image: gold and emerald curves are composed in CSS only. */
.home-redesign .home-wave-footer{
 height:82px!important;position:relative!important;overflow:hidden!important;
 background:linear-gradient(178deg,#f8faf8 0 38%,#f5e7aa 39% 48%,#087551 49% 82%,#004b37 83% 100%)!important;
 margin:5px -22px 0!important;border-radius:0!important;
}
.home-redesign .home-wave-footer:before{
 content:''!important;position:absolute!important;top:12px!important;left:-9%!important;width:124%!important;
 height:83px!important;background:#077451!important;border-radius:48% 52% 0 0 / 48% 40% 0 0!important;
 transform:rotate(-2deg)!important;opacity:.95!important;
}
.home-redesign .home-wave-footer:after{
 content:''!important;position:absolute!important;top:49px!important;left:-4%!important;width:116%!important;height:83px!important;
 background:#004c38!important;border-radius:55% 45% 0 0/20% 36% 0 0!important;
 transform:rotate(1deg)!important;opacity:1!important;
}
@media(max-width:750px){
 .home-redesign .home-wave-footer{height:58px!important;margin:0 -13px!important}
 .home-redesign .home-wave-footer:before{top:16px!important}
 .home-redesign .home-wave-footer:after{top:37px!important}
}


/* APPROVED SECOND SCREENSHOT: pixel-targeted photographic layout.
   Crops below come directly from the user's approved illustration, NOT a claimed campus photo. */
@media(min-width:751px){
 .app-frame .sidenav{background:linear-gradient(160deg,#0b5c46 0%,#00402f 75%,#003b2c 100%)!important}
 .app-frame .sidenav:before{
  content:'';display:block;position:absolute;bottom:100px;left:0;right:0;
  height:104px;background:url('/reference-sidebar.webp') bottom left / 100% 100% no-repeat;
  pointer-events:none;opacity:.9;z-index:0
 }
 .app-frame .sidenav>.sidebar-nav-item,.app-frame .sidenav>.school-brand-mark,.app-frame .sidenav>.sidebar-bottom{
  position:relative;z-index:1
 }
 .app-frame .sidenav .school-logo-frame{height:95px!important;min-height:95px!important}
 .app-frame .sidenav .sidebar-nav-item{min-height:35px!important;height:35px!important;font-size:12.5px!important}
 .app-frame .sidenav .sidebar-bottom{background:#003e30c9!important}
 .home-redesign.reference-alhijra .home-hero{
  background:radial-gradient(circle at 30% 38%,#056246 0%,#00432e 65%,#003c29 100%)!important;
  height:203px!important;min-height:203px!important;border-radius:18px!important
 }
 .home-redesign.reference-alhijra .home-hero:before{
  background:repeating-linear-gradient(55deg,transparent 0 30px,#ffffff07 31px 32px,transparent 33px 58px)!important
 }
 .home-redesign.reference-alhijra .home-hero-campus{
  width:49.5%!important;top:0!important;right:0!important;bottom:0!important;
  clip-path:none!important;border:0!important;overflow:hidden!important;background:#00432e!important
 }
 .home-redesign.reference-alhijra .home-hero-campus:before,
 .home-redesign.reference-alhijra .home-hero-campus:after{display:none!important;content:none!important}
 .home-redesign.reference-alhijra .home-hero-campus img{
  display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  clip-path:none!important;filter:none!important;object-fit:fill!important;object-position:center!important
 }
 .home-redesign.reference-alhijra .home-hero-content{position:relative!important;z-index:4!important;max-width:66%!important}
 .home-redesign.reference-alhijra .home-welcome{font-size:30px!important}
 .home-redesign.reference-alhijra .home-hero h2{font:700 clamp(28px,3.1vw,41px)/1.06 Georgia,serif!important;margin:2px 0 8px!important}
 .home-redesign.reference-alhijra .home-hero p{margin:6px 0 17px 84px!important;font-size:12px!important}
 .home-redesign.reference-alhijra .home-hero-actions{padding-left:84px!important}
 .home-redesign.reference-alhijra .home-wave-footer{
  position:relative!important;width:auto!important;height:86px!important;
  margin:4px -22px -4px!important;border-radius:0!important;
  background:#004936 url('/reference-footer.webp') center bottom/100% 100% no-repeat!important;
  overflow:hidden!important
 }
 .home-redesign.reference-alhijra .home-wave-footer:before,
 .home-redesign.reference-alhijra .home-wave-footer:after{display:none!important;content:none!important}
 .home-redesign.reference-alhijra .home-panel-title h3{font-size:17px!important}
 .home-redesign.reference-alhijra button.home-stat{border-radius:14px!important;box-shadow:0 4px 13px #123f2317!important}
 .home-redesign.reference-alhijra .home-dashboard-bottom>.home-panel{min-height:147px!important}
 .home-redesign.reference-alhijra .home-events-panel{min-height:220px!important}
 .home-redesign.reference-alhijra .home-class-row{
  width:100%!important;min-height:42px!important;padding:6px 2px!important;border-radius:0!important;
  border-bottom:1px solid #edf1ed!important;display:flex!important;align-items:center!important;
  gap:9px!important;background:transparent!important;color:#193c32!important;text-align:left!important
 }
 .home-redesign.reference-alhijra .home-class-row:hover{background:#f6faf7!important}
 .home-redesign.reference-alhijra .home-class-icon{width:33px;height:33px;border-radius:9px;background:#e5f5eb;display:grid;place-items:center}
 .home-redesign.reference-alhijra .home-class-copy{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
 .home-redesign.reference-alhijra .home-class-copy strong{font-size:12px;color:#183b2e}
 .home-redesign.reference-alhijra .home-class-copy small{font-size:11px;color:#7c9289}
 .home-redesign.reference-alhijra .home-class-avatars{display:flex;align-items:center;padding-right:5px}
 .home-redesign.reference-alhijra .home-class-avatar{
  height:22px;min-width:22px;width:22px;display:grid;place-items:center;
  border-radius:50%;background:#e4ba76;color:#184a3d;border:2px solid white;margin-left:-5px;font-size:10px
 }
 .home-redesign.reference-alhijra .home-class-avatar:nth-child(2){background:#b7d8ba}
 .home-redesign.reference-alhijra .home-class-avatar:nth-child(3){background:#c9c1e6}
 .home-redesign.reference-alhijra .home-class-chevron{font-size:23px;color:#246d50;line-height:1}
 .home-redesign.reference-alhijra button.home-event-row{
  min-height:57px;width:100%;display:flex;align-items:center;gap:11px;
  border:0;border-bottom:1px solid #ecf1ed;border-radius:0;padding:6px 0;
  color:#19372e;background:transparent;text-align:left
 }
 .home-redesign.reference-alhijra .home-event-date{
  min-width:46px;height:48px;border-radius:12px;background:#e2f6e8;
  display:flex;flex-direction:column;align-items:center;justify-content:center
 }
 .home-redesign.reference-alhijra .home-event-row:nth-child(3n) .home-event-date{background:#fff0d4}
 .home-redesign.reference-alhijra .home-event-row:nth-child(4n) .home-event-date{background:#e1f3fb}
 .home-redesign.reference-alhijra .home-event-date span{font-size:10px;font-weight:750;text-transform:uppercase}
 .home-redesign.reference-alhijra .home-event-date strong{font-size:21px;line-height:1.1}
 .home-redesign.reference-alhijra .home-event-detail{display:flex;flex-direction:column;gap:3px}
 .home-redesign.reference-alhijra .home-event-detail strong{font-size:12px;color:#193c2b}
 .home-redesign.reference-alhijra .home-event-detail small{font-size:10px;color:#6f867c}
}
@media(max-width:750px){
 .home-redesign.reference-alhijra .home-hero-campus{
  width:65%!important;opacity:.27!important;clip-path:none!important
 }
 .home-redesign.reference-alhijra .home-hero-campus:before,
 .home-redesign.reference-alhijra .home-hero-campus:after{display:none!important}
 .home-redesign.reference-alhijra .home-hero-campus img{width:100%;height:100%;object-fit:cover}
 .home-redesign.reference-alhijra .home-wave-footer{
  margin:4px -13px 0!important;height:64px!important;
  background:url('/reference-footer.webp') center bottom / auto 100% no-repeat!important
 }
 .home-redesign.reference-alhijra .home-wave-footer:before,
 .home-redesign.reference-alhijra .home-wave-footer:after{display:none!important}
 .home-redesign.reference-alhijra .home-hero p,
 .home-redesign.reference-alhijra .home-hero-actions{margin-left:0!important;padding-left:0!important}
}


/* Reference replica v5: correct the overall scale and layout.
   Deliberately scoped to the school overview so other screens stay stable. */
@media(min-width:1100px){
 .app-frame:has(.home-redesign){grid-template-columns:250px minmax(0,1fr)!important}
 .app-frame:has(.home-redesign) .sidenav{padding:23px 14px 15px!important}
 .app-frame:has(.home-redesign) .sidenav .school-brand-mark{min-height:113px!important;margin-bottom:17px!important}
 .app-frame:has(.home-redesign) .sidenav .school-logo-frame{height:106px!important;min-height:106px!important}
 .app-frame:has(.home-redesign) .sidenav .school-sidebar-logo{max-width:224px!important;height:104px!important;max-height:104px!important}
 .app-frame:has(.home-redesign) .sidenav .sidebar-nav-item{
  height:38px!important;min-height:38px!important;padding:8px 15px!important;
  font-size:13.5px!important;gap:12px!important;
 }
 .app-frame:has(.home-redesign) .content-area{padding:27px 22px 0!important}
 .app-frame:has(.home-redesign) .page-head{height:61px!important;margin-bottom:16px!important}
 .app-frame:has(.home-redesign) .page-head h1{font-size:29px!important}
 .home-redesign{gap:16px!important}
 .home-redesign.reference-alhijra .home-hero{
  height:220px!important;min-height:220px!important;padding:24px 30px!important;
  background:radial-gradient(ellipse at 52% 52%,#066a4b,#004832 63%,#003923 100%)!important;
 }
 .home-redesign.reference-alhijra .home-hero-content{max-width:68%!important}
 .home-redesign.reference-alhijra .home-hero-headline{gap:20px!important}
 .home-redesign.reference-alhijra .home-hero-cap{min-width:76px!important}
 .home-redesign.reference-alhijra .home-hero-cap .dashboard-raster-icon{width:76px!important;height:76px!important}
 .home-redesign.reference-alhijra .home-welcome{font:400 32px/1 Georgia,serif!important}
 .home-redesign.reference-alhijra .home-hero h2{
  font:700 clamp(32px,3.6vw,45px)/1.08 Georgia,serif!important;
  margin:4px 0 8px!important;
 }
 .home-redesign.reference-alhijra .home-hero p{
  margin:5px 0 17px 96px!important;
  font-size:13px!important;line-height:1.45!important;
 }
 .home-redesign.reference-alhijra .home-hero-actions{padding-left:96px!important}
 .home-redesign.reference-alhijra .home-hero-actions button{height:43px!important;font-size:13px!important}
 .home-redesign .home-stat-grid{gap:15px!important}
 .home-redesign button.home-stat{min-height:102px!important;padding:16px!important;gap:16px!important}
 .home-redesign .home-stat-icon{width:60px!important;height:60px!important}
 .home-redesign .home-stat-content>span{font-size:15px!important;font-weight:750!important}
 .home-redesign .home-stat-content>strong{font-size:29px!important}
 .home-redesign .home-stat-content>small{font-size:11px!important}
 .home-redesign .home-dashboard-three{grid-template-columns:1.05fr 1.03fr 1fr!important;gap:15px!important}
 .home-redesign .home-dashboard-three>.home-panel{height:248px!important;min-height:248px!important}
 .home-redesign .home-dashboard-three>.home-panel{padding:17px!important}
 .home-redesign .home-panel-title h3{font-size:18px!important;font-weight:750!important;letter-spacing:-.025em!important}
 .home-redesign .home-dashboard-three .home-actions-grid{gap:9px!important}
 .home-redesign .home-dashboard-three .home-action{min-height:85px!important;height:85px!important;gap:6px!important}
 .home-redesign .home-action-copy strong{font-size:12px!important}
 .home-redesign .home-dashboard-bottom{gap:15px!important}
 .home-redesign .home-dashboard-bottom>.home-panel{height:159px!important;min-height:159px!important;padding:17px!important}
 .home-redesign .home-week-stat{min-height:86px!important}
 .home-redesign.reference-alhijra .home-wave-footer{height:81px!important;margin-top:0!important}
}
/* Keep the approved image's curved gold edge legible while hiding the hard
   rectangular seam between the two sources of the hero composition. */
@media(min-width:751px){
 .home-redesign.reference-alhijra .home-hero-campus{
  width:51%!important;
  background:#004832!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus:before{
  content:''!important;display:block!important;position:absolute!important;
  left:0!important;top:0!important;bottom:0!important;width:23%!important;z-index:2!important;
  background:linear-gradient(90deg,#004832 0%,#004832e8 13%,#00483255 72%,transparent 100%)!important;
  pointer-events:none!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus img{
  object-fit:cover!important;
  object-position:center center!important;
 }
}
@media(min-width:751px) and (max-width:1200px){
 .app-frame:has(.home-redesign){grid-template-columns:225px minmax(0,1fr)!important}
 .home-redesign.reference-alhijra .home-hero h2{font-size:32px!important}
 .home-redesign.reference-alhijra .home-hero p{margin-left:0!important}
 .home-redesign.reference-alhijra .home-hero-actions{padding-left:0!important}
 .home-redesign .home-dashboard-three>.home-panel{height:auto!important;min-height:230px!important}
}
@media(max-width:750px){
 .home-redesign.reference-alhijra .home-hero{padding:21px 17px!important}
 .home-redesign.reference-alhijra .home-hero h2{font-size:29px!important}
 .home-redesign.reference-alhijra .home-hero p{margin-left:0!important}
 .home-redesign.reference-alhijra .home-hero-actions{padding-left:0!important}
}


/* Curved photo boundary drawn from the approved reference; no vertical seam. */
@media(min-width:751px){
 .home-redesign.reference-alhijra .home-hero-campus{
  isolation:isolate!important;
  clip-path:polygon(27% 0%,24% 5%,20% 13%,16% 23%,12% 35%,8% 49%,5% 63%,2% 80%,0% 100%,100% 100%,100% 0%)!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus:before{display:none!important;content:none!important}
 .home-redesign.reference-alhijra .home-hero-campus img{
  object-fit:fill!important;object-position:center!important;
  height:100%!important;width:100%!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus:after{display:none!important}
 .home-redesign.reference-alhijra .home-wave-footer{
  background-position:center bottom!important;
  background-size:100% 129%!important;
 }
}
@media(max-width:750px){
 .home-redesign.reference-alhijra .home-hero-campus{clip-path:none!important}
 .home-redesign.reference-alhijra .home-wave-footer{background-size:auto 118%!important;background-position:center bottom!important}
}


/* Al Hijra official mosque banner — full image quality and a deliberate gold
   curved frame. Only the Al Hijra tenant receives this exterior artwork. */
@media(min-width:751px){
 .home-redesign.reference-alhijra .home-hero{
  background:radial-gradient(ellipse at 30% 35%,#075e46 0%,#004630 74%,#003c29 100%)!important;
  isolation:isolate!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus{
  position:absolute!important;inset:0 0 0 auto!important;
  width:51%!important;height:100%!important;
  clip-path:none!important;overflow:hidden!important;isolation:isolate!important;
  background:#d8e8ec!important;z-index:1!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus:before{
  content:''!important;display:block!important;position:absolute!important;inset:0!important;z-index:2!important;
  background:#f1cb72!important;opacity:1!important;pointer-events:none!important;
  clip-path:polygon(31% 0,25% 10%,20% 22%,14% 38%,9% 54%,4% 76%,0 100%,100% 100%,100% 0)!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus:after{display:none!important;content:none!important}
 .home-redesign.reference-alhijra .home-hero-campus img{
  display:block!important;position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center 35%!important;
  clip-path:polygon(33% 0,27% 10%,22% 22%,16% 38%,11% 54%,6% 76%,2% 100%,100% 100%,100% 0)!important;
  filter:saturate(1.07) contrast(1.02)!important;
  z-index:3!important;
 }
 .home-redesign.reference-alhijra .home-hero-content{position:relative!important;z-index:5!important;max-width:67%!important}
}
@media(max-width:750px){
 .home-redesign.reference-alhijra .home-hero-campus{
  width:72%!important;opacity:.23!important;clip-path:none!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus img{
  object-fit:cover!important;object-position:center 35%!important;
  clip-path:none!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus:before{display:none!important}
}


/* Al Hijra Academy — clean, edge-to-edge mosque hero (replaces the blurry panel treatment).
   A single image fills the right side. A small gold rim follows the curved split. */
@media(min-width:751px){
 .home-redesign.reference-alhijra .home-hero{
  height:270px!important;min-height:270px!important;
  background:linear-gradient(112deg,#003e2c 0%,#00553c 58%,#005c42 100%)!important;
  overflow:hidden!important;isolation:isolate!important;border-radius:20px!important;
 }
 .home-redesign.reference-alhijra .home-hero:before{
  content:''!important;position:absolute!important;inset:0 48% 0 0!important;z-index:0!important;
  background:repeating-linear-gradient(60deg,transparent 0 25px,#ffffff04 26px 27px,transparent 28px 50px)!important;
  opacity:.5!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus{
  position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;
  width:49.5%!important;height:100%!important;overflow:hidden!important;isolation:isolate!important;
  clip-path:ellipse(125% 137% at 125% 75%)!important;
  background:#edc46b!important;opacity:1!important;z-index:1!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus:before,
 .home-redesign.reference-alhijra .home-hero-campus:after{content:none!important;display:none!important}
 .home-redesign.reference-alhijra .home-hero-campus img{
  display:block!important;position:absolute!important;inset:0!important;
  top:0!important;left:0!important;right:0!important;bottom:0!important;
  width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
  object-fit:cover!important;object-position:center 56%!important;
  clip-path:ellipse(125% 137% at 126.5% 75%)!important;
  filter:saturate(1.08) contrast(1.035)!important;
  transform:none!important;opacity:1!important;z-index:1!important;
 }
 .home-redesign.reference-alhijra .home-hero-content{
  width:64%!important;max-width:64%!important;z-index:3!important;
  padding-top:8px!important;
 }
 .home-redesign.reference-alhijra .home-hero h2{
  font-size:clamp(32px,3.15vw,43px)!important;line-height:1.05!important;
 }
 .home-redesign.reference-alhijra .home-hero-headline{gap:18px!important}
 .home-redesign.reference-alhijra .home-hero p{font-size:13px!important;max-width:540px!important}
 .home-redesign.reference-alhijra .home-hero-actions{gap:13px!important}
}
@media(min-width:751px) and (max-width:1120px){
 .home-redesign.reference-alhijra .home-hero{height:225px!important;min-height:225px!important}
 .home-redesign.reference-alhijra .home-hero-campus{width:47%!important}
 .home-redesign.reference-alhijra .home-hero-content{max-width:68%!important;width:68%!important}
 .home-redesign.reference-alhijra .home-hero h2{font-size:31px!important}
}
@media(max-width:750px){
 .home-redesign.reference-alhijra .home-hero{background:linear-gradient(115deg,#003f2d,#00543d)!important}
 .home-redesign.reference-alhijra .home-hero-campus{
  position:absolute!important;right:0!important;left:auto!important;top:0!important;bottom:0!important;
  width:75%!important;height:100%!important;opacity:.23!important;
  background:transparent!important;clip-path:none!important;overflow:hidden!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus:before,
 .home-redesign.reference-alhijra .home-hero-campus:after{display:none!important;content:none!important}
 .home-redesign.reference-alhijra .home-hero-campus img{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center 55%!important;
  max-width:none!important;max-height:none!important;clip-path:none!important;
  transform:none!important;filter:none!important;
 }
 .home-redesign.reference-alhijra .home-hero-content{z-index:3!important}
}


/* OPTION 2 — Mosque first. Image left, welcome content right.
   Apply ONLY to the Al Hijra tenant. Other schools retain their configured hero. */
@media(min-width:751px){
 .home-redesign.reference-alhijra .home-hero{
  height:268px!important;min-height:268px!important;
  background:radial-gradient(circle at 84% 37%,#087252 0%,#004a36 60%,#003b2b 100%)!important;
  position:relative!important;overflow:hidden!important;border-radius:20px!important;
  padding:0!important;isolation:isolate!important;
 }
 .home-redesign.reference-alhijra .home-hero:before{
  content:''!important;display:block!important;position:absolute!important;
  left:52%!important;right:0!important;inset-block:0!important;z-index:0!important;
  background:repeating-linear-gradient(58deg,transparent 0 36px,#ffffff05 37px 38px,transparent 39px 78px)!important;
  opacity:.65!important;pointer-events:none!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus{
  position:absolute!important;top:0!important;left:0!important;right:auto!important;bottom:0!important;
  width:53%!important;height:100%!important;opacity:1!important;
  background:#eac56c!important;z-index:1!important;overflow:hidden!important;
  clip-path:ellipse(136% 165% at -37% 48%)!important;
  border:0!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus:before,
 .home-redesign.reference-alhijra .home-hero-campus:after{
  display:none!important;content:none!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus img{
  position:absolute!important;inset:0!important;top:0!important;left:0!important;right:0!important;bottom:0!important;
  display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
  object-fit:cover!important;object-position:50% 62%!important;
  transform:none!important;filter:saturate(1.05) contrast(1.02)!important;
  opacity:1!important;z-index:2!important;
  clip-path:ellipse(136% 165% at -39% 48%)!important;
 }
 .home-redesign.reference-alhijra .home-hero-content{
  position:absolute!important;top:50%!important;right:3.2%!important;left:auto!important;
  transform:translateY(-50%)!important;z-index:4!important;
  padding:0!important;width:43%!important;max-width:43%!important;
 }
 .home-redesign.reference-alhijra .home-hero-headline{
  display:flex!important;align-items:center!important;gap:15px!important;
 }
 .home-redesign.reference-alhijra .home-hero-cap{min-width:59px!important}
 .home-redesign.reference-alhijra .home-hero-cap .dashboard-raster-icon{width:59px!important;height:59px!important}
 .home-redesign.reference-alhijra .home-welcome{font:400 29px/1.08 Georgia,serif!important}
 .home-redesign.reference-alhijra .home-hero h2{
  font:700 clamp(26px,2.6vw,41px)/1.08 Georgia,serif!important;
  margin:4px 0 5px!important;
 }
 .home-redesign.reference-alhijra .home-hero p{
  max-width:100%!important;margin:15px 0 20px!important;padding:0!important;
  font-size:13px!important;line-height:1.55!important;
 }
 .home-redesign.reference-alhijra .home-hero-actions{
  padding:0!important;gap:12px!important;flex-wrap:wrap!important;
 }
 .home-redesign.reference-alhijra .home-hero-actions button{min-height:42px!important}
}
@media(min-width:751px) and (max-width:1050px){
 .home-redesign.reference-alhijra .home-hero-campus{width:48%!important}
 .home-redesign.reference-alhijra .home-hero-content{right:2.5%!important;width:48%!important;max-width:48%!important}
 .home-redesign.reference-alhijra .home-hero h2{font-size:27px!important}
 .home-redesign.reference-alhijra .home-welcome{font-size:24px!important}
 .home-redesign.reference-alhijra .home-hero-cap .dashboard-raster-icon{width:47px!important;height:47px!important}
}
@media(max-width:750px){
 .home-redesign.reference-alhijra .home-hero{
  min-height:385px!important;height:auto!important;padding:180px 19px 22px!important;
  background:linear-gradient(120deg,#00412f,#006047)!important;
  overflow:hidden!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus{
  position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:auto!important;
  width:100%!important;height:185px!important;clip-path:none!important;opacity:1!important;
  background:#ebc365!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus img{
  inset:0!important;width:100%!important;height:179px!important;
  object-fit:cover!important;object-position:50% 62%!important;
  clip-path:none!important;transform:none!important;filter:none!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus:before,
 .home-redesign.reference-alhijra .home-hero-campus:after{display:none!important;content:none!important}
 .home-redesign.reference-alhijra .home-hero-content{
  position:relative!important;top:auto!important;right:auto!important;left:auto!important;
  max-width:100%!important;width:100%!important;padding:0!important;
  transform:none!important;opacity:1!important;z-index:3!important;
 }
 .home-redesign.reference-alhijra .home-hero p{margin:11px 0 15px!important;padding:0!important}
 .home-redesign.reference-alhijra .home-hero-actions{padding:0!important}
}


/* Option 2 fidelity fix: use the whole mosque façade, not a zoomed-in crop.
   The source has lettering above the building, so crop its TOP 22% and display
   the rest across the wide photographic panel. */
@media(min-width:751px){
 .home-redesign.reference-alhijra .home-hero-campus{
  width:59%!important;
  clip-path:ellipse(139% 160% at -40% 50%)!important;
  background:#efc56c!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus img{
  top:-31%!important;left:0!important;right:0!important;bottom:auto!important;
  width:100%!important;height:131%!important;
  object-fit:fill!important;object-position:center!important;
  clip-path:ellipse(139% 160% at -41.25% 50%)!important;
  filter:saturate(1.04) contrast(1.02)!important;
 }
 .home-redesign.reference-alhijra .home-hero-content{
  width:40%!important;max-width:40%!important;right:2.5%!important;
 }
 .home-redesign.reference-alhijra .home-hero h2{
  font-size:clamp(27px,2.55vw,39px)!important;
 }
 .home-redesign.reference-alhijra .home-welcome{font-size:27px!important}
 .home-redesign.reference-alhijra .home-hero-cap{min-width:49px!important}
 .home-redesign.reference-alhijra .home-hero-cap .dashboard-raster-icon{
  width:49px!important;height:49px!important;
 }
 .home-redesign.reference-alhijra .home-hero p{font-size:12px!important;margin:13px 0 17px!important}
}
@media(min-width:751px) and (max-width:1050px){
 .home-redesign.reference-alhijra .home-hero-campus{width:55%!important}
 .home-redesign.reference-alhijra .home-hero-content{width:44%!important;max-width:44%!important;right:2%!important}
 .home-redesign.reference-alhijra .home-hero h2{font-size:27px!important}
}
@media(max-width:750px){
 .home-redesign.reference-alhijra .home-hero-campus img{
  top:-31%!important;left:0!important;height:131%!important;width:100%!important;
  object-fit:fill!important;object-position:center!important;
 }
}


/* AL HIJRA REFERENCE-APPROVED SIGNATURE BANNER — replaces Option 2.
   The real mosque exterior is RIGHT, live welcome/CTA is LEFT.
   Precise golden rim follows the S curve; lower gold wave completes the frame. */
@media(min-width:751px){
 .home-redesign.reference-alhijra .home-hero{
  height:290px!important;min-height:290px!important;position:relative!important;
  padding:0!important;border-radius:18px!important;isolation:isolate!important;overflow:hidden!important;
  background:radial-gradient(ellipse at 40% 33%,#006148 0%,#004931 58%,#003c2a 100%)!important;
 }
 .home-redesign.reference-alhijra .home-hero:before{
  content:''!important;display:block!important;position:absolute!important;
  inset:0!important;z-index:0!important;opacity:.27!important;
  background:repeating-linear-gradient(57deg,transparent 0 23px,#ffffff08 24px 25px,transparent 26px 48px)!important;
  pointer-events:none!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus{
  position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;
  width:71%!important;height:100%!important;isolation:isolate!important;
  opacity:1!important;z-index:1!important;overflow:hidden!important;
  background:#f2ca6a!important;
  clip-path:polygon(30.0% 0%,24.8% 8%,21.4% 17%,18.6% 27%,16.5% 40%,14.5% 53%,11.4% 66%,7.5% 79%,0% 99%,0% 100%,100% 100%,100% 0%)!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus:before,
 .home-redesign.reference-alhijra .home-hero-campus:after{display:none!important;content:none!important}
 .home-redesign.reference-alhijra .home-hero-campus img{
  display:block!important;position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:0!important;
  width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
  object-fit:cover!important;object-position:center 58%!important;
  transform:none!important;filter:saturate(1.06) contrast(1.035)!important;
  opacity:1!important;z-index:2!important;
  clip-path:polygon(31.1% 0%,25.9% 8%,22.5% 17%,19.7% 27%,17.6% 40%,15.6% 53%,12.5% 66%,8.6% 79%,1.1% 99%,1.1% 100%,100% 100%,100% 0%)!important;
 }
 .home-redesign.reference-alhijra .home-hero:after{
  content:''!important;display:block!important;position:absolute!important;
  left:0!important;bottom:0!important;right:0!important;height:48px!important;z-index:2!important;
  background:linear-gradient(180deg,#f5cc70 0 14%,#006b4a 17% 40%,#004934 45% 100%)!important;
  clip-path:polygon(0 17%,11% 31%,21% 55%,30% 74%,38% 66%,45% 31%,49% 51%,56% 68%,68% 81%,83% 55%,92% 29%,100% 16%,100% 100%,0 100%)!important;
  pointer-events:none!important;
 }
 .home-redesign.reference-alhijra .home-hero-content{
  position:absolute!important;top:50%!important;left:3.8%!important;right:auto!important;
  transform:translateY(-51%)!important;width:54%!important;max-width:54%!important;
  padding:0!important;margin:0!important;z-index:5!important;opacity:1!important;
 }
 .home-redesign.reference-alhijra .home-hero-headline{
  display:flex!important;gap:20px!important;align-items:center!important;
 }
 .home-redesign.reference-alhijra .home-hero-cap{min-width:77px!important}
 .home-redesign.reference-alhijra .home-hero-cap .dashboard-raster-icon{width:77px!important;height:77px!important}
 .home-redesign.reference-alhijra .home-welcome{
  font:400 32px/1.1 Georgia,serif!important;color:#fff!important;
 }
 .home-redesign.reference-alhijra .home-hero h2{
  font:700 clamp(30px,3.25vw,46px)/1.08 Georgia,serif!important;
  margin:2px 0 7px!important;color:#f5d37b!important;
 }
 .home-redesign.reference-alhijra .home-hero p{
  max-width:480px!important;margin:12px 0 18px 96px!important;
  padding:0!important;font-size:13px!important;line-height:1.55!important;color:#f4fbf6!important;
 }
 .home-redesign.reference-alhijra .home-hero-actions{
  display:flex!important;gap:13px!important;padding:0 0 0 96px!important;flex-wrap:wrap!important;
 }
 .home-redesign.reference-alhijra .home-hero-actions button{min-height:43px!important;font-size:13px!important}
}
@media(min-width:751px) and (max-width:1170px){
 .home-redesign.reference-alhijra .home-hero{height:248px!important;min-height:248px!important}
 .home-redesign.reference-alhijra .home-hero-content{left:3%!important;width:58%!important;max-width:58%!important}
 .home-redesign.reference-alhijra .home-hero-cap{min-width:54px!important}
 .home-redesign.reference-alhijra .home-hero-cap .dashboard-raster-icon{width:54px!important;height:54px!important}
 .home-redesign.reference-alhijra .home-hero h2{font-size:33px!important}
 .home-redesign.reference-alhijra .home-hero p{margin-left:74px!important}
 .home-redesign.reference-alhijra .home-hero-actions{padding-left:74px!important}
}
@media(max-width:750px){
 .home-redesign.reference-alhijra .home-hero{
  height:auto!important;min-height:365px!important;padding:165px 17px 20px!important;
  background:#004c36!important;overflow:hidden!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus{
  position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:auto!important;
  width:100%!important;height:165px!important;clip-path:none!important;background:#e9c56b!important;opacity:1!important;
 }
 .home-redesign.reference-alhijra .home-hero-campus:before,
 .home-redesign.reference-alhijra .home-hero-campus:after{display:none!important;content:none!important}
 .home-redesign.reference-alhijra .home-hero-campus img{
  position:absolute!important;inset:0!important;top:0!important;left:0!important;
  width:100%!important;height:165px!important;object-fit:cover!important;object-position:center 58%!important;
  clip-path:none!important;filter:none!important;transform:none!important;opacity:1!important;
 }
 .home-redesign.reference-alhijra .home-hero:after{display:none!important}
 .home-redesign.reference-alhijra .home-hero-content{
  width:100%!important;max-width:100%!important;position:relative!important;top:auto!important;left:auto!important;
  right:auto!important;transform:none!important;z-index:4!important;padding:12px 0 0!important;
 }
 .home-redesign.reference-alhijra .home-welcome{font-size:25px!important}
 .home-redesign.reference-alhijra .home-hero h2{font-size:28px!important}
 .home-redesign.reference-alhijra .home-hero p{margin:10px 0 15px!important;padding:0!important}
 .home-redesign.reference-alhijra .home-hero-actions{padding:0!important}
}


/* FINAL APPROVED AL HIJRA HERO — approved image overlay, not approximated clip paths.
   The image carries the original mosque, gold S-curve, and lower wave.
   Welcome copy and buttons remain genuine accessible DOM elements. */
@media(min-width:751px){
 .home-redesign.reference-alhijra .home-hero{
  position:relative!important;height:290px!important;min-height:290px!important;
  padding:0!important;overflow:hidden!important;isolation:isolate!important;
  border-radius:18px!important;
  background:radial-gradient(ellipse at 30% 35%,#006448 0%,#004c35 68%,#003d2b 100%)!important;
 }
 .home-redesign.reference-alhijra .home-hero:before{
  content:''!important;display:block!important;position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;z-index:2!important;
  opacity:1!important;pointer-events:none!important;
  background:url('/alhijra-approved-hero.webp') center center / 100% 100% no-repeat!important;
 }
 .home-redesign.reference-alhijra .home-hero:after{display:none!important;content:none!important}
 .home-redesign.reference-alhijra .home-hero-campus{display:none!important}
 .home-redesign.reference-alhijra .home-hero-content{
  position:absolute!important;top:48%!important;left:3.8%!important;right:auto!important;
  transform:translateY(-50%)!important;z-index:4!important;
  width:55%!important;max-width:55%!important;padding:0!important;margin:0!important;
 }
 .home-redesign.reference-alhijra .home-hero-headline{
  display:flex!important;align-items:center!important;gap:20px!important;
 }
 .home-redesign.reference-alhijra .home-hero-cap{min-width:76px!important}
 .home-redesign.reference-alhijra .home-hero-cap .dashboard-raster-icon{width:76px!important;height:76px!important}
 .home-redesign.reference-alhijra .home-welcome{
  font:400 32px/1.08 Georgia,serif!important;color:#fff!important;
 }
 .home-redesign.reference-alhijra .home-hero h2{
  font:700 clamp(30px,3.3vw,46px)/1.05 Georgia,serif!important;
  margin:3px 0 8px!important;color:#f4d079!important;
 }
 .home-redesign.reference-alhijra .home-hero p{
  max-width:390px!important;margin:14px 0 18px 96px!important;
  padding:0!important;font-size:13px!important;line-height:1.48!important;color:#f4faf6!important;
 }
 .home-redesign.reference-alhijra .home-hero-actions{
  display:flex!important;gap:13px!important;padding:0 0 0 96px!important;flex-wrap:wrap!important;
 }
 .home-redesign.reference-alhijra .home-hero-actions button{min-height:43px!important;font-size:13px!important}
}
@media(min-width:751px) and (max-width:1200px){
 .home-redesign.reference-alhijra .home-hero{height:245px!important;min-height:245px!important}
 .home-redesign.reference-alhijra .home-hero-content{left:3.2%!important;width:57%!important;max-width:57%!important}
 .home-redesign.reference-alhijra .home-hero-cap{min-width:55px!important}
 .home-redesign.reference-alhijra .home-hero-cap .dashboard-raster-icon{width:55px!important;height:55px!important}
 .home-redesign.reference-alhijra .home-hero h2{font-size:32px!important}
 .home-redesign.reference-alhijra .home-hero p{margin-left:75px!important}
 .home-redesign.reference-alhijra .home-hero-actions{padding-left:75px!important}
}
@media(max-width:750px){
 .home-redesign.reference-alhijra .home-hero{
  position:relative!important;min-height:360px!important;height:auto!important;
  padding:160px 17px 21px!important;overflow:hidden!important;
  background:#004936!important;
 }
 .home-redesign.reference-alhijra .home-hero:before{
  content:''!important;display:block!important;position:absolute!important;
  top:0!important;left:0!important;right:0!important;bottom:auto!important;
  height:155px!important;opacity:1!important;z-index:1!important;
  background:url('/alhijra-approved-hero.webp') right top / auto 160px no-repeat!important;
 }
 .home-redesign.reference-alhijra .home-hero:after{display:none!important;content:none!important}
 .home-redesign.reference-alhijra .home-hero-campus{display:none!important}
 .home-redesign.reference-alhijra .home-hero-content{
  position:relative!important;top:auto!important;left:auto!important;right:auto!important;
  transform:none!important;width:100%!important;max-width:100%!important;
  margin:0!important;padding:0!important;z-index:3!important;
 }
 .home-redesign.reference-alhijra .home-welcome{font-size:25px!important}
 .home-redesign.reference-alhijra .home-hero h2{font-size:29px!important}
 .home-redesign.reference-alhijra .home-hero p{margin:12px 0 16px!important;padding:0!important;max-width:100%!important}
 .home-redesign.reference-alhijra .home-hero-actions{padding:0!important}
}


/* EXACT APPROVED BANNER — original user-supplied 2048x682 PNG.
   The image already contains the full copy, mosque artwork, icon, buttons and
   decorative border: never add a second image overlay or live text on top. */
.home-redesign .approved-school-banner{
 position:relative!important;display:block!important;isolation:isolate!important;
 width:100%!important;height:auto!important;aspect-ratio:3.32!important;
 padding:0!important;margin:0!important;background:#005037!important;
 overflow:hidden!important;border-radius:18px!important;
 box-shadow:0 5px 17px #15453214!important;
}
.home-redesign .approved-school-banner > img{
 display:block!important;position:absolute!important;inset:0!important;
 width:100%!important;height:100%!important;object-fit:cover!important;
 object-position:center center!important;max-width:none!important;
 border:0!important;border-radius:0!important;
 filter:none!important;transform:none!important;
}
.home-redesign .approved-banner-hit{
 position:absolute!important;z-index:5!important;
 display:block!important;border:0!important;outline-offset:3px!important;
 margin:0!important;padding:0!important;min-height:0!important;
 background:transparent!important;color:transparent!important;
 font-size:0!important;line-height:0!important;box-shadow:none!important;
 border-radius:11px!important;cursor:pointer!important;
 transition:none!important;
}
.home-redesign .approved-banner-hit:hover{
 background:#ffffff12!important;box-shadow:inset 0 0 0 2px #ffffff28!important;
}
.home-redesign .approved-banner-hit:focus-visible{
 outline:3px solid #ffffff!important;background:#ffffff18!important;
}
.home-redesign .approved-banner-add{left:7.05%!important;top:60.6%!important;width:15.5%!important;height:14.7%!important}
.home-redesign .approved-banner-invite{left:24.0%!important;top:60.6%!important;width:17.2%!important;height:14.7%!important}
.home-redesign .approved-banner-mobile-actions{display:none!important}
@media(max-width:750px){
 .home-redesign .approved-school-banner{
  aspect-ratio:auto!important;min-height:0!important;
  height:auto!important;overflow:visible!important;
  padding:0 0 76px!important;background:transparent!important;
  border-radius:0!important;box-shadow:none!important;
 }
 .home-redesign .approved-school-banner > img{
  position:relative!important;inset:auto!important;
  width:100%!important;height:auto!important;
  aspect-ratio:3.32!important;object-fit:cover!important;
  border-radius:12px!important;box-shadow:0 3px 10px #003d2d20!important;
 }
 .home-redesign .approved-banner-hit{display:none!important}
 .home-redesign .approved-banner-mobile-actions{
  display:flex!important;position:absolute!important;z-index:6!important;
  left:0!important;right:0!important;bottom:0!important;gap:10px!important;
  justify-content:center!important;align-items:center!important;
 }
 .home-redesign .approved-banner-mobile-actions button{
  min-height:44px!important;flex:1!important;border-radius:10px!important;
  font-size:13px!important;
 }
}
