/* ProshnoMaker — সব পাতায় একই লোগো (ড্যাশবোর্ড/জেনারেটর হেডারের মাপ) ও মোবাইল-বান্ধব হেডার।
   লোগোর মাপ: ডেস্কটপ ৩০০×৭২, ≤১১০০px ২৩০×৬০, ≤৯০০px ১৯০×৫২। হেডারের উচ্চতা: ৭৮ / ৬৮ / ৬২ (pm-ui.css-এর সাথে একই)।
   এই ফাইল সবার শেষে লোড হয়, তাই আগের সব ছোট-বড় "hotfix" মাপ এটি ছাপিয়ে যায়। */
html body{--pm-hdr-h:78px;--pm-logo-w:300px;--pm-logo-h:72px}
@media(max-width:1100px){html body{--pm-hdr-h:68px;--pm-logo-w:230px;--pm-logo-h:60px}}
@media(max-width:900px){html body{--pm-logo-w:190px;--pm-logo-h:52px}}
@media(max-width:650px){html body{--pm-hdr-h:62px}}

/* ---- শিক্ষক পাতা (teacher/_nav.php): হেডার ও লোগো ---- */
html body .pp-topbar-enhanced{height:var(--pm-hdr-h)!important;min-height:var(--pm-hdr-h)!important;max-height:var(--pm-hdr-h)!important}
html body .pp-topbar-enhanced .pp-header-left{flex:0 0 auto!important;width:auto!important;height:var(--pm-logo-h)!important;max-height:var(--pm-logo-h)!important;overflow:visible!important;gap:6px!important}
html body .pp-topbar-enhanced .pp-header-brand.pp-header-bangla-logo{flex:0 1 var(--pm-logo-w)!important;width:var(--pm-logo-w)!important;max-width:var(--pm-logo-w)!important;min-width:110px!important;height:var(--pm-logo-h)!important;min-height:0!important;max-height:var(--pm-logo-h)!important;overflow:visible!important}
html body .pp-topbar-enhanced .pp-header-brand.pp-header-bangla-logo img{display:block!important;width:100%!important;max-width:var(--pm-logo-w)!important;height:auto!important;max-height:var(--pm-logo-h)!important;object-fit:contain!important;object-position:left center!important}
html body .sidebar{top:var(--pm-hdr-h)!important;height:calc(100vh - var(--pm-hdr-h))!important}
html body .main{padding-top:var(--pm-hdr-h)!important}
@media(max-width:900px){html body .pp-header-nav{display:none!important}}
@media(max-width:650px){
  html body .pp-topbar-enhanced{padding:0 8px!important;gap:6px!important}
  html body .pp-user-name,html body .user-pill .badge,html body .pp-header-logout{display:none!important}
}

/* ---- জেনারেটর/ড্যাশবোর্ড/রিচার্জ পাতার হেডার (teacher/_gen_shell.php) ---- */
html body .pm-public-bar .pm-brand{flex:0 1 var(--pm-logo-w)!important;min-width:110px!important}
html body .pm-public-bar .pm-brand img{width:var(--pm-logo-w)!important;max-width:100%!important;height:auto!important;max-height:var(--pm-logo-h)!important;object-fit:contain!important}
html body .pm-public-bar .pm-gen-language{display:none!important}
@media(max-width:650px){
  html body .pm-public-bar{gap:6px!important;padding:0 8px!important}
  html body .pm-public-bar a.pm-dash{display:none!important}
  html body .pm-public-bar a.pm-register{min-height:34px!important;padding:0 9px!important;font-size:13px!important}
  html body .pm-public-bar .pm-tools{margin-left:4px!important;gap:6px!important}
  html body .pm-bal .pm-bal-w{display:none}
}

/* ---- হোমপেজ (index.php) ---- */
html body .pm-home-header{height:var(--pm-hdr-h)!important;min-height:var(--pm-hdr-h)!important;max-height:var(--pm-hdr-h)!important;padding-top:0!important;padding-bottom:0!important}
html body .pm-home-layout{padding-top:var(--pm-hdr-h)!important;min-height:calc(100vh - var(--pm-hdr-h))!important}
html body .pm-home-sidebar{top:var(--pm-hdr-h)!important;height:calc(100vh - var(--pm-hdr-h))!important}
html body .pm-home-brand.pm-home-bangla-logo{flex:0 1 var(--pm-logo-w)!important;width:var(--pm-logo-w)!important;max-width:var(--pm-logo-w)!important;min-width:110px!important;height:var(--pm-logo-h)!important;min-height:0!important;max-height:var(--pm-logo-h)!important;overflow:visible!important}
html body .pm-home-brand.pm-home-bangla-logo img{display:block!important;width:100%!important;max-width:var(--pm-logo-w)!important;height:auto!important;max-height:var(--pm-logo-h)!important;object-fit:contain!important;object-position:left center!important}
@media(max-width:480px){
  html body .pm-home-header{padding-left:8px!important;padding-right:8px!important;gap:6px!important}
  html body .pm-home-auth a.register{display:none!important}
}

/* ---- লগইন / রেজিস্টার / পাসওয়ার্ড পাতা ---- */
html body .pm-auth-brand{display:block!important;text-align:center!important;padding:0 0 10px!important;margin:0 0 6px!important;border:0!important}
html body .pm-auth-brand .pm-auth-logo{display:inline-block}
html body .pm-auth-brand img{width:var(--pm-logo-w)!important;max-width:92%!important;height:auto!important;max-height:var(--pm-logo-h)!important;object-fit:contain!important;border-radius:0!important}
html body .pm-auth-brand p{margin:8px 0 0!important}
