/* Central shell geometry. The brand mark left edge is exactly 20px from the viewport edge,
   matching the PRIVATE INBOX label inset (.inbox-heading horizontal padding: 20px). */
.msac-site-header.msac-shared-header {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  height: 76px !important;
  min-height: 76px !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 20px !important;
  padding-right: clamp(18px, 4vw, 64px) !important;
  gap: 18px !important;
  background: rgba(255,255,255,.97) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(0,0,0,.08) !important;
  box-shadow: none !important;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.msac-shared-header .msac-site-brand { display:inline-flex !important; flex:0 0 auto !important; align-items:center !important; gap:10px !important; margin:0 !important; padding:0 !important; text-decoration:none !important; }
.msac-shared-header .msac-site-brand-mark { width:38px !important; height:38px !important; flex:0 0 38px !important; display:inline-flex !important; align-items:center !important; justify-content:center !important; border:1px solid #d8d8d8 !important; border-radius:50% !important; color:#171717 !important; font:500 21px/1 Georgia,'Times New Roman',serif !important; }
.msac-shared-header .msac-site-brand-copy { display:flex !important; flex-direction:column !important; align-items:flex-start !important; gap:4px !important; line-height:1 !important; }
.msac-shared-header .msac-site-brand-copy strong { margin:0 !important; color:#171717 !important; font:700 14px/1.05 'Segoe UI',system-ui,sans-serif !important; letter-spacing:1.55px !important; }
.msac-shared-header .msac-site-brand-copy small { margin:0 !important; color:#777 !important; font:600 8px/1.1 'Segoe UI',system-ui,sans-serif !important; letter-spacing:2.35px !important; }
.msac-shared-header .msac-site-nav { display:flex !important; flex:0 1 auto !important; align-items:center !important; justify-content:center !important; flex-wrap:nowrap !important; gap:4px !important; min-width:0 !important; margin:0 auto !important; padding:0 !important; }
.msac-shared-header .msac-site-nav a { position:relative !important; display:inline-flex !important; align-items:center !important; justify-content:center !important; min-height:36px !important; margin:0 !important; padding:8px 12px !important; border:0 !important; border-radius:0 !important; background:transparent !important; color:#222 !important; font:500 12px/1.2 'Segoe UI',system-ui,sans-serif !important; text-decoration:none !important; white-space:nowrap !important; }
.msac-shared-header .msac-site-nav a[aria-current="page"] { color:#128c7e !important; font-weight:700 !important; }
.msac-shared-header .msac-site-account { position:relative !important; display:flex !important; flex:0 0 auto !important; align-items:center !important; justify-content:flex-end !important; gap:9px !important; margin:0 !important; padding:0 !important; }
.msac-shared-header .msac-profile-control { position:relative !important; display:flex !important; align-items:center !important; width:230px !important; min-width:230px !important; height:42px !important; box-sizing:border-box !important; }
.msac-shared-header .msac-profile-guest { display:flex !important; align-items:center !important; gap:9px !important; width:100% !important; height:42px !important; box-sizing:border-box !important; }
.msac-shared-header .msac-profile-signin,.msac-shared-header .msac-profile-create { display:inline-flex !important; flex:1 1 0 !important; min-width:0 !important; height:42px !important; align-items:center !important; justify-content:center !important; box-sizing:border-box !important; padding:0 8px !important; border-radius:999px !important; font:650 12px/1.2 'Segoe UI',system-ui,sans-serif !important; white-space:nowrap !important; text-decoration:none !important; }
.msac-shared-header .msac-profile-signin { color:#202522 !important; border:1px solid #dfe3df !important; background:#fff !important; }
.msac-shared-header .msac-profile-create { color:#fff !important; border:1px solid #202522 !important; background:#202522 !important; }
.msac-shared-header .msac-profile-trigger { display:flex !important; width:100% !important; height:42px !important; box-sizing:border-box !important; align-items:center !important; gap:10px !important; min-height:42px !important; padding:4px 10px 4px 4px !important; border:1px solid #e7e9e5 !important; border-radius:999px !important; background:#fff !important; color:#202522 !important; cursor:pointer !important; text-align:left !important; }
.msac-shared-header .msac-profile-avatar { display:grid !important; place-items:center !important; width:34px !important; height:34px !important; flex:0 0 34px !important; border-radius:50% !important; background:#f1f2ee !important; color:#252b27 !important; font:700 13px/1 'Segoe UI',system-ui,sans-serif !important; }
.msac-shared-header .msac-profile-trigger-copy { display:flex !important; flex-direction:column !important; align-items:flex-start !important; justify-content:center !important; gap:2px !important; min-width:0 !important; line-height:1.1 !important; }
.msac-shared-header .msac-profile-trigger-copy strong { display:block !important; max-width:110px !important; overflow:hidden !important; margin:0 !important; color:#202522 !important; font:700 12px/1.15 'Segoe UI',system-ui,sans-serif !important; text-overflow:ellipsis !important; white-space:nowrap !important; }
.msac-shared-header .msac-profile-trigger-copy small { display:block !important; margin:0 !important; color:#858c86 !important; font:400 10px/1.15 'Segoe UI',system-ui,sans-serif !important; }
.msac-shared-header .msac-profile-chevron { display:none !important; }
.msac-shared-header .msac-profile-menu { position:absolute !important; z-index:500 !important; top:calc(100% + 10px) !important; right:0 !important; width:225px !important; padding:8px !important; border:1px solid #e8eae6 !important; border-radius:13px !important; background:#fff !important; box-shadow:0 14px 36px rgba(20,28,22,.13) !important; }
.msac-shared-header .msac-profile-menu-identity { display:flex !important; flex-direction:column !important; gap:4px !important; padding:10px 11px 12px !important; margin-bottom:5px !important; border-bottom:1px solid #eef0ec !important; }
.msac-shared-header .msac-profile-menu-identity strong { font-size:13px !important; }
.msac-shared-header .msac-profile-menu-identity span { font-size:11px !important; overflow-wrap:anywhere !important; }
.msac-shared-header .msac-profile-logout { width:100% !important; padding:10px 11px !important; border:0 !important; border-radius:8px !important; background:transparent !important; color:#a13e36 !important; text-align:left !important; font:600 12px/1.2 'Segoe UI',system-ui,sans-serif !important; cursor:pointer !important; }
.msac-shared-header .msac-profile-member[hidden],.msac-shared-header .msac-profile-guest[hidden],.msac-shared-header .msac-profile-menu[hidden] { display:none !important; }
.msac-shared-header #navSignOutButton,.msac-shared-header #signOutButton,.msac-shared-header #navSignInLink,.msac-shared-header #navPostRequirementLink { display:none !important; }
.msac-site-footer { display:flex !important; flex-direction:column !important; align-items:center !important; justify-content:center !important; box-sizing:border-box !important; width:100% !important; min-height:76px !important; padding:25px 5% !important; gap:8px !important; border-top:1px solid #e8e8e5 !important; background:#fff !important; color:#8b8b83 !important; text-align:center !important; font:400 9px/1.4 'Segoe UI',system-ui,sans-serif !important; letter-spacing:2.2px !important; }
.msac-site-footer-brand { color:#77776f !important; font:650 9px/1.4 'Segoe UI',system-ui,sans-serif !important; letter-spacing:2.2px !important; }
.msac-site-footer-copy { color:#8b8b83 !important; font:400 10px/1.45 'Segoe UI',system-ui,sans-serif !important; letter-spacing:.15px !important; }
@media (max-width:1100px) {
 .msac-site-header.msac-shared-header { padding-left:20px !important; gap:10px !important; }
 .msac-shared-header .msac-site-nav a { padding-left:8px !important; padding-right:8px !important; font-size:11px !important; }
}
@media (max-width:760px) {
 .msac-site-header.msac-shared-header { height:auto !important; min-height:76px !important; padding:9px 12px 9px 20px !important; gap:8px !important; flex-wrap:wrap !important; }
 .msac-shared-header .msac-site-brand { margin-right:auto !important; }
 .msac-shared-header .msac-site-nav { order:3 !important; width:100% !important; justify-content:flex-start !important; overflow-x:auto !important; }
 .msac-shared-header .msac-site-nav a { padding:9px 10px !important; font-size:10px !important; }
 .msac-shared-header .msac-profile-control { width:230px !important; min-width:230px !important; height:42px !important; }
 .msac-shared-header .msac-profile-trigger { width:100% !important; height:42px !important; min-height:42px !important; padding:2px !important; }
 .msac-shared-header .msac-profile-trigger-copy { display:none !important; }
 .msac-shared-header .msac-profile-guest { gap:6px !important; }
 .msac-shared-header .msac-profile-signin,.msac-shared-header .msac-profile-create { height:42px !important; min-height:42px !important; padding:0 8px !important; font-size:11px !important; }
}

/* -------------------------------------------------------------------------
   Navigation stability: reserve identical header columns on every page.
   This prevents content width, active-link weight, auth state and scrollbar
   differences from nudging the brand, navigation or account control.
   ------------------------------------------------------------------------- */
html {
  scrollbar-gutter: stable;
}

.msac-site-header.msac-shared-header {
  display: grid !important;
  grid-template-columns: 250px minmax(0, 1fr) 230px !important;
  grid-template-rows: 76px !important;
  align-items: center !important;
  justify-content: stretch !important;
  column-gap: 0 !important;
  row-gap: 0 !important;
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.msac-shared-header .msac-site-brand {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 250px !important;
  min-width: 250px !important;
  max-width: 250px !important;
}

.msac-shared-header .msac-site-nav {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px !important;
  margin: 0 !important;
}

/* Fixed link slots keep the nav group centred even when the active link is bold. */
.msac-shared-header .msac-site-nav a {
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  text-align: center !important;
}
.msac-shared-header .msac-site-nav a:nth-child(1) { width: 90px !important; }
.msac-shared-header .msac-site-nav a:nth-child(2) { width: 105px !important; }
.msac-shared-header .msac-site-nav a:nth-child(3) { width: 95px !important; }
.msac-shared-header .msac-site-nav a:nth-child(4) { width: 85px !important; }

.msac-shared-header .msac-site-account {
  grid-column: 3 !important;
  grid-row: 1 !important;
  width: 230px !important;
  min-width: 230px !important;
  max-width: 230px !important;
  justify-self: end !important;
  flex-wrap: nowrap !important;
}
.msac-shared-header .msac-profile-control {
  flex: 0 0 230px !important;
}

@media (max-width: 1100px) and (min-width: 761px) {
  .msac-site-header.msac-shared-header {
    grid-template-columns: 220px minmax(0, 1fr) 230px !important;
  }
  .msac-shared-header .msac-site-brand {
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
  }
  .msac-shared-header .msac-site-nav a:nth-child(1) { width: 82px !important; }
  .msac-shared-header .msac-site-nav a:nth-child(2) { width: 96px !important; }
  .msac-shared-header .msac-site-nav a:nth-child(3) { width: 88px !important; }
  .msac-shared-header .msac-site-nav a:nth-child(4) { width: 78px !important; }
}

@media (max-width: 760px) {
  .msac-site-header.msac-shared-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 230px !important;
    grid-template-rows: 42px 36px !important;
    height: 96px !important;
    min-height: 96px !important;
    max-height: 96px !important;
    padding: 9px 12px 9px 20px !important;
    column-gap: 8px !important;
    row-gap: 0 !important;
    align-content: center !important;
  }
  .msac-shared-header .msac-site-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
  }
  .msac-shared-header .msac-site-account {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
  }
  .msac-shared-header .msac-profile-control {
    width: 230px !important;
    min-width: 230px !important;
    flex-basis: 230px !important;
  }
  .msac-shared-header .msac-site-nav {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    scrollbar-width: none !important;
  }
  .msac-shared-header .msac-site-nav::-webkit-scrollbar { display: none !important; }
  .msac-shared-header .msac-site-nav a {
    height: 36px !important;
    min-height: 36px !important;
    padding: 8px 6px !important;
    font-size: 10px !important;
  }
  .msac-shared-header .msac-site-nav a:nth-child(1) { width: 82px !important; }
  .msac-shared-header .msac-site-nav a:nth-child(2) { width: 96px !important; }
  .msac-shared-header .msac-site-nav a:nth-child(3) { width: 88px !important; }
  .msac-shared-header .msac-site-nav a:nth-child(4) { width: 78px !important; }
}

@media (max-width: 900px) and (min-width: 761px) {
  .msac-site-header.msac-shared-header {
    grid-template-columns: 200px minmax(0, 1fr) 230px !important;
  }
  .msac-shared-header .msac-site-brand {
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
  }
  .msac-shared-header .msac-site-nav { gap: 2px !important; }
  .msac-shared-header .msac-site-nav a {
    font-size: 10px !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
  }
  .msac-shared-header .msac-site-nav a:nth-child(1) { width: 58px !important; }
  .msac-shared-header .msac-site-nav a:nth-child(2) { width: 75px !important; }
  .msac-shared-header .msac-site-nav a:nth-child(3) { width: 65px !important; }
  .msac-shared-header .msac-site-nav a:nth-child(4) { width: 60px !important; }
}

/* FINAL CROSS-PAGE HEADER LOCK
   Use the same viewport-relative grid on every page. Earlier flex and
   breakpoint rules allowed the header to redistribute space differently
   between the homepage, About Us and workspace pages. */
html {
  scrollbar-gutter: stable !important;
}

.msac-site-header.msac-shared-header {
  display: grid !important;
  grid-template-columns: 250px minmax(0, 1fr) 230px !important;
  grid-template-rows: 76px !important;
  align-items: center !important;
  justify-content: stretch !important;
  column-gap: 0 !important;
  row-gap: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  flex: none !important;
  flex-wrap: nowrap !important;
  transform: none !important;
}

.msac-site-header.msac-shared-header > .msac-site-brand {
  grid-area: 1 / 1 / 2 / 2 !important;
  width: 250px !important;
  min-width: 250px !important;
  max-width: 250px !important;
  margin: 0 !important;
  justify-self: start !important;
}

.msac-site-header.msac-shared-header > .msac-site-nav {
  grid-area: 1 / 2 / 2 / 3 !important;
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 76px !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
  order: 0 !important;
  overflow: visible !important;
}

.msac-site-header.msac-shared-header > .msac-site-nav > a {
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  transition: color .18s ease !important;
}
.msac-site-header.msac-shared-header > .msac-site-nav > a[aria-current="page"] {
  font-weight: 700 !important;
}

.msac-site-header.msac-shared-header > .msac-site-account {
  grid-area: 1 / 3 / 2 / 4 !important;
  display: flex !important;
  width: 230px !important;
  min-width: 230px !important;
  max-width: 230px !important;
  height: 76px !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-self: end !important;
  align-self: stretch !important;
  justify-content: flex-end !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  transform: none !important;
}

.msac-site-header.msac-shared-header .msac-profile-control,
.msac-site-header.msac-shared-header .msac-profile-guest,
.msac-site-header.msac-shared-header .msac-profile-member {
  width: 230px !important;
  min-width: 230px !important;
  max-width: 230px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}
.msac-site-header.msac-shared-header .msac-profile-control {
  height: 42px !important;
  flex: 0 0 230px !important;
}
.msac-site-header.msac-shared-header .msac-profile-guest,
.msac-site-header.msac-shared-header .msac-profile-member {
  height: 42px !important;
}
.msac-site-header.msac-shared-header .msac-profile-trigger {
  width: 230px !important;
  min-width: 230px !important;
  max-width: 230px !important;
  height: 42px !important;
  min-height: 42px !important;
  box-sizing: border-box !important;
}

/* Tablet: keep the same three-column structure, only reduce the brand slot. */
@media (max-width: 1100px) and (min-width: 761px) {
  .msac-site-header.msac-shared-header {
    grid-template-columns: 200px minmax(0, 1fr) 230px !important;
    padding-right: 20px !important;
  }
  .msac-site-header.msac-shared-header > .msac-site-brand {
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
  }
  .msac-site-header.msac-shared-header > .msac-site-nav > a {
    font-size: 10px !important;
  }
}

/* Mobile/tablet compact header uses a fixed two-row grid on every page. */
@media (max-width: 760px) {
  .msac-site-header.msac-shared-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 230px !important;
    grid-template-rows: 42px 36px !important;
    height: 96px !important;
    min-height: 96px !important;
    max-height: 96px !important;
    padding: 9px 12px 9px 20px !important;
    column-gap: 8px !important;
    row-gap: 0 !important;
    align-content: center !important;
  }
  .msac-site-header.msac-shared-header > .msac-site-brand {
    grid-area: 1 / 1 / 2 / 2 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  .msac-site-header.msac-shared-header > .msac-site-account {
    grid-area: 1 / 2 / 2 / 3 !important;
    width: 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
    height: 42px !important;
  }
  .msac-site-header.msac-shared-header > .msac-site-nav {
    grid-area: 2 / 1 / 3 / 3 !important;
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 0 !important;
  }
  .msac-site-header.msac-shared-header > .msac-site-nav > a {
    height: 36px !important;
    min-height: 36px !important;
    padding: 8px 6px !important;
    font-size: 10px !important;
  }
  .msac-site-header.msac-shared-header .msac-profile-control,
  .msac-site-header.msac-shared-header .msac-profile-guest,
  .msac-site-header.msac-shared-header .msac-profile-member {
    width: 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
  }
}

/* -------------------------------------------------------------------------
   Site-wide navigation lock (all shared-header pages)
   Keep the viewport's content width identical on short and long pages, and
   make header geometry independent of each page's body/section styles.
   ------------------------------------------------------------------------- */
html {
  overflow-y: scroll !important;
  scrollbar-gutter: stable !important;
}

body {
  overflow-x: clip !important;
}

.msac-site-header.msac-shared-header {
  position: sticky !important;
  inset-block-start: 0 !important;
  inset-inline: 0 !important;
  z-index: 1000 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 76px !important;
  transform: none !important;
  transition: none !important;
  font-synthesis: none !important;
}

.msac-shared-header .msac-site-brand,
.msac-shared-header .msac-site-nav,
.msac-shared-header .msac-site-account {
  align-self: center !important;
  transform: none !important;
  transition: none !important;
}

.msac-shared-header .msac-site-nav a {
  font-synthesis: none !important;
  font-variant-ligatures: none !important;
  transition: color .18s ease !important;
}

.msac-shared-header .msac-profile-control,
.msac-shared-header .msac-profile-guest,
.msac-shared-header .msac-profile-member,
.msac-shared-header .msac-profile-trigger,
.msac-shared-header .msac-profile-signin,
.msac-shared-header .msac-profile-create {
  box-sizing: border-box !important;
}

@media (min-width: 761px) {
  .msac-site-header.msac-shared-header {
    grid-template-columns: 250px minmax(0, 1fr) 230px !important;
    grid-template-rows: 76px !important;
    height: 76px !important;
    min-height: 76px !important;
    max-height: 76px !important;
    padding-inline: 20px clamp(18px, 4vw, 64px) !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
  }
  .msac-shared-header .msac-site-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
  }
  .msac-shared-header .msac-site-nav {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    margin: 0 !important;
  }
  .msac-shared-header .msac-site-account {
    grid-column: 3 !important;
    grid-row: 1 !important;
    width: 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
    justify-self: end !important;
    flex-wrap: nowrap !important;
  }
}

@media (max-width: 1100px) and (min-width: 761px) {
  .msac-site-header.msac-shared-header {
    grid-template-columns: 220px minmax(0, 1fr) 230px !important;
  }
  .msac-shared-header .msac-site-brand {
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
  }
}

@media (max-width: 900px) and (min-width: 761px) {
  .msac-site-header.msac-shared-header {
    grid-template-columns: 200px minmax(0, 1fr) 230px !important;
  }
  .msac-shared-header .msac-site-brand {
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
  }
}

/* FINAL HEADER GEOMETRY OVERRIDE — keep page navigation from redistributing
   the header. The account column is reserved, but the signed-in pill itself
   keeps its natural compact size (never stretches to fill the column). */
.msac-site-header.msac-shared-header {
  display: grid !important;
  grid-template-columns: 250px minmax(0, 1fr) 230px !important;
  grid-template-rows: 76px !important;
  align-items: center !important;
  justify-content: stretch !important;
  column-gap: 0 !important;
  row-gap: 0 !important;
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
  padding: 0 20px !important;
  overflow: visible !important;
}
.msac-site-header.msac-shared-header > .msac-site-brand {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 250px !important;
  min-width: 250px !important;
  max-width: 250px !important;
  justify-self: start !important;
}
.msac-site-header.msac-shared-header > .msac-site-nav {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 76px !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
  margin: 0 !important;
  overflow: visible !important;
}
.msac-site-header.msac-shared-header > .msac-site-nav > a {
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-synthesis: none !important;
  letter-spacing: 0 !important;
  transition: color .18s ease !important;
}
.msac-site-header.msac-shared-header > .msac-site-nav > a:nth-child(1) { width: 90px !important; }
.msac-site-header.msac-shared-header > .msac-site-nav > a:nth-child(2) { width: 105px !important; }
.msac-site-header.msac-shared-header > .msac-site-nav > a:nth-child(3) { width: 95px !important; }
.msac-site-header.msac-shared-header > .msac-site-nav > a:nth-child(4) { width: 85px !important; }
.msac-site-header.msac-shared-header > .msac-site-account {
  grid-column: 3 !important;
  grid-row: 1 !important;
  display: flex !important;
  width: 230px !important;
  min-width: 230px !important;
  max-width: 230px !important;
  height: 76px !important;
  justify-self: end !important;
  align-self: stretch !important;
  justify-content: flex-end !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
}
.msac-site-header.msac-shared-header .msac-profile-control {
  display: flex !important;
  width: 230px !important;
  min-width: 230px !important;
  max-width: 230px !important;
  height: 42px !important;
  flex: 0 0 230px !important;
  justify-content: flex-end !important;
  align-items: center !important;
}
.msac-site-header.msac-shared-header .msac-profile-guest {
  display: flex !important;
  width: 230px !important;
  min-width: 230px !important;
  max-width: 230px !important;
  height: 42px !important;
  gap: 9px !important;
  justify-content: stretch !important;
}
.msac-site-header.msac-shared-header .msac-profile-signin,
.msac-site-header.msac-shared-header .msac-profile-create {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 42px !important;
  min-height: 42px !important;
}
.msac-site-header.msac-shared-header .msac-profile-member {
  display: flex !important;
  width: 230px !important;
  min-width: 230px !important;
  max-width: 230px !important;
  height: 42px !important;
  justify-content: flex-end !important;
  align-items: center !important;
}
.msac-site-header.msac-shared-header .msac-profile-trigger {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  flex: 0 0 auto !important;
}

@media (max-width: 1100px) and (min-width: 761px) {
  .msac-site-header.msac-shared-header {
    grid-template-columns: 200px minmax(0, 1fr) 230px !important;
  }
  .msac-site-header.msac-shared-header > .msac-site-brand {
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
  }
  .msac-site-header.msac-shared-header > .msac-site-nav > a {
    font-size: 10px !important;
  }
}
@media (max-width: 900px) and (min-width: 761px) {
  .msac-site-header.msac-shared-header {
    grid-template-columns: 180px minmax(0, 1fr) 210px !important;
  }
  .msac-site-header.msac-shared-header > .msac-site-brand {
    width: 180px !important;
    min-width: 180px !important;
    max-width: 180px !important;
  }
  .msac-site-header.msac-shared-header > .msac-site-account,
  .msac-site-header.msac-shared-header .msac-profile-control,
  .msac-site-header.msac-shared-header .msac-profile-guest,
  .msac-site-header.msac-shared-header .msac-profile-member {
    width: 210px !important;
    min-width: 210px !important;
    max-width: 210px !important;
  }
}
@media (max-width: 760px) {
  .msac-site-header.msac-shared-header {
    grid-template-columns: minmax(0, 1fr) 230px !important;
    grid-template-rows: 42px 36px !important;
    height: 96px !important;
    min-height: 96px !important;
    max-height: 96px !important;
    padding: 9px 12px 9px 20px !important;
    column-gap: 8px !important;
    row-gap: 0 !important;
  }
  .msac-site-header.msac-shared-header > .msac-site-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  .msac-site-header.msac-shared-header > .msac-site-account {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
    height: 42px !important;
  }
  .msac-site-header.msac-shared-header > .msac-site-nav {
    grid-column: 1 / 3 !important;
    grid-row: 2 !important;
    width: 100% !important;
    height: 36px !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
  .msac-site-header.msac-shared-header > .msac-site-nav > a {
    width: auto !important;
    min-width: max-content !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 8px 8px !important;
    font-size: 10px !important;
  }
  .msac-site-header.msac-shared-header .msac-profile-trigger {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}


/* Authentication visibility contract: [hidden] always wins over layout display rules.
   The account region stays concealed until the auth bootstrap confirms a state. */
.msac-site-header.msac-shared-header .msac-profile-control .msac-profile-guest[hidden],
.msac-site-header.msac-shared-header .msac-profile-control .msac-profile-member[hidden],
.msac-site-header.msac-shared-header .msac-profile-control .msac-profile-menu[hidden] {
  display: none !important;
  visibility: hidden !important;
}


/* MSAC global notification bell — yellow, beside the signed-in profile. */
.msac-shared-header .msac-profile-member {
  display:flex !important; align-items:center !important; justify-content:flex-end !important; gap:10px !important;
  width:100% !important; min-width:0 !important;
}
.msac-shared-header .msac-notification-control { position:relative !important; display:flex !important; flex:0 0 36px !important; align-items:center !important; justify-content:center !important; }
.msac-shared-header .msac-notification-trigger {
  position:relative !important; display:grid !important; place-items:center !important; width:36px !important; height:40px !important;
  padding:0 !important; border:0 !important; border-radius:10px !important; background:transparent !important;
  color:#d5a21b !important; cursor:pointer !important; transition:background .18s ease, transform .18s ease !important;
}
.msac-shared-header .msac-notification-trigger:hover { background:#fff8e6 !important; transform:translateY(-1px) !important; }
.msac-shared-header .msac-notification-trigger:focus-visible { outline:2px solid #d5a21b !important; outline-offset:2px !important; }
.msac-shared-header .msac-notification-trigger svg { width:22px !important; height:22px !important; fill:none !important; stroke:currentColor !important; stroke-width:1.8 !important; stroke-linecap:round !important; stroke-linejoin:round !important; }
.msac-shared-header .msac-notification-count {
  position:absolute !important; top:1px !important; right:0 !important; display:grid !important; place-items:center !important;
  min-width:16px !important; height:16px !important; padding:0 4px !important; border:2px solid #fff !important; border-radius:999px !important;
  background:#b42318 !important; color:#fff !important; font:700 9px/1 'Segoe UI',system-ui,sans-serif !important;
}
.msac-shared-header .msac-notification-count[hidden] { display:none !important; }
.msac-shared-header .msac-notification-panel {
  position:absolute !important; z-index:700 !important; top:calc(100% + 12px) !important; right:-4px !important;
  width:min(340px, calc(100vw - 28px)) !important; padding:0 !important; border:1px solid #e8eae6 !important;
  border-radius:14px !important; background:#fff !important; box-shadow:0 16px 42px rgba(20,28,22,.16) !important;
  color:#202522 !important; text-align:left !important;
}
.msac-shared-header .msac-notification-panel[hidden] { display:none !important; }
.msac-notification-panel-heading { padding:15px 17px 12px !important; border-bottom:1px solid #eef0ec !important; font:700 13px/1.2 'Segoe UI',system-ui,sans-serif !important; }
.msac-notification-empty { padding:24px 17px !important; color:#7b827c !important; text-align:center !important; font:400 12px/1.5 'Segoe UI',system-ui,sans-serif !important; }
.msac-shared-header .msac-profile-trigger { width:auto !important; min-width:0 !important; flex:1 1 auto !important; }
@media(max-width:760px) {
  .msac-shared-header .msac-profile-member { gap:7px !important; }
  .msac-shared-header .msac-notification-control { flex-basis:34px !important; }
  .msac-shared-header .msac-notification-trigger { width:34px !important; height:38px !important; }
  .msac-shared-header .msac-profile-trigger { width:auto !important; flex:1 1 auto !important; }
  .msac-shared-header .msac-notification-panel { right:-2px !important; }
}

.msac-shared-header .msac-profile-member[hidden] { display:none !important; }


/* Notification history rows and unread state. */
.msac-shared-header .msac-notification-list { max-height:min(420px,65vh) !important; overflow-y:auto !important; }
.msac-shared-header .msac-notification-item {
  display:flex !important; align-items:flex-start !important; gap:12px !important; width:100% !important;
  padding:13px 16px !important; border:0 !important; border-bottom:1px solid #f0f1ed !important;
  background:#fff !important; color:#202522 !important; text-align:left !important; cursor:pointer !important;
}
.msac-shared-header .msac-notification-item:hover { background:#fffaf0 !important; }
.msac-shared-header .msac-notification-item.is-unread { background:#fffdf6 !important; }
.msac-shared-header .msac-notification-item-copy { display:flex !important; flex:1 1 auto !important; min-width:0 !important; flex-direction:column !important; gap:4px !important; }
.msac-shared-header .msac-notification-item-copy strong { color:#252923 !important; font:700 12px/1.35 'Segoe UI',system-ui,sans-serif !important; }
.msac-shared-header .msac-notification-item-copy span { color:#60685f !important; white-space:normal !important; font:400 12px/1.45 'Segoe UI',system-ui,sans-serif !important; }
.msac-shared-header .msac-notification-item-copy small { color:#92988f !important; font:400 10px/1.35 'Segoe UI',system-ui,sans-serif !important; }
.msac-shared-header .msac-notification-unread-dot { flex:0 0 7px !important; width:7px !important; height:7px !important; margin-top:5px !important; border-radius:50% !important; background:#d5a21b !important; }
