/* O1NCE STEP108C8: shared PHP production footer */
.o1p-footer{box-sizing:border-box;clear:both;position:relative;z-index:1;margin-top:42px;background:#0c5ca5;color:#fff;padding:24px clamp(16px,4vw,46px);font:14px/1.55 system-ui,-apple-system,Segoe UI,Arial,sans-serif}
.o1p-footer *{box-sizing:border-box}.o1p-brand{display:flex;align-items:center;gap:14px;justify-content:center}.o1p-brand img{max-width:68px;max-height:68px;object-fit:contain}.o1p-brand strong{display:block;font-size:19px;color:#fff}.o1p-brand span{display:block;color:#dcefff}.o1p-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:900px;margin:20px auto}.o1p-stats>div{padding:13px 8px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:10px;text-align:center}.o1p-stats strong{display:block;font-size:22px;color:#fff;font-variant-numeric:tabular-nums}.o1p-stats span{display:block;color:#ecf7ff;font-size:12px}.o1p-note{text-align:center;color:#dcefff;font-size:11px;margin:12px 0 0}@media(max-width:560px){.o1p-stats{gap:5px}.o1p-stats>div{padding:9px 4px}.o1p-stats strong{font-size:17px}.o1p-stats span{font-size:10px}}

/* O1NCE STEP108C11: consistent header, title line and bottom footer */
html{min-height:100%}
body:has(> #o1-prod-header-108c11){min-height:100vh!important;display:flex!important;flex-direction:column!important;overflow-x:hidden}
body:has(> #o1-prod-header-108c11)>main{width:min(100%,1200px);max-width:1200px;margin:0 auto!important;flex:0 0 auto}
body:has(> #o1-prod-header-108c11)>#o1-prod-footer-108c8{margin-top:auto!important;flex-shrink:0}
.o1p-header,.o1p-header *{box-sizing:border-box}
.o1p-header{flex:0 0 auto;position:relative;z-index:10;width:100%;background:#0c5ca5;color:#fff;border-bottom:1px solid rgba(255,255,255,.22);font:14px/1.45 system-ui,-apple-system,'Segoe UI',Arial,sans-serif}
.o1p-head-inner,.o1p-title-line{width:100%;max-width:1200px;margin:0 auto;padding:13px 20px}
.o1p-head-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.o1p-identity{display:flex;align-items:center;gap:11px;text-decoration:none!important;color:white!important}
.o1p-identity img{width:55px;height:55px;object-fit:contain;flex-shrink:0}
.o1p-identity strong{display:block;color:white;font-size:20px;line-height:1.2;font-weight:750}
.o1p-identity small{display:block;color:#dcefff;font-size:12px;margin-top:4px}
.o1p-head-nav{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.o1p-head-nav a{color:#fff!important;text-decoration:none!important;border:1px solid #77b1d7;border-radius:8px;padding:7px 10px;font-size:12px;background:#094a85}
.o1p-head-nav a:hover,.o1p-head-nav a:focus-visible{background:#186fae;outline-color:#ffd970}
.o1p-title-line{padding-top:10px;padding-bottom:14px;border-top:1px solid rgba(255,255,255,.17)}
.o1p-title-line h2{color:#fff!important;margin:0!important;font-size:clamp(17px,2.3vw,25px)!important;line-height:1.25!important;font-weight:750!important}
.o1p-title-line p{margin:4px 0 0;color:#dcefff;font-size:13px;line-height:1.5;text-align:left}
.o1p-footer{width:100%;margin-top:auto!important;flex-shrink:0}
.o1p-footer .o1p-brand,.o1p-footer .o1p-stats,.o1p-footer .o1p-note{max-width:1200px;margin-left:auto;margin-right:auto}
@media(max-width:700px){.o1p-head-inner,.o1p-title-line{padding-left:15px;padding-right:15px}.o1p-identity strong{font-size:17px}.o1p-head-nav{width:100%}.o1p-title-line{padding-top:9px;padding-bottom:12px}}

/* STEP108C12 bilingual standardization: scope only the O1NCE injected chrome. */
.o1p-head-nav a[aria-current="page"]{background:#fff!important;color:#0c5ca5!important;border-color:#fff;font-weight:750}
.o1p-head-nav a:focus-visible{outline:3px solid #ffc85c;outline-offset:2px}
.o1p-title-line p[lang="ur"]{direction:rtl;text-align:left;unicode-bidi:isolate;font-family:system-ui,'Noto Nastaliq Urdu','Noto Naskh Arabic',sans-serif}
body:has(> #o1-prod-header-108c11)>.wrap,
body:has(> #o1-prod-header-108c11)>.container{max-width:1200px!important;width:min(100%,1200px)!important;margin-left:auto!important;margin-right:auto!important}
body:has(> #o1-prod-header-108c11) .o1p-footer{width:100%}
@media(max-width:770px){.o1p-head-nav{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin;padding-bottom:3px}.o1p-head-nav a{white-space:nowrap}.o1p-header{max-width:100vw}}
@media print{#o1-prod-header-108c11,#o1-prod-footer-108c8{display:none!important}body:has(> #o1-prod-header-108c11){display:block!important}}
