/* Shared Sahaj Connect public header.
   Kept deliberately self-contained so it can be used by the public site,
   guest portals and the pre-auth Workspace shell without changing their
   page-specific layout styles. */
.sc-topbar,.sc-site-header,.sc-topbar *,.sc-site-header *{box-sizing:border-box}
.sc-topbar{background:#063464;color:#fff;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:.72rem}
.sc-topbar__inner,.sc-header-inner{width:min(calc(100% - 48px),1540px);max-width:none;margin:0 auto}
.sc-topbar__inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:32px;padding:5px 0}
.sc-topbar__facts,.sc-topbar__social{display:flex;align-items:center;gap:24px}
.sc-topbar__facts span,.sc-topbar__facts a{display:inline-flex;align-items:center;gap:5px;color:#fff;text-decoration:none}
.sc-topbar .ds-icon{width:14px;height:14px;flex:0 0 auto}
.sc-topbar__social{gap:9px;margin-left:auto}
.sc-topbar__social a{width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.12);color:#fff;font-size:.62rem;font-weight:900;text-decoration:none;text-transform:uppercase}
.sc-topbar__social a:hover{background:#fff;color:#063464}

.sc-site-header{position:relative;z-index:50;background:rgba(255,255,255,.98);border-bottom:1px solid #dbe7f3;box-shadow:0 8px 26px rgba(5,47,89,.08);backdrop-filter:saturate(170%) blur(12px);font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.sc-site-header.is-sticky{position:sticky;top:0}
.sc-header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:86px;padding:10px 0}
.sc-brand{display:inline-flex;align-items:center;gap:14px;white-space:nowrap;text-decoration:none;flex:0 0 auto;padding:4px 0}
.sc-brand:hover{text-decoration:none}
.sc-brand__img{height:58px;width:auto;max-width:78px;object-fit:contain;display:block;flex:0 0 auto;filter:drop-shadow(0 5px 8px rgba(3,61,110,.18))}
.sc-brand__mark{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:14px;background:linear-gradient(135deg,#0f55ee,#00a879);box-shadow:0 7px 18px rgba(4,69,132,.2);color:#fff;font-size:1rem;font-weight:950}
.sc-brand__txt{display:flex;flex-direction:column;line-height:1.04;min-width:0}
.sc-brand__name{white-space:nowrap;font-weight:950;font-size:1.5rem;letter-spacing:-.045em;background:linear-gradient(95deg,#063f9a 4%,#008a63 78%);-webkit-background-clip:text;background-clip:text;color:transparent}
.sc-brand__sub{white-space:nowrap;font-weight:800;font-size:.73rem;color:#173f84;letter-spacing:.025em;margin-top:5px}
.sc-nav-toggle{display:none;background:none;border:none;font-size:1.7rem;color:#063f9a;cursor:pointer;line-height:1}
.sc-nav-toggle .ds-icon{width:23px;height:23px}
.sc-site-nav{display:flex;align-items:center;gap:4px;flex-wrap:nowrap}
.sc-site-nav>a,.sc-nav-group{position:relative;font-size:.88rem;padding:10px 11px;border-radius:10px;font-weight:800;color:#113a78;white-space:nowrap;text-decoration:none;transition:background .16s,color .16s,transform .16s}
.sc-site-nav>a:hover,.sc-nav-group:hover,.sc-site-nav>a.is-active,.sc-nav-group.is-active{background:linear-gradient(135deg,#edf4ff,#e9f7f1);color:#007e5d;text-decoration:none;transform:translateY(-1px)}
.sc-site-nav>a:after{content:"";position:absolute;left:12px;right:12px;bottom:4px;height:2px;border-radius:2px;background:#0d4bd4;transform:scaleX(0);transition:transform .16s}
.sc-site-nav>a:hover:after,.sc-site-nav>a.is-active:after{transform:scaleX(1)}
.sc-nav-group{cursor:default}
.sc-nav-drop{display:none;position:absolute;left:0;top:calc(100% + 7px);background:#fff;border:1px solid #dce7f2;border-radius:13px;box-shadow:0 16px 36px rgba(15,34,51,.15);min-width:220px;padding:8px;flex-direction:column;z-index:60}
.sc-nav-group:hover>.sc-nav-drop,.sc-nav-group:focus-within>.sc-nav-drop{display:flex}
.sc-nav-drop a{padding:10px 12px;border-radius:9px;white-space:nowrap;color:#173e78;font-weight:750;text-decoration:none}
.sc-nav-drop a:hover,.sc-nav-drop a.is-active{background:linear-gradient(135deg,#edf4ff,#e9f7f1);color:#007e5d;text-decoration:none}
.sc-hdr-actions{display:inline-flex;align-items:center;gap:9px;margin-left:8px}
.sc-site-nav .sc-hdr-wa{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:#fff;background:linear-gradient(135deg,#00a879,#007e60);border:1px solid #008568;border-radius:11px;padding:11px 12px;font-weight:850;text-decoration:none;white-space:nowrap;box-shadow:0 7px 17px rgba(0,142,104,.2)}
.sc-site-nav .sc-hdr-wa:hover{background:linear-gradient(135deg,#008f69,#006f57);border-color:#006f57;color:#fff;transform:translateY(-1px)}
.sc-hdr-wa svg{width:21px;height:21px;fill:currentColor;flex:0 0 auto}
.sc-site-nav .sc-hdr-portal{display:inline-flex;align-items:center;gap:11px;background:linear-gradient(135deg,#174ff7,#063bcf);color:#fff;border:1px solid #0a3fe2;border-radius:11px;padding:10px 17px;font-weight:900;text-decoration:none;white-space:nowrap;box-shadow:0 9px 20px rgba(18,61,242,.24)}
.sc-site-nav .sc-hdr-portal:hover{background:linear-gradient(135deg,#063ee5,#022cb0);border-color:#022cb0;color:#fff;transform:translateY(-1px)}
.sc-hdr-portal__copy{display:flex;flex-direction:column;line-height:1.05}
.sc-hdr-portal__copy small{font-size:.61rem;font-weight:700;opacity:.87;margin-top:4px}
.sc-hdr-wa:focus-visible,.sc-hdr-portal:focus-visible,.sc-nav-toggle:focus-visible,.sc-site-nav a:focus-visible{outline:3px solid #7cc4a3;outline-offset:2px}

/* Page wrapper for layouts that previously centered content directly on body. */
body.sc-public-shell{margin:0;min-height:100vh;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:0;background:#f4f7fb}
.sc-public-page-main{box-sizing:border-box;width:100%;min-width:0;flex:1;display:flex;align-items:center;justify-content:center;padding:32px 20px}
body.ds-ws--auth.sc-public-shell{display:flex;align-items:stretch;justify-content:flex-start;min-height:100vh;padding:0}

@media(max-width:1500px){
  .sc-brand{gap:11px}.sc-brand__img{height:54px;max-width:72px}.sc-brand__name{font-size:1.4rem}
  .sc-site-nav>a,.sc-nav-group{padding:9px 7px;font-size:.8rem}.sc-hdr-wa__text{display:none}.sc-hdr-actions{margin-left:4px}.sc-header-inner{gap:10px}
}
@media(max-width:1080px){
  .sc-hdr-wa__text{display:inline}
  .sc-nav-toggle{display:grid;place-items:center;width:44px;height:44px;border:1px solid #d7e3f0;border-radius:11px;background:#f3f7fc;color:#063f9a}
  .sc-site-nav{position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid #dbe7f3;flex-direction:column;align-items:stretch;gap:5px;padding:14px 18px 18px;display:none;box-shadow:0 18px 34px rgba(15,34,51,.14)}
  .sc-site-nav.open{display:flex}
  .sc-site-nav>a,.sc-nav-group{font-size:1rem;padding:12px 14px}
  .sc-site-nav>a:after{display:none}
  .sc-hdr-actions{margin:8px 0 0;flex-direction:column;align-items:stretch;gap:8px}
  .sc-site-nav .sc-hdr-wa,.sc-site-nav .sc-hdr-portal{justify-content:center;width:100%}
  .sc-nav-drop{position:static;display:flex;box-shadow:none;border:0;padding:0 0 6px 12px;min-width:0}
}
@media(max-width:720px){
  .sc-topbar{display:none}.sc-header-inner{width:min(calc(100% - 30px),1540px);min-height:70px}
  .sc-brand__img{height:46px;max-width:60px}.sc-brand__mark{width:46px;height:46px;border-radius:12px}.sc-brand__name{font-size:1.16rem}.sc-brand__sub{font-size:.62rem;margin-top:3px}
  .sc-public-page-main{align-items:flex-start;padding:24px 15px}
}
@media(max-width:390px){.sc-brand__sub{max-width:205px;overflow:hidden;text-overflow:ellipsis}}
