/* AZUBDA94 finance and content UI */
:root{--navy:#0f2d5b;--navyd:#09213d;--gold:#d4af37;--soft:#f7f4ec;--ink:#1a3756;--muted:#71839b;--edge:#e0e7ed;--bg:#f4f6f9;--red:#b9303b;--green:#218361}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Tajawal,Arial,sans-serif;font-size:16px}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,h4{font-family:Cairo,Tajawal,sans-serif;margin:0}h1{font-size:27px}h2{font-size:23px}h3{font-size:18px}p{line-height:1.6}.loading{text-align:center;padding:70px}.shell{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.sidebar{background:linear-gradient(165deg,#153862,#09243f);color:#fff;padding:20px 14px;position:sticky;top:0;height:100vh;overflow:auto}.brand{text-align:center;padding:6px 8px 20px;border-bottom:1px solid #ffffff22}.brand img{width:136px;height:136px;object-fit:contain;filter:drop-shadow(0 4px 15px #0005)}.brand strong{display:block;font-family:Cairo;font-size:18px}.brand small{color:#d3dbe9}.nav{display:grid;gap:5px;margin-top:18px}.nav button{width:100%;border:0;border-radius:12px;background:transparent;color:#e7edf7;text-align:right;padding:12px 14px;font-weight:700}.nav button.active,.nav button:hover{background:linear-gradient(100deg,#d4af37,#edd788);color:#112b4c}.side-foot{margin-top:25px;border-top:1px solid #ffffff22;padding-top:12px;font-size:13px;color:#cdd5e4}.workspace{min-width:0}.topbar{position:sticky;top:0;z-index:5;background:#fffffff5;border-bottom:1px solid var(--edge);display:flex;justify-content:space-between;align-items:center;padding:14px 25px;gap:14px;backdrop-filter:blur(8px)}.titlelogo{display:flex;align-items:center;gap:12px}.titlelogo img{width:56px;height:56px;object-fit:contain}.titlelogo strong{display:block;font-family:Cairo;font-weight:800}.content{max-width:1360px;margin:0 auto;padding:25px}.muted,.hint{color:var(--muted);font-size:14px}.lead{color:var(--muted);margin:2px 0 24px}.card{background:#fff;border:1px solid var(--edge);border-radius:19px;padding:20px;box-shadow:0 6px 25px #09213d08}.card h3{margin-bottom:13px}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:23px}.stat{border:1px solid var(--edge);background:white;padding:19px;border-radius:18px;border-right:4px solid var(--gold)}.stat label{color:var(--muted);display:block;font-size:13px}.stat strong{font-family:Cairo;font-size:23px;display:block;margin-top:10px;color:var(--navy)}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.between{justify-content:space-between}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stack{display:grid;gap:15px}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field{display:grid;gap:7px;min-width:0}.field label{font-size:13px;font-weight:800;color:#375371}.field input,.field select,.field textarea,.control{border:1px solid #d9e3ec;background:#fff;border-radius:12px;padding:12px 13px;outline:none;min-width:0;color:var(--ink);width:100%}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px #d4af3730}.span2{grid-column:1 / -1}.btn{border:0;background:var(--navy);color:#fff;border-radius:11px;padding:11px 17px;font-weight:800;transition:.15s}.btn:hover{filter:brightness(1.08)}.btn.gold{background:linear-gradient(110deg,#f2d888,#d4af37);color:var(--navyd)}.btn.light{background:#f1f5f9;color:var(--navy);border:1px solid #dfe6ed}.btn.danger{background:#fff1f2;color:var(--red);border:1px solid #ffd0d3}.btn.sm{padding:7px 11px;font-size:13px}.btn:disabled{opacity:.5;cursor:not-allowed}.badge{background:#ecf4f9;color:#28506c;border-radius:20px;padding:5px 10px;font-size:12px;font-weight:800}.badge.green{background:#e4f7ef;color:#206b4d}.badge.gold{background:#fff5d9;color:#896619}.banner{padding:13px 16px;border-radius:13px;background:#eef5fc;border:1px solid #cddfee;color:#3a6083;margin-bottom:16px}.banner.warn{background:#fff2f2;border-color:#f3adb5;color:#a2232f}.banner.good{background:#e9f8ef;border-color:#a7dec4;color:#175d42}.data-table{width:100%;border-collapse:collapse;font-size:14px}.data-table th{text-align:right;background:#f5f7fa;color:#617991;font-size:12px;padding:12px;white-space:nowrap}.data-table td{padding:13px 12px;border-bottom:1px solid var(--edge);vertical-align:middle}.scroll{width:100%;overflow:auto}.data-table tr:last-child td{border-bottom:0}.small{font-size:13px;color:var(--muted)}.sectionhead{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 17px}.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tile{border:1px solid #dbe4ee;background:#fff;border-radius:16px;padding:18px;text-align:right;min-height:95px;color:var(--ink);transition:.15s}.tile:hover{border-color:var(--gold);box-shadow:0 8px 22px #0f2d5b14;transform:translateY(-1px)}.tile b{display:block;font-family:Cairo}.tile span{font-size:13px;color:var(--muted)}.login{min-height:100vh;display:grid;grid-template-columns:minmax(340px,1fr) minmax(370px,1fr)}.login-hero{display:grid;place-content:center;text-align:center;background:radial-gradient(circle at top,#204975,#0b2644 75%);color:#fff;padding:32px}.login-hero img{width:220px;max-width:75%;margin:0 auto 10px}.login-hero h1{font-size:32px}.login-hero p{color:#dce7ef;margin:5px}.loginbox{display:grid;align-content:center;max-width:620px;width:100%;padding:34px 55px;margin:auto}.loginbox .card{padding:32px}.loginbox h2{margin-bottom:8px}.loginbox .field{margin:16px 0}.top-actions{display:flex;gap:8px;align-items:center}.empty{padding:24px;text-align:center;color:#8494a5}.alert-amount{border:2px solid #d54a53!important;background:#fff1f2!important;color:#ab2634!important}.inline-error{display:flex;gap:8px;align-items:center;color:#ad2635;font-weight:800;font-size:14px;margin-top:5px}.warn-icon{display:grid;place-content:center;background:#b02e38;color:white;border-radius:50%;width:23px;height:23px;font-weight:900}.ok{color:var(--green);font-weight:800}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.filters>*{max-width:215px}.chatbox{display:flex;flex-direction:column;min-height:420px;background:linear-gradient(135deg,#f3f0e8,#f8f9fc);border-radius:17px;overflow:hidden;border:1px solid #e0e2e7}.chathead{background:#0f2d5b;color:#fff;padding:17px 21px;display:flex;align-items:center;gap:12px}.chathead .circle{background:#d4af37;border-radius:50%;width:39px;height:39px;display:grid;place-content:center;color:#112b4c;font-weight:900}.messages{flex:1;overflow-y:auto;max-height:470px;padding:18px;display:flex;flex-direction:column;gap:9px}.bubble{max-width:82%;border-radius:15px;background:white;padding:11px 14px;align-self:flex-start;box-shadow:0 2px 8px #12294b0d;line-height:1.5}.bubble.me{background:#f4e4a8;align-self:flex-end}.bubble small{display:block;color:#748398;font-size:11px;margin-top:5px}.compose{display:flex;gap:8px;background:white;border-top:1px solid #e6e6e6;padding:12px}.compose input{flex:1}.sep{height:1px;background:var(--edge);margin:14px 0}.modalshade{position:fixed;inset:0;z-index:20;background:#10283fa6;display:grid;place-items:center;padding:15px}.modal{background:#fff;border-radius:21px;width:min(720px,100%);max-height:92vh;overflow:auto;box-shadow:0 25px 70px #0003}.modalhead{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--edge)}.modalbody{padding:23px}.modalactions{display:flex;gap:9px;justify-content:flex-start;padding:15px 22px;border-top:1px solid var(--edge)}#toast{position:fixed;bottom:18px;left:18px;z-index:40;display:none;padding:14px 22px;border-radius:12px;background:#123c5e;color:#fff;box-shadow:0 10px 30px #0003}.two-panels{display:grid;grid-template-columns:270px 1fr;gap:17px}.threadbtn{width:100%;display:block;text-align:right;margin-bottom:7px;padding:13px;border:1px solid #e3e8ef;border-radius:12px;background:white}.threadbtn.active{border-color:var(--gold);background:#fff8e7}.mini{font-size:12px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 20px}.tabs button{border:1px solid var(--edge);background:white;border-radius:11px;padding:10px 15px}.tabs button.active{background:var(--navy);color:#fff}.studentintro{text-align:center;background:linear-gradient(120deg,#0f2d5b,#235481);border-radius:21px;color:#fff;padding:28px;margin-bottom:20px}.studentintro img{height:125px;display:block;margin:auto}.studentintro p{color:#dce7ef}.module{padding:18px;border-radius:15px;background:#fff;border:1px solid var(--edge);margin-bottom:12px}.module h4{margin:0 0 8px}.checklist{display:flex;flex-wrap:wrap;gap:8px}.checklist label{padding:7px 11px;background:#f5f7fa;border:1px solid var(--edge);border-radius:11px}.statusline{display:inline-flex;gap:8px;align-items:center}.marker{color:#ba8738}.link{color:#285fab}.topmobile{display:none}@media(max-width:1050px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.shell{grid-template-columns:210px 1fr}.content{padding:16px}.sidebar{padding:13px}.brand img{width:106px;height:106px}.two-panels{grid-template-columns:1fr}}@media(max-width:740px){.shell{display:block}.sidebar{position:fixed;right:0;top:0;z-index:10;transform:translateX(100%);transition:.2s;width:250px}.sidebar.open{transform:translateX(0)}.topmobile{display:inline-flex}.topbar{padding:8px 14px}.titlelogo img{width:44px;height:44px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat{padding:13px}.stat strong{font-size:18px}.grid2,.grid3,.formgrid,.tiles{grid-template-columns:1fr}.span2{grid-column:auto}.login{grid-template-columns:1fr}.login-hero{padding:24px}.login-hero img{width:130px}.login-hero h1{font-size:24px}.loginbox{padding:16px}.loginbox .card{padding:20px}.content{padding:13px}.modal{max-height:95vh}.modalbody{padding:15px}.sectionhead{align-items:flex-start;flex-wrap:wrap}.btn{padding:10px 12px}.chatbox{min-height:300px}.filters>*{max-width:100%;flex:1}.two-panels{grid-template-columns:1fr}}

/* AZUBDA79 — شعار واجهة الطالب فقط */
.studentintro{position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% -20%,#2a5988 0%,#0f2d5b 72%,#09213d 100%);border:1px solid #cba13d55;box-shadow:0 14px 34px #09213d19}
.studentintro::before{content:"";position:absolute;inset:12px;pointer-events:none;border:1px solid #d4af373d;border-radius:14px}
.studentintro img{height:166px;width:166px;object-fit:contain;filter:drop-shadow(0 10px 20px #0004);position:relative;margin:0 auto 7px}
.studentintro h2{font-size:clamp(22px,3vw,31px);position:relative}
.student-slogan{font-family:Cairo,Tajawal,Arial,sans-serif;font-weight:800;color:#f4d47a;font-size:clamp(19px,2.65vw,27px);margin:10px auto 12px;line-height:1.65;display:flex;align-items:center;justify-content:center;gap:14px;position:relative;text-shadow:0 2px 13px #0003}
.student-slogan::before,.student-slogan::after{content:"";width:39px;max-width:9vw;height:2px;background:linear-gradient(90deg,transparent,#d4af37);border-radius:2px}
.student-slogan::after{transform:rotate(180deg)}
@media(max-width:740px){.studentintro{padding:23px 14px}.studentintro img{height:145px;width:145px}.student-slogan{gap:9px}.student-slogan::before,.student-slogan::after{width:22px}}

/* Public student portal / admin separation */
.studentintro{padding:30px 22px}
.studentintro h2{letter-spacing:0;font-weight:800}
.studentintro .student-slogan{font-size:clamp(20px,3vw,28px)}
.top-actions a.btn{text-decoration:none;display:inline-flex;align-items:center}
@media(max-width:740px){.studentintro img{height:150px;width:150px}}

.route-entries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px}
.route-entry{border-radius:18px;padding:20px 22px;border:1px solid #d8b458;background:linear-gradient(135deg,#143861,#0f2d5b);color:#fff;text-align:right;box-shadow:0 8px 19px #0f2d5b1b}
.route-entry strong{font:800 23px Cairo,Tajawal,sans-serif;display:block;color:#f3d47a}
.route-entry span{font-size:14px;color:#e3e9f5}
.route-entry:hover{filter:brightness(1.09);transform:translateY(-1px)}
@media(max-width:740px){.route-entries{grid-template-columns:1fr}.route-entry{padding:16px}.route-entry strong{font-size:20px}}


/* AZUBDA81 — واجهة الطالب الجديدة، مستقلة بالكامل عن لوحة الإدارة */
.student-site{min-height:100vh;background:#f7f9fc;color:#102c4f}
.student-header{position:sticky;top:0;z-index:12;background:#ffffffed;backdrop-filter:blur(14px);border-bottom:1px solid #e6eaf0}
.student-head-inner{max-width:1230px;margin:auto;min-height:80px;padding:10px 24px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.student-brand{background:none;border:0;display:flex;align-items:center;gap:12px;text-align:right;color:#0f2d5b;padding:0}
.student-brand img{width:64px;height:64px;object-fit:contain;border-radius:12px;background:#0f2d5b}
.student-brand b{display:block;font:900 26px Cairo,sans-serif;line-height:1.15}
.student-brand small{font:600 12px Tajawal,sans-serif;color:#9f7b28;display:block;margin-top:2px}
.student-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.student-nav button{background:transparent;border:0;color:#60758c;font-size:14px;font-weight:800;border-radius:11px;padding:12px 15px;white-space:nowrap}
.student-nav button:hover,.student-nav button.active{color:#0f2d5b;background:#f2f5fa}
.student-nav button.active{box-shadow:inset 0 -3px #d4af37}
.student-main{max-width:1230px;margin:auto;padding:32px 24px 52px}
.student-page-title{margin:8px 0 24px}
.student-page-title>span{font-weight:800;color:#c59a33;font-size:13px}
.student-page-title h1{font:900 29px Cairo,sans-serif;color:#102f51;margin:2px 0 3px}
.student-page-title p{color:#6b8194;margin:0}
.az-hero{background:radial-gradient(circle at 88% 15%,#224b77 0%,#102f52 51%,#081e37 100%);border-radius:30px;min-height:366px;display:grid;grid-template-columns:1.25fr .8fr;align-items:center;position:relative;overflow:hidden;border:1px solid #b98b3652;box-shadow:0 18px 55px #09253f1b;color:#fff;padding:44px 62px}
.az-hero:before{content:"";position:absolute;inset:-110px auto auto -135px;width:340px;height:340px;border:1px solid #d5b7653b;border-radius:50%}
.az-hero:after{content:"";position:absolute;right:-38px;bottom:-100px;width:400px;height:400px;border:1px solid #d5b76524;border-radius:50%;pointer-events:none}
.az-hero-content{position:relative;z-index:2}
.az-eyebrow{display:inline-flex;gap:9px;align-items:center;color:#f0cf80;background:#f4d47a14;border:1px solid #f4d47a44;padding:7px 13px;border-radius:40px;font-size:13px;font-weight:800}
.az-spark{font-size:16px}
.az-hero h1{font:900 clamp(31px,3.6vw,50px)/1.45 Cairo,Tajawal,sans-serif;letter-spacing:-1px;margin:17px 0 10px}
.az-hero h1 em{color:#f3d279;font-style:normal}
.az-hero-content>p{max-width:555px;color:#d9e4ef;font-size:17px;line-height:1.9;margin:0 0 19px}
.az-hero-buttons{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.az-btn-main,.az-btn-ghost{border-radius:13px;padding:13px 23px;font-weight:800;min-height:50px}
.az-btn-main{border:0;color:#112845;background:linear-gradient(120deg,#f5db90,#d6ab43);box-shadow:0 8px 20px #0002}
.az-btn-main span{padding-right:8px}
.az-btn-ghost{border:1px solid #ffffff52;background:#ffffff0d;color:#fff}
.az-hero-tag{margin-top:22px;color:#f1d17f;font-size:13px;font-weight:700;display:flex;gap:8px;align-items:center}
.az-hero-logo{position:relative;display:flex;justify-content:center;align-items:center;flex-direction:column;z-index:1}
.az-logo-glow{position:absolute;width:290px;height:290px;background:radial-gradient(circle,#d0ad544a,transparent 65%);filter:blur(18px)}
.az-hero-logo img{height:238px;width:238px;object-fit:contain;border-radius:23px;filter:drop-shadow(0 14px 26px #0004);position:relative}
.az-hero-logo>span{font-size:13px;color:#e3c780;margin-top:13px;font-weight:700;position:relative}
.az-section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:36px 0 19px}
.az-section-head small{color:#b18a32;font-size:13px;font-weight:800}
.az-section-head h2{font:900 clamp(24px,2.5vw,31px) Cairo,sans-serif;line-height:1.5;color:#103054}
.az-section-head p{font-size:15px;color:#728499;margin:0}
.az-current{display:grid;gap:1px;text-align:right;background:#fff;border:1px solid #dbbd6a;border-radius:16px;padding:12px 18px;max-width:390px}
.az-current span{font-size:12px;color:#89712f;font-weight:700}
.az-current strong{font-size:15px;color:#153a5c}
.az-path-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.az-path-card{text-align:right;border-radius:24px;min-height:232px;padding:26px;position:relative;overflow:hidden;display:flex;align-items:flex-start;gap:21px;isolation:isolate;transition:transform .2s,box-shadow .2s}
.az-path-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px #08274619}
.az-path-card.schools{color:#103253;border:1px solid #d8e5f0;background:linear-gradient(140deg,#fff,#e8f2fa)}
.az-path-card.university{color:#fff;border:1px solid #173d65;background:linear-gradient(140deg,#173e69,#082745)}
.az-path-card:after{content:"";position:absolute;left:-55px;bottom:-55px;width:200px;height:200px;border:1px solid #c7a55452;border-radius:50%;z-index:-1}
.az-path-icon{border-radius:21px;min-width:76px;height:76px;display:grid;place-items:center;font-size:40px;background:#fffaeb;border:1px solid #e9d7a5}
.az-path-content>span:first-child{font-size:13px;font-weight:800;color:#bd993c}
.az-path-content h3{font:900 25px Cairo,sans-serif;margin:2px 0 4px}
.az-path-content p{font-size:14px;line-height:1.8;opacity:.75;min-height:54px;margin:3px 0 15px}
.az-card-link{font-size:14px;font-weight:900;display:inline-flex;gap:8px;align-items:center}
.schools .az-card-link{color:#a47b23}
.university .az-card-link{color:#f0cd7a}
.az-path-number{position:absolute;left:24px;top:18px;font:800 23px Cairo;opacity:.17}
.az-quick-grades{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:17px}
.az-quick-grades>span{color:#78889a;font-size:13px;font-weight:800;margin-left:6px}
.az-quick-grades button{border:1px solid #e0e7ee;background:#fff;color:#244464;padding:9px 13px;border-radius:28px;font-size:13px;font-weight:800}
.az-quick-grades button:hover{border-color:#cfac59;background:#fffaf0}
.az-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.az-service-card{border:1px solid #e1e7ee;border-radius:19px;padding:18px;text-align:right;background:#fff;display:flex;flex-direction:column;align-items:flex-start;gap:13px;min-height:183px;box-shadow:0 6px 20px #1b3c5b09;position:relative;transition:.18s}
.az-service-card:hover{border-color:#d1b16d;transform:translateY(-3px)}
.az-service-icon{width:52px;height:52px;display:grid;place-items:center;font-size:27px;background:#f8f4e9;border-radius:14px}
.az-service-text b{font:800 18px Cairo;display:block;color:#0c2e51}
.az-service-text small{font-size:13px;color:#73879b;display:block;line-height:1.7}
.az-service-arrow{position:absolute;top:21px;left:19px;color:#bd9335;font-size:23px}
.az-bottom-cta{margin-top:30px;border:1px solid #e1d0a7;background:#fbf7ed;border-radius:22px;padding:22px 25px;display:flex;justify-content:space-between;align-items:center;gap:18px}
.az-bottom-cta span{font-size:13px;color:#a57c28;font-weight:800}
.az-bottom-cta h2{font:800 19px Cairo;margin:2px 0;color:#1a3956}
.az-bottom-cta button{border:0;border-radius:12px;background:#14385d;color:#fff;padding:12px 18px;font-weight:800;white-space:nowrap}
.student-footer{background:#0c2743;color:#fff;display:flex;align-items:center;gap:13px;padding:25px max(25px,calc((100vw - 1180px)/2));flex-wrap:wrap}
.student-footer img{height:50px;width:50px;object-fit:contain;border-radius:7px}
.student-footer strong{display:block;font:800 16px Cairo}
.student-footer span{display:block;font-size:12px;color:#e8cc86}
.student-footer>small{margin-right:auto;color:#bbccdb}
.secure-intro{background:#f4f7fb;padding:14px;border:1px solid #cfdde9;border-radius:12px;line-height:1.9;color:#264766}
.password-reset-btn{margin-top:5px}
@media(max-width:980px){.student-head-inner{align-items:flex-start;flex-direction:column;padding:10px 20px}.student-nav{overflow-x:auto;width:100%;flex-wrap:nowrap;padding-bottom:6px}.student-nav button{padding:9px 11px;font-size:13px}.az-hero{padding:32px 28px}.az-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.az-hero-logo img{width:190px;height:190px}}
@media(max-width:700px){.student-head-inner{gap:7px}.student-brand img{width:49px;height:49px}.student-brand b{font-size:22px}.student-main{padding:17px 14px 32px}.az-hero{grid-template-columns:1fr;gap:16px;min-height:0;padding:26px 22px;border-radius:23px}.az-hero h1{font-size:30px;margin-top:12px}.az-hero-content>p{font-size:14px}.az-hero-logo{display:none}.az-hero-tag{margin-top:15px}.az-section-head{align-items:flex-start;flex-direction:column;margin-top:27px}.az-path-grid{grid-template-columns:1fr;gap:11px}.az-path-card{padding:20px;min-height:180px;gap:15px}.az-path-icon{min-width:58px;height:58px;font-size:30px}.az-path-content h3{font-size:21px}.az-path-content p{min-height:0;font-size:13px}.az-service-grid{gap:10px}.az-service-card{padding:14px;min-height:168px}.az-service-text b{font-size:15px}.az-bottom-cta{align-items:flex-start;flex-direction:column}.az-quick-grades>span{width:100%}.student-footer{padding:18px}}
@media(max-width:390px){.az-service-grid{grid-template-columns:1fr}.az-service-card{min-height:115px}.student-nav button{padding:7px 9px}.az-btn-main,.az-btn-ghost{padding:11px 14px}}


/* AZUBDA82: cinematic dark navy + gold student portal / accessible pathways */
.student-site{background:#f6f9fd;color:#0d2a49}
.student-header{background:#051a30;position:sticky;border-bottom:1px solid #bc96404f;box-shadow:0 5px 24px #091d3542}
.student-head-inner{max-width:1510px;min-height:84px;flex-direction:row;padding:7px 27px}
.student-brand{color:#efc46a;gap:11px}
.student-brand img{width:62px;height:62px;border:0;background:transparent}
.student-brand b{font-size:31px;color:#edc46a}
.student-brand small{color:#f0f0f0;font-size:11px}
.student-nav{gap:3px}
.student-nav button{color:#f8f9fb;font-weight:800;font-size:14px}
.student-nav button:hover,.student-nav button.active{background:#efc46a1d;color:#efc46a}
.student-nav button.active{box-shadow:inset 0 0 0 1px #efc46a88}
.student-main{max-width:1540px;padding:0 26px 56px}
.zb-top-hero{background:linear-gradient(90deg,#051b35 0%,#042344 62%,#104777 100%);position:relative;isolation:isolate;overflow:hidden;border-bottom:1px solid #d1aa5b;min-height:265px;margin:0 -26px;padding:30px 26px 44px;color:#fff;text-align:center}
.zb-mountain{position:absolute;inset:0;background:linear-gradient(90deg,#021933 5%,#071f3b 42%,#082b5055 70%,transparent 100%),url('/api/ui/assets/summit.svg') right center/auto 100% no-repeat;z-index:-1;opacity:.98}
.zb-hero-copy{max-width:900px;margin:auto;position:relative;z-index:1}
.zb-small-mark{width:52px;height:52px;object-fit:contain;display:none}
.zb-hero-copy h1{font:900 clamp(26px,3.6vw,48px)/1.55 Cairo,Tajawal,sans-serif;margin:6px 0 6px;text-shadow:0 2px 12px #0007}
.zb-hero-copy h2{font:900 clamp(19px,2.45vw,31px)/1.5 Cairo,Tajawal,sans-serif;color:#edc36b;margin:4px 0}
.zb-hero-copy h2 span{color:#d6a64c;font-size:.65em;margin:0 14px}
.zb-hero-copy p{font-size:20px;color:#f5f8fd;margin:11px 0 0}
.zb-route-block{position:relative;margin:-21px 0 24px;padding:22px 24px 20px;border-radius:24px;background:linear-gradient(145deg,#0a2a4b,#08213c);border:1px solid #91b5d59a;box-shadow:0 18px 30px #051f3c33;color:#fff}
.zb-route-heading{text-align:center;margin:2px 0 17px}
.zb-route-heading h2{font:900 clamp(22px,2.45vw,29px)/1.5 Cairo,Tajawal,sans-serif;margin:0;color:inherit}
.zb-route-heading p{margin:3px auto;color:inherit;opacity:.77;line-height:1.65;font-size:15px}
.zb-route-heading>span{color:#c69b47;font-weight:900}
.zb-three-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.zb-path{border-radius:16px;border:1px solid transparent;min-height:122px;display:flex;align-items:center;text-align:right;padding:17px 18px;gap:17px;color:#fff;transition:.18s}
.zb-path:hover{transform:translateY(-3px);box-shadow:0 9px 20px #0004;filter:brightness(1.09)}
.zb-path-voc{background:linear-gradient(125deg,#104ca0,#153e7a);border-color:#69a4f8}
.zb-path-school{background:linear-gradient(125deg,#0b615e,#0e3c45);border-color:#40d4b3}
.zb-path-univ{background:linear-gradient(125deg,#463194,#2e235c);border-color:#a484ed}
.zb-path-symbol{font-size:36px}
.zb-path strong{font:900 22px Cairo,Tajawal,sans-serif;display:block}
.zb-path small{display:block;font:600 12px Tajawal,sans-serif;line-height:1.7;opacity:.9}
.zb-path i{margin-right:auto;font-size:23px;font-style:normal;color:#ffda80}
.zb-saved-route{width:100%;margin-top:14px;background:linear-gradient(100deg,#f3d68e,#e0b654);border:0;border-radius:12px;padding:12px 16px;color:#0f2b4a;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:right;font-size:13px}
.zb-saved-route span{font-weight:800;white-space:nowrap}
.zb-path-hint{margin-top:12px;text-align:center;color:#d9e7f4;font-size:13px}
.zb-services{margin:25px 0 15px}
.zb-services-title{text-align:right;margin:6px 2px 18px}
.zb-services-title h2{font:900 29px Cairo,Tajawal,sans-serif;color:#0b2a4b;margin:0}
.zb-services-title span{font-size:14px;color:#687c94}
.zb-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.zb-service{border-radius:18px;border:1px solid #dce6ef;background:#fff;padding:17px;min-height:105px;display:flex;align-items:center;gap:14px;text-align:right;box-shadow:0 6px 20px #0a2a5210;transition:.2s}
.zb-service:hover{border-color:#c49b43;transform:translateY(-2px)}
.zb-service-icon{font-size:27px}
.zb-service strong{font:800 16px Cairo,Tajawal,sans-serif;color:#0e2b4a;display:block}
.zb-service small{font-size:11px;color:#71859a;display:block;line-height:1.7}
.zb-service-arrow{margin-right:auto;display:grid;place-items:center;border-radius:50%;width:29px;height:29px;background:#dcb45c;color:#082645}
.zb-home-foot{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e0e7ef;border-radius:17px;padding:17px 21px;flex-wrap:wrap}
.zb-fact{flex:1;min-width:125px;border-left:1px solid #d9e1ec;text-align:center;display:grid;gap:1px}
.zb-fact strong{font:900 22px Cairo;color:#0e2f50}
.zb-fact span{font-size:12px;color:#687e96}
.zb-home-foot p{margin:0;flex:1;min-width:190px;text-align:center;color:#a37a2d;font-weight:800}
.zb-route-wizard{max-width:1120px;margin:auto;background:#fff;border:1px solid #dbe5ef;border-radius:23px;padding:28px;box-shadow:0 8px 26px #0b284b0c}
.zb-route-wizard .zb-route-heading h2{color:#0d3053}
.zb-route-wizard .zb-route-heading p{color:#56718b}
.zb-wizard-stages{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px 0 25px}
.zb-wizard-stages button{background:#eff5fb;border:1px solid #cfdae6;border-radius:14px;padding:15px 8px;color:#183c5c;font-weight:900;font-size:15px}
.zb-wizard-stages button.is-active{background:#0c2e51;color:#f4d07e;border-color:#d8b55d}
.zb-route-wizard h3{font:800 21px Cairo;margin:19px 0 12px;color:#183652}
.zb-option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.zb-route-option{background:#f8fafc;display:flex;align-items:center;gap:8px;border:1px solid #dde7ef;border-radius:14px;padding:16px 14px;min-height:70px;color:#173454;text-align:right}
.zb-route-option span{margin-right:auto;color:#c29a38;font-size:21px}
.zb-route-option.is-selected{background:#fff6da;border-color:#c99d35;box-shadow:0 0 0 2px #e1bd6133}
.zb-route-option:hover{border-color:#cb9d38}
.zb-route-placeholder{border-radius:12px;background:#f6f8fb;color:#71849b;padding:16px;margin:22px 0 0}
.zb-route-form{margin-top:24px;padding:19px;border:1px solid #e0c47a;border-radius:15px;background:#fffcf4;display:flex;flex-wrap:wrap;align-items:end;gap:12px}
.zb-route-form h3{width:100%;margin:0}
.zb-route-form .field{flex:1;min-width:160px}
.zb-route-form>.btn{height:49px}
.zb-route-return{margin-top:16px;background:transparent;border:0;color:#906c2c;text-decoration:underline;font-weight:700}
.zb-learning-context{background:#0e3052;color:#fff;border-radius:15px;padding:13px 18px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:24px}
.zb-learning-context strong{color:#f0cd75}
.zb-learning-context span{font-size:13px;flex:1}
.zb-learning-context button{border:1px solid #e5ca83;border-radius:10px;background:transparent;color:#f5d88c;padding:8px 12px}
.zb-teachers-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:15px 0 26px}
.zb-teacher-card{display:flex;flex-direction:column;align-items:center;gap:7px;min-height:165px;background:#fff;border:1px solid #dbe4ed;border-radius:17px;padding:20px 12px;color:#123450;box-shadow:0 5px 15px #112d4811}
.zb-teacher-card strong{font:900 18px Cairo;line-height:1.5}
.zb-teacher-card small{font-size:12px;color:#7a8ba0}
.zb-teacher-avatar{font-size:32px}
.zb-teacher-card em{font-size:12px;color:#9d7424;font-style:normal}
.zb-teacher-card.is-selected{background:#fffbef;border-color:#bd9238}
.zb-open-teacher{font-weight:800;color:#b68c35}
.zb-study-modes{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0 20px}
.zb-study-modes button{padding:13px 27px;border-radius:12px;border:1px solid #c9d9e7;background:#fff;color:#15385a;font-weight:900}
.zb-study-modes button.is-selected{background:#0c3155;border-color:#c6a354;color:#ffda81}
.zb-lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.zb-lesson{background:#fff;padding:19px;border:1px solid #dde6ee;border-radius:17px;display:grid;gap:8px}
.zb-lesson h3{font:800 16px Cairo;margin:0;color:#123453}
.zb-lesson p{font-size:12px;color:#657b92;margin:0}
.zb-lesson-icon{font-size:27px}
@media(max-width:1050px){.zb-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.zb-teachers-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.student-head-inner{flex-direction:column;align-items:stretch}.student-nav{justify-content:center}.zb-hero-copy h1{font-size:35px}}
@media(max-width:720px){.student-head-inner{padding:7px 13px;gap:8px}.student-brand img{width:51px;height:51px}.student-brand b{font-size:25px}.student-nav{overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start;width:100%}.student-main{padding:0 14px 30px}.zb-top-hero{margin:0 -14px;min-height:225px;padding:25px 18px 37px}.zb-hero-copy h1{font-size:27px}.zb-hero-copy h2{font-size:19px}.zb-hero-copy p{font-size:14px}.zb-route-block{padding:17px 14px;border-radius:18px}.zb-three-paths{grid-template-columns:1fr;gap:9px}.zb-path{min-height:83px;padding:11px 15px}.zb-path strong{font-size:18px}.zb-path-symbol{font-size:26px}.zb-path-hint{font-size:12px}.zb-services-title h2{font-size:24px}.zb-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.zb-service{min-height:110px;padding:12px;gap:8px}.zb-service-icon{font-size:22px}.zb-service strong{font-size:13px}.zb-service small{font-size:10px}.zb-service-arrow{display:none}.zb-route-wizard{padding:14px;border-radius:16px}.zb-option-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.zb-route-option{min-height:65px;padding:10px}.zb-route-option b{font-size:13px}.zb-wizard-stages{gap:7px}.zb-wizard-stages button{font-size:12px;padding:10px 4px}.zb-teachers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.zb-lesson-grid{grid-template-columns:1fr}.zb-fact{min-width:85px}.zb-fact strong{font-size:17px}.zb-home-foot p{width:100%}}
@media(max-width:390px){.zb-service-grid{grid-template-columns:1fr}.zb-option-grid{grid-template-columns:1fr}.zb-teachers-grid{grid-template-columns:1fr}.zb-fact{min-width:70px}}

/* AZUBDA83 visual refinement */
.zb-hero-stage{margin-top:14px}
.zb-top-hero{min-height:300px;border-radius:0 0 30px 30px;display:flex;align-items:center;justify-content:center;padding-top:40px;padding-bottom:84px}
.zb-hero-copy{max-width:980px}
.zb-hero-copy h1{font-size:clamp(34px,4.7vw,68px);line-height:1.28;margin:0 0 8px}
.zb-hero-copy h2{font-size:clamp(24px,3.2vw,40px);margin:0 0 10px}
.zb-hero-copy p{font-size:clamp(18px,1.8vw,24px)}
.zb-route-block{margin:-42px auto 28px;max-width:1480px;border-radius:28px;padding:28px 26px 24px;background:linear-gradient(145deg,#0d3056 0%,#0b2747 100%);border:1px solid #8fb0d082;box-shadow:0 22px 40px #061b322b;color:#fff}
.zb-route-heading h2,.zb-route-heading p{color:inherit}
.zb-route-heading p{opacity:.88}
.zb-three-paths{gap:18px}
.zb-path{position:relative;justify-content:space-between;align-items:center;padding:18px 20px;min-height:118px;border-radius:22px;box-shadow:inset 0 0 0 1px #ffffff1a}
.zb-path-copy{display:flex;flex-direction:column;align-items:flex-end;gap:3px;flex:1}
.zb-path-copy strong{font-size:20px}
.zb-path-copy small{font-size:13px;line-height:1.8;opacity:.92}
.zb-path-symbol{font-size:39px;flex:0 0 auto}
.zb-path-side{display:grid;place-items:center;width:36px;height:36px;border-radius:999px;background:#ffffff29;color:#f6d987;font-size:24px;line-height:1}
.zb-path.is-active{outline:2px solid #f0cf7b;transform:translateY(-2px)}
.zb-service-grid.compact{margin-top:18px;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.zb-service.compact{min-height:94px;border-radius:16px;padding:16px 18px;background:#f8fbff}
.zb-service.compact .zb-service-icon{font-size:30px}
.zb-service.compact strong{font-size:19px}
.zb-service.compact small{font-size:12px}
.zb-home-foot{margin-top:8px;align-items:stretch;gap:16px}
.zb-tagline-box{min-width:280px;flex:1.4;background:linear-gradient(110deg,#8f6826,#d2ae56,#4f4323);color:#fff;border-radius:20px;padding:22px 26px;display:grid;gap:6px;box-shadow:0 10px 24px #8d6b2522}
.zb-tagline-box strong{font:900 31px Cairo,Tajawal,sans-serif;line-height:1.35}
.zb-tagline-box span{font-size:16px;opacity:.94}
.zb-fact{background:#fff;border:1px solid #e0e7ef;border-radius:18px;padding:20px 10px;min-width:160px;border-left:0;box-shadow:0 6px 20px #0a2a5210}
.zb-saved-route{font-size:14px;line-height:1.75;padding:14px 17px;border-radius:14px;margin-top:16px}
.zb-saved-route b{display:block;overflow-wrap:anywhere}
.zb-route-screen{display:grid;gap:18px}
.zb-route-hero{background:linear-gradient(145deg,#0b2747,#10365f);border:1px solid #8fb0d082;border-radius:28px;padding:24px 24px 20px;color:#fff;box-shadow:0 18px 36px #051f3c22}
.zb-route-screen .zb-route-heading{text-align:center;margin-bottom:14px}
.zb-route-screen .zb-route-heading h2{color:#fff}
.zb-route-screen .zb-route-heading p{color:#e4edf9}
.zb-route-wizard.enhanced{max-width:none;border-radius:24px;padding:26px;background:#fff;border:1px solid #dde7ef;box-shadow:0 10px 28px #0b284b12}
.zb-route-wizard.enhanced h3{margin:10px 0 13px;font-size:24px}
.zb-wizard-stages.wizard-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:6px 0 0}
.zb-wizard-stages.wizard-cards .zb-path{width:100%;text-align:right}
.zb-option-grid.vocational-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.zb-route-option{display:flex;flex-direction:column;justify-content:center;align-items:flex-end;gap:6px;min-height:86px}
.zb-route-option b{font-size:18px;color:#143454}
.zb-route-option small{font-size:12px;color:#73859a}
.zb-route-option span{align-self:flex-start}
.zb-route-option.vocational{min-height:120px;border-radius:20px;background:linear-gradient(135deg,#f7fbff,#edf5ff)}
.zb-route-option.vocational.is-selected{background:linear-gradient(135deg,#fff7dc,#fff3c5)}
.zb-route-form{gap:14px;border-radius:18px;background:linear-gradient(180deg,#fffdfa,#fff7e9)}
.zb-picked-track{width:100%;background:#0c2f52;color:#f4d382;border-radius:12px;padding:12px 14px;font-weight:800}
.zb-route-return{font-size:15px}
@media(max-width:1050px){
  .zb-three-paths,.zb-wizard-stages.wizard-cards{grid-template-columns:1fr}
  .zb-service-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}
  .zb-option-grid.vocational-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  .zb-top-hero{min-height:228px;padding-top:24px;padding-bottom:72px;border-radius:0 0 22px 22px}
  .zb-hero-copy h1{font-size:35px}
  .zb-hero-copy h2{font-size:24px}
  .zb-hero-copy p{font-size:15px}
  .zb-route-block,.zb-route-hero{padding:18px 14px;border-radius:20px}
  .zb-path{min-height:94px;padding:14px 15px;border-radius:18px}
  .zb-path-copy strong{font-size:18px}
  .zb-path-copy small{font-size:12px}
  .zb-path-symbol{font-size:29px}
  .zb-path-side{width:31px;height:31px;font-size:20px}
  .zb-service-grid.compact{grid-template-columns:1fr 1fr;gap:10px}
  .zb-service.compact strong{font-size:15px}
  .zb-service.compact{padding:12px;min-height:96px}
  .zb-home-foot{flex-direction:column}
  .zb-tagline-box{width:100%;min-width:0}
  .zb-tagline-box strong{font-size:24px}
  .zb-option-grid.vocational-grid{grid-template-columns:1fr}
}
/* AZUBDA 84 — translucent gradient/glass panels faithful to the supplied screenshot */
.student-site{--glass-stroke:rgba(208,228,251,.48);--glass-shadow:0 14px 30px rgba(0,10,29,.26)}
.student-site .zb-hero-stage{
  position:relative;isolation:isolate;
  margin:0 -26px 0;
  padding:0 26px 26px;
  border-radius:0 0 30px 30px;
  background:
    radial-gradient(ellipse at 80% 10%,rgba(38,132,222,.22) 0%,transparent 46%),
    radial-gradient(ellipse at 14% 86%,rgba(48,127,181,.15) 0%,transparent 55%),
    linear-gradient(135deg,#051b33 0%,#082746 50%,#061b36 100%);
  box-shadow:0 16px 38px rgba(3,28,52,.18);
  overflow:hidden;
}
.student-site .zb-hero-stage::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;
  background: url('/api/ui/assets/summit.svg') top right / min(62%,850px) auto no-repeat;
  opacity:.33;filter:saturate(1.2);
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 28%,transparent 86%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 28%,transparent 86%);
}
.student-site .zb-top-hero{
  margin:0 -26px;padding:30px 20px 58px;min-height:270px;
  background:transparent;border:0;border-radius:0;
  box-shadow:none;
}
.student-site .zb-mountain{opacity:.96;z-index:-1;pointer-events:none}
.student-site .zb-hero-copy{isolation:isolate}
.student-site .zb-hero-copy h1{color:#fff;text-shadow:0 3px 15px #00152b9a}
.student-site .zb-hero-copy h2{color:#f7cb68;text-shadow:0 2px 12px #00152d95}
.student-site .zb-route-block{
  margin:-28px auto 0;padding:24px 25px 20px;z-index:1;
  background:linear-gradient(145deg,rgba(19,60,99,.69),rgba(5,28,59,.52) 65%,rgba(9,44,83,.57));
  border:1px solid rgba(191,219,251,.59);
  box-shadow:0 18px 42px rgba(0,9,31,.33),inset 0 1px 0 rgba(255,255,255,.20);
  -webkit-backdrop-filter:blur(19px) saturate(135%);
  backdrop-filter:blur(19px) saturate(135%);
}
.student-site .zb-path{
  position:relative;isolation:isolate;overflow:hidden;
  border-width:1px;border-style:solid;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25),inset 0 -22px 45px rgba(0,9,40,.10),var(--glass-shadow);
  -webkit-backdrop-filter:blur(13px) saturate(135%);
  backdrop-filter:blur(13px) saturate(135%);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.student-site .zb-path::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;
  background:linear-gradient(155deg,rgba(255,255,255,.16),rgba(255,255,255,.012) 62%);
}
.student-site .zb-path-voc{
  background:linear-gradient(112deg,rgba(50,116,224,.58),rgba(12,51,125,.48) 64%,rgba(14,54,130,.28));
  border-color:rgba(125,182,255,.87);
}
.student-site .zb-path-school{
  background:linear-gradient(112deg,rgba(20,152,133,.55),rgba(9,100,97,.47) 64%,rgba(11,75,89,.30));
  border-color:rgba(87,234,198,.78);
}
.student-site .zb-path-univ{
  background:linear-gradient(112deg,rgba(114,83,206,.56),rgba(64,39,148,.48) 64%,rgba(66,37,128,.28));
  border-color:rgba(193,159,252,.86);
}
.student-site .zb-path:hover,.student-site .zb-path:focus-visible{
  transform:translateY(-3px);
  box-shadow:0 0 0 1px rgba(251,221,142,.64),0 14px 30px rgba(0,7,35,.43),inset 0 1px 0 rgba(255,255,255,.3);
}
.student-site .zb-path:focus-visible{outline:3px solid #f4c965;outline-offset:3px}
.student-site .zb-path-side{
  background:rgba(248,249,255,.21);border:1px solid rgba(255,255,255,.3);
  color:#fff5d4;
  -webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)
}
.student-site .zb-path-copy strong{color:#fff;text-shadow:0 1px 4px #071d3e75}
.student-site .zb-path-copy small{color:#f2f6ff}
.student-site .zb-saved-route{
  background:linear-gradient(105deg,rgba(246,221,164,.98),rgba(213,167,60,.93));
  box-shadow:inset 0 1px 0 #fff8,0 5px 14px #020d1b2e;
}
.student-site .zb-service-grid.compact{margin-top:17px}
.student-site .zb-service.compact{
  background:linear-gradient(140deg,rgba(255,255,255,.93),rgba(246,250,255,.80));
  border:1px solid rgba(230,241,255,.65);
  -webkit-backdrop-filter:blur(11px);backdrop-filter:blur(11px);
  box-shadow:inset 0 1px 0 #fff,0 6px 18px #001a3045
}
.student-site .zb-service.compact:hover{border-color:#ffe0a4;box-shadow:0 11px 25px #001a3060}
.student-site .zb-service.compact small{color:#60778e}
/* Route wizard mirrors the same three glassy path cards rather than a disconnected white design */
.student-site .zb-route-hero{
  background:linear-gradient(140deg,rgba(16,58,102,.91),rgba(7,31,66,.95));
  border-color:rgba(167,207,244,.53);
}
.student-site .zb-wizard-stages.wizard-cards .zb-path{min-height:116px}
.student-site .zb-wizard-stages.wizard-cards .zb-path.is-active{
  outline:2px solid #f4d37e;outline-offset:1px;
  box-shadow:0 0 18px rgba(236,201,110,.25),inset 0 1px 0 #ffffff44
}
.student-site .zb-route-wizard.enhanced{background:linear-gradient(160deg,rgba(255,255,255,.97),rgba(245,249,254,.93))}
.student-site .zb-route-option.vocational{background:linear-gradient(125deg,rgba(215,230,250,.70),rgba(245,249,255,.85));border-color:#b8cfeb}
.student-site .zb-route-option.vocational:hover{box-shadow:0 5px 16px #001f461a;border-color:#d9ad57}
.student-site .zb-route-option.vocational.is-selected{background:linear-gradient(125deg,#fff2c7,#f1dc9f);border-color:#c79730}
@media(max-width:720px){
  .student-site .zb-hero-stage{margin:0 -14px;padding:0 14px 17px;border-radius:0 0 22px 22px}
  .student-site .zb-top-hero{margin:0 -14px;min-height:215px;padding:26px 14px 46px}
  .student-site .zb-route-block{margin:-14px auto 0;padding:16px 13px}
  .student-site .zb-hero-stage::before{background-size:auto 43%;opacity:.25}
  .student-site .zb-path{min-height:84px}
  .student-site .zb-path-copy small{font-size:11px;line-height:1.45}
  .student-site .zb-service-grid.compact{margin-top:13px}
}
@media(prefers-reduced-motion:reduce){.student-site .zb-path,.student-site .zb-service{transition:none}}
/* Preserve navy depth across desktop/mobile even when nested backdrop layers composite differently */
.student-site .zb-route-block{
  background:linear-gradient(145deg,rgba(11,45,84,.84),rgba(4,25,57,.86) 70%,rgba(12,51,95,.80));
  -webkit-backdrop-filter:none;backdrop-filter:none;
}
.student-site .zb-service.compact{
  background:linear-gradient(140deg,rgba(255,255,255,.92),rgba(236,245,255,.87));
  -webkit-backdrop-filter:none;backdrop-filter:none;
}


/* AZUBDA85 — uploaded real photograph, legible transparent navy overlay */
.student-site .zb-hero-stage {
  background:linear-gradient(135deg,#03192f 0%,#092c50 55%,#071d37 100%);
}
.student-site .zb-hero-stage::before {
  background-image:
    linear-gradient(90deg,rgba(3,23,45,.99) 0%,rgba(4,25,50,.93) 26%,rgba(5,30,58,.68) 51%,rgba(5,30,58,.13) 100%),
    url('/api/ui/assets/summit-road.jpg');
  background-repeat:no-repeat,no-repeat;
  background-size:100% 100%,auto 115%;
  background-position:center,right 40%;
  opacity:1;
  filter:none;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 50%,transparent 91%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 50%,transparent 91%);
}
.student-site .zb-mountain {
  background:none;
}
.student-site .zb-hero-copy h1,.student-site .zb-hero-copy h2,.student-site .zb-hero-copy p {
  text-shadow:0 2px 16px rgba(0,12,35,.85);
}
@media(max-width:720px) {
  .student-site .zb-hero-stage::before {
    background-image:
      linear-gradient(90deg,rgba(3,23,45,.89),rgba(3,23,45,.52) 68%,rgba(3,23,45,.32)),
      url('/api/ui/assets/summit-road.jpg');
    background-size:100% 100%,auto 405px;
    background-position:center,right top;
    opacity:.98;
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 30%,transparent 70%);
    mask-image:linear-gradient(to bottom,#000 0%,#000 30%,transparent 70%);
  }
}


/* AZUBDA86: cinematic three-image hero; two replaceable image slots */
.student-site .zb-hero-stage::before {display:none!important}
.student-site .zb-top-hero{position:relative;isolation:isolate;overflow:hidden;background:#061d36}
.student-site .zb-hero-slides{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.student-site .zb-hero-slides::after{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,rgba(1,17,38,.90) 0%,rgba(3,22,46,.74) 36%,rgba(3,27,55,.28) 74%,rgba(1,15,33,.18) 100%)}
.student-site .zb-hero-slide{position:absolute;inset:0;background-position:center,center,right 48%;background-size:100% 100%,cover,cover;background-repeat:no-repeat;opacity:0;animation:azubda86-bg 24s ease-in-out infinite;will-change:opacity,transform;transform:scale(1.025)}
.student-site .zb-hero-slide.slide-one{background-image:url('/api/ui/assets/summit-road.jpg');animation-delay:0s}
.student-site .zb-hero-slide.slide-two{background-image:url('/api/ui/assets/summit-road.jpg'),url('/api/ui/assets/summit-road.jpg');animation-delay:-8s}
.student-site .zb-hero-slide.slide-three{background-image:url('/api/ui/assets/summit-road.jpg'),url('/api/ui/assets/summit-road.jpg');animation-delay:-16s}
@keyframes azubda86-bg{0%,27%{opacity:1;transform:scale(1.025)}34%,93%{opacity:0;transform:scale(1.08)}100%{opacity:1;transform:scale(1.025)}}
.student-site .zb-top-hero .zb-hero-copy{position:relative;z-index:3}
@media(max-width:720px){
.student-site .zb-hero-slides::after{background:linear-gradient(90deg,rgba(1,18,39,.91),rgba(3,26,51,.53) 75%,rgba(3,27,54,.25))}
.student-site .zb-hero-slide{background-position:center,right center;background-size:cover;}
}
@media(prefers-reduced-motion:reduce){.student-site .zb-hero-slide{animation:none;opacity:0}.student-site .zb-hero-slide.slide-one{opacity:1}}

/* AZUBDA87 — refined editorial student experience. All rules scoped to student portal. */
.student-site{background:#f6f5f1;color:#0b2541;min-height:100vh}
.student-site .student-header{background:#07192d;border-bottom:1px solid #d8b56e2b;box-shadow:0 8px 28px #02111c19;position:sticky;top:0;z-index:15}
.student-site .student-head-inner{max-width:1420px;min-height:82px;padding:9px 36px;align-items:center;flex-direction:row}
.student-site .student-brand{gap:10px}
.student-site .student-brand img{width:65px;height:65px;object-fit:contain}
.student-site .student-brand b{font-family:Cairo,Tajawal,sans-serif;font-size:30px;color:#e8c382;letter-spacing:-1.5px;line-height:1.2}
.student-site .student-brand small{font-size:11px;color:#c5d0dd;opacity:.9}
.student-site .student-nav{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.student-site .student-nav button{padding:11px 15px;font-size:14px;font-weight:800;border-radius:10px;color:#dbe6f0;transition:background .18s,color .18s}
.student-site .student-nav button.active{background:#e6bd7230;color:#f6d59a;box-shadow:inset 0 0 0 1px #e4bd6a44}
.student-site .student-nav button:hover{background:#ffffff10;color:#ffe1ab}
.student-site .student-main{max-width:1400px;margin:auto;padding:0 33px 60px}
.student-site .luxe-home{padding-top:31px}
.student-site .luxe-hero{display:grid;grid-template-columns:1.03fr .97fr;min-height:445px;background:#0b2844;overflow:hidden;border-radius:28px;border:1px solid #c8a6682e;box-shadow:0 24px 45px #06233b1b;position:relative}
.student-site .luxe-hero::before{content:"";position:absolute;right:-110px;bottom:-260px;width:470px;height:470px;border:1px solid rgba(228,189,111,.12);border-radius:50%;pointer-events:none}
.student-site .luxe-hero-content{position:relative;z-index:2;padding:46px clamp(25px,3.9vw,61px) 42px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;color:#fff}
.student-site .luxe-eyebrow{display:inline-flex;gap:9px;align-items:center;font-size:13px;font-weight:700;color:#efc57b;letter-spacing:.1px;margin-bottom:16px}
.student-site .luxe-hero h1{font:900 clamp(37px,4.35vw,62px)/1.36 Cairo,Tajawal,sans-serif;letter-spacing:-2px;color:white;margin:0 0 10px}
.student-site .luxe-hero h1 span{color:#e2b96b}
.student-site .luxe-hero-sub{font:800 clamp(18px,2vw,24px)/1.5 Cairo,Tajawal,sans-serif;color:#f4d494;margin:0 0 15px}
.student-site .luxe-hero-description{font:500 17px/1.95 Tajawal,Cairo,sans-serif;color:#cbd8e5;max-width:500px;margin:0 0 20px}
.student-site .luxe-hero-actions{display:flex;gap:11px;flex-wrap:wrap;width:100%;margin:4px 0 18px}
.student-site .luxe-primary,.student-site .luxe-secondary{display:inline-flex;align-items:center;justify-content:center;gap:11px;padding:14px 18px;border-radius:12px;min-height:49px;font:800 14px Cairo,Tajawal,sans-serif;transition:.22s}
.student-site .luxe-primary{background:linear-gradient(95deg,#f7d99d,#e2b565);border:1px solid #f9dfaa;color:#0c2945;box-shadow:0 6px 16px #0002}
.student-site .luxe-primary:hover{transform:translateY(-2px);box-shadow:0 12px 21px #0004}
.student-site .luxe-secondary{border:1px solid #aec4d75c;color:#edf5fb;background:#ffffff0a}
.student-site .luxe-secondary:hover{background:#ffffff1c}
.student-site .luxe-hero-notes{border-top:1px solid #e4c58d2b;padding-top:14px;display:flex;flex-wrap:wrap;gap:14px;color:#bfcdd9;font-size:12px}
.student-site .luxe-hero-notes span{display:inline-flex;gap:6px;align-items:center}
.student-site .luxe-hero-notes svg{color:#e9c27d}
.student-site .luxe-hero-visual{position:relative;overflow:hidden;min-height:440px;background:#173b58}
.student-site .luxe-hero-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 56%;filter:saturate(1.13) contrast(1.05)}
.student-site .luxe-photo-shade{position:absolute;inset:0;background:linear-gradient(0deg,#06192bdf 0%,#06192b00 44%),linear-gradient(270deg,#0b2844c7 0%,transparent 22%,transparent 78%)}
.student-site .luxe-photo-quote{position:absolute;bottom:28px;right:27px;left:27px;display:flex;align-items:center;gap:10px;z-index:2;color:white;font:800 18px Cairo,Tajawal,sans-serif;text-shadow:0 2px 8px #031726bb}
.student-site .luxe-photo-star{display:grid;place-items:center;width:30px;height:30px;border:1px solid #ffdea9b0;border-radius:10px;color:#f0cb8a;font-size:20px;background:#0b274657}
.student-site .luxe-photo-corner{display:block;position:absolute;width:48px;height:48px;z-index:2;border-color:#efc98887;border-style:solid}
.student-site .luxe-photo-corner-a{top:20px;right:20px;border-width:2px 2px 0 0;border-radius:0 14px 0 0}
.student-site .luxe-photo-corner-b{bottom:20px;left:20px;border-width:0 0 2px 2px;border-radius:0 0 0 14px}
.student-site .luxe-journey,.student-site .luxe-services{margin-top:53px}
.student-site .luxe-section-header{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:20px}
.student-site .luxe-overline{display:inline-flex;align-items:center;gap:9px;color:#ad833c;font:800 13px Cairo,Tajawal,sans-serif;letter-spacing:.2px;margin-bottom:10px}
.student-site .luxe-overline>span{display:inline-block;width:31px;height:2px;border-radius:2px;background:#cba253}
.student-site .luxe-section-header h2{font:900 clamp(25px,3vw,37px)/1.5 Cairo,Tajawal,sans-serif;letter-spacing:-.8px;color:#0b2844;margin:0}
.student-site .luxe-section-header h2 em{font-style:normal;color:#b98734}
.student-site .luxe-section-header p{margin:4px 0 0;color:#687b8f;font-size:16px}
.student-site .luxe-section-index{font:700 12px Tajawal,Cairo,sans-serif;color:#8a98a5;border:1px solid #e0ded7;padding:8px 12px;border-radius:30px;white-space:nowrap}
.student-site .luxe-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.student-site .luxe-path{background:#fff;border:1px solid #e1e4e7;border-radius:20px;padding:22px 24px 18px;text-align:right;display:flex;flex-direction:column;align-items:flex-start;min-height:228px;position:relative;overflow:hidden;transition:transform .22s,border-color .22s,box-shadow .22s;box-shadow:0 8px 25px #0e2b4210;color:#102d4b}
.student-site .luxe-path::before{content:"";position:absolute;left:-52px;top:-58px;width:170px;height:170px;border-radius:50%;background:radial-gradient(circle,var(--tint),transparent 70%);pointer-events:none;opacity:.65}
.student-site .luxe-path::after{content:"";position:absolute;inset:auto 0 0 0;height:4px;background:var(--accent);opacity:.83}
.student-site .luxe-path-university{--accent:#8564b2;--tint:#b6a1d8;--wash:#f0ebf9}
.student-site .luxe-path-school{--accent:#218b80;--tint:#92dcd2;--wash:#e8f7f4}
.student-site .luxe-path-vocational{--accent:#3168a5;--tint:#92b9f1;--wash:#ebf3fc}
.student-site .luxe-path:hover{transform:translateY(-5px);border-color:var(--accent);box-shadow:0 17px 30px #102d4b1d}
.student-site .luxe-path-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;color:var(--accent);background:var(--wash);margin-bottom:12px}
.student-site .luxe-path-top{font-size:12px;color:#8594a1;margin-bottom:5px;font-weight:700}
.student-site .luxe-path strong{font:900 24px Cairo,Tajawal,sans-serif;color:#102d4b;line-height:1.45}
.student-site .luxe-path small{font-size:13px;line-height:1.7;color:#6b8194;margin:3px 0 17px}
.student-site .luxe-path-foot{margin-top:auto;display:flex;justify-content:space-between;align-items:center;align-self:stretch;border-top:1px solid #edf0f3;padding-top:12px;color:var(--accent);font-size:13px;font-weight:800}
.student-site .luxe-path-foot i{display:grid;place-items:center;width:33px;height:33px;background:var(--wash);border-radius:50%;font-style:normal}
.student-site .luxe-saved{margin-top:18px;display:flex;align-items:center;gap:14px;width:100%;text-align:right;background:#092d4f;color:#fff;border:1px solid #c69d4c77;border-radius:16px;padding:14px 19px;transition:.2s}
.student-site .luxe-saved:hover{background:#123b60}
.student-site .luxe-saved-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#d8b06429;color:#f0ca89;flex-shrink:0}
.student-site .luxe-saved span:nth-child(2){flex:1;min-width:0}
.student-site .luxe-saved small{display:block;font-size:12px;color:#c3d1e1;margin-bottom:3px}
.student-site .luxe-saved strong{display:block;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.student-site .luxe-saved-go{display:inline-flex;align-items:center;gap:8px;color:#efce89;font-weight:800;font-size:13px;white-space:nowrap}
.student-site .luxe-route-hint{margin-top:17px;display:flex;align-items:center;gap:8px;font-size:13px;color:#586e80}
.student-site .luxe-route-hint svg{color:#23947d;flex:none}
.student-site .luxe-services{margin-top:49px}
.student-site .luxe-services-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.student-site .luxe-service{border:1px solid #e3e6e8;background:#fff;border-radius:17px;padding:20px 17px;text-align:right;display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:183px;position:relative;box-shadow:0 4px 20px #0e2b420b;transition:transform .2s,box-shadow .2s}
.student-site .luxe-service:hover{transform:translateY(-4px);box-shadow:0 13px 27px #0e2b4215;border-color:#bfa267}
.student-site .luxe-service-icon{color:#b68b43;background:#faf5ea;border-radius:14px;width:47px;height:47px;display:grid;place-items:center;margin-bottom:5px}
.student-site .luxe-service strong{font:800 17px Cairo,Tajawal,sans-serif;color:#0d2c49}
.student-site .luxe-service small{font-size:12px;line-height:1.7;color:#7890a2}
.student-site .luxe-service-arr{position:absolute;bottom:15px;left:16px;color:#b08b47}
.student-site .luxe-bottom{margin-top:44px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-radius:22px;padding:25px 34px;background:linear-gradient(120deg,#092741,#0d375a);color:white;border:1px solid #e6c07742}
.student-site .luxe-bottom h2{font:900 24px Cairo,Tajawal,sans-serif;margin:0}
.student-site .luxe-bottom em{font-style:normal;color:#e3bf81}
.student-site .luxe-steps{display:flex;gap:17px;flex-wrap:wrap;font-size:13px}
.student-site .luxe-steps>span{display:flex;align-items:center;gap:9px;white-space:nowrap;color:#e6edf4}
.student-site .luxe-steps b{color:#edc78a;font:900 17px Cairo,Tajawal,sans-serif}
.student-site .student-footer{border-top:1px solid #e1e4e2;background:#f3f1ed}
/* Path selection retains existing JS but uses same visual language */
.student-site .student-page-title{padding-top:28px}
.student-site .zb-route-screen{margin-top:20px}
.student-site .zb-route-hero{background:linear-gradient(110deg,#0a2844,#0e3b61);border-radius:24px;padding:31px;border:1px solid #d0ad6e4d}
.student-site .zb-route-hero .zb-route-heading h2{color:#fff}
.student-site .zb-route-hero .zb-route-heading p{color:#d3dfeb}
.student-site .zb-wizard-stages.wizard-cards .zb-path{background:#ffffff10;border:1px solid #ffffff38;min-height:105px;box-shadow:none;border-radius:17px}
.student-site .zb-wizard-stages.wizard-cards .zb-path.is-active{background:linear-gradient(130deg,#f4dca1,#e7ba68);outline:none;color:#0a2a46;border-color:#f8dfa5}
.student-site .zb-wizard-stages.wizard-cards .zb-path.is-active .zb-path-copy strong,.student-site .zb-wizard-stages.wizard-cards .zb-path.is-active .zb-path-copy small,.student-site .zb-wizard-stages.wizard-cards .zb-path.is-active .zb-path-side{color:#123451}
.student-site .zb-route-wizard.enhanced{border:1px solid #e4e0d6;box-shadow:0 11px 24px #0e2b420c;border-radius:23px;background:#fff;padding:27px}
.student-site .zb-route-option{border-radius:15px;background:#f8fafc;border:1px solid #e1e6eb;box-shadow:none}
.student-site .zb-route-option:hover{background:#f3f7fb;border-color:#c0a46e}
.student-site .zb-route-option.is-selected,.student-site .zb-route-option.vocational.is-selected{background:#fbf2dc;border-color:#d0ab63;box-shadow:inset 0 0 0 1px #e8c989}
.student-site .zb-route-form{background:#f9f7f1;border:1px solid #e3d6b9}
@media(max-width:1100px){
 .student-site .student-head-inner{padding:9px 18px;min-height:75px}
 .student-site .luxe-hero-content{padding:32px}
 .student-site .luxe-hero h1{font-size:clamp(32px,4.4vw,50px)}
 .student-site .luxe-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .student-site .luxe-bottom{flex-direction:column;align-items:flex-start}
}
@media(max-width:780px){
 .student-site .student-head-inner{flex-direction:column;align-items:stretch;gap:3px;padding:8px 14px}
 .student-site .student-nav{flex-wrap:nowrap;overflow-x:auto;padding:3px 0 8px;justify-content:flex-start}
 .student-site .student-nav button{white-space:nowrap;font-size:12px;padding:9px 12px}
 .student-site .student-brand img{width:49px;height:49px}
 .student-site .student-brand b{font-size:25px}
 .student-site .student-main{padding:0 14px 42px}
 .student-site .luxe-home{padding-top:17px}
 .student-site .luxe-hero{grid-template-columns:1fr;border-radius:21px}
 .student-site .luxe-hero-content{padding:26px 25px 20px}
 .student-site .luxe-hero h1{font-size:clamp(32px,8vw,43px);line-height:1.3}
 .student-site .luxe-hero-sub{font-size:19px}
 .student-site .luxe-hero-description{font-size:15px;line-height:1.8}
 .student-site .luxe-hero-actions{gap:8px}
 .student-site .luxe-primary,.student-site .luxe-secondary{font-size:12px;padding:12px;flex:1;min-width:150px}
 .student-site .luxe-hero-visual{min-height:225px;max-height:260px}
 .student-site .luxe-hero-visual>img{object-position:center 58%}
 .student-site .luxe-photo-quote{font-size:14px;bottom:17px;right:18px}
 .student-site .luxe-journey,.student-site .luxe-services{margin-top:35px}
 .student-site .luxe-section-index{display:none}
 .student-site .luxe-section-header h2{font-size:26px}
 .student-site .luxe-section-header p{font-size:14px}
 .student-site .luxe-paths{grid-template-columns:1fr;gap:11px}
 .student-site .luxe-path{min-height:160px;padding:16px 18px}
 .student-site .luxe-path-icon{width:46px;height:46px;margin-bottom:8px}
 .student-site .luxe-path strong{font-size:21px}
 .student-site .luxe-path small{margin-bottom:6px}
 .student-site .luxe-service{min-height:160px}
 .student-site .luxe-services-grid{gap:9px}
 .student-site .luxe-service strong{font-size:14px}
 .student-site .luxe-service small{font-size:11px}
 .student-site .luxe-bottom{padding:22px 19px}
 .student-site .luxe-steps{gap:12px}
 .student-site .luxe-saved{align-items:flex-start;flex-wrap:wrap}
 .student-site .luxe-saved-go{margin-right:auto}
 .student-site .zb-route-hero{padding:20px 14px}
 .student-site .zb-wizard-stages.wizard-cards{grid-template-columns:1fr;gap:9px}
 .student-site .zb-route-wizard.enhanced{padding:17px}
}
@media(max-width:390px){.student-site .luxe-services-grid{grid-template-columns:1fr}.student-site .luxe-hero-notes{font-size:11px}.student-site .luxe-primary,.student-site .luxe-secondary{flex:1 1 100%}}
@media(prefers-reduced-motion:reduce){.student-site .luxe-path,.student-site .luxe-service,.student-site .luxe-primary{transition:none}}
.student-site .zb-route-screen .zb-route-wizard.enhanced{width:100%;max-width:none;margin:0;min-width:0}
.student-site .zb-route-screen .zb-route-option{width:100%;min-width:0}
.student-site .zb-route-screen .zb-route-option span{margin-top:auto}

/* AZUBDA94 admin finance */
.linklike{background:transparent;border:0;color:#0c365d;font-weight:800;text-decoration:underline;text-underline-offset:3px;cursor:pointer;font:inherit}
.linklike:hover{color:#bf8735}
#modal-form input[type=file]{border:1px dashed #b4c8dd;padding:13px;background:#f5f9ff;width:100%;border-radius:12px}
#modal-form input[type=file]::file-selector-button{background:#e6bd58;border:0;padding:9px 15px;border-radius:9px;font-weight:800;cursor:pointer;margin-inline-end:10px}

/* AZUBDA96: responsive content upload fields */
.zb96-upload[hidden]{display:none!important}.zb96-upload input[type=file]{width:100%;min-height:44px;max-width:100%;padding:9px;background:#fff;border:1px solid #d2dce8;border-radius:12px}.zb96-upload small{display:block;margin-top:6px}

/* AZUBDA103 · Chemical manager three-branch switcher and owner account lifecycle */
.zb-workspace-switch{margin:12px 12px 15px;padding:13px 12px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.18);border-radius:13px;display:flex;flex-direction:column;gap:7px}
.zb-workspace-switch label{font-size:13px;font-weight:800;color:#fff}
.zb-workspace-switch select{width:100%;max-width:100%;font:inherit;background:#fff;color:#112a43;border:1px solid #d7dee8;border-radius:9px;padding:10px 9px;cursor:pointer}
.zb-workspace-switch small{color:#e5eaf4;font-size:11px;line-height:1.8}
.zb-active-dept{font-size:12px;font-weight:800;padding:7px 11px;color:#153b60;border-radius:100px;background:#f0e6c5;white-space:nowrap}
.btn.zb-danger{border-color:#e6b6b6!important;background:#fff1f0!important;color:#a22727!important}
@media(max-width:700px){.zb-active-dept{font-size:11px;white-space:normal}.zb-workspace-switch{margin:10px}}

/* AZUBDA104 — staff earnings and material drilldown */
.zb-teacher-topdue{background:linear-gradient(110deg,#0a2b4a,#19476d);color:#fff;padding:23px 27px;border-radius:21px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;box-shadow:0 14px 32px #092d4a1b;margin-bottom:22px;border:1px solid #b9964d80}
.zb-teacher-topdue span{font-size:16px;font-weight:800;color:#f3d789}.zb-teacher-topdue strong{font:900 30px Cairo,Tajawal,sans-serif;margin-right:auto}.zb-teacher-topdue small{width:100%;color:#d2e1ec}
.zb-material-box{border:1px solid #dfc68a;background:#fffdf8;border-radius:18px;margin:17px 0 24px;padding:19px;box-shadow:0 7px 22px #9f812014}
.zb-material-box .cards{margin-top:16px;margin-bottom:15px}.zb-material-box .stat{border-right-color:#d0a84e}.zb-facts{margin:15px 0}.zb-facts span{background:#f3f6fb;padding:7px 12px;border-radius:10px;font-size:13px;color:#264b6d}
.zb-subject-row.chosen td{background:#fff9e9}.zb-subject-pick{border:0;background:none;text-align:right;color:#163c61;padding:5px;max-width:320px}.zb-subject-pick b{display:block;font-size:15px}.zb-subject-pick small{display:block;color:#70859b;font-size:12px;margin-top:5px}.zb-subject-pick:hover b{text-decoration:underline}
@media(max-width:740px){.zb-teacher-topdue{padding:17px 16px}.zb-teacher-topdue strong{font-size:24px;width:100%;margin:0}}

/* AZUBDA106: simplified manager workspace, without changing accounting permissions. */
.zb-manager-highlight{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:linear-gradient(115deg,#0e3156,#24567c);color:#fff;border-radius:19px;padding:21px 25px;margin-bottom:20px;box-shadow:0 8px 25px #123a5d18}
.zb-manager-highlight span,.zb-manager-highlight small{display:block;color:#deecf7}
.zb-manager-highlight strong{display:block;font-family:Cairo,Tajawal,sans-serif;font-size:clamp(24px,3vw,34px);margin:6px 0}
.zb-manager-highlight small{font-size:12px;line-height:1.6}
.zb-manager-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:3px 0 24px}
.zb-manager-actions .btn{font-size:13px}
.zb-manager-history{border:1px solid #dfe6ed;border-radius:13px;background:#fff;padding:14px;margin:16px 0}
.zb-manager-history summary{cursor:pointer;color:#163b5d;font-weight:800;padding:4px}
.zb-manager-history h3{margin:15px 0 9px;font-size:16px}
@media(max-width:740px){.zb-manager-highlight{align-items:stretch;padding:17px}.zb-manager-highlight .btn{width:100%}.zb-manager-actions .btn{flex:1 1 150px}}

/* AZUBDA108 chat UI */
.zb-chat-notice{padding:13px 16px;border:1px solid #e8cf7e;border-radius:13px;background:#fff9e9;color:#694e11;line-height:1.8;margin-bottom:16px}
.zb-chat-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0 17px}
.zb-readonly-chat{padding:12px 16px;border-top:1px solid #dbe4ed;color:#5d7086;background:#f6f8fb;margin:0;font-size:14px}
.threadbtn .mini{display:inline-block;margin-top:6px;color:#657993}
@media(max-width:740px){.zb-chat-actions .btn{width:100%}.zb-chat-notice{font-size:13px}}

/* AZUBDA109: small unobtrusive live-chat status; no layout shift while messages arrive */
.zb-chat-live-indicator{padding:5px 13px;color:#207455;font-size:12px;font-weight:700;background:#f0faf6;border-bottom:1px solid #ddede5;direction:rtl}

/* AZUBDA110: minimal privacy-first moderation UI */
.zb-flag-message{max-width:400px;text-align:right;overflow-wrap:anywhere;white-space:normal}
.zb-flag-message p{margin:5px 0 7px;white-space:pre-wrap;line-height:1.55}
.zb-flag-message small{color:#667}
.zb-chat-report{display:block;border:0;background:transparent;color:#8a4a28;font-size:11px;text-decoration:underline;cursor:pointer;margin-top:7px;padding:2px}
#zb-flag-filter{max-width:200px;min-width:170px}

/* AZUBDA113: owner-only reveal for the stored full legal teacher name. */
.zb-real-name-detail{margin-top:7px;font-size:.82rem;color:#52637d}
.zb-real-name-detail summary{display:inline-flex;cursor:pointer;color:#155b96;font-weight:700;border-bottom:1px dashed #9eb8d3;padding:4px 0}
.zb-real-name-detail[open]{padding:7px 8px;background:#f4f7fc;border:1px solid #d8e4f2;border-radius:8px}
.zb-real-name-detail .small{padding-top:7px;line-height:1.8}

/* AZUBDA115: clear teacher/mobile login and video lesson discussion. */
#staff-role-picker,#staff-account-picker{width:100%;min-height:48px}
.zb-video-comments{display:grid;gap:10px;margin:15px 0 20px;max-height:43vh;overflow-y:auto}
.zb-video-comment{padding:12px 14px;background:#f7f9fc;border:1px solid #dde6f0;border-radius:13px;overflow-wrap:anywhere}
.zb-video-comment strong{display:inline-block;color:#183a5e;margin-inline-end:10px}
.zb-video-comment small{color:#687d91;font-size:12px}
.zb-video-comment p{margin:8px 0 0;white-space:pre-wrap;line-height:1.8}
#video-comment-form{display:grid;gap:10px;border-top:1px solid #e1e9f1;padding-top:15px}
#video-comment-form label{font-weight:800;color:#284a69}
#video-comment-form textarea{width:100%;border:1px solid #d9e3ec;border-radius:12px;padding:12px;resize:vertical;min-height:75px}
#video-comment-form .btn{justify-self:start}
@media(max-width:740px){.zb-video-comments{max-height:35vh}.zb-video-comment{padding:10px}}

/* AZUBDA118: searchable teacher directory usable on narrow phones */
.zb-teacher-directory{max-height:52vh;overflow-y:auto;border:1px solid #d5dfec;border-radius:14px;padding:8px;background:#fff}.zb-teacher-directory-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-bottom:1px solid #e4e9f1}.zb-teacher-directory-row:last-child{border-bottom:0}.zb-teacher-directory-row .row{gap:10px;flex-wrap:wrap;justify-content:flex-end}.zb-teacher-directory-row b{overflow-wrap:anywhere}.zb-teacher-directory-row button{white-space:nowrap}#zb-link-university-year[hidden],#zb-link-university-term[hidden]{display:none!important}@media(max-width:560px){.zb-teacher-directory-row{align-items:flex-start;flex-direction:column}.zb-teacher-directory-row .row{width:100%;justify-content:space-between}}

/* AZUBDA123: clear, mobile-friendly subject assignment by department. */
.zb-subject-assign-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;max-height:290px;overflow:auto;padding:4px}
.zb-subject-assign-list .zb-subject-assign-option{display:flex;align-items:flex-start;gap:10px;padding:11px 13px;border:1px solid #d7e1eb;border-radius:12px;background:#fafcff;min-height:60px;cursor:pointer}
.zb-subject-assign-option input[type=checkbox]{flex:0 0 auto;width:19px;height:19px;accent-color:#1b5480;margin:2px 0 0}
.zb-subject-assign-option span{min-width:0;display:block;line-height:1.45}
.zb-subject-assign-option b{font-size:14px;overflow-wrap:anywhere}
.zb-subject-assign-option small{display:block;margin-top:3px;font-size:12px;color:#596c82}
.zb-subject-assign-option:has(input:checked){background:#f0f8ff;border-color:#68a6db}
@media(max-width:620px){.zb-subject-assign-list{grid-template-columns:1fr}}

/* AZUBDA143.1 — readable, safe course-route audit */
.zb-route-modal{width:min(980px,calc(100vw - 24px));}
.zb-route-modal .modalbody{min-width:0;}
.zb-route-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr));gap:14px;min-width:0;max-height:60vh;overflow-y:auto;overscroll-behavior:contain;padding:2px;}
.zb-route-card{min-width:0;display:flex;flex-direction:column;gap:13px;padding:17px;border:1px solid #dce5ee;border-radius:15px;background:#fff;overflow-wrap:anywhere;}
.zb-route-card-head{display:flex;justify-content:space-between;align-items:start;gap:10px;flex-wrap:wrap;}
.zb-route-card-head h4{font-size:17px;line-height:1.5;}
.zb-route-card-head p{margin:3px 0 0;}
.zb-route-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
.zb-route-details>div{min-width:0;padding:10px;background:#f5f8fb;border-radius:9px;}
.zb-route-details span{display:block;font-size:12px;color:#59718c;}
.zb-route-details strong{display:block;font-size:14px;margin-top:4px;}
.zb-route-issues{line-height:1.8;font-size:13px;color:#394f69;}
.zb-route-action{margin-top:auto;padding-top:10px;border-top:1px solid #edf1f5;line-height:1.7;}
.zb-route-action button{white-space:normal;}
@media(max-width:600px){.zb-route-modal .modalbody{padding:12px}.zb-route-results{grid-template-columns:1fr;max-height:68vh}.zb-route-card{padding:13px}}

/* All HTML hidden controls must stay hidden regardless of .field/.formgrid display. */
[hidden] { display: none !important; }

/* AZUBDA1446: responsive teacher/food-management account selector. */
.zb-dual-role1446{margin:14px 10px;padding:12px;border:1px solid #60758d;border-radius:14px;color:#fff;display:flex;flex-direction:column;gap:8px}
.zb-dual-actions1446{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.zb-dual-actions1446 button{font-size:12px;min-height:40px;padding:6px 4px;white-space:normal;line-height:1.4}
.zb-dual-actions1446 button:disabled{opacity:1;cursor:default;border:2px solid #e5bd57}
.zb-dual-role1446 small{color:#d7e1ef;font-size:11px;line-height:1.5}

/* AZUBDA1451: only a small top-right logo; no full-screen overlay or frame. */
.zb-branded-player1451{position:relative;display:inline-block;line-height:0;max-width:100%;vertical-align:top;background:#05090e;border-radius:12px;overflow:hidden}
.zb-branded-player1451 video{display:block;width:auto;max-width:100%;height:auto;max-height:68vh;background:#03060c}
.zb-video-logo1451{position:absolute;top:2%;right:2%;width:11%;min-width:44px;max-width:88px;height:auto;opacity:.86;pointer-events:none;z-index:2;border-radius:6px}
.zb-material-file1444 .zb-danger{margin-top:10px;min-height:40px}
@media(max-width:720px){.zb-material-file1444{padding:12px}.zb-branded-player1451 video{max-height:63vh}}

/* AZUBDA1449: upload status and controls, compact on phones */
.zb-upload-live149{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0;color:#143c67}.zb-upload-live149 strong{font-family:Cairo,Tajawal,sans-serif;font-size:22px;min-width:65px}.zb-upload-actions149{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.zb-upload-actions149 [hidden]{display:none!important}#zb-upload-help149{display:block;margin-top:9px}#zb-upload-help149[hidden]{display:none!important}

/* AZUBDA1450: explicit cancel is distinct from reversible upload pause */
.zb-upload-actions149 [data-upload-cancel1450]{background:#fff0f0;color:#9a1b2c;border:1px solid #f7c1c9;font-weight:700}.zb-upload-actions149 [data-upload-cancel1450][hidden]{display:none!important}

/* AZUBDA1452 — mobile-first staff dashboard (browser and Android WebView).
   Keep desktop unchanged; never scale the whole website to disguise overflow. */
.zb-mobile-sidebar-head,.zb-mobile-sidebar-scrim{display:none}
.titlelogo,.titlelogo .zb-top-title{min-width:0}
.titlelogo .zb-top-title{flex:1}
.titlelogo .zb-top-title strong{overflow-wrap:break-word;line-height:1.4}
.titlelogo .zb-top-title .muted{display:block;line-height:1.45;overflow-wrap:break-word}
@media(max-width:1100px){
 .topbar{flex-wrap:wrap;gap:9px}
 .topbar>.titlelogo{flex:1 1 100%;width:100%;min-width:0}
 .topbar>.top-actions{flex:1 1 100%;width:100%;min-width:0;flex-wrap:wrap;justify-content:flex-start}
}
@media(max-width:740px){
 html,body{max-width:100%;overflow-x:clip}
 #app,.shell,.workspace,.content{min-width:0;max-width:100%}
 .shell{display:block;width:100%}
 .workspace{width:100%}
 .topbar{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:9px;padding:10px 12px;max-width:100%;width:100%}
 .topbar>.titlelogo{width:100%;display:flex;align-items:center;gap:9px;min-width:0}
 .topbar .titlelogo img{width:40px;height:40px;flex:0 0 40px;object-fit:contain}
 .topbar .topmobile{display:inline-flex;flex:0 0 42px;align-items:center;justify-content:center;min-height:42px;padding:6px;font-size:20px}
 .titlelogo .zb-top-title{flex:1 1 auto;min-width:0}
 .titlelogo .zb-top-title strong{font-size:clamp(15px,4vw,18px);font-weight:800;line-height:1.35}
 .titlelogo .zb-top-title .muted{font-size:12px;line-height:1.35;margin-top:2px}
 .topbar>.top-actions{width:100%;display:flex;align-items:center;flex-wrap:wrap;gap:6px;justify-content:flex-start}
 .topbar .top-actions>.badge,.topbar .top-actions>.zb-active-dept{max-width:100%;min-width:0;line-height:1.4;white-space:normal;overflow-wrap:break-word;text-align:center}
 .topbar .top-actions>.zb-active-dept{padding:7px 9px;font-size:12px}
 .topbar .top-actions>.btn{min-height:37px;white-space:nowrap;padding:7px 11px;font-size:13px}
 .content{width:100%;margin:0;padding:15px 12px 28px}
 .content>h1{font-size:clamp(21px,5.6vw,27px);line-height:1.5;overflow-wrap:break-word}
 .content>.lead{font-size:14px;line-height:1.7;overflow-wrap:break-word}
 .content .card,.content .stat,.content .banner,.content .zb-manager-highlight,.content .zb-teacher-topdue{min-width:0;max-width:100%;overflow-wrap:break-word}
 .content .row>*{min-width:0}
 .content .scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 .content .data-table{min-width:max-content}
 .modalshade{max-width:100vw;padding:10px}
 .modal{min-width:0;max-width:100%;width:100%;max-height:calc(100dvh - 20px)}
 .modalhead{gap:10px;padding:14px}
 .modalhead>*{min-width:0;overflow-wrap:break-word}
 .modalbody{padding:13px}
 .sidebar{width:min(86vw,290px);max-width:100vw;z-index:14;right:0;top:0;height:100dvh;overflow:auto;transform:translateX(105%);transition:transform .22s ease;box-shadow:-10px 0 28px #061b322b}
 .sidebar.open{transform:translateX(0)}
 .zb-mobile-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #ffffff33;padding:6px 3px 13px;color:#fff}
 .zb-mobile-sidebar-head .btn{font-size:12px;white-space:nowrap}
 .zb-mobile-sidebar-scrim{display:block;position:fixed;inset:0;width:100%;height:100%;background:#061d36aa;border:0;padding:0;z-index:13;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s,visibility .2s}
 .shell.nav-open .zb-mobile-sidebar-scrim{opacity:1;visibility:visible;pointer-events:auto}
}
@media(max-width:500px){
 .content .cards{grid-template-columns:minmax(0,1fr)}
 .content .stat{padding:15px 16px}
 .content .stat strong{font-size:20px}
 .content .zb-manager-highlight{padding:16px}
 .content .zb-manager-highlight .btn{width:100%;max-width:100%}
 .content .formgrid,.content .grid2,.content .grid3,.content .tiles{grid-template-columns:minmax(0,1fr)}
 .modalactions{flex-wrap:wrap;padding:12px 13px}
 .modalactions>.btn{flex:1 1 125px}
}
@media(prefers-reduced-motion:reduce){
 .sidebar,.zb-mobile-sidebar-scrim{transition:none}
}


/* AZUBDA1458: material-first multi-route publishing. */
.zb-material-route-picker1458{border:1px solid #cbd9e8;border-radius:14px;background:#f7faff;padding:14px;min-width:0}
.zb-material-route-heading1458 strong{display:block;color:#123a66;font-size:16px;font-weight:800}
.zb-material-route-heading1458 p{margin:5px 0 12px;color:#536a84;font-size:13px;line-height:1.7}
.zb-material-route-list1458{display:grid;gap:8px;min-width:0}
.zb-assignment-toolbar1457{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:9px}
.zb-assignment-toolbar1457>span{font-weight:800;color:#153d67}
.zb-assignment-toolbar1457>div{display:flex;gap:6px;flex-wrap:wrap}
.zb-assignment-options1457{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.zb-assignment-option1457{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:10px;border:1px solid #d8e2ee;border-radius:11px;background:#fff}
.zb-assignment-option1457.is-primary{border:2px solid #d2a92e;background:#fffaf0}
.zb-assignment-option1457.is-warning{border-color:#e5bd75;background:#fffaf1}
.zb-assignment-check1457{display:flex;align-items:flex-start;gap:8px;flex:1;min-width:0;cursor:pointer}
.zb-assignment-check1457 input,.zb-assignment-primary-choice1457 input{width:auto;min-width:17px;margin-top:3px;accent-color:#1b5c94}
.zb-assignment-check1457 span{display:grid;gap:3px;min-width:0}
.zb-assignment-check1457 strong{font-size:13px;color:#163b63;overflow-wrap:anywhere}
.zb-assignment-check1457 small{font-size:11px;line-height:1.5;color:#64778d;overflow-wrap:anywhere}
.zb-assignment-primary-choice1457{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:11px;font-weight:800;color:#815d08;cursor:pointer}
.zb-assignment-primary-choice1457 input:disabled{opacity:.35}
#zb-assignment-primary1457{margin-top:9px;line-height:1.7}
@media(max-width:650px){.zb-assignment-options1457{grid-template-columns:minmax(0,1fr)}.zb-assignment-toolbar1457{align-items:flex-start}.zb-assignment-toolbar1457>div{width:100%}.zb-assignment-toolbar1457>div button{flex:1}}

/* AZUBDA1458: compact route checkboxes for one logical material. */
.zb-share-options1453{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px;min-width:0}
.zb-share-option1455{display:flex;align-items:flex-start;gap:9px;min-width:0;padding:10px 11px;border:1px solid #d5e0ec;border-radius:11px;background:#fff;cursor:pointer}
.zb-share-option1455 input{width:auto;min-width:17px;margin:3px 0 0;accent-color:#1b5c94}
.zb-share-option1455 span{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
.zb-share-option1455 strong{font-size:13px;color:#163b63}
.zb-share-option1455 small{font-size:11px;line-height:1.5;color:#64778d}
.zb-share-option1455.is-disabled{opacity:.62;background:#f4f6f8;cursor:not-allowed}
.zb-share-toolbar1455{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:8px 0}
.zb-share-toolbar1455>span{font-size:13px;font-weight:800;color:#153d67}
.zb-share-toolbar1455>div{display:flex;gap:6px;flex-wrap:wrap}
@media(max-width:650px){.zb-share-options1453{grid-template-columns:minmax(0,1fr)}.zb-share-toolbar1455{align-items:flex-start}.zb-share-toolbar1455>div{width:100%}.zb-share-toolbar1455>div button{flex:1}}

/* AZUBDA1461: phone-first assignment cards and protected theater player. */
.zb-material-route-list1458 .zb-share-options1453,
.zb-share1453 .zb-share-options1453{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%;min-width:0}
.zb-material-route-list1458 .zb-share-option1455,
.zb-share1453 .zb-share-option1455{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:12px;padding:13px 14px;width:100%;min-width:0;white-space:normal;line-height:1.5;border-radius:14px;direction:rtl;box-shadow:0 2px 7px #0c315112}
.zb-material-route-list1458 .zb-share-option1455>input,
.zb-share1453 .zb-share-option1455>input{appearance:auto;-webkit-appearance:checkbox;width:20px;min-width:20px;height:20px;min-height:20px;margin:3px 0 0;justify-self:center;accent-color:#145d91;flex-shrink:0}
.zb-material-route-list1458 .zb-share-option1455>span,
.zb-share1453 .zb-share-option1455>span{display:block;min-width:0;overflow-wrap:anywhere;word-break:normal;line-height:1.6;font-size:14px;text-align:right}
.zb-material-route-list1458 .zb-share-option1455 strong,
.zb-share1453 .zb-share-option1455 strong{display:block;font-size:14px;line-height:1.6;color:#153d5e}
.zb-material-route-list1458 .zb-share-option1455 small,
.zb-share1453 .zb-share-option1455 small{display:block;margin-top:5px;font-size:12px;line-height:1.55;color:#4b647b}
.zb-material-route-list1458 .zb-share-option1455:has(input:checked),
.zb-share1453 .zb-share-option1455:has(input:checked){border-color:#2778ac;background:#f1f8ff}
.zb-material-route-list1458 .zb-share-option1455.is-disabled,
.zb-share1453 .zb-share-option1455.is-disabled{opacity:1;background:#f4f5f7;color:#526174;border-style:dashed}
.zb-material-route-list1458 .zb-share-option1455.is-disabled input,
.zb-share1453 .zb-share-option1455.is-disabled input{opacity:.5}
.zb-material-route-list1458 .zb-share-toolbar1455,
.zb-share1453 .zb-share-toolbar1455{display:flex;gap:9px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start}
.zb-protected-player1461{position:relative;display:inline-flex;align-items:center;justify-content:center;max-width:100%;background:#05090e;line-height:normal;overflow:hidden}
.zb-protected-player1461 video{display:block;width:auto;max-width:100%;height:auto;max-height:68vh;object-fit:contain;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.zb-protected-player1461 .zb-video-logo1451{position:absolute;z-index:4;top:2%;right:2%;width:11%;min-width:44px;max-width:88px;pointer-events:none;user-select:none;-webkit-user-drag:none}
.zb-player-expand1461{position:absolute;top:10px;left:10px;z-index:8;background:#071b2ce8;color:#fff;border:1px solid #d3e3ee99;border-radius:10px;padding:7px 11px;min-height:40px;display:flex;align-items:center;gap:6px;font-weight:800;font-size:13px;line-height:1;cursor:pointer;touch-action:manipulation}
.zb-player-expand1461:hover,.zb-player-expand1461:focus-visible{background:#154b73;outline:2px solid #fff7}
.zb-protected-player1461:fullscreen,.zb-protected-player1461.zb-player-theater1461{background:#000;display:flex;align-items:center;justify-content:center;width:100vw;height:100dvh;max-width:none;max-height:none;border-radius:0;overflow:hidden}
.zb-protected-player1461:fullscreen video,.zb-protected-player1461.zb-player-theater1461 video{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;border-radius:0}
.zb-protected-player1461:fullscreen .zb-video-logo1451,.zb-protected-player1461.zb-player-theater1461 .zb-video-logo1451{width:10%;max-width:106px;right:3%;top:3%}
.zb-protected-player1461.zb-player-theater1461{position:fixed!important;inset:0!important;inset-block:0;inset-inline:0;z-index:2147483647!important;width:100vw;height:100dvh}
body.zb-player-theater-open1461{overflow:hidden!important}
@media(max-width:720px){.zb-material-route-picker1458,.zb-share1453{padding:10px;max-width:100%;min-width:0}.zb-share-toolbar1455>div{width:100%;display:flex;flex-wrap:wrap}.zb-share-toolbar1455>div button{flex:1 1 145px;white-space:normal}.zb-protected-player1461 video{max-height:62dvh}.zb-protected-player1461.zb-player-theater1461 video{max-height:100%}.zb-player-expand1461{left:8px;top:8px;font-size:13px}}

/* AZUBDA145.18 visual-only fix — loading screen and student footer contrast.
   Scoped to the student site; does not change staff pages or portal behavior. */
.zb-neutral-loading {
  min-height: min(65vh, 560px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 20px;
  color: #173956;
  background: #f4f6f9;
}
.zb-neutral-loading img { width: 70px; height: 70px; object-fit: contain; }
.zb-neutral-loading strong { font: 800 21px Cairo, Tajawal, sans-serif; }
.student-site .student-footer {
  background: #f3f1ed;
  color: #173956;
  border-top: 1px solid #cbd5df;
}
.student-site .student-footer strong { color: #0d2a45; font-size: 18px; }
.student-site .student-footer span {
  color: #705315;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}
.student-site .student-footer > small {
  color: #334b61;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

/* 2026-11-13 — teacher assignments shown directly, with multiple specialties.
   No academic-route dropdown; actual subject IDs and years are preserved. */
.zb-all-assignments2026{background:#f8fbff;border-color:#d7e4f1}
.zb-assignment-search2026{margin:10px 0 12px}
.zb-assignment-search2026 input{width:100%;background:white;border:1px solid #ccdceb;border-radius:12px;min-height:42px;padding:8px 12px}
.zb-assignment-search2026 input:focus{outline:2px solid #77b4df;outline-offset:1px}
.zb-assignment-groups2026{display:grid;gap:14px;margin:12px 0}
.zb-assignment-group2026{min-width:0;background:white;border:1px solid #d9e4f0;border-radius:16px;padding:12px}
.zb-assignment-group-heading2026{display:flex;align-items:baseline;gap:9px;justify-content:space-between;flex-wrap:wrap;margin-bottom:10px;border-bottom:1px solid #e7edf4;padding-bottom:9px}
.zb-assignment-group-heading2026>strong{color:#0c3055;font-size:17px;font-weight:800}
.zb-assignment-group-heading2026>small{font-size:12px;color:#607991}
.zb-all-assignments2026 .zb-share-options1453{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.zb-all-assignments2026 .zb-assignment-card2026{border-radius:13px;min-height:94px}
.zb-all-assignments2026 .zb-assignment-card2026>span small{font-size:12px;line-height:1.7}
.zb-all-assignments2026 .zb-assignment-card2026:has(input:checked){border-color:#1471a2;box-shadow:0 0 0 2px #d6ecfc;background:#eff9ff}
.zb-all-assignments2026 .zb-assignment-card2026.is-disabled:not(:has(input:checked)){background:#f7f9fb}
.zb-all-assignments2026 .zb-assignment-toolbar2026{padding:9px 10px;background:#e9f3fb;border-radius:12px}
@media(max-width:740px){.zb-all-assignments2026 .zb-share-options1453{grid-template-columns:1fr}.zb-all-assignments2026 .zb-assignment-card2026{min-height:80px}.zb-assignment-group2026{padding:9px}}

.zb-assignment-unavailable2026{margin-top:12px;background:#fff9ed;border:1px solid #edddb5;border-radius:12px;padding:10px}
.zb-assignment-unavailable2026 summary{cursor:pointer;font-weight:800;color:#885213}
.zb-assignment-unavailable2026 .zb-share-options1453{margin-top:10px}
.zb-assignment-blocked2026{background:#fff;border:1px dashed #decba6;border-radius:10px;padding:10px;display:grid;gap:4px}
.zb-assignment-blocked2026 strong{color:#5c4b32;font-size:14px}
.zb-assignment-blocked2026 small{color:#6e7987;font-size:12px}
.zb-assignment-blocked2026 span{color:#aa5510;font-size:12px}

/* ZABDA V9 — flat multi-select assignment chips, not cards or nested paths */
.zb-assignment-pills2026{background:#f8fafc;border:1px solid #dae4ef;border-radius:16px;padding:15px}
.zb-assignment-pills2026 .zb-material-route-heading1458 strong{font-size:18px;color:#102f50}
.zb-assignment-pills2026 .zb-material-route-heading1458 p{line-height:1.65;color:#617389;margin:4px 0 12px}
.zb-assignment-pills2026 .zb-assignment-toolbar2026{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:transparent;padding:4px 0 12px}
.zb-assignment-pills2026 .zb-assignment-toolbar2026>strong{font-size:14px;color:#173d62}
.zb-assignment-pills2026 .zb-assignment-toolbar2026>div{display:flex;gap:7px;flex-wrap:wrap}
.zb-assignment-pills2026 .zb-assignment-chips2026{display:flex;flex-wrap:wrap;align-items:stretch;gap:9px;min-width:0;margin:2px 0 12px}
.zb-assignment-pills2026 .zb-assignment-chip2026{display:inline-flex;position:relative;align-items:center;gap:8px;flex:0 1 auto;min-width:0;max-width:100%;cursor:pointer;user-select:none;direction:rtl;white-space:normal;text-align:right;vertical-align:middle;padding:9px 13px;border:1.5px solid #d2dfeb;border-radius:999px;background:#fff;box-shadow:0 2px 4px #0b27450b;transition:background-color .15s,border-color .15s,box-shadow .15s;color:#16385b;line-height:1.25}
.zb-assignment-pills2026 .zb-assignment-chip2026>input{position:absolute;opacity:0;top:0;right:0;width:100%;height:100%;cursor:pointer;margin:0;z-index:1}
.zb-assignment-pills2026 .zb-chip-check2026{display:grid;place-items:center;flex:0 0 19px;width:19px;height:19px;border-radius:50%;background:#fff;border:1.5px solid #97aabd;color:transparent;font-size:13px;font-weight:800}
.zb-assignment-pills2026 .zb-chip-main2026{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:5px;row-gap:2px;min-width:0}
.zb-assignment-pills2026 .zb-chip-main2026 b{font-size:13px;line-height:1.4;font-weight:800}
.zb-assignment-pills2026 .zb-chip-main2026 small{font-size:12px;line-height:1.4;color:#5b7189;font-weight:500}
.zb-assignment-pills2026 .zb-chip-main2026 small::before{content:'·';padding-inline-end:5px;color:#9ab0c6}
.zb-assignment-pills2026 .zb-chip-route2026{font-size:10px;white-space:nowrap;color:#8899ac;border-inline-start:1px solid #e1e7ee;padding-inline-start:6px}
.zb-assignment-pills2026 .zb-assignment-chip2026:has(input:checked),.zb-assignment-pills2026 .zb-assignment-chip2026.is-selected{color:#fff;background:#103a63;border-color:#103a63;box-shadow:0 3px 8px #102f5030}
.zb-assignment-pills2026 .zb-assignment-chip2026:has(input:checked) .zb-chip-check2026,.zb-assignment-pills2026 .zb-assignment-chip2026.is-selected .zb-chip-check2026{color:#103a63;border-color:#fff;background:#fff}
.zb-assignment-pills2026 .zb-assignment-chip2026:has(input:checked) .zb-chip-main2026 small,.zb-assignment-pills2026 .zb-assignment-chip2026:has(input:checked) .zb-chip-route2026{color:#d6e6f5}
.zb-assignment-pills2026 .zb-assignment-chip2026:focus-within{outline:3px solid #f2b84b;outline-offset:2px}
.zb-assignment-pills2026 .zb-assignment-chip2026.is-disabled:not(:has(input:checked)){background:#eff2f5;color:#7e8d9a;border-color:#dfe5eb;cursor:not-allowed;box-shadow:none}
.zb-assignment-pills2026 .zb-assignment-chip2026.is-disabled:not(:has(input:checked))>input{cursor:not-allowed}
.zb-assignment-pills2026 .zb-assignment-chip2026.is-disabled .zb-chip-main2026 small,.zb-assignment-pills2026 .zb-assignment-chip2026.is-disabled .zb-chip-route2026{color:#8d9dad}
.zb-assignment-pills2026 .zb-chip-lock2026{font-size:13px;color:#9ba8b3}
.zb-assignment-pills2026 .zb-assignment-chip2026[hidden]{display:none!important}
.zb-assignment-pills2026 .zb-assignment-unavailable-info2026{display:block;margin:8px 0;color:#8d621f;font-size:12px}
@media(max-width:560px){.zb-assignment-pills2026{padding:11px}.zb-assignment-pills2026 .zb-assignment-chips2026{gap:7px}.zb-assignment-pills2026 .zb-assignment-chip2026{padding:8px 10px}.zb-assignment-pills2026 .zb-chip-route2026{display:none}.zb-assignment-pills2026 .zb-assignment-toolbar2026>div{width:100%}.zb-assignment-pills2026 .zb-assignment-toolbar2026>div button{flex:1 1 auto}}
/* Keep two compact selection pills per row on phone screens. */
@media(max-width:560px){
 .zb-assignment-pills2026 .zb-assignment-chips2026{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .zb-assignment-pills2026 .zb-assignment-chip2026{display:flex;width:100%;min-height:55px;max-width:none;padding:7px 8px;gap:6px;border-radius:20px}
 .zb-assignment-pills2026 .zb-chip-main2026{display:flex;flex-direction:column;gap:1px;align-items:flex-start}
 .zb-assignment-pills2026 .zb-chip-main2026 b{font-size:12px;line-height:1.25}
 .zb-assignment-pills2026 .zb-chip-main2026 small{font-size:10px;line-height:1.4}
 .zb-assignment-pills2026 .zb-chip-main2026 small::before{content:none}
 .zb-assignment-pills2026 .zb-chip-check2026{width:17px;height:17px;flex-basis:17px;font-size:12px}
}
/* AZUBDA1480: compact transparent preview for existing lecture linkage */
.zb-math-items1480{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:53vh;overflow-y:auto;padding:6px}
.zb-math-link1480{display:flex;align-items:flex-start;gap:9px;padding:11px;border:1px solid #d8e2ed;border-radius:13px;background:#f8fafc;cursor:pointer;overflow-wrap:anywhere}
.zb-math-link1480 strong{display:block;color:#102d4a;font-size:13px}
.zb-math-link1480 small{display:block;color:#64748b;font-size:11px;line-height:1.65}
.zb-math-link1480 input{accent-color:#102f55;min-width:16px;min-height:16px;margin:2px 0 0}
.zb-math-link1480.is-conflict,.zb-math-link1480.is-blocked{opacity:.75;background:#fff7f5;cursor:not-allowed}
.zb-math-link1480.is-already{background:#f0fdf4;cursor:default}
@media(max-width:660px){.zb-math-items1480{grid-template-columns:1fr;max-height:50vh}}

/* AZUBDA1481: deliberately selectable conflict (owner-confirmed only) */
.zb-math-link1480.is-manual1481{background:#fff9ef;border-color:#e5a658;cursor:pointer;opacity:1}
.zb-math-link1480.is-manual1481:has(input:checked){background:#fff0d5;outline:2px solid #bc7620;outline-offset:0}
/* AZUBDA1490: subject-level sharing, without changing existing site cards. */
.zb-subject-branch1490{display:flex;align-items:center;gap:12px;min-width:0;cursor:pointer}
.zb-subject-branch1490>span{flex:1;min-width:0}
.zb-subject-branch1490 small{display:block;line-height:1.75;white-space:normal}
.zb-subject-branch1490 .pill{flex-shrink:0}
.zb-subject-branch1490.is-disabled{cursor:default;opacity:.7}
@media(max-width:600px){.zb-subject-branch1490{padding:12px 10px;gap:8px}.zb-subject-branch1490 .pill{font-size:10px}.zb-share-toolbar1455{flex-wrap:wrap}}
.zb-share1453 .zb-share-option1455.zb-subject-branch1490{grid-template-columns:24px minmax(0,1fr) auto;align-items:center}
.zb-share1453 .zb-share-option1455.zb-subject-branch1490>.badge{white-space:nowrap;justify-self:end}
@media(max-width:450px){.zb-share1453 .zb-share-option1455.zb-subject-branch1490{grid-template-columns:22px minmax(0,1fr)}.zb-share1453 .zb-share-option1455.zb-subject-branch1490>.badge{grid-column:2;justify-self:start}}

/* AZUBDA1500 — manual assignments: searchable, multi-select, all years per department. */
.zb-assign-picker1500{min-width:0;}
.zb-assign-picker1500 input[type="search"]{font-size:15px;min-height:45px;}
.zb-assign-tools1500{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;}
.zb-assign-tools1500 p{margin:0;flex:1 1 220px;}
.zb-assign-tools1500 .row{gap:7px;}
.zb-assign-picker1500 .zb-subject-assign-list{max-height:56vh;min-height:140px;overflow-y:auto;align-content:start;overscroll-behavior:contain;}
.zb-assign-picker1500 .zb-subject-assign-option{transition:background .12s,border-color .12s;}
.zb-assign-picker1500 .zb-subject-assign-option[hidden]{display:none!important;}
.zb-assign-picker1500 .zb-subject-assign-option:has(input:focus-visible){outline:2px solid #285fab;outline-offset:2px;}
@media(max-width:650px){.zb-assign-tools1500 .row{width:100%;}.zb-assign-tools1500 .row button{flex:1 1 130px;}.zb-assign-picker1500 .zb-subject-assign-list{max-height:50vh;}}

/* AZUBDA1501 — Multiple branches + inline new subjects in teacher assignments */
.zb-assign-depts1501,.zb-assign-picker1500,.zb-new-subjects1501,.zb-rights1501{min-width:0;border:1px solid #d5e1ee;border-radius:16px;padding:16px;background:#fff;margin-block:4px;}
.zb-assign-depts1501 h3,.zb-assign-picker1500 h3,.zb-new-subjects1501 h3{font-size:16px;margin:0 0 12px;color:#123b62;}
#zb-dept-search1501,#zb-subject-search1500{width:100%;min-height:44px;border:1px solid #cfdaea;border-radius:10px;padding:10px 13px;font:inherit;margin-bottom:10px;}
.zb-assign-dept-choices1501{display:flex;flex-wrap:wrap;gap:8px;max-height:170px;overflow-y:auto;padding:2px;}
.zb-assign-dept-choices1501 label{display:flex;align-items:center;gap:7px;border:1px solid #d4e0ed;border-radius:12px;padding:8px 11px;cursor:pointer;background:#f7fafc;font-size:13px;font-weight:700;}
.zb-assign-dept-choices1501 label:has(input:checked){border-color:#6aa4d3;background:#ebf5ff;}
.zb-assign-dept-choices1501 label[hidden]{display:none!important;}
.zb-assign-dept-choices1501 input{accent-color:#1966a4;width:17px;height:17px;}
.zb-assign-groups1501{max-height:49vh;min-height:110px;overflow:auto;overscroll-behavior:contain;padding:2px;}
.zb-assign-dept-group1501{border-bottom:1px solid #e5edf5;padding:5px 0 15px;margin-bottom:12px;}
.zb-assign-dept-group1501[hidden]{display:none!important;}
.zb-assign-dept-group1501 h4{color:#174777;font-size:14px;margin:7px 0 9px;}
.zb-assign-dept-group1501 h4 small{color:#65778c;font-weight:500;}
.zb-assign-dept-grid1501{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:9px;}
.zb-new-subjects1501{background:#f8fbff;}
.zb-assign-new-row1501{display:grid;grid-template-columns:minmax(140px,2fr) minmax(140px,2fr) minmax(105px,1fr) minmax(120px,1fr) auto;gap:8px;align-items:end;padding:12px;background:white;border:1px solid #dae5f1;border-radius:12px;margin-bottom:10px;}
.zb-assign-new-row1501 .field{min-width:0;}
.zb-assign-new-row1501 label{display:block;margin-bottom:5px;font-size:12px;color:#3d5671;font-weight:700;}
.zb-assign-new-row1501 input,.zb-assign-new-row1501 select{width:100%;min-height:41px;border:1px solid #d2deeb;border-radius:9px;padding:8px;font:inherit;}
.zb-remove-new1501{min-height:41px;}
.zb-rights1501 summary{cursor:pointer;font-weight:800;color:#123b62;}
.zb-rights1501 details[open]{padding-bottom:5px;}
@media(max-width:850px){.zb-assign-new-row1501{grid-template-columns:repeat(2,minmax(0,1fr));}.zb-new-name1501{grid-column:1/-1;}.zb-remove-new1501{justify-self:start;}}
@media(max-width:520px){.zb-assign-new-row1501{grid-template-columns:1fr;}.zb-new-name1501{grid-column:auto;}.zb-assign-dept-choices1501{max-height:170px;}.zb-assign-groups1501{max-height:45vh;}.zb-assign-depts1501,.zb-assign-picker1500,.zb-new-subjects1501,.zb-rights1501{padding:11px;}}

/* Wider modal for cross-department teacher assignments, scoped to this dialog. */
.modal.zb-assignment-multi-modal1501{width:min(1050px,96vw);}
@media(max-width:740px){.modal.zb-assignment-multi-modal1501{width:100%;}}

/* AZUBDA1502: manager-scoped read-only teacher activity reports. */
.zb-activity-results1502{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;max-height:55vh;overflow:auto;padding:3px}
.zb-activity-teacher1502{border:1px solid #dbe4f1;border-radius:13px;background:#f7fafd;padding:13px 15px;display:flex;flex-direction:column;gap:5px;min-width:0}
.zb-activity-teacher1502 b{color:#16365e;font-size:1rem;overflow-wrap:anywhere}
.zb-activity-teacher1502 small{color:#5d7089;line-height:1.65}
.zb-activity-teacher1502[hidden]{display:none}

/* AZUBDA1504: readable teacher rows, assignment and on-demand profile details. */
.modal.zb-activity-modal1504 #modal-form .formgrid{display:block;min-width:0}
.modal.zb-activity-modal1504 #modal-form .formgrid > *{margin-bottom:14px}
.modal.zb-activity-modal1504 #modal-form .modalbody{min-width:0}
.modal.zb-activity-modal1504{width:min(840px,96vw)}
.zb-activity-results1502{display:flex!important;flex-direction:column;gap:12px;max-height:58vh;overflow-y:auto;overflow-x:hidden;padding:3px;min-width:0;direction:rtl}
.zb-activity-teacher1502{display:block!important;text-align:right;min-width:0;padding:14px 16px;border:1px solid #d9e4ef;border-radius:14px;background:#f9fbfe;box-shadow:0 2px 7px rgba(14,43,79,.03)}
.zb-activity-teacher1502[hidden],.zb-activity-detail1504[hidden]{display:none!important}
.zb-activity-head1504{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;min-width:0}
.zb-activity-identity1504{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1 1 230px;line-height:1.6}
.zb-activity-alias1504{display:block;color:#12375d;font-size:17px;font-weight:800;line-height:1.6;overflow-wrap:anywhere;word-break:normal}
.zb-activity-depts1504{display:block;color:#2a5f88;font-size:13px;overflow-wrap:anywhere}
.zb-activity-identity1504 small{display:block;color:#65778f;font-size:12px}
.zb-activity-actions1504{display:flex;align-items:center;flex-wrap:wrap;gap:7px;flex:0 0 auto}
.zb-activity-actions1504 .btn{white-space:nowrap;font-size:13px;line-height:1.4}
.zb-activity-detail1504{margin-top:13px;padding:13px 14px;background:#fff;border-radius:11px;border:1px solid #dbe5f2}
.zb-activity-data1504{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.zb-activity-data1504 div{min-width:0}
.zb-activity-data1504 dt{font-size:12px;color:#62768c;margin:0 0 3px}
.zb-activity-data1504 dd{font-weight:700;color:#15375c;margin:0;overflow-wrap:anywhere;white-space:normal}
.zb-activity-data1504 dd[dir=ltr]{text-align:right;unicode-bidi:plaintext}
@media(max-width:540px){.zb-activity-teacher1502{padding:12px}.zb-activity-actions1504{width:100%}.zb-activity-actions1504 .btn{flex:1}.zb-activity-data1504{grid-template-columns:1fr}.zb-activity-results1502{max-height:62vh}}

/* AZUBDA1505: readable department-grouped teacher activity reports */
.zb-activity-filters1505{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.75fr);gap:12px;align-items:end}
.zb-activity-filters1505 .field{margin:0;min-width:0}
.zb-activity-results1502{gap:17px!important}
.zb-activity-group1505{border:1px solid #dce5f0;background:#fff;border-radius:15px;padding:12px;min-width:0}
.zb-activity-group1505[hidden]{display:none!important}
.zb-activity-group-title1505{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #e5ebf4;padding:2px 4px 11px;margin-bottom:10px;color:#163a65}
.zb-activity-group-title1505 h4{margin:0;font-size:16px;font-weight:850}
.zb-activity-group-title1505 span{color:#64768f;font-size:12px;white-space:nowrap}
.zb-activity-group-cards1505{display:grid;gap:9px}
.zb-activity-teacher1502{margin:0!important}
.zb-activity-personal1505{display:flex;gap:8px 18px;flex-wrap:wrap;color:#2b4364;font-size:13px;line-height:1.7}
.zb-activity-personal1505>span{display:inline-flex;gap:5px;align-items:baseline;flex-wrap:wrap;overflow-wrap:anywhere}
.zb-activity-personal1505 b{color:#234e78}
.zb-activity-mobile1505{unicode-bidi:plaintext;text-align:left;font-family:Arial,Tajawal,sans-serif;letter-spacing:.15px;direction:ltr}
.zb-activity-depts1504 em{display:inline-block;font-style:normal;color:#92611c;font-size:11px;margin-inline-start:5px}
@media(max-width:650px){.zb-activity-filters1505{grid-template-columns:1fr}.zb-activity-group1505{padding:9px}.zb-activity-personal1505{flex-direction:column;gap:3px}.zb-activity-group-title1505 h4{font-size:15px}}
