@font-face{font-family:'Nastaliq';src:url(fonts/nastaliq.woff2) format('woff2');font-display:swap}
:root{--red:#d32f2f;--red2:#b71c1c;--sky:#1e9bd7;--sky2:#0d6fa8;--navy:#0b3d66;--bg:#f3f8fc;--card:#fff;--ink:#14202b;--mut:#5d6b78;--line:#dbe6ef;--ok:#1b8a4b;--warn:#e08a00;--r:18px;--sh:0 6px 22px rgba(11,61,102,.10)}
*{box-sizing:border-box}html,body{margin:0;padding:0}
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:var(--bg);color:var(--ink);font-size:16px;line-height:1.5;-webkit-tap-highlight-color:transparent;overflow-x:hidden}
body.ur{direction:rtl;font-family:'Nastaliq',system-ui,sans-serif;line-height:2.1}
body.ur input,body.ur select,body.ur textarea,body.ur button{font-family:'Nastaliq',system-ui,sans-serif;line-height:2}
.en-only{}body.ur .en-only{display:none}
.num,.ltr{direction:ltr;unicode-bidi:isolate;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
a{color:var(--sky2)}
button,.btn{font:inherit;cursor:pointer;border:0;border-radius:14px;padding:12px 18px;min-height:48px;background:var(--sky);color:#fff;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;line-height:1.9;box-shadow:0 3px 0 rgba(0,0,0,.12)}
button:active,.btn:active{transform:translateY(1px)}
button:focus-visible,.btn:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #ffb300;outline-offset:2px}
.btn.red,button.red{background:var(--red)}.btn.ghost,button.ghost{background:#fff;color:var(--navy);border:2px solid var(--line);box-shadow:none}
.btn.ok,button.ok{background:var(--ok)}.btn.sm,button.sm{min-height:38px;padding:6px 12px;font-size:14px;border-radius:11px}
.btn.wide,button.wide{width:100%}
input,select,textarea{font:inherit;width:100%;padding:11px 13px;border:2px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);min-height:48px;line-height:1.9}
textarea{min-height:110px;resize:vertical}
label{display:block;font-weight:600;font-size:14px;color:var(--mut);margin:10px 0 4px}
body.ur label{font-size:15px}
.wrap{max-width:1080px;margin:0 auto;padding:0 14px}
/* top bar */
.top{position:sticky;top:0;z-index:20;background:linear-gradient(90deg,var(--navy),var(--sky2));color:#fff;box-shadow:0 2px 10px rgba(0,0,0,.15)}
.top .wrap{display:flex;align-items:center;gap:10px;min-height:62px;padding-top:6px;padding-bottom:6px}
.top img{width:44px;height:44px;border-radius:50%;background:#fff;flex:none}
.top .nm{flex:1;min-width:0;font-weight:800;line-height:1.25;font-size:15px}
.top .nm small{display:block;font-weight:500;opacity:.85;font-size:12px}
body.ur .top .nm{line-height:1.9;font-size:15px}
.top .tb{background:rgba(255,255,255,.16);color:#fff;min-height:40px;padding:4px 12px;border-radius:12px;box-shadow:none;font-size:14px}
.seg{display:inline-flex;background:rgba(255,255,255,.18);border-radius:12px;padding:3px}
.seg button{background:transparent;box-shadow:none;min-height:36px;padding:2px 12px;font-size:14px;color:#fff}
.seg button.on{background:#fff;color:var(--navy)}
.seg.light{background:#e6eff6}.seg.light button{color:var(--navy)}.seg.light button.on{background:var(--red);color:#fff}
.banner-imp{background:#fff3cd;color:#6b4e00;padding:8px 14px;text-align:center;font-weight:700}
/* hero */
.hero{position:relative;color:#fff;background:#0b3d66;overflow:hidden}
.hero .bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.35}
.hero .in{position:relative;padding:34px 16px 30px;text-align:center;max-width:860px;margin:0 auto}
.hero .logo{width:118px;height:118px;border-radius:50%;background:#fff;padding:4px;box-shadow:0 6px 24px rgba(0,0,0,.35)}
.hero h1{margin:12px 0 2px;font-size:clamp(22px,6vw,38px);line-height:1.2;letter-spacing:.5px}
.hero .urname{font-family:'Nastaliq',serif;font-size:clamp(22px,5.5vw,34px);line-height:2.2;margin:4px 0}
.hero p{margin:4px 0 0;opacity:.95}
.hero .motto{display:inline-block;margin-top:8px;background:var(--red);padding:2px 14px;border-radius:30px;font-weight:700;font-size:13px;letter-spacing:1px}
.cta{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:18px}
.cta .btn{min-width:150px;font-size:17px}
.stripe{height:6px;background:linear-gradient(90deg,var(--red) 0 33%,#fff 33% 66%,var(--sky) 66%)}
/* sections */
.sec{padding:22px 0}.sec h2{margin:0 0 12px;color:var(--navy);font-size:22px;line-height:1.5}
body.ur .sec h2{line-height:2.1}
.card{background:var(--card);border-radius:var(--r);box-shadow:var(--sh);padding:16px;margin-bottom:14px;border:1px solid #e6eef5}
.card h3{margin:0 0 8px;color:var(--navy);font-size:18px;line-height:1.5}
body.ur .card h3{line-height:2}
.grid{display:grid;gap:12px}.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:700px){.g3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.g2.s1,.g3.s1{grid-template-columns:1fr}}
.lead{display:flex;gap:14px;align-items:center}
.lead img{width:84px;height:100px;object-fit:cover;border-radius:14px;flex:none;border:3px solid #fff;box-shadow:var(--sh)}
.lead b{display:block;color:var(--navy);line-height:1.5}.lead span{color:var(--mut);font-size:14px}
.pmsg{display:flex;gap:16px;align-items:flex-start}
.pmsg img{width:120px;height:150px;object-fit:cover;border-radius:16px;flex:none}
@media(max-width:520px){.pmsg{flex-direction:column;align-items:center;text-align:center}}
.gal{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
@media(max-width:600px){.gal{grid-template-columns:repeat(2,1fr)}}
.gal img,.gal video{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;display:block;background:#dde7ef;cursor:zoom-in}
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.88);z-index:99;display:flex;align-items:center;justify-content:center;padding:10px}
.lightbox img,.lightbox video{max-width:100%;max-height:90vh;border-radius:10px}
/* tiles */
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
@media(max-width:420px){.tiles{grid-template-columns:repeat(2,1fr);gap:10px}}
.tile{background:#fff;border-radius:18px;padding:16px 10px;text-align:center;box-shadow:var(--sh);border:1px solid #e3edf5;color:var(--ink);text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:6px;min-height:118px;justify-content:center;font-weight:700;line-height:1.5;cursor:pointer}
body.ur .tile{line-height:2}
.tile .ic{width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:27px;background:#e7f4fb}
.tile:nth-child(3n+2) .ic{background:#fde8e8}.tile:nth-child(3n) .ic{background:#e8f6ee}
.tile small{font-weight:500;color:var(--mut);font-size:12px}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
@media(max-width:600px){.stats{grid-template-columns:repeat(2,1fr)}}
.stat{background:#fff;border-radius:16px;padding:12px;box-shadow:var(--sh);border-top:5px solid var(--sky)}
.stat:nth-child(2n){border-top-color:var(--red)}
.stat b{font-size:26px;display:block;color:var(--navy);line-height:1.3}.stat span{color:var(--mut);font-size:13px}
/* tables */
.tw{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:14px;border:1px solid var(--line);background:#fff}
table{border-collapse:collapse;width:100%;font-size:14px}
th,td{padding:9px 10px;border-bottom:1px solid #edf2f7;text-align:start;vertical-align:middle}
th{background:#eef6fc;color:var(--navy);font-weight:700;white-space:nowrap}
body.ur th,body.ur td{line-height:2}
tr:last-child td{border-bottom:0}
td input{min-height:40px;padding:6px 8px;width:84px}td select{min-height:40px;padding:4px 6px;width:auto}
.pill{display:inline-block;padding:1px 10px;border-radius:20px;font-size:12px;font-weight:700;line-height:1.9;background:#e7f0f7;color:var(--navy);white-space:nowrap}
.pill.ok{background:#e1f5e9;color:var(--ok)}.pill.no{background:#fde4e4;color:var(--red2)}.pill.warn{background:#fff1d6;color:#8a5600}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.row>*{flex:1 1 140px}
.row.tight>*{flex:0 0 auto}
.muted{color:var(--mut)}.small{font-size:13px}
.empty{padding:26px;text-align:center;color:var(--mut)}
.toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);background:#14202b;color:#fff;padding:10px 18px;border-radius:14px;z-index:100;max-width:90vw;box-shadow:var(--sh);line-height:1.9}
.notice{border-inline-start:6px solid var(--sky)}
.notice.aud-teachers,.notice.aud-teacher{border-inline-start-color:var(--red)}
.notice.aud-parents{border-inline-start-color:var(--ok)}
.notice img{max-width:100%;border-radius:12px;margin-top:8px}
.notice .meta{font-size:12px;color:var(--mut)}
.notice p{white-space:pre-wrap;margin:6px 0}
.cmt{background:#f4f8fb;border-radius:12px;padding:8px 12px;margin:6px 0}
.cmt b{color:var(--navy)}
.att button{min-height:40px;min-width:44px;padding:2px 10px;box-shadow:none;background:#eef3f7;color:var(--ink)}
.att button.P.on{background:var(--ok);color:#fff}.att button.A.on{background:var(--red);color:#fff}.att button.L.on{background:var(--warn);color:#fff}
.av{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#dfe9f1;flex:none}
.back{background:none;color:var(--navy);box-shadow:none;padding:6px 0;min-height:40px;font-weight:700}
.page-h{display:flex;align-items:center;gap:8px;margin:14px 0 10px;flex-wrap:wrap}
.page-h h2{margin:0;flex:1;color:var(--navy);font-size:21px;line-height:1.6}
body.ur .page-h h2{line-height:2.1}
.loginbox{max-width:440px;margin:24px auto;padding:0 14px}
.found{background:#e9f7ef;border-radius:12px;padding:10px 14px;margin-top:8px;font-weight:700;color:var(--ok)}
.foot{background:var(--navy);color:#cfe3f3;padding:22px 0;margin-top:20px;text-align:center;font-size:14px}
.foot a{color:#fff}
/* result card */
.rc{background:#fff;border:3px double var(--navy);border-radius:10px;padding:18px;max-width:820px;margin:0 auto}
.rc .hd{display:flex;align-items:center;gap:12px;border-bottom:3px solid var(--red);padding-bottom:10px;margin-bottom:10px}
.rc .hd img{width:74px;height:74px}
.rc .hd h3{margin:0;color:var(--navy);font-size:19px;line-height:1.3}
.rc .hd .u{font-family:'Nastaliq',serif;font-size:18px;line-height:2;color:var(--red2)}
.rc .info{display:grid;grid-template-columns:repeat(2,1fr);gap:4px 16px;font-size:14px;margin-bottom:10px}
.rc .sig{display:flex;justify-content:space-between;margin-top:36px;font-size:13px}
.rc .sig span{border-top:1px solid #333;padding-top:4px;min-width:130px;text-align:center}
.paper{background:#fff;padding:22px;max-width:820px;margin:0 auto;border:1px solid var(--line)}
.paper ol{padding-inline-start:22px}.paper li{margin:6px 0}
.qrow{border:1px dashed var(--line);border-radius:12px;padding:10px;margin:8px 0;background:#fbfdff}
.hide{display:none!important}
@media print{.top,.noprint,.foot,.toast,.banner-imp{display:none!important}body{background:#fff}.rc,.paper{border-width:2px;box-shadow:none;max-width:100%}.wrap{max-width:100%;padding:0}}

.top .nm .l1,.top .nm small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top .wingrow{min-height:0;padding-top:0;padding-bottom:8px;display:block}
.top .wingrow .seg{display:flex;width:100%}.top .wingrow .seg button{flex:1}
.notice p,.notice h3,.cmt div,.card h3,.card p{unicode-bidi:plaintext;text-align:start}
.notice p,.cmt div,.card p{line-height:1.9}
@media(max-width:520px){.rc{padding:10px}.rc th,.rc td{padding:6px 4px;font-size:12.5px;white-space:normal}.rc .hd img{width:56px;height:56px}.rc .hd h3{font-size:15px}.rc .info{font-size:13px}
 .sheet th,.sheet td{padding:7px 5px}.sheet td input.mk{width:60px}.sheet td select{max-width:112px}.sheet td input.rm{width:100px!important}}

.trk{display:flex;gap:10px;align-items:center;justify-content:space-between;border-bottom:1px solid #edf2f7;padding:8px 0}
.trk .who{min-width:0;flex:1}.trk .st{display:flex;flex-direction:column;gap:4px;align-items:flex-end;flex:none}
.trk .st button{min-height:32px;padding:0 10px}

/* ===== v2 typography & polish ===== */
@font-face{font-family:'Poppins';font-weight:600;src:url(fonts/Poppins-600-latin.woff2) format('woff2');font-display:swap}
@font-face{font-family:'Poppins';font-weight:700;src:url(fonts/Poppins-700-latin.woff2) format('woff2');font-display:swap}
@font-face{font-family:'Poppins';font-weight:800;src:url(fonts/Poppins-800-latin.woff2) format('woff2');font-display:swap}
@font-face{font-family:'Inter';font-weight:400 600;src:url(fonts/Inter-400-latin.woff2) format('woff2');font-display:swap}
@font-face{font-family:'NastaliqB';font-weight:700;src:url(fonts/NotoNastaliqUrdu-700-arabic.woff2) format('woff2');font-display:swap}
@font-face{font-family:'Nastaliq';font-weight:400;src:url(fonts/nastaliq.woff2) format('woff2');font-display:swap}
@font-face{font-family:'Nastaliq';font-weight:700;src:url(fonts/NotoNastaliqUrdu-700-arabic.woff2) format('woff2');font-display:swap}
:root{--head:'Poppins','Inter',system-ui,sans-serif;--body:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;--ur:'Nastaliq','Inter',sans-serif}
body{font-family:var(--body);font-size:15.5px;color:#16212c}
h1,h2,h3,h4,.btn,button,.tile,.stat b,.top .nm,th,label,.pill{font-family:var(--head)}
body.ur,body.ur input,body.ur select,body.ur textarea{font-family:var(--ur)}
body.ur h1,body.ur h2,body.ur h3,body.ur h4,body.ur .btn,body.ur button,body.ur .tile,body.ur .top .nm,body.ur th,body.ur label,body.ur .pill,body.ur b,body.ur .stat span{font-family:'Nastaliq','Poppins',sans-serif;font-weight:700}
body.ur .num,body.ur .ltr{font-family:var(--head)}
.ur-txt{font-family:'Nastaliq',serif;line-height:2.2}
.ico{width:22px;height:22px;flex:none;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.tile .ic{background:linear-gradient(135deg,#e6f4fc,#d3ebf8);color:var(--sky2)}
.tile:nth-child(3n+2) .ic{background:linear-gradient(135deg,#fdecec,#fadada);color:var(--red)}
.tile:nth-child(3n) .ic{background:linear-gradient(135deg,#e9f7ef,#d6f0e1);color:var(--ok)}
.tile .ic .ico{width:26px;height:26px}
.tile{font-weight:600;font-size:14.5px;transition:transform .12s,box-shadow .12s}.tile:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(11,61,102,.16)}
.btn .ico,button .ico{width:19px;height:19px}
/* hero v2 */
.hero2{position:relative;color:#fff;overflow:hidden;background:#082c4b}
.hero2 .bg{position:absolute;inset:0;background-size:cover;background-position:center}
.hero2 .shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,44,75,.55),rgba(8,44,75,.88) 70%,rgba(8,44,75,.97))}
.hero2 .in{position:relative;max-width:1080px;margin:0 auto;padding:26px 16px 22px}
.hero2 .brand{display:flex;align-items:center;gap:14px}
.hero2 .brand img{width:84px;height:84px;border-radius:50%;background:#fff;padding:3px;box-shadow:0 6px 20px rgba(0,0,0,.35);flex:none}
.hero2 h1{font-family:'Poppins',sans-serif;font-weight:800;font-size:clamp(21px,5.6vw,36px);line-height:1.15;margin:0;letter-spacing:.3px}
.hero2 .sub{font-family:'Poppins';font-weight:600;font-size:13px;letter-spacing:1.5px;opacity:.9;margin-top:4px}
.hero2 .urn{font-family:'Nastaliq',serif;font-weight:700;font-size:clamp(20px,5vw,30px);line-height:2.1;margin-top:6px}
.hero2 .chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.hero2 .chip{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);border-radius:30px;padding:3px 12px;font-size:12.5px;font-weight:600;font-family:'Poppins';line-height:1.9}
body.ur .hero2 .chip{font-family:'Nastaliq';font-weight:700}
.hero2 .cta{justify-content:flex-start;margin-top:16px}
.pintro{display:grid;grid-template-columns:130px 1fr;gap:16px;align-items:center;background:#fff;border-radius:22px;box-shadow:0 14px 40px rgba(11,61,102,.18);padding:16px;margin-top:-14px;position:relative;border-top:5px solid var(--red)}
.pintro .ph{width:130px;height:160px;border-radius:16px;overflow:hidden;border:3px solid #fff;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.pintro .ph img{width:100%;height:100%;object-fit:cover;object-position:50% 12%;display:block}
.pintro .k{font-family:'Poppins';font-weight:700;color:var(--red);font-size:12px;letter-spacing:1.2px;text-transform:uppercase}
body.ur .pintro .k{font-family:'Nastaliq';letter-spacing:0;font-size:14px}
.pintro h2{margin:2px 0;color:var(--navy);font-size:21px;line-height:1.3}
body.ur .pintro h2{line-height:2}
.pintro p{margin:6px 0 0;color:#36475a;font-size:14.5px}
@media(max-width:480px){.pintro{grid-template-columns:104px 1fr;gap:12px;padding:12px}.pintro .ph{width:104px;height:132px}.pintro h2{font-size:18px}.pintro p{font-size:13.5px}}
.sec-h{display:flex;align-items:center;gap:10px;margin:0 0 14px}
.sec-h .bar{width:6px;height:28px;border-radius:4px;background:linear-gradient(var(--red),var(--sky))}
.sec-h h2{margin:0!important}
.feat{display:flex;gap:12px;align-items:center;background:#fff;border-radius:18px;padding:14px;box-shadow:var(--sh);border:1px solid #e3edf5;text-decoration:none;color:var(--ink);cursor:pointer}
.feat .ic{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#e6f4fc;color:var(--sky2);flex:none}
.feat:nth-child(2) .ic{background:#fdecec;color:var(--red)}.feat:nth-child(3) .ic{background:#e9f7ef;color:var(--ok)}.feat:nth-child(4) .ic{background:#fff4dd;color:#b26b00}
.feat b{display:block;font-family:var(--head);font-weight:600;line-height:1.4}.feat small{color:var(--mut)}
body.ur .feat b{font-family:'Nastaliq';font-weight:700;line-height:2}
.feat .go{margin-inline-start:auto;color:var(--sky2)}
.post{padding:0;overflow:hidden}.post .pb{padding:14px 16px}
.post img.pi,.post video,.post iframe{width:100%;display:block;background:#000;max-height:520px;object-fit:contain;border:0}
.post iframe{aspect-ratio:16/9;height:auto}
.post .who{display:flex;gap:10px;align-items:center}
.post .who .av{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#e7f0f7;color:var(--navy)}
.post p{white-space:pre-wrap;margin:8px 0 0}
/* login v2 */
.lg-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:14px}
.lg-tabs button{flex-direction:column;gap:2px;min-height:74px;background:#fff;color:var(--navy);border:2px solid var(--line);box-shadow:none;font-size:12.5px;padding:6px 4px;line-height:1.4}
body.ur .lg-tabs button{font-size:13px;line-height:1.8}
.lg-tabs button.on{background:var(--navy);color:#fff;border-color:var(--navy)}
.lg-head{display:flex;gap:12px;align-items:center;margin-bottom:6px}
.lg-head img{width:56px;height:56px;border-radius:50%;object-fit:cover;object-position:50% 15%;border:2px solid var(--line)}
/* stage switch */
.stagebar{display:flex;gap:6px;overflow-x:auto;padding:0 0 8px;scrollbar-width:none}
.stagebar button{flex:none;min-height:34px;padding:2px 12px;font-size:13px;background:rgba(255,255,255,.14);color:#fff;box-shadow:none;border-radius:20px}
.stagebar button.on{background:var(--red)}
/* stepper */
.steps{display:flex;gap:6px;margin:6px 0 12px;flex-wrap:wrap}
.steps span{flex:1 1 0;min-width:72px;text-align:center;font-size:12px;font-weight:600;font-family:var(--head);padding:6px 4px;border-radius:12px;background:#e9f0f6;color:var(--mut);line-height:1.5}
.steps span.on{background:var(--navy);color:#fff}.steps span.done{background:#dff3e7;color:var(--ok)}
body.ur .steps span{font-family:'Nastaliq';line-height:2}
/* result card v2 */
.rc2{background:#fff;max-width:794px;margin:0 auto;border:2px solid var(--navy);border-radius:6px;padding:0;overflow:hidden;font-family:var(--body)}
.rc2 .top-band{display:flex;align-items:center;gap:12px;padding:14px 16px;background:linear-gradient(90deg,#0b3d66,#0d6fa8);color:#fff}
.rc2 .top-band img{width:64px;height:64px;border-radius:50%;background:#fff;padding:2px;flex:none}
.rc2 .top-band h3{margin:0;font-family:'Poppins';font-weight:800;font-size:17px;line-height:1.2;color:#fff}
.rc2 .top-band .u{font-family:'Nastaliq';font-weight:700;font-size:16px;line-height:2}
.rc2 .top-band .s{font-size:11.5px;opacity:.9;letter-spacing:.5px}
.rc2 .title{display:flex;justify-content:space-between;align-items:center;padding:8px 16px;background:#fdecec;border-bottom:2px solid var(--red);font-family:'Poppins';font-weight:700;color:var(--red2);font-size:14px;letter-spacing:1px}
.rc2 .body{padding:14px 16px}
.rc2 .stu{display:flex;gap:14px;align-items:flex-start}
.rc2 .stu .ph{width:78px;height:92px;object-fit:cover;border-radius:6px;border:2px solid var(--line);flex:none}
.rc2 .kv{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;flex:1;font-size:13.5px}
.rc2 .kv div span{display:block;color:var(--mut);font-size:11px;text-transform:uppercase;letter-spacing:.6px;font-family:'Poppins';font-weight:600}
body.ur .rc2 .kv div span{font-family:'Nastaliq';text-transform:none;letter-spacing:0;font-size:12px}
.rc2 .kv b{font-family:'Poppins';font-weight:600;font-size:14px}
body.ur .rc2 .kv b{font-family:'Nastaliq'}
.rc2 table{margin-top:12px;border:1px solid #cfdce8;font-size:13.5px}
.rc2 th{background:#0b3d66;color:#fff;font-size:12.5px;text-align:center}
.rc2 td{text-align:center;border-bottom:1px solid #e3ebf2}.rc2 td:first-child,.rc2 th:first-child{text-align:start}
.rc2 tfoot td{background:#eef6fc;font-weight:700;font-family:'Poppins'}
.rc2 .sum{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:12px}
.rc2 .sum div{border:1px solid #cfdce8;border-radius:10px;text-align:center;padding:6px 4px}
.rc2 .sum b{display:block;font-family:'Poppins';font-weight:800;font-size:18px;color:var(--navy);line-height:1.3}
.rc2 .sum span{font-size:11px;color:var(--mut);font-family:'Poppins';font-weight:600}
body.ur .rc2 .sum span{font-family:'Nastaliq';font-size:12px}
.rc2 .rem{margin-top:12px;border:1px dashed #b9c9d8;border-radius:10px;padding:8px 12px;font-size:13.5px}
.rc2 .signs{display:flex;justify-content:space-between;gap:20px;margin-top:40px;padding:0 6px 6px}
.rc2 .signs div{flex:1;border-top:1.5px solid #333;text-align:center;padding-top:4px;font-size:12px;font-family:'Poppins';font-weight:600}
body.ur .rc2 .signs div{font-family:'Nastaliq'}
@media(max-width:520px){.rc2 .sum{grid-template-columns:repeat(3,1fr)}.rc2 .kv{grid-template-columns:1fr 1fr}.rc2 th,.rc2 td{padding:6px 4px;font-size:12px}.rc2 .stu .ph{width:62px;height:76px}}
@media print{@page{size:A4;margin:12mm}.rc2{border-width:2px;max-width:none}.rc2 .top-band,.rc2 th,.rc2 .title,.rc2 tfoot td{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

.hero2 .slides{position:absolute;inset:0}
.hero2 .slides div{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;animation:hfade 30s infinite;transform:scale(1.04)}
.hero2 .slides div:nth-child(1){animation-delay:0s}.hero2 .slides div:nth-child(2){animation-delay:6s}.hero2 .slides div:nth-child(3){animation-delay:12s}.hero2 .slides div:nth-child(4){animation-delay:18s}.hero2 .slides div:nth-child(5){animation-delay:24s}
@keyframes hfade{0%{opacity:0;transform:scale(1.04)}4%{opacity:1}20%{opacity:1}26%{opacity:0;transform:scale(1.12)}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.hero2 .slides div{animation:none}.hero2 .slides div:first-child{opacity:1}}
.hero2 .in{padding-top:34px;padding-bottom:34px;min-height:380px;display:flex;flex-direction:column;justify-content:flex-end}
.hero2 .dots{display:flex;gap:6px;margin-top:14px}.hero2 .dots i{width:22px;height:4px;border-radius:2px;background:rgba(255,255,255,.35)}.hero2 .dots i:first-child{background:#fff}
.statsx{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:linear-gradient(90deg,#0b3d66,#0d6fa8);border-radius:20px;color:#fff;margin:18px 0 0;overflow:hidden;box-shadow:0 10px 30px rgba(11,61,102,.25)}
.statsx div{padding:14px 10px;text-align:center;border-inline-end:1px solid rgba(255,255,255,.15)}.statsx div:last-child{border:0}
.statsx b{display:block;font-family:'Poppins';font-weight:800;font-size:22px;line-height:1.2}.statsx span{font-size:12px;opacity:.9;font-family:'Poppins';font-weight:600}
body.ur .statsx span{font-family:'Nastaliq';font-size:13px}
@media(max-width:560px){.statsx{grid-template-columns:repeat(2,1fr)}.statsx div:nth-child(2){border-inline-end:0}.statsx div:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.15)}}
.newsgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}.newsgrid .card{margin:0}
.foot2{background:#071f36;color:#c6d7e6;margin-top:24px;padding:28px 0 14px;font-size:14px}
.foot2 .cols{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:20px}
@media(max-width:640px){.foot2 .cols{grid-template-columns:1fr}}
.foot2 h4{color:#fff;margin:0 0 8px;font-size:15px}.foot2 a{color:#e6f1fa;text-decoration:none;display:block;padding:3px 0}
.foot2 .brand{display:flex;gap:10px;align-items:center;margin-bottom:8px}.foot2 .brand img{width:52px;height:52px;border-radius:50%;background:#fff}
.foot2 .brand b{color:#fff;font-family:'Poppins';line-height:1.3}
.foot2 .copy{border-top:1px solid rgba(255,255,255,.12);margin-top:18px;padding-top:12px;text-align:center;font-size:12px;opacity:.8}
.foot2 .ico{width:16px;height:16px;margin-inline-end:6px}

.iav,.lead .iav{color:#fff!important;display:flex;align-items:center;justify-content:center;flex:none;background:linear-gradient(135deg,#0b3d66,#1b6fa8);color:#fff;font-weight:800;font-family:Poppins,Inter,sans-serif;letter-spacing:.5px;border:3px solid #fff;box-shadow:var(--sh)}
.devcredit{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11.5px;color:#8a9bb0;padding:10px 8px 18px;text-align:center;line-height:1.9}
.foot2 .devcredit{color:#9fb4c8;border-top:1px solid rgba(255,255,255,.08);margin-top:12px;padding-bottom:6px}
.pfgrid textarea{width:100%;min-height:90px}

/* sign-up + account requests */
.su-tabs{grid-template-columns:repeat(3,1fr)}
.su-cta{text-align:center;margin-top:12px;border:2px dashed #b9d3e8;background:#f5faff}
.su-cta p{margin:0 0 10px;line-height:1.8}
body.ur .su-cta p{line-height:2.1}
.su-ok{width:72px;height:72px;border-radius:50%;background:#e9f7ef;color:var(--ok);display:flex;align-items:center;justify-content:center;margin:0 auto}
.su-ok svg{width:40px;height:40px}
.hp{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;opacity:0;pointer-events:none}
#sf{position:relative}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pill.warn{background:#fff4d6;color:#7a5200;border:1px solid #f1d58a}
.tile{position:relative}
.nbadge{position:absolute;top:8px;inset-inline-end:10px;background:#d62828;color:#fff;border-radius:12px;min-width:24px;height:24px;font-size:13px;line-height:24px;padding:0 7px;font-family:Inter,system-ui,sans-serif;font-weight:800}
.rq-dl{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;margin:8px 0 2px}
.rq-dl>div{display:flex;flex-direction:column;font-size:14px;line-height:1.6}
body.ur .rq-dl>div{line-height:2}
.rq-act{border-top:1px solid var(--line);margin-top:10px;padding-top:6px}
.rq-btns{gap:8px;margin-top:12px;flex-wrap:wrap}
.rq-btns button{flex:1 1 0;min-width:0;white-space:nowrap;font-size:14px;padding-inline:8px}
.rq-btns button.ok{flex:1.6 1 0}
button.ok{background:var(--ok);color:#fff}
button.red-t{color:#c0392b;border-color:#f0c4bf}
.rq-matches{display:flex;flex-direction:column;gap:6px;margin:6px 0}
.match{display:flex;gap:10px;align-items:flex-start;border:1.5px solid var(--line);border-radius:12px;padding:8px 10px;color:var(--ink);background:#fff;line-height:1.6}
body.ur .match{line-height:2}
.match input{width:22px;min-height:22px;margin-top:4px;flex:0 0 auto}
.match:has(input:checked){border-color:var(--ok);background:#f1fbf5}
.rq-search{margin-top:4px}
.seg.rq-tabs{margin:0 0 12px;display:flex;background:#e6eef6;border-radius:14px;padding:4px;gap:4px}
.seg.rq-tabs button{flex:1;background:transparent;color:var(--navy);box-shadow:none;border:0;min-height:44px}
.seg.rq-tabs button.on{background:#fff;color:var(--navy);box-shadow:0 1px 4px rgba(0,0,0,.12)}

/* ===== v1.0.3: phone fit (Android edge-to-edge safe areas, short screens) + clean header buttons + photo placeholders ===== */
:root{--sat:var(--safe-area-inset-top,env(safe-area-inset-top,0px));--sab:var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px));--sal:var(--safe-area-inset-left,env(safe-area-inset-left,0px));--sar:var(--safe-area-inset-right,env(safe-area-inset-right,0px))}
html{background:#071f36}
body{min-height:100vh;min-height:100dvh;padding-bottom:var(--sab);padding-left:var(--sal);padding-right:var(--sar);box-sizing:border-box}
body::after{content:"";position:fixed;left:0;right:0;bottom:0;height:var(--sab);background:#071f36;z-index:40;pointer-events:none}
.top{padding-top:var(--sat)}
.top .wrap{gap:8px;min-height:58px;padding-top:7px;padding-bottom:7px;padding-inline:12px}
.top img{width:42px;height:42px}
.top .nm{font-size:14.5px}
body.ur .top .nm{font-size:14.5px;line-height:1.75}
body.ur .top .nm small{line-height:1.6}
.top .tb{flex:none;height:40px;min-height:40px;min-width:46px;padding:0 11px;border-radius:12px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.14);color:#fff;font-size:14px;font-weight:700;line-height:1;white-space:nowrap;gap:0;overflow:visible}
.top .tb:active{background:rgba(255,255,255,.28)}
.top .tb .en-l{font-family:Poppins,Inter,sans-serif;font-size:14px;letter-spacing:.5px;line-height:1}
.top .tb .ur-l{font-family:'Nastaliq',serif;font-size:15px;line-height:1;position:relative;top:-2px}
.top .tb.tb-ic{width:40px;min-width:40px;padding:0}
.top .tb.tb-ic .ico{width:20px;height:20px}
.top .wingrow{padding-inline:12px}
.top .wingrow .seg button{min-height:34px;line-height:1.4}
body.ur .top .wingrow .seg button{line-height:1.6}
.stagebar{padding-inline:12px}
.stagebar.s5{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;overflow:visible}
.stagebar.s5 button{min-width:0;min-height:32px;padding:0 4px;font-size:12.5px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:16px}
body.ur .stagebar.s5 button{font-size:13px;line-height:1.7}
.toast{bottom:calc(22px + var(--sab))}
.lightbox{padding:calc(10px + var(--sat)) 10px calc(10px + var(--sab))}
.lightbox img,.lightbox video{max-height:90vh;max-height:calc(100dvh - 40px - var(--sat) - var(--sab))}
.banner-imp{line-height:1.9}
.iav.sil{background:linear-gradient(180deg,#eef3f8,#d3e0ec);align-items:flex-end;overflow:hidden;border:3px solid #fff}
.iav.sil svg{width:88%;height:88%;fill:#93a9be;display:block}
.photo-row{align-items:center;gap:8px}
.lp-row{align-items:center;flex-wrap:nowrap;gap:10px;border-bottom:1px solid #eef3f7;padding:8px 0}
.lp-row:last-of-type{border-bottom:0}
@media (max-height:680px){.hero2 .in{min-height:300px;padding-top:22px;padding-bottom:22px}}
@media (max-width:370px){.top .nm{font-size:13.5px}body.ur .top .nm{font-size:13.5px}.top img{width:38px;height:38px}.top .tb{min-width:42px;padding:0 9px}}

/* ===== v1.0.4: overlap fix, videos section, responsive tables, landscape ===== */
.pintro{height:auto;overflow:visible;margin-bottom:20px;align-items:start}
.pintro>div:last-child{min-width:0;overflow-wrap:anywhere}
.pintro .row{flex-wrap:wrap}
.statsx{position:relative;margin-top:0;clear:both}
.vgal{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.vgal video,.vwrap video,.vwrap iframe{width:100%;aspect-ratio:16/9;object-fit:contain;background:#000;border:0;border-radius:12px;display:block;cursor:auto}
.vwrap .vt{font-weight:700;color:var(--navy);padding:6px 4px 0;font-size:14px;line-height:1.6}
.vid-add{display:grid;gap:8px;margin-top:10px}
.vid-add input{width:100%}
.top .tb.tb-home .ico,.top .tb.tb-home svg{width:20px;height:20px}
.top .tb.tb-home{width:40px;min-width:40px;padding:0;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:600px){
 .tw{overflow-x:visible;border:0;background:transparent;border-radius:0}
 .tw table.rs{display:block;width:100%;min-width:0;border:0}
 .tw table.rs thead{display:none}
 .tw table.rs tbody,.tw table.rs tr{display:block;width:100%}
 .tw table.rs tr{background:#fff;border:1px solid var(--line);border-radius:14px;margin:0 0 10px;padding:6px 12px;box-shadow:var(--sh)}
 .tw table.rs td{display:flex;justify-content:space-between;align-items:center;gap:10px;border:0;padding:6px 0;white-space:normal;overflow-wrap:anywhere;text-align:start;width:auto}
 .tw table.rs td::before{content:attr(data-l);font-size:12px;color:var(--mut);flex:none;max-width:42%;font-weight:600}
 .tw table.rs td[data-l='']::before{display:none}
 .tw table.rs td[data-l='']{justify-content:flex-start;gap:8px;flex-wrap:wrap}
 .tw table.rs td input,.tw table.rs td select{max-width:58%;min-width:0}
}
@media(max-width:380px){.top .wrap{gap:6px}.top .tb{min-width:38px}.top .tb.tb-ic,.top .tb.tb-home{width:38px;min-width:38px}.top .nm .l1{font-size:13px}}
@media (orientation:landscape) and (max-height:520px){
 .top{position:sticky}
 .top .wrap{min-height:44px;padding-top:3px;padding-bottom:3px;gap:8px}
 .top img{width:32px;height:32px}
 .top .nm{font-size:14px}.top .nm small{display:none}
 .top .tb{height:34px;min-height:34px;min-width:38px;padding:0 9px;font-size:13px;border-radius:10px}
 .top .tb.tb-ic,.top .tb.tb-home{width:34px;min-width:34px}
 .top .wingrow{display:block;padding-bottom:4px}.top .wingrow .seg button{min-height:28px;font-size:13px;line-height:1.2}
 .stagebar,.stagebar.s5{padding-bottom:4px}.stagebar.s5 button,.stagebar button{min-height:28px;font-size:12px}
 .hero2 .in{min-height:0;padding-top:14px;padding-bottom:14px}
 .hero2 .brand img{width:54px;height:54px}.hero2 h1{font-size:22px}.hero2 .sub{font-size:11px;margin-top:0}.hero2 .urn{font-size:18px;line-height:1.7;margin-top:0}
 .hero2 .chips{margin-top:6px;gap:5px}.hero2 .chip{font-size:11px;line-height:1.6;padding:1px 9px}
 .hero2 .cta{margin-top:8px}.hero2 .dots{margin-top:8px}
 .sec{padding:14px 0}.sec h2{font-size:19px;margin-bottom:8px}.sec-h{margin-bottom:8px}.sec-h .bar{height:22px}
 .pintro{grid-template-columns:110px 1fr;gap:14px;padding:12px;margin-top:-8px}.pintro .ph{width:110px;height:136px}
 .pintro h2{font-size:18px;line-height:1.5}body.ur .pintro h2{line-height:1.9}
 .tiles{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}
 .card{padding:12px}
 .loginbox{margin:8px auto}.loginbox img{width:56px!important;height:56px!important}
 .lg-tabs button{min-height:40px}
 .foot2{padding:16px 0 10px}
 .lightbox img{max-height:92vh;max-width:96vw}
 html,body{min-height:0}
}
@media (orientation:landscape) and (max-height:520px) and (min-width:700px){.gal{grid-template-columns:repeat(4,1fr)}.statsx div{padding:8px 6px}.statsx b{font-size:18px}.stats{grid-template-columns:repeat(4,1fr)}}

.pintro{margin-top:14px!important;position:relative;z-index:1;display:grid;align-items:start}
.pintro .ph{align-self:start}
.statsx{margin-top:20px!important}

.rc2 .rsec{background:#0b3d66;color:#fff;font-weight:700;font-size:12px;letter-spacing:.5px;padding:5px 10px;margin:12px 0 6px;border-radius:4px}.rc2 .stu,.rc2 .sum,.rc2 .rem{border:1.5px solid #0b3d66;border-radius:6px;padding:8px}.rc2 table{border-collapse:collapse;width:100%}.rc2 table th,.rc2 table td{border:1px solid #0b3d66}.rc2 .signs{border-top:1.5px solid #0b3d66;padding-top:6px}@media print{.rc2 .rsec{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

.rc2 .stu .ph{width:92px;height:112px}
.rc2 .stu .phe{display:flex;align-items:center;justify-content:center;text-align:center;font-size:11px;font-weight:700;color:#9aa5b1;background:#f3f5f8;border:2px dashed #c9d2dc;border-radius:6px;flex:none}
.rc2{border:3px double #0b3d66;box-shadow:0 0 0 1px #f28c1c inset}
.rc2 .title{letter-spacing:.5px}

@media(max-width:600px){.tw.regw{overflow-x:auto;border:1px solid var(--line);background:#fff;border-radius:14px}
.tw.regw table{min-width:640px}.tw.regw th,.tw.regw td{padding:7px 6px;white-space:nowrap}
.tw.regw td:nth-child(2),.tw.regw th:nth-child(2){position:sticky;inset-inline-start:0;background:#fff;box-shadow:2px 0 4px rgba(0,0,0,.06);z-index:1}
.tw.regw input.cm,.tw.regw input.mk{width:56px}}

.av{object-position:50% 14%}
.lead img,.rc2 .stu .ph{object-position:50% 12%}
.lp-row{flex-wrap:wrap!important}
.lp-row>div{flex:1 1 140px!important;min-width:120px}
.lp-row label.btn{flex:1 1 100%!important;justify-content:center;text-align:center}
.regw-hint{display:none}
@media(max-width:600px){.regw-hint{display:block;font-size:12px;color:var(--mut);margin:4px 2px}}

.av,.lead img,.rc2 .stu .ph{object-view-box:inset(-16% 0 0 0);object-position:50% 0}

body.busy::before{content:"";position:fixed;top:0;left:0;height:3px;width:40%;background:#e8791d;z-index:9999;animation:bz 1s ease-in-out infinite}
@keyframes bz{0%{left:-40%}100%{left:100%}}

#homefab{position:fixed;right:14px;bottom:18px;z-index:9000;display:flex;align-items:center;gap:6px;background:#e8791d;color:#fff;padding:10px 16px;border-radius:999px;box-shadow:0 4px 14px rgba(0,0,0,.28);text-decoration:none;font-weight:700}
#homefab b{font-size:15px}
@media print{#homefab{display:none}}

#homefab{width:54px;height:54px;padding:0!important;justify-content:center;border-radius:50%!important;right:14px!important;bottom:22px!important;direction:ltr;opacity:.94}
#homefab b{display:none}

#homefab{position:fixed!important;left:50%!important;right:auto!important;top:auto!important;bottom:64px!important;transform:translateX(-50%)!important;width:auto!important;height:auto!important;padding:5px 20px!important;border:0!important;border-radius:14px!important;background:#e3f2fd!important;color:#1565c0!important;box-shadow:none!important;writing-mode:horizontal-tb!important;font:600 14px/1.2 Poppins,Arial,sans-serif!important;letter-spacing:0!important;opacity:1;display:block!important;direction:ltr;z-index:50}
body{padding-bottom:44px}
@media print{#homefab{display:none!important}}

body{padding-bottom:110px}
.rc2 table{width:100%;table-layout:auto}
.rc2 th,.rc2 td{padding:8px 3px!important;font-size:12.5px!important}
.rc2 table th:first-child,.rc2 table td:first-child{padding-left:6px!important}
@media(max-width:420px){.rc2 .tw,.rc2{overflow-x:visible}.rc2 table{font-size:12px}}

@media(max-width:480px){.rc2 table{font-size:11px!important;table-layout:fixed}.rc2 table th,.rc2 table td{padding:6px 2px!important;font-size:11px!important;white-space:normal!important;word-break:break-word;letter-spacing:0!important;text-align:center}.rc2 table th:first-child,.rc2 table td:first-child{width:30%;text-align:left}}
@media(max-width:480px){.rc2 table th{font-size:9px!important;padding:6px 1px!important;text-transform:none!important}.rc2 table th:first-child{width:28%}}
@media(max-width:480px){.rc2 table thead th,.rc2 table tr th,.rc2 table td{font-size:10px!important;letter-spacing:-.2px!important;padding:6px 1px!important}.rc2 table td:first-child,.rc2 table th:first-child{padding-left:4px!important}}

/* responsive pass */
html,body{max-width:100%;overflow-x:hidden}
img,video,canvas,iframe{max-width:100%;height:auto}
.wrap,.card,main{min-width:0;max-width:100%}
.tw{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
input,select,textarea{max-width:100%}
.row{flex-wrap:wrap}
@media(max-width:480px){
 .rc2 table{table-layout:auto!important}
 .rc2 table thead th,.rc2 table tr th,.rc2 table td{word-break:normal!important;overflow-wrap:normal!important;hyphens:none}
 .rc2 table th:first-child,.rc2 table td:first-child{width:auto!important}
 .rc2{padding-left:6px!important;padding-right:6px!important}
 h1{font-size:22px}h2{font-size:19px}
 .btn,button{max-width:100%}
}
#homefab{bottom:calc(64px + env(safe-area-inset-bottom,0px))!important}
.pill{max-width:100%;white-space:normal;text-align:center}.row>.pill{flex:0 1 auto!important;max-width:42%}
@media(max-width:480px){.rc2 .stu{gap:8px!important;padding:6px!important}.rc2 .stu .ph,.rc2 .stu .phe{width:58px!important;height:72px!important;flex:none}.rc2 .stu .kv{flex:1 1 0;min-width:0;display:grid;grid-template-columns:1fr 1fr;gap:6px}.rc2 .stu .kv>div{min-width:0}.rc2 .stu .kv b{font-size:12.5px;overflow-wrap:anywhere}.rc2 .stu .kv span{font-size:9.5px;letter-spacing:0;overflow-wrap:anywhere}.rc2 .top-band{padding-left:10px;padding-right:10px}}
.signs .sgi{display:block;margin:-34px auto 4px;max-height:44px;max-width:80%;mix-blend-mode:multiply}.signs>div{position:relative;padding-top:6px}.signs .sgn{font-weight:400;font-size:11px;color:#444}
#homefab{bottom:calc(36px + env(safe-area-inset-bottom,0px))!important}
.signs{border-top:0!important}
.signs .sgn{border-top:0!important;padding-top:0!important}
#homefab{bottom:calc(22px + env(safe-area-inset-bottom,0px))!important}
