/* OSIEPE PNG shared shell v3.0 — isolated from legacy dashboard CSS */
:root{
  --osh-navy:#0b2944;
  --osh-navy2:#123d61;
  --osh-blue:#175b8e;
  --osh-blue-soft:#eaf5fd;
  --osh-border:#d9e6f0;
  --osh-text:#1f3447;
  --osh-muted:#6b7f91;
  --osh-white:#fff;
  --osh-max:1450px;
}
html{min-height:100%;scroll-behavior:smooth}
body.osiepe-dashboard-page,
body.osiepe-login-page,
body.osiepe-register-page{
  margin:0!important;
  min-height:100vh!important;
  width:100%!important;
  max-width:none!important;
  display:flex!important;
  flex-direction:column!important;
  overflow-x:hidden!important;
  color:var(--osh-text)!important;
  background:#f4f8fc!important;
  font-family:"Segoe UI",Tahoma,Arial,sans-serif!important;
}
body .os-skip{
  position:fixed!important;top:-80px!important;left:14px!important;z-index:999999!important;
  padding:10px 14px!important;border-radius:0 0 10px 10px!important;
  background:#071d31!important;color:#fff!important;text-decoration:none!important;font-weight:800!important
}
body .os-skip:focus{top:0!important}

/* Header */
body .os-header{
  position:sticky!important;top:0!important;z-index:5000!important;width:100%!important;
  margin:0!important;padding:0!important;border:0!important;border-bottom:1px solid var(--osh-border)!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 5px 20px rgba(7,29,49,.08)!important;
  backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important
}
body .os-header .os-header-inner{
  width:min(var(--osh-max),calc(100% - 32px))!important;
  max-width:var(--osh-max)!important;min-height:82px!important;margin:0 auto!important;padding:0!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:24px!important
}
body .os-header .os-brand{
  flex:0 0 auto!important;min-width:210px!important;margin:0!important;padding:0!important;
  display:flex!important;align-items:center!important;gap:11px!important;
  color:var(--osh-navy)!important;text-decoration:none!important;background:none!important;border:0!important
}
body .os-header .os-brand-mark{
  width:62px!important;
  height:62px!important;
  flex:0 0 62px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
  margin:0!important;
  padding:4px!important;
  border:1px solid #d7e6f2!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 5px 15px rgba(23,91,142,.10)!important
}
body .os-header .os-brand-mark img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:auto!important;
  padding:0!important;
  border:0!important;
  border-radius:9px!important
}
body .os-header .os-brand-copy{display:block!important;min-width:0!important;line-height:1.12!important}
body .os-header .os-brand-copy strong{
  display:block!important;margin:0!important;padding:0!important;color:#071d31!important;
  font-size:17px!important;font-weight:900!important;line-height:1.15!important;white-space:nowrap!important
}
body .os-header .os-brand-copy small{
  display:block!important;margin:4px 0 0!important;padding:0!important;color:var(--osh-muted)!important;
  font-size:9.5px!important;font-weight:700!important;letter-spacing:.25px!important;white-space:nowrap!important
}
body .os-header .os-nav{
  flex:1 1 auto!important;min-width:0!important;margin:0!important;padding:0!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;
  position:static!important;background:transparent!important;border:0!important;box-shadow:none!important
}
body .os-header .os-nav-links{
  min-width:0!important;margin:0!important;padding:0!important;
  display:flex!important;align-items:center!important;gap:3px!important;flex-wrap:nowrap!important
}
body .os-header .os-nav-links a{
  position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:38px!important;margin:0!important;padding:9px 10px!important;border:0!important;border-radius:9px!important;
  color:#41586d!important;background:transparent!important;text-decoration:none!important;
  font-size:12px!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important
}
body .os-header .os-nav-links a:hover{color:var(--osh-blue)!important;background:#f4f9fd!important}
body .os-header .os-nav-links a.is-active{color:#0e4d79!important;background:var(--osh-blue-soft)!important}
body .os-header .os-nav-links a.is-active:after{
  content:""!important;position:absolute!important;left:10px!important;right:10px!important;bottom:-8px!important;
  height:3px!important;border-radius:99px!important;background:#1e73ad!important
}
body .os-header .os-account{
  flex:0 0 auto!important;margin:0!important;padding:0!important;
  display:flex!important;align-items:center!important;gap:10px!important
}
body .os-header .os-user{display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;padding:0!important}
body .os-header .os-user-avatar{
  width:34px!important;height:34px!important;flex:0 0 34px!important;display:grid!important;place-items:center!important;
  margin:0!important;padding:0!important;border-radius:50%!important;color:#fff!important;
  background:linear-gradient(135deg,#175b8e,#2b7fb6)!important;font-size:13px!important;font-weight:900!important
}
body .os-header .os-user-copy{display:block!important;max-width:145px!important;min-width:0!important;line-height:1.1!important}
body .os-header .os-user-copy strong,
body .os-header .os-user-copy small{
  display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;margin:0!important;padding:0!important
}
body .os-header .os-user-copy strong{color:#20384d!important;font-size:11px!important;font-weight:900!important}
body .os-header .os-user-copy small{margin-top:3px!important;color:#6b7f91!important;font-size:9px!important}
body .os-header .os-signout,
body .os-header .os-login{
  min-height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  margin:0!important;padding:9px 13px!important;border-radius:9px!important;text-decoration:none!important;
  font-size:11px!important;font-weight:900!important;white-space:nowrap!important
}
body .os-header .os-signout{color:#9f1d2f!important;border:1px solid #ffd5db!important;background:#fff4f5!important}
body .os-header .os-login{color:#fff!important;border:1px solid #175b8e!important;background:#175b8e!important}
body .os-header .os-menu-toggle{
  width:44px!important;height:44px!important;margin-left:auto!important;padding:0!important;display:none!important;
  border:1px solid #d8e6f0!important;border-radius:11px!important;background:#f4f9fd!important;cursor:pointer!important
}
body .os-header .os-menu-toggle span{
  display:block!important;width:20px!important;height:2px!important;margin:4px auto!important;padding:0!important;
  border-radius:99px!important;background:#0b2944!important
}

/* Main page frame */
body .os-page-shell{width:100%!important;flex:1 0 auto!important;margin:0!important;padding:0!important}
body .os-main{width:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important}
body.osiepe-dashboard-page .os-main>.container{
  width:min(var(--osh-max),calc(100% - 32px))!important;max-width:var(--osh-max)!important;
  margin:26px auto 34px!important;padding:0!important
}

/* Footer */
body .os-footer{
  width:100%!important;margin:auto 0 0!important;padding:0!important;border:0!important;
  border-top:1px solid rgba(255,255,255,.08)!important;color:#d8e7f5!important;
  background:linear-gradient(135deg,#071d31,#0b2944 60%,#11476e)!important;
  box-shadow:none!important
}
body .os-footer .os-footer-inner{
  width:min(var(--osh-max),calc(100% - 32px))!important;max-width:var(--osh-max)!important;
  min-height:108px!important;margin:0 auto!important;padding:24px 0!important;
  display:grid!important;grid-template-columns:minmax(250px,1.2fr) minmax(260px,auto) minmax(210px,.75fr)!important;
  align-items:center!important;gap:28px!important
}
body .os-footer .os-footer-brand{margin:0!important;padding:0!important}
body .os-footer .os-footer-brand strong{
  display:block!important;margin:0!important;padding:0!important;color:#fff!important;font-size:14px!important;font-weight:900!important
}
body .os-footer .os-footer-brand span{
  display:block!important;max-width:440px!important;margin:6px 0 0!important;padding:0!important;
  color:#b8cde0!important;font-size:10px!important;line-height:1.55!important
}
body .os-footer .os-footer-nav{
  margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;
  gap:6px!important;flex-wrap:wrap!important;background:transparent!important;border:0!important
}
body .os-footer .os-footer-nav a{
  display:inline-flex!important;align-items:center!important;min-height:34px!important;margin:0!important;padding:7px 9px!important;
  border-radius:8px!important;color:#dceaf6!important;background:transparent!important;
  font-size:10px!important;font-weight:800!important;text-decoration:none!important
}
body .os-footer .os-footer-nav a:hover{color:#fff!important;background:rgba(255,255,255,.08)!important}
body .os-footer .os-footer-meta{margin:0!important;padding:0!important;text-align:right!important}
body .os-footer .os-footer-meta span{
  display:block!important;margin:0!important;padding:0!important;color:#9fb8cc!important;font-size:9.5px!important;line-height:1.55!important
}

/* Responsive */
@media(max-width:1180px){
  body .os-header .os-header-inner{width:calc(100% - 24px)!important}
  body .os-header .os-menu-toggle{display:block!important}
  body .os-header .os-nav{
    position:absolute!important;top:100%!important;left:12px!important;right:12px!important;
    width:auto!important;max-height:calc(100vh - 90px)!important;overflow:auto!important;
    display:none!important;margin:0!important;padding:14px!important;border:1px solid var(--osh-border)!important;
    border-top:0!important;border-radius:0 0 14px 14px!important;background:#fff!important;
    box-shadow:0 18px 34px rgba(7,29,49,.14)!important
  }
  body .os-header .os-nav.is-open{display:block!important}
  body .os-header .os-nav-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  body .os-header .os-nav-links a{justify-content:flex-start!important;padding:12px!important}
  body .os-header .os-nav-links a.is-active:after{display:none!important}
  body .os-header .os-account{
    margin-top:12px!important;padding-top:12px!important;border-top:1px solid var(--osh-border)!important;
    justify-content:space-between!important
  }
  body .os-footer .os-footer-inner{grid-template-columns:1fr auto!important}
  body .os-footer .os-footer-nav{justify-content:flex-end!important}
  body .os-footer .os-footer-meta{
    grid-column:1/-1!important;padding-top:14px!important;border-top:1px solid rgba(255,255,255,.08)!important;text-align:left!important
  }
  body .os-footer .os-footer-meta span{display:inline!important}
  body .os-footer .os-footer-meta span+span:before{content:" • "!important}
}
@media(max-width:700px){
  body .os-header .os-header-inner{width:calc(100% - 20px)!important;min-height:72px!important;gap:10px!important}
  body .os-header .os-brand{min-width:0!important;gap:9px!important}
  body .os-header .os-brand-mark{width:54px!important;height:54px!important;flex-basis:54px!important;padding:3px!important;overflow:visible!important}
  body .os-header .os-brand-copy strong{max-width:170px!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:14px!important}
  body .os-header .os-brand-copy small{display:none!important}
  body .os-header .os-nav{left:8px!important;right:8px!important}
  body .os-header .os-nav-links{grid-template-columns:1fr!important}
  body .os-header .os-account{align-items:stretch!important;flex-direction:column!important}
  body .os-header .os-signout,body .os-header .os-login{width:100%!important;min-height:44px!important}
  body.osiepe-dashboard-page .os-main>.container{width:calc(100% - 20px)!important;margin:16px auto 24px!important}
  body .os-footer .os-footer-inner{
    width:calc(100% - 24px)!important;min-height:0!important;grid-template-columns:1fr!important;
    gap:16px!important;padding:22px 0 calc(22px + env(safe-area-inset-bottom))!important
  }
  body .os-footer .os-footer-nav{justify-content:flex-start!important}
  body .os-footer .os-footer-meta{grid-column:auto!important;padding-top:14px!important;text-align:left!important}
}
@media(max-width:390px){
  body .os-header .os-brand-copy strong{max-width:130px!important}
  body .os-footer .os-footer-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
