.site-global-nav {
  min-height: 58px;
  padding: 8px clamp(16px, 3vw, 46px);
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 4px solid #111;
  border-bottom: 1px solid #dedbd8;
  background: #fff;
  color: #171717;
}

.site-global-nav .site-nav-left,
.site-global-nav .site-nav-right,
.site-global-nav .output-actions-left,
.site-global-nav .output-actions-center,
.site-global-nav .output-actions-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-global-nav .site-nav-left,
.site-global-nav .output-actions-left {
  margin-right: auto;
}

.site-global-nav .site-nav-right,
.site-global-nav .output-actions-center,
.site-global-nav .output-actions-right {
  margin-left: 0;
}

.site-global-nav .site-nav-item,
.site-global-nav .output-button {
  min-height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: #171717;
  font: 700 12px/1 Inter, Arial, sans-serif;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
}

.site-global-nav .site-nav-item:hover,
.site-global-nav .site-nav-item:focus-visible,
.site-global-nav .output-button:hover,
.site-global-nav .output-button:focus-visible {
  border: 0 !important;
  background: #f3f3f3 !important;
  color: #111;
  text-decoration: none !important;
}

.site-global-nav .site-nav-item[aria-current="page"] {
  background: #f2f2f2;
}

.site-global-nav svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-navigation-ready .notes-header {
  border-top: 0;
}

.site-notes-compact-nav {
  display: none;
}

@media (min-width: 1000px) {
  .site-global-nav-notes {
    display: flex;
  }
}

@media (max-width: 999px) {
  .site-global-nav-notes {
    display: none !important;
  }

  .site-notes-compact-nav {
    position: relative;
    min-height: 62px;
    padding: 8px 12px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    border-top: 3px solid #111;
    border-bottom: 1px solid #d7d7d7;
    background: #fff;
    z-index: 60;
  }

  .site-notes-compact-nav > strong {
    justify-self: center;
    font-size: 17px;
    font-weight: 700;
  }

  .site-notes-nav-toggle,
  .site-notes-search-shortcut {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #171717;
    text-decoration: none;
  }

  .site-notes-nav-toggle > span {
    width: 22px;
    display: grid;
    gap: 4px;
  }

  .site-notes-nav-toggle i {
    height: 2px;
    display: block;
    background: currentColor;
  }

  .site-notes-search-shortcut {
    justify-self: end;
  }

  .site-notes-search-shortcut svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
  }

  .site-notes-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0,0,0,.42);
  }

  .site-notes-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 90;
    width: min(408px, 86vw);
    padding: 0 16px 28px;
    overflow-y: auto;
    background: #fff;
    box-shadow: 16px 0 40px rgba(0,0,0,.16);
  }

  .site-notes-nav-head {
    min-height: 82px;
    margin: 0 -16px 22px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #dedbd8;
  }

  .site-notes-nav-head strong {
    font-size: 20px;
  }

  .site-notes-nav-close {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    font-size: 32px;
    font-weight: 300;
  }

  .site-notes-nav-section {
    margin-bottom: 20px;
    display: grid;
    gap: 12px;
  }

  .site-notes-nav-section > span {
    color: #655f5b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .site-notes-nav-section .site-nav-item {
    min-height: 76px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 0;
    background: #f3f3f3;
    color: #171717;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
  }

  .site-notes-nav-section .site-nav-item svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .site-notes-nav-section .site-nav-item[aria-current="page"] {
    background: #ececec;
  }

  .site-notes-nav-open {
    overflow: hidden;
  }
}

@media print {
  .site-global-nav,
  .site-notes-compact-nav {
    display: none !important;
  }
}

/* Shared Nexus desktop navigation: single source of truth */
@media (min-width: 1000px) {
  .site-global-nav.output-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 58px !important;
    padding: 8px 46px !important;
    border-top: 4px solid #111 !important;
    border-bottom: 1px solid #dedbd8 !important;
    background: #fff !important;
  }

  .site-global-nav.output-actions .output-actions-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-right: auto !important;
  }

  .site-global-nav.output-actions .output-actions-center,
  .site-global-nav.output-actions .output-actions-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
  }

  .site-global-nav.output-actions .output-actions-center {
    margin-left: auto !important;
  }

  .site-global-nav.output-actions .output-button,
  .site-global-nav-notes .site-nav-item {
    min-height: 40px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #171717 !important;
    font: 700 12px/1 Inter, Arial, sans-serif !important;
    text-decoration: none !important;
  }

  .site-global-nav.output-actions .output-button:hover,
  .site-global-nav.output-actions .output-button:focus-visible,
  .site-global-nav-notes .site-nav-item:hover,
  .site-global-nav-notes .site-nav-item:focus-visible {
    border: 0 !important;
    background: #f3f3f3 !important;
    color: #111 !important;
    text-decoration: none !important;
  }

  .site-global-nav.output-actions .output-button svg,
  .site-global-nav-notes .site-nav-item svg {
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
  }

  .site-global-nav.output-actions .quick-notes-button.has-daily-note {
    border: 0 !important;
    background: transparent !important;
    color: #df0038 !important;
  }

  .site-global-nav.output-actions .quick-notes-button.has-daily-note:hover,
  .site-global-nav.output-actions .quick-notes-button.has-daily-note:focus-visible {
    border: 0 !important;
    background: #fff3f5 !important;
    color: #c70032 !important;
  }

  .site-global-nav.output-actions .quick-notes-button,
  .site-global-nav.output-actions .quick-notes-button:hover,
  .site-global-nav.output-actions .quick-notes-button:focus-visible,
  .site-global-nav.output-actions .quick-notes-button:visited {
    text-decoration: none !important;
  }

  .desktop-nav-above-header .app-header {
    border-top: 0 !important;
    padding-top: 16px !important;
    padding-bottom: 12px !important;
  }

  .desktop-nav-above-header .day-tabs {
    padding-top: 9px !important;
    padding-bottom: 9px !important;
  }
}


/* Canonical Nexus icon rendering shared by every page. */
.site-global-nav .output-button-svg,
.site-global-nav .shoe-search-icon,
.site-global-nav .spark-icon,
.site-global-nav-notes .output-button-svg,
.site-global-nav-notes .shoe-search-icon,
.site-global-nav-notes .spark-icon {
  fill: none !important;
  stroke: #171717 !important;
}

.site-global-nav .spark-icon,
.site-global-nav-notes .spark-icon {
  fill: #171717 !important;
  stroke: #171717 !important;
}

.site-global-nav .workbench-icon,
.site-global-nav .workbench-icon rect,
.site-global-nav-notes .workbench-icon,
.site-global-nav-notes .workbench-icon rect {
  fill: #171717 !important;
  stroke: none !important;
}

.site-global-nav .power-bi-icon,
.site-global-nav .power-bi-icon rect,
.site-global-nav-notes .power-bi-icon,
.site-global-nav-notes .power-bi-icon rect {
  fill: #171717 !important;
  stroke: none !important;
}

/* Keep the unread Notes alert icon matched to the alert text. */
.site-global-nav .quick-notes-button.has-daily-note .output-button-svg {
  fill: none !important;
  stroke: currentColor !important;
}


/* Canonical Famous-style compact navigation shared by Nexus + Notes. */
@media (max-width: 999px) {
  .compact-nav-toggle {
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr !important;
    gap: 0 !important;
    width: 48px !important;
    min-width: 48px !important;
    min-height: 46px !important;
    padding: 0 !important;
    justify-items: start !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .compact-nav-toggle-icon {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    position: relative !important;
    width: 25px !important;
    height: 18px !important;
    margin-left: 5px !important;
    display: block !important;
  }

  .compact-nav-toggle-icon i {
    position: absolute !important;
    left: 0 !important;
    display: block !important;
    height: 1.6px !important;
    min-height: 1.6px !important;
    border-radius: 0 !important;
    background: #171717 !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .compact-nav-toggle-icon i:nth-child(1) {
    top: 0 !important;
    width: 25px !important;
  }

  .compact-nav-toggle-icon i:nth-child(2) {
    top: 8px !important;
    left: 1px !important;
    width: 18px !important;
  }

  .compact-nav-toggle-icon i:nth-child(3) {
    top: 16px !important;
    width: 7px !important;
  }

  .site-notes-compact-nav .compact-nav-toggle-label,
  .site-notes-compact-nav .compact-nav-chevron {
    display: none !important;
  }

  .compact-nav-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 290 !important;
    display: block;
    background: rgba(0, 0, 0, .38) !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms ease !important;
  }

  .compact-nav-backdrop[hidden] {
    display: none !important;
  }

  .compact-nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .compact-nav-menu {
    position: fixed !important;
    z-index: 300 !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    width: min(340px, 78vw) !important;
    max-width: 340px !important;
    height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 14px 28px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: 12px 0 32px rgba(0, 0, 0, .16) !important;
    transform: translate3d(-102%, 0, 0);
    visibility: visible !important;
    will-change: transform;
    transition: transform 280ms cubic-bezier(.22, .61, .36, 1) !important;
  }

  .compact-nav-menu[hidden] {
    display: none !important;
  }

  .compact-nav-menu.is-open {
    transform: translate3d(0, 0, 0);
  }

  html.compact-nav-open,
  html.compact-nav-open body {
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  .compact-nav-menu-head {
    min-height: 86px !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #ddd !important;
  }

  .compact-nav-menu-title {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
  }

  .compact-nav-menu-title strong {
    margin: 0 !important;
    color: #171717 !important;
    font-size: 21px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: -.02em !important;
  }

  .compact-nav-menu-body {
    padding-top: 20px !important;
  }

  .compact-nav-section + .compact-nav-section {
    margin-top: 16px !important;
    padding-top: 0 !important;
    border-top: 0 !important;
  }

  .compact-nav-section-title {
    display: block !important;
    margin: 0 2px 9px !important;
    color: #666 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
  }

  .compact-nav-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .compact-nav-item,
  .site-notes-nav-section .compact-nav-item {
    min-height: 88px !important;
    padding: 0 22px 0 17px !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f2f2f2 !important;
    color: #171717 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    text-align: left !important;
    text-decoration: none !important;
    box-shadow: none !important;
  }

  .compact-nav-item:hover,
  .compact-nav-item:focus-visible {
    border: 0 !important;
    background: #e9e9e9 !important;
  }

  .compact-nav-item svg {
    width: 21px !important;
    height: 21px !important;
    flex: 0 0 21px !important;
    fill: none !important;
    stroke: #171717 !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  .compact-nav-item .workbench-icon,
  .compact-nav-item .workbench-icon rect,
  .compact-nav-item .power-bi-icon,
  .compact-nav-item .power-bi-icon rect {
    fill: #171717 !important;
    stroke: none !important;
  }

  .compact-nav-item-chevron {
    display: block !important;
    flex: 0 0 9px !important;
    width: 9px !important;
    height: 9px !important;
    min-width: 9px !important;
    margin-left: auto !important;
    border: 0 !important;
    border-right: 1.6px solid #171717 !important;
    border-bottom: 1.6px solid #171717 !important;
    transform: rotate(-45deg) !important;
    transform-origin: center !important;
  }

  .compact-nav-close {
    position: relative !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: transparent !important;
    font-size: 0 !important;
    box-shadow: none !important;
  }

  .compact-nav-close::before,
  .compact-nav-close::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 25px !important;
    height: 1.5px !important;
    background: #171717 !important;
    transform-origin: center !important;
  }

  .compact-nav-close::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
  }

  .compact-nav-close::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
  }

  .site-notes-compact-nav {
    min-height: 62px;
    padding: 8px 12px;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }

  @media (prefers-reduced-motion: reduce) {
    .compact-nav-menu,
    .compact-nav-backdrop {
      transition-duration: 0ms !important;
    }
  }
}

@media (max-width: 580px) {
  .compact-nav-menu {
    width: min(315px, 82vw) !important;
    max-width: 315px !important;
  }

  .compact-nav-menu-head {
    min-height: 80px !important;
  }

  .compact-nav-item,
  .site-notes-nav-section .compact-nav-item {
    min-height: 76px !important;
    font-size: 16px !important;
  }
}


/* Desktop store/account control in the shared navigation. */
@media (min-width: 1000px) {
  .site-global-nav .famous-home-button {
    display: none !important;
  }

  .site-global-nav .header-store-selector {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 0 0 14px !important;
    flex: 0 0 auto !important;
  }

  .site-global-nav .header-store-selector .store-selector-label {
    display: none !important;
  }

  .site-global-nav .store-selector-button {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #171717 !important;
  }

  .site-global-nav .store-selector-button:hover,
  .site-global-nav .store-selector-button:focus-visible {
    background: #f3f3f3 !important;
  }

  .site-global-nav .store-selector-avatar {
    display: none;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    border-radius: 50%;
    object-fit: cover;
  }

  .site-global-nav .store-selector-button.cloud-connected .store-selector-avatar {
    display: block;
  }

  .site-global-nav .store-selector-copy {
    display: flex !important;
    align-items: center !important;
  }

  .site-global-nav .store-selector-copy strong {
    color: #171717 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .site-global-nav .store-selector-copy small {
    display: none !important;
  }

  .site-global-nav .store-selector-chevron {
    width: 8px !important;
    height: 8px !important;
    flex: 0 0 8px !important;
    border-right: 1.5px solid #5c5753 !important;
    border-bottom: 1.5px solid #5c5753 !important;
    font-size: 0 !important;
    transform: translateY(-2px) rotate(45deg) !important;
  }

  .site-global-nav .store-selector-button:not(.cloud-connected) .store-selector-chevron {
    display: none !important;
  }

  .site-nav-account {
    min-height: 40px;
    margin-left: 14px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #171717;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
  }

  .site-nav-account:hover,
  .site-nav-account:focus-visible {
    background: #f3f3f3;
    text-decoration: none !important;
  }

  .site-nav-store-avatar {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    border-radius: 50%;
    object-fit: cover;
  }

  .site-nav-account-chevron {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-right: 1.5px solid #5c5753;
    border-bottom: 1.5px solid #5c5753;
    transform: translateY(-2px) rotate(45deg);
  }

  .site-nav-account-login {
    padding-inline: 10px;
  }
}


/* Store avatars are always bounded; never allow the source image to render full-size. */
.store-selector-avatar,
.site-nav-store-avatar,
.compact-nav-store-avatar {
  width: 31px !important;
  height: 31px !important;
  min-width: 31px !important;
  max-width: 31px !important;
  min-height: 31px !important;
  max-height: 31px !important;
  flex: 0 0 31px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

@media (max-width: 999px) {
  /* Store/account belongs in the drawer on compact layouts. */
  .header-store-selector {
    display: none !important;
  }

  .compact-nav-store-account {
    min-width: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #171717 !important;
    cursor: pointer !important;
  }

  .compact-nav-store-account:hover,
  .compact-nav-store-account:focus-visible {
    background: transparent !important;
  }

  .compact-nav-store-avatar[hidden],
  .compact-nav-store-chevron[hidden] {
    display: none !important;
  }

  .compact-nav-store-account strong {
    margin: 0 !important;
    color: #171717 !important;
    font-size: 21px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: -.02em !important;
    white-space: nowrap !important;
  }

  .compact-nav-store-chevron {
    width: 8px !important;
    height: 8px !important;
    flex: 0 0 8px !important;
    margin-left: 1px !important;
    border-right: 1.5px solid #5c5753 !important;
    border-bottom: 1.5px solid #5c5753 !important;
    transform: translateY(-2px) rotate(45deg) !important;
  }
}


/* Desktop logged-in store account: lightweight avatar + store number + chevron. */
@media (min-width: 1000px) {
  .site-global-nav .store-selector-button.cloud-connected,
  .site-nav-account.is-authenticated {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 6px !important;
    gap: 7px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .site-global-nav .store-selector-button.cloud-connected:hover,
  .site-global-nav .store-selector-button.cloud-connected:focus-visible,
  .site-nav-account.is-authenticated:hover,
  .site-nav-account.is-authenticated:focus-visible {
    border: 0 !important;
    background: #f3f3f3 !important;
    box-shadow: none !important;
  }

  .site-global-nav .store-selector-button.cloud-connected .store-selector-avatar,
  .site-nav-account.is-authenticated .site-nav-store-avatar {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    flex: 0 0 24px !important;
    border-radius: 50% !important;
  }

  .site-global-nav .store-selector-button.cloud-connected .store-selector-copy strong,
  .site-nav-account.is-authenticated strong {
    color: #171717 !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    letter-spacing: -.01em !important;
  }

  .site-global-nav .store-selector-button.cloud-connected .store-selector-chevron,
  .site-nav-account.is-authenticated .site-nav-account-chevron {
    width: 11px !important;
    height: 7px !important;
    flex: 0 0 11px !important;
    margin-left: 2px !important;
    overflow: visible !important;
    border: 0 !important;
    transform: none !important;
    fill: none !important;
    stroke: #6b6764 !important;
    stroke-width: 1.6 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }
}


/* Shared page identity/header system: page name changes, layout stays the same. */
@media (min-width: 1000px) {
  .app-header.site-page-header,
  .notes-header.site-page-header {
    position: static !important;
    top: auto !important;
    border-top: 0 !important;
    border-bottom: 1px solid #d7d2cf !important;
    background: #fff !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .app-header.site-page-header {
    min-height: 118px !important;
    padding: 18px 46px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 16px !important;
  }

  .site-page-header-inner {
    width: 100% !important;
    max-width: none !important;
    min-height: 118px !important;
    margin: 0 !important;
    padding: 18px 46px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 16px !important;
  }

  .site-page-heading {
    min-width: 0 !important;
  }

  .site-page-heading .eyebrow,
  .site-page-heading .notes-eyebrow {
    margin: 0 0 5px !important;
    color: #df0038 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
  }

  .site-page-heading h1 {
    margin: 0 !important;
    color: #171717 !important;
    font-size: 29px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -.025em !important;
  }

  .site-page-subtitle,
  .site-page-heading > p:last-child {
    margin: 6px 0 0 !important;
    color: #6b6662 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  .app-header.site-page-header .header-right {
    width: 100% !important;
    display: block !important;
    align-self: auto !important;
  }

  .app-header.site-page-header .header-actions,
  .site-page-actions {
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
  }

  .app-header.site-page-header .header-actions {
    justify-content: flex-end !important;
  }

  .app-header.site-page-header .calendar-controls {
    margin-left: auto !important;
  }
}

/* Shared compact/mobile page navigation: hamburger + centered page title + search. */
@media (max-width: 999px) {
  .app-header.compact-header-layout,
  .site-notes-compact-nav {
    position: relative !important;
    min-height: 92px !important;
    padding: 14px 14px 12px !important;
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) 48px !important;
    align-items: start !important;
    border-top: 3px solid #111 !important;
    border-bottom: 1px solid #d7d7d7 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .app-header.compact-header-layout .header-title-block {
    grid-column: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .app-header.compact-header-layout .header-title-block .eyebrow,
  .app-header.compact-header-layout .header-title-block .site-page-subtitle {
    display: none !important;
  }

  .app-header.compact-header-layout > .compact-nav-toggle,
  .site-notes-compact-nav > .site-notes-nav-toggle {
    grid-column: 1 !important;
    grid-row: 1 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    align-self: start !important;
    justify-self: start !important;
  }

  .compact-header-shoe-icon,
  .site-notes-search-shortcut {
    grid-column: 3 !important;
    grid-row: 1 !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    align-self: start !important;
    justify-self: end !important;
  }

  /* Notes already names the page in the compact header; keep only its actions below. */
  .notes-header.site-page-header .site-page-heading {
    display: none !important;
  }

  .notes-header.site-page-header {
    border-top: 0 !important;
  }

  .notes-header.site-page-header .site-page-header-inner {
    min-height: 0 !important;
    padding-top: 12px !important;
  }
}

@media (max-width: 580px) {
  .app-header.compact-header-layout,
  .site-notes-compact-nav {
    min-height: 82px !important;
    padding: 11px 8px 9px !important;
  }

}


/* One exact title treatment for every Nexus page. */
.site-page-title,
.site-compact-page-title {
  font-family: "Inter", Arial, sans-serif !important;
}

@media (min-width: 1000px) {
  .site-page-heading .site-page-title {
    margin: 0 !important;
    color: #171717 !important;
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 29px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -.025em !important;
  }
}

@media (max-width: 999px) {
  .app-header.compact-header-layout,
  .site-notes-compact-nav {
    height: 74px !important;
    min-height: 74px !important;
    padding: 10px 12px !important;
    grid-template-rows: 52px !important;
    align-items: center !important;
  }

  .app-header.compact-header-layout .header-title-block {
    height: 52px !important;
    min-height: 52px !important;
    display: grid !important;
    place-items: center !important;
  }

  .app-header.compact-header-layout .site-compact-page-title,
  .site-notes-compact-nav > .site-compact-page-title {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: center !important;
    justify-self: center !important;
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 25px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: -.025em !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .app-header.compact-header-layout > .compact-nav-toggle,
  .site-notes-compact-nav > .site-notes-nav-toggle,
  .compact-header-shoe-icon,
  .site-notes-search-shortcut {
    align-self: center !important;
  }
}

@media (max-width: 580px) {
  .app-header.compact-header-layout,
  .site-notes-compact-nav {
    height: 68px !important;
    min-height: 68px !important;
    padding: 8px 8px !important;
    grid-template-rows: 52px !important;
  }

  .app-header.compact-header-layout .site-compact-page-title,
  .site-notes-compact-nav > .site-compact-page-title {
    font-size: 22px !important;
    font-weight: 500 !important;
  }
}


/* Final compact header alignment: every page title shares the exact same center point. */
@media (max-width: 999px) {
  .app-header.compact-header-layout,
  .site-notes-compact-nav {
    position: relative !important;
  }

  .app-header.compact-header-layout .header-title-block {
    position: static !important;
  }

  .app-header.compact-header-layout .site-compact-page-title,
  .site-notes-compact-nav > .site-compact-page-title {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: auto !important;
    max-width: calc(100% - 120px) !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, -50%) !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  /* Worksheet belongs in the hamburger on compact layouts, not as a page-body shortcut. */
  .worksheet-nav-button {
    display: none !important;
  }
}


/* Canonical compact header used by every page. Do not page-scope these rules. */
@media (max-width: 999px) {
  .site-compact-header {
    position: relative !important;
    width: 100% !important;
    height: 92px !important;
    min-height: 92px !important;
    padding: 14px 14px 12px !important;
    display: block !important;
    border-top: 3px solid #111 !important;
    border-bottom: 1px solid #d7d7d7 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .site-compact-header .site-compact-page-title {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: auto !important;
    max-width: calc(100% - 124px) !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, -50%) !important;
    color: #171717 !important;
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 25px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: -.025em !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  /* Page-specific content inside the compact header must not influence title centering. */
  .site-compact-header .header-title-block {
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

@media (max-width: 580px) {
  .site-compact-header {
    height: 82px !important;
    min-height: 82px !important;
    padding: 11px 8px 9px !important;
  }

  .site-compact-header .site-compact-page-title {
    max-width: calc(100% - 112px) !important;
    font-size: 22px !important;
  }

}


/* Shared compact control placement. Internal hamburger artwork remains owned by compact-nav CSS. */
@media (max-width: 999px) {
  .site-compact-header .site-compact-nav-toggle,
  .site-compact-header .site-compact-search {
    position: absolute !important;
    top: 50% !important;
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    z-index: 75 !important;
  }

  .site-compact-header .site-compact-nav-toggle {
    left: 10px !important;
  }

  .site-compact-header .site-compact-search {
    right: 10px !important;
  }
}

@media (max-width: 580px) {
  .site-compact-header .site-compact-nav-toggle,
  .site-compact-header .site-compact-search {
    top: 10px !important;
  }

  .site-compact-header .site-compact-nav-toggle {
    left: 6px !important;
  }

  .site-compact-header .site-compact-search {
    right: 6px !important;
  }
}


/* Pixel-lock compact header title/search positions across all pages. */
@media (max-width: 999px) {
  .site-compact-header .site-compact-page-title {
    top: 14px !important;
    height: 46px !important;
    min-height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translateX(-50%) !important;
  }

  .site-compact-header .site-compact-search {
    top: 14px !important;
    display: grid !important;
    place-items: center !important;
    line-height: 0 !important;
  }

  .site-compact-header .site-compact-search svg {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    fill: none !important;
    stroke: #171717 !important;
    stroke-width: 1.7 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }
}

@media (max-width: 580px) {
  .site-compact-header .site-compact-page-title,
  .site-compact-header .site-compact-search {
    top: 10px !important;
  }
}


/* One visible compact navigation component, rendered by site-navigation.js on every page. */
.site-shared-compact-bar {
  display: none;
}

@media (max-width: 999px) {
  .site-shared-compact-bar {
    position: relative !important;
    width: 100% !important;
    height: 92px !important;
    min-height: 92px !important;
    padding: 0 !important;
    display: block !important;
    border-top: 3px solid #111 !important;
    border-bottom: 1px solid #d7d7d7 !important;
    background: #fff !important;
    box-shadow: none !important;
    z-index: 70 !important;
  }

  .site-shared-compact-title {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: auto !important;
    max-width: calc(100% - 124px) !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #171717 !important;
    font-family: "Poppins", Arial, Helvetica, sans-serif !important;
    font-size: clamp(21px, 2.5vw, 30px) !important;
    font-weight: 600 !important;
    line-height: 1.08 !important;
    letter-spacing: -.025em !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .site-shared-compact-menu,
  .site-shared-compact-search {
    position: absolute !important;
    top: 50% !important;
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #171717 !important;
    z-index: 75 !important;
    transform: translateY(-50%) !important;
    appearance: none !important;
    -webkit-appearance: none !important;
  }

  .site-shared-compact-menu {
    left: 10px !important;
  }

  .site-shared-compact-search {
    right: 10px !important;
    line-height: 0 !important;
    cursor: pointer !important;
  }

  .site-shared-compact-search svg {
    display: block !important;
    width: 27px !important;
    height: 27px !important;
    fill: none !important;
    stroke: #171717 !important;
    stroke-width: 1.7 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  /* Old compact controls remain only as hidden event drivers. */
  .site-notes-compact-driver,
  .site-shared-compact-active #compactNavToggle,
  .site-shared-compact-active #compactHeaderShoeIcon {
    display: none !important;
  }

  /* Nexus' old compact header is no longer the visible nav; week controls remain in compactNavBar. */
  .site-shared-compact-active .app-header.site-page-header {
    display: none !important;
  }
}

@media (max-width: 580px) {
  .site-shared-compact-bar {
    height: 82px !important;
    min-height: 82px !important;
  }

  .site-shared-compact-title {
    max-width: calc(100% - 112px) !important;
    font-size: 21px !important;
    line-height: 1.08 !important;
  }

  .site-shared-compact-menu {
    left: 6px !important;
  }

  .site-shared-compact-search {
    right: 6px !important;
  }
}


/* Notes' legacy compact element is now only an invisible drawer/event driver. */
.site-notes-compact-driver {
  display: none !important;
}


/* Canonical desktop page identity used by every Nexus page. */
@media (min-width: 1000px) {
  .site-page-identity {
    min-width: 0 !important;
  }

  .site-page-identity .site-page-eyebrow {
    margin: 0 0 5px !important;
    color: #df0038 !important;
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
  }

  .site-page-identity .site-page-title {
    margin: 0 !important;
    color: #171717 !important;
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 29px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -.025em !important;
  }

  .site-page-identity .site-page-store-name {
    margin: 6px 0 0 !important;
    color: #6b6662 !important;
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }
}

.cloud-dialog-store-name {
  margin: 5px 0 0;
  color: #6b6662;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

.cloud-dialog-store-name[hidden] {
  display: none !important;
}

.cloud-dialog-heading .cloud-dialog-store-name + .save-status {
  margin-top: 7px;
}



/* One visible desktop navigation component on every page. */
@media (min-width: 1000px) {
  .site-shared-desktop-nav {
    display: flex !important;
  }

  /* Nexus native controls remain in DOM only as action drivers. */
  .site-native-nav-driver {
    display: none !important;
  }

  /* The real cloud-sync button remains callable but is not rendered twice. */
  .site-shared-desktop-active .app-header .header-store-selector {
    display: none !important;
  }
}

@media (max-width: 999px) {
  .site-shared-desktop-nav {
    display: none !important;
  }
}


/* Canonical desktop navigation: isolated from page-level Nexus/Notes styles. */
@media (min-width: 1000px) {
  .site-shared-desktop-nav {
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    box-sizing: border-box !important;
    padding: 8px 46px !important;
    display: grid !important;
    grid-template-columns: minmax(220px, 1fr) auto auto !important;
    column-gap: 18px !important;
    align-items: center !important;
    border-top: 4px solid #111 !important;
    border-bottom: 1px solid #dedbd8 !important;
    background: #fff !important;
    color: #171717 !important;
    font-family: "Inter", Arial, sans-serif !important;
  }

  .site-shared-desktop-nav .site-nav-left,
  .site-shared-desktop-nav .site-nav-right {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .site-shared-desktop-nav .site-nav-left {
    justify-self: start !important;
  }

  .site-shared-desktop-nav .site-nav-right {
    justify-self: end !important;
  }

  .site-shared-desktop-nav .site-nav-item {
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #171717 !important;
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  .site-shared-desktop-nav .site-nav-item > span {
    margin: 0 !important;
    padding: 0 !important;
    font: inherit !important;
    line-height: 1 !important;
  }

  .site-shared-desktop-nav .site-shared-nav-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    flex: 0 0 18px !important;
    display: block !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    color: #171717 !important;
  }

  .site-shared-desktop-nav .site-shared-nav-icon-outline,
  .site-shared-desktop-nav .site-shared-nav-icon-outline * {
    fill: none !important;
    stroke: #171717 !important;
    stroke-width: 1.7 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  .site-shared-desktop-nav .site-shared-nav-icon-filled,
  .site-shared-desktop-nav .site-shared-nav-icon-filled * {
    fill: #171717 !important;
    stroke: none !important;
  }

  .site-shared-desktop-nav .site-shared-nav-icon-spark,
  .site-shared-desktop-nav .site-shared-nav-icon-spark * {
    fill: none !important;
    stroke: #171717 !important;
    stroke-width: 1.7 !important;
  }

  .site-shared-desktop-nav .site-nav-account {
    justify-self: end !important;
    margin: 0 !important;
  }
}


/* Final canonical compact title typography: reset every font sub-property. */
@media (max-width: 999px) {
  .site-shared-compact-bar .site-shared-compact-title {
    font: 600 clamp(21px, 2.5vw, 30px) / 1.08 "Poppins", Arial, Helvetica, sans-serif !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-stretch: normal !important;
    font-synthesis: none !important;
    font-kerning: normal !important;
    letter-spacing: -.025em !important;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
  }
}

@media (max-width: 640px) {
  .site-shared-compact-bar .site-shared-compact-title {
    font-size: 21px !important;
  }
}

@media (max-width: 430px) {
  .site-shared-compact-bar .site-shared-compact-title {
    font-size: 19px !important;
  }
}


/* Famous.com mobile hamburger proportions: thin strokes with stepped widths. */
@media (max-width: 999px) {
  .site-shared-compact-menu .compact-nav-toggle-icon {
    position: relative !important;
    width: 22px !important;
    height: 20px !important;
  }

  .site-shared-compact-menu .compact-nav-toggle-icon i {
    position: absolute !important;
    left: 0 !important;
    height: 1px !important;
    min-height: 1px !important;
    border-radius: 0 !important;
    background: #171717 !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .site-shared-compact-menu .compact-nav-toggle-icon i:nth-child(1) {
    top: 0 !important;
    width: 22px !important;
  }

  .site-shared-compact-menu .compact-nav-toggle-icon i:nth-child(2) {
    top: 9.5px !important;
    width: 17px !important;
  }

  .site-shared-compact-menu .compact-nav-toggle-icon i:nth-child(3) {
    top: 19px !important;
    width: 6px !important;
  }
}


/* Firefox and Chromium intentionally share one exact hamburger geometry.
   The final middleware lock prevents legacy compact-nav rules from winning later. */


/* Restore current compact drawer details after legacy regressions */
@media (max-width: 999px) {
  .compact-nav-store-account,
  .compact-nav-store-account:hover,
  .compact-nav-store-account:focus-visible,
  .compact-nav-store-account:visited,
  .compact-nav-store-account strong {
    text-decoration: none !important;
  }

  .compact-nav-item.site-nav-workbench {
    display: none !important;
  }

  .compact-nav-item .power-bi-icon,
  .compact-nav-item .power-bi-icon rect,
  .site-notes-nav-section .power-bi-icon,
  .site-notes-nav-section .power-bi-icon rect {
    fill: #df0038 !important;
    stroke: none !important;
  }
}


/* Single shared compact drawer for Nexus and Notes */
@media (max-width: 999px) {
  /* Legacy Nexus/Notes drawers remain as hidden action drivers only. */
  .site-shared-compact-active #compactNavMenu,
  .site-shared-compact-active #compactNavBackdrop,
  .site-notes-nav-drawer,
  .site-notes-nav-backdrop {
    display: none !important;
  }

  .site-shared-compact-drawer,
  .site-shared-compact-drawer * {
    box-sizing: border-box !important;
  }

  .site-shared-compact-drawer .site-nav-item {
    color: #171717 !important;
    text-decoration: none !important;
  }

  .site-shared-compact-drawer .site-nav-import {
    background: #171717 !important;
    color: #ffffff !important;
  }

  .site-shared-compact-drawer .site-nav-import:hover,
  .site-shared-compact-drawer .site-nav-import:focus-visible {
    background: #242424 !important;
    color: #ffffff !important;
  }

  .site-shared-compact-drawer .site-nav-import .site-shared-nav-icon,
  .site-shared-compact-drawer .site-nav-import .site-shared-nav-icon * {
    fill: none !important;
    stroke: #ffffff !important;
  }

  .site-shared-compact-drawer .site-nav-workbench .site-shared-nav-icon,
  .site-shared-compact-drawer .site-nav-workbench .site-shared-nav-icon * {
    fill: #171717 !important;
    stroke: none !important;
  }

  .site-shared-compact-drawer .site-nav-power .power-bi-icon,
  .site-shared-compact-drawer .site-nav-power .power-bi-icon * {
    fill: #171717 !important;
    stroke: none !important;
  }

  .site-shared-compact-drawer .compact-nav-store-account,
  .site-shared-compact-drawer .compact-nav-store-account strong {
    text-decoration: none !important;
  }

  .site-shared-compact-drawer .compact-nav-section {
    margin-bottom: 0 !important;
  }
}


/* Nexus favicon beside every shared mobile page title */
@media (max-width: 999px) {
  .site-shared-compact-title {
    gap: 8px !important;
  }

  .site-shared-compact-title-icon {
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
    display: block !important;
    border-radius: 0 !important;
    object-fit: contain !important;
  }

  .site-shared-compact-title-text {
    min-width: 0 !important;
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 430px) {
  .site-shared-compact-title {
    gap: 7px !important;
  }

  .site-shared-compact-title-icon {
    width: 22px !important;
    height: 22px !important;
    flex-basis: 22px !important;
    border-radius: 0 !important;
  }
}

/* Unified desktop page identity placement */
@media (min-width: 1000px) {
  /* Nexus, Notes, and Schedule all start the page identity at the same x/y. */
  .app-header.site-page-header,
  .notes-header.site-page-header {
    min-height: 118px !important;
  }

  .app-header.site-page-header,
  .site-page-header-inner {
    padding-left: 46px !important;
    padding-right: 46px !important;
  }

  body.schedule-page-open .schedule-page .schedule-dialog-card:not(.schedule-print-card) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 18px 46px 24px !important;
  }

  body.schedule-page-open .schedule-page .schedule-page-heading {
    min-height: 82px !important;
    margin: 0 !important;
    padding: 0 0 14px !important;
    align-items: center !important;
  }

  /* One exact type system for the identity block on every desktop page. */
  .site-page-identity,
  .site-page-identity *,
  body.schedule-page-open .schedule-page .site-page-identity,
  body.schedule-page-open .schedule-page .site-page-identity * {
    font-family: "Inter", Arial, sans-serif !important;
  }

  .site-page-heading .site-page-eyebrow,
  body.schedule-page-open .schedule-page .site-page-heading .site-page-eyebrow {
    margin: 0 0 5px !important;
    color: #df0038 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
  }

  .site-page-heading .site-page-title,
  body.schedule-page-open .schedule-page .site-page-heading .site-page-title {
    margin: 0 !important;
    color: #171717 !important;
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 29px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -.025em !important;
  }

  .site-page-store-name,
  .site-page-subtitle,
  body.schedule-page-open .schedule-page .site-page-meta,
  body.schedule-page-open .schedule-page .site-page-meta * {
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
  }

  body.schedule-page-open .schedule-page .site-page-meta {
    margin-top: 6px !important;
  }

  /* Desktop navigation already provides a direct path back to Nexus. */
  .notes-header.site-page-header .notes-back {
    display: none !important;
  }

  .notes-header.site-page-header .notes-header-actions {
    justify-content: flex-end !important;
  }
}

/* Match compact center title to desktop identity typography */
@media (max-width: 999px) {
  .site-shared-compact-bar .site-shared-compact-title,
  .site-shared-compact-bar .site-shared-compact-title-text {
    font-family: "Inter", Arial, sans-serif !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-stretch: normal !important;
    font-synthesis: none !important;
    font-kerning: normal !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -.025em !important;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
  }

  .site-shared-compact-bar .site-shared-compact-title {
    font-size: 25px !important;
  }
}

@media (max-width: 640px) {
  .site-shared-compact-bar .site-shared-compact-title {
    font-size: 21px !important;
  }
}

@media (max-width: 430px) {
  .site-shared-compact-bar .site-shared-compact-title {
    font-size: 19px !important;
  }
}

/* Standalone Nexus brand in desktop navigation */
@media (min-width: 1000px) {
  .site-shared-desktop-nav .site-nav-brand-home {
    width: 32px !important;
    min-width: 32px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 18px 0 4px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 32px !important;
    border: 0 !important;
    background: transparent !important;
    text-decoration: none !important;
  }

  .site-shared-desktop-nav .site-nav-brand-home .site-shared-nav-brand-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    display: block !important;
    object-fit: contain !important;
  }

  .site-shared-desktop-nav .site-nav-schedule {
    gap: 7px !important;
  }

  .site-shared-desktop-nav .site-nav-schedule .site-shared-nav-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    flex: 0 0 18px !important;
  }
}

/* Compact desktop page headers: align actions with identity */
@media (min-width: 1000px) {
  /* Worksheet/Nexus: keep the page identity left and week/import controls
     vertically centered on the same row, like Schedule's Print button. */
  .app-header.site-page-header {
    min-height: 92px !important;
    padding: 14px 46px !important;
    grid-template-columns: minmax(260px, 1fr) auto !important;
    column-gap: 28px !important;
    row-gap: 0 !important;
    align-items: center !important;
  }

  .app-header.site-page-header .header-title-block {
    grid-column: 1 !important;
    align-self: center !important;
  }

  .app-header.site-page-header .header-right {
    grid-column: 2 !important;
    width: auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    align-self: center !important;
  }

  .app-header.site-page-header .header-actions {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  .app-header.site-page-header .calendar-controls {
    margin: 0 !important;
    flex: 0 1 auto !important;
  }

  .app-header.site-page-header .import-dayforce-group {
    margin: 0 !important;
    flex: 0 0 auto !important;
  }

  /* Notes: put Categories/New Note on the same vertical centerline as
     the title block instead of leaving them at the bottom of a tall header. */
  .notes-header.site-page-header {
    min-height: 92px !important;
  }

  .notes-header.site-page-header .site-page-header-inner {
    min-height: 92px !important;
    padding: 14px 46px !important;
    grid-template-columns: minmax(260px, 1fr) auto !important;
    column-gap: 28px !important;
    row-gap: 0 !important;
    align-items: center !important;
  }

  .notes-header.site-page-header .site-page-heading {
    grid-column: 1 !important;
    align-self: center !important;
  }

  .notes-header.site-page-header .notes-header-actions {
    grid-column: 2 !important;
    width: auto !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    align-self: center !important;
    gap: 9px !important;
  }
}

/* Stable centered desktop Nexus navigation. */
@media (min-width: 1000px) {
  .site-shared-desktop-nav {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    grid-template-columns: none !important;
  }

  .site-shared-desktop-nav .site-nav-center {
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
  }

  .site-shared-desktop-nav .site-nav-center .site-nav-brand-home {
    margin: 0 18px 0 0 !important;
  }

  .site-shared-desktop-nav .site-nav-center .site-nav-item {
    padding-inline: 10px !important;
  }

  .site-shared-desktop-nav .site-nav-account-slot {
    position: absolute !important;
    top: 8px !important;
    right: 46px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  html.site-shared-desktop-active .app-header.site-page-header .header-store-selector {
    display: none !important;
  }
}

@media (min-width: 1000px) and (max-width: 1199px) {
  .site-shared-desktop-nav {
    padding-inline: 22px !important;
  }

  .site-shared-desktop-nav .site-nav-center {
    gap: 1px !important;
  }

  .site-shared-desktop-nav .site-nav-center .site-nav-brand-home {
    margin-right: 14px !important;
  }

  .site-shared-desktop-nav .site-nav-center .site-nav-item {
    padding-inline: 7px !important;
    font-size: 12px !important;
  }

  .site-shared-desktop-nav .site-nav-account-slot {
    right: 22px !important;
  }
}

@media (min-width: 1000px) and (max-width: 1279px) {
  /* Keep the worksheet identity, week selector, and Dayforce import on one row. */
  .app-header.site-page-header {
    min-height: 92px !important;
    padding: 12px 24px !important;
    display: grid !important;
    grid-template-columns: minmax(215px, .72fr) minmax(0, 1.8fr) !important;
    column-gap: 18px !important;
    row-gap: 0 !important;
    align-items: center !important;
  }

  .app-header.site-page-header .header-title-block {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    align-self: center !important;
  }

  .app-header.site-page-header .header-right {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  .app-header.site-page-header .header-actions {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }

  .app-header.site-page-header .calendar-controls {
    min-width: 0 !important;
    margin: 0 !important;
    flex: 1 1 auto !important;
  }

  .app-header.site-page-header .week-picker {
    min-width: 0 !important;
  }

  .app-header.site-page-header .import-dayforce-group {
    margin: 0 !important;
    flex: 0 0 auto !important;
  }

  .app-header.site-page-header #importDayforce {
    padding-inline: 14px !important;
    white-space: nowrap !important;
  }
}

/* Defensive desktop account sizing: never allow the store avatar to escape the nav. */
@media (min-width: 1000px) {
  .site-shared-desktop-nav .site-nav-account-slot {
    z-index: 3 !important;
    max-width: 180px !important;
    overflow: visible !important;
  }

  .site-shared-desktop-nav .site-nav-account {
    max-width: 180px !important;
    overflow: visible !important;
  }

  .site-shared-desktop-nav .site-nav-account .site-nav-store-avatar,
  .site-shared-desktop-nav .site-nav-account img {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    flex: 0 0 24px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
  }

  .site-shared-desktop-nav .site-nav-center {
    max-width: calc(100vw - 250px) !important;
    overflow: visible !important;
  }
}


/* Desktop must never render any compact/mobile navigation artifacts. */
@media (min-width: 1000px) {
  .site-shared-compact-bar,
  .site-shared-compact-drawer,
  .site-shared-compact-backdrop,
  #siteSharedCompactDrawer,
  #siteSharedCompactBackdrop,
  #compactNavMenu,
  #compactNavBackdrop {
    display: none !important;
    visibility: hidden !important;
  }
}


/* Canonical SVG hamburger: identical in Firefox and Chromium. */
.nexus-hamburger-svg {
  display: block !important;
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  transform: none !important;
}


/* Canonical site-wide desktop page header system */
:root {
  --nexus-page-header-height: 92px;
  --nexus-page-header-pad-y: 14px;
  --nexus-page-header-pad-x: 46px;
  --nexus-page-header-gap: 28px;
  --nexus-page-header-border: #dedbd8;
  --nexus-page-header-bg: #ffffff;
  --nexus-page-title: #171717;
  --nexus-page-muted: #6d6966;
  --nexus-page-accent: #df0038;
}

@media (min-width: 1000px) {
  /* Every full-page section uses the same Store Nexus header frame. */
  .site-page-header.site-page-header {
    width: 100% !important;
    max-width: none !important;
    min-height: var(--nexus-page-header-height) !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-top: 0 !important;
    border-bottom: 1px solid var(--nexus-page-header-border) !important;
    background: var(--nexus-page-header-bg) !important;
    box-shadow: none !important;
  }

  /* Pages with direct header children: Nexus, Tools, Store Layout, Money Count, Sales Report. */
  .app-header.site-page-header {
    padding: var(--nexus-page-header-pad-y) var(--nexus-page-header-pad-x) !important;
    display: grid !important;
    grid-template-columns: minmax(260px, 1fr) auto !important;
    column-gap: var(--nexus-page-header-gap) !important;
    row-gap: 0 !important;
    align-items: center !important;
  }

  /* Pages with a shared inner wrapper: News, News Story, Notes, News Sync. */
  .site-page-header.site-page-header > .site-page-header-inner.site-page-header-inner {
    width: 100% !important;
    max-width: none !important;
    min-height: calc(var(--nexus-page-header-height) - (var(--nexus-page-header-pad-y) * 2)) !important;
    margin: 0 !important;
    padding: var(--nexus-page-header-pad-y) var(--nexus-page-header-pad-x) !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(260px, 1fr) auto !important;
    column-gap: var(--nexus-page-header-gap) !important;
    row-gap: 0 !important;
    align-items: center !important;
  }

  .site-page-header .site-page-heading,
  .site-page-header .site-page-identity {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: center !important;
  }

  .site-page-header .site-page-eyebrow {
    margin: 0 0 5px !important;
    color: var(--nexus-page-accent) !important;
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
  }

  .site-page-header .site-page-title {
    max-width: none !important;
    margin: 0 !important;
    color: var(--nexus-page-title) !important;
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 29px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -.025em !important;
  }

  .site-page-header .site-page-store-name,
  .site-page-header .site-page-subtitle,
  .site-page-header .site-page-meta,
  .site-page-header .site-page-meta * {
    margin-top: 6px !important;
    color: var(--nexus-page-muted) !important;
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
  }

  .site-page-header .site-page-actions {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    align-self: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  .site-page-header .site-page-actions > a,
  .site-page-header .site-page-actions > button {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    border-radius: 4px !important;
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  /* Schedule uses the same identity measurements even though it lives in its page shell. */
  body.schedule-page-open .schedule-page .schedule-page-heading {
    min-height: var(--nexus-page-header-height) !important;
    padding: var(--nexus-page-header-pad-y) 0 !important;
    box-sizing: border-box !important;
    align-items: center !important;
  }

  body.schedule-page-open .schedule-page .site-page-heading .site-page-eyebrow {
    margin: 0 0 5px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: .1em !important;
  }

  body.schedule-page-open .schedule-page .site-page-heading .site-page-title {
    margin: 0 !important;
    font-size: 29px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -.025em !important;
  }

  body.schedule-page-open .schedule-page .site-page-meta,
  body.schedule-page-open .schedule-page .site-page-meta * {
    margin-top: 6px !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
  }
}

html.nexus-dark-gray {
  --nexus-page-header-border: #57524e;
  --nexus-page-header-bg: #2d2d2d;
  --nexus-page-title: #f3f1ef;
  --nexus-page-muted: #bbb6b2;
}


/* Schedule header uses the exact Worksheet desktop header frame */
@media (min-width: 1000px) {
  /* Remove the standalone Schedule card's extra top inset. The shared
     92px header row now starts immediately below the global navigation,
     exactly like the Worksheet header. */
  body.schedule-page-open .schedule-page .schedule-dialog-card:not(.schedule-print-card) {
    padding: 0 var(--nexus-page-header-pad-x) 24px !important;
  }

  body.schedule-page-open .schedule-page .schedule-page-heading {
    width: 100% !important;
    min-height: var(--nexus-page-header-height) !important;
    height: var(--nexus-page-header-height) !important;
    margin: 0 !important;
    padding: var(--nexus-page-header-pad-y) 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: var(--nexus-page-header-gap) !important;
    border-bottom: 1px solid var(--nexus-page-header-border) !important;
  }

  body.schedule-page-open .schedule-page .schedule-page-heading > .site-page-heading {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 auto !important;
    align-self: center !important;
  }

  body.schedule-page-open .schedule-page .schedule-dialog-actions {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    align-self: center !important;
    gap: 10px !important;
    flex: 0 0 auto !important;
  }

  body.schedule-page-open .schedule-page .schedule-print-button {
    width: auto !important;
    max-width: none !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
  }

  body.schedule-page-open .schedule-page .schedule-roster-button {
    min-width: 104px !important;
  }

  body.schedule-page-open .schedule-page #printScheduleButton {
    min-width: 148px !important;
  }
}


/* Wrapper-based pages must not add a second outer header inset */
@media (min-width: 1000px) {
  /* News, News Story, Notes, and News Sync already receive the canonical
     46px gutter from .site-page-header-inner. Remove their legacy outer
     padding so the identity begins on the exact same x/y as Schedule. */
  .news-page-header.site-page-header,
  .notes-header.site-page-header,
  .news-sync-header.site-page-header {
    min-height: var(--nexus-page-header-height) !important;
    height: var(--nexus-page-header-height) !important;
    padding: 0 !important;
  }

  .news-page-header.site-page-header > .site-page-header-inner,
  .notes-header.site-page-header > .site-page-header-inner,
  .news-sync-header.site-page-header > .site-page-header-inner {
    height: var(--nexus-page-header-height) !important;
    min-height: var(--nexus-page-header-height) !important;
    padding-top: var(--nexus-page-header-pad-y) !important;
    padding-bottom: var(--nexus-page-header-pad-y) !important;
  }
}


/* Pixel-lock every desktop page identity to one shared origin */
@media (min-width: 1000px) {
  :root {
    --nexus-page-identity-x: 46px;
    --nexus-page-identity-y: 14px;
  }

  /* Wrapper-based full pages: News, News Story, Notes, News Sync. */
  .site-page-header.site-page-header > .site-page-header-inner.site-page-header-inner {
    position: relative !important;
    height: var(--nexus-page-header-height) !important;
    min-height: var(--nexus-page-header-height) !important;
    padding:
      var(--nexus-page-identity-y)
      var(--nexus-page-identity-x)
      0 !important;
    align-items: start !important;
  }

  .site-page-header.site-page-header > .site-page-header-inner.site-page-header-inner > .site-page-heading,
  .site-page-header.site-page-header > .site-page-header-inner.site-page-header-inner > .site-page-identity {
    align-self: start !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-page-header.site-page-header > .site-page-header-inner.site-page-header-inner > .site-page-actions {
    align-self: start !important;
    margin-top: 12px !important;
  }

  /* Direct-child headers: Worksheet, Tools, Store Layout, Money Count, Sales Report. */
  .app-header.site-page-header {
    position: relative !important;
    height: var(--nexus-page-header-height) !important;
    min-height: var(--nexus-page-header-height) !important;
    padding:
      var(--nexus-page-identity-y)
      var(--nexus-page-identity-x)
      0 !important;
    align-items: start !important;
  }

  .app-header.site-page-header > .site-page-heading,
  .app-header.site-page-header > .site-page-identity,
  .app-header.site-page-header > .header-title-block {
    align-self: start !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .app-header.site-page-header > .header-right,
  .app-header.site-page-header > .site-page-actions {
    align-self: start !important;
    margin-top: 12px !important;
  }

  /* Standalone Schedule uses the exact same origin inside its 46px page gutter. */
  body.schedule-page-open .schedule-page .schedule-page-heading {
    position: relative !important;
    height: var(--nexus-page-header-height) !important;
    min-height: var(--nexus-page-header-height) !important;
    padding: var(--nexus-page-identity-y) 0 0 !important;
    align-items: start !important;
  }

  body.schedule-page-open .schedule-page .schedule-page-heading > .site-page-heading,
  body.schedule-page-open .schedule-page .schedule-page-heading > .site-page-identity {
    align-self: start !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.schedule-page-open .schedule-page .schedule-dialog-actions {
    align-self: start !important;
    margin-top: 12px !important;
  }

  /* Remove paragraph default-margin differences from the shared identity stack. */
  .site-page-header .site-page-eyebrow,
  .site-page-header .site-page-title,
  .site-page-header .site-page-store-name,
  .site-page-header .site-page-subtitle,
  body.schedule-page-open .schedule-page .site-page-eyebrow,
  body.schedule-page-open .schedule-page .site-page-title,
  body.schedule-page-open .schedule-page .site-page-meta,
  body.schedule-page-open .schedule-page .site-page-meta p,
  body.schedule-page-open .schedule-page .site-page-meta span {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }
}


/* Schedule navigation safety: keep page header below and out of shared nav */
@media (min-width: 1000px) {
  /* The standalone Schedule shell is structurally different from the other
     pages. Keep its 92px header centered inside its own row so it cannot
     intrude into or clip the 58px shared desktop navigation above it. */
  body.schedule-page-open .schedule-page .schedule-page-heading {
    position: static !important;
    height: var(--nexus-page-header-height) !important;
    min-height: var(--nexus-page-header-height) !important;
    margin: 0 !important;
    padding: var(--nexus-page-header-pad-y) 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }

  body.schedule-page-open .schedule-page .schedule-page-heading > .site-page-heading,
  body.schedule-page-open .schedule-page .schedule-page-heading > .site-page-identity {
    align-self: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.schedule-page-open .schedule-page .schedule-dialog-actions {
    align-self: center !important;
    margin: 0 0 0 auto !important;
  }

  /* Keep the shared nav isolated above the standalone Schedule page. */
  body.schedule-page-open .site-shared-desktop-nav {
    position: relative !important;
    z-index: 100 !important;
    overflow: visible !important;
  }

  body.schedule-page-open .site-shared-desktop-nav .site-nav-center,
  body.schedule-page-open .site-shared-desktop-nav .site-nav-account-slot,
  body.schedule-page-open .site-shared-desktop-nav .site-nav-item,
  body.schedule-page-open .site-shared-desktop-nav .site-nav-account {
    overflow: visible !important;
  }
}


/* Exact shared desktop page-header typography */
@media (min-width: 1000px) {
  :root {
    --nexus-page-eyebrow-font-size: 10px;
    --nexus-page-title-font-size: 29px;
    --nexus-page-subtitle-font-size: 12px;
  }

  .site-page-header .site-page-eyebrow,
  body.schedule-page-open .schedule-page .site-page-eyebrow {
    font-family: "Inter", Arial, sans-serif !important;
    font-size: var(--nexus-page-eyebrow-font-size) !important;
    font-weight: 800 !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-stretch: normal !important;
    line-height: 1.1 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
  }

  .site-page-header .site-page-title,
  body.schedule-page-open .schedule-page .site-page-title {
    font-family: "Inter", Arial, sans-serif !important;
    font-size: var(--nexus-page-title-font-size) !important;
    font-weight: 700 !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-stretch: normal !important;
    line-height: 1.1 !important;
    letter-spacing: -.025em !important;
  }

  .site-page-header .site-page-store-name,
  .site-page-header .site-page-subtitle,
  .site-page-header .site-page-meta,
  .site-page-header .site-page-meta *,
  body.schedule-page-open .schedule-page .site-page-meta,
  body.schedule-page-open .schedule-page .site-page-meta * {
    font-family: "Inter", Arial, sans-serif !important;
    font-size: var(--nexus-page-subtitle-font-size) !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-stretch: normal !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }
}


/* Canonical eyebrow-to-title spacing: match Schedule everywhere */
@media (min-width: 1000px) {
  .site-page-header .site-page-eyebrow,
  body.schedule-page-open .schedule-page .site-page-eyebrow {
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 5px !important;
    margin-left: 0 !important;
  }

  .site-page-header .site-page-title,
  body.schedule-page-open .schedule-page .site-page-title {
    margin-top: 0 !important;
  }
}


/* Shared Notes unread state */
.site-shared-desktop-nav .site-nav-notes.has-daily-note {
  color: #df0038 !important;
}

.site-shared-desktop-nav .site-nav-notes.has-daily-note:hover,
.site-shared-desktop-nav .site-nav-notes.has-daily-note:focus-visible {
  background: #fff3f5 !important;
  color: #c70032 !important;
}

.site-shared-desktop-nav .site-nav-notes.has-daily-note .site-shared-nav-icon,
.site-shared-compact-drawer .site-nav-notes.has-daily-note .site-shared-nav-icon {
  stroke: currentColor !important;
}

.site-shared-compact-drawer .site-nav-notes.has-daily-note {
  color: #df0038 !important;
}

.site-shared-compact-drawer .site-nav-notes.has-daily-note > span:first-of-type {
  font-weight: 800;
}


/* Final desktop navigation geometry: true centered links with isolated right utilities. */
@media (min-width: 1000px) {
  .site-shared-desktop-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 1200 !important;
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 8px 32px !important;
    display: grid !important;
    grid-template-columns: 230px minmax(0, 1fr) 230px !important;
    column-gap: 14px !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }

  .site-shared-desktop-nav .site-nav-center {
    grid-column: 2 !important;
    justify-self: center !important;
    width: max-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
    overflow: visible !important;
  }

  .site-shared-desktop-nav .site-nav-utility-slot {
    grid-column: 3 !important;
    justify-self: end !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
  }

  .site-shared-desktop-nav .site-nav-theme-slot {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    display: grid !important;
    place-items: center !important;
  }

  .site-shared-desktop-nav .site-nav-theme-slot .nexus-theme-toggle {
    position: static !important;
    inset: auto !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    margin: 0 !important;
    flex: 0 0 40px !important;
  }

  .site-shared-desktop-nav .site-nav-account-slot {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    width: auto !important;
    max-width: 182px !important;
    min-width: 0 !important;
    height: 40px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 0 1 auto !important;
    overflow: hidden !important;
  }

  .site-shared-desktop-nav .site-nav-account {
    min-width: 0 !important;
    max-width: 182px !important;
    overflow: hidden !important;
  }

  .site-shared-desktop-nav .site-nav-account strong {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 1000px) and (max-width: 1199px) {
  .site-shared-desktop-nav {
    padding-inline: 20px !important;
    grid-template-columns: 180px minmax(0, 1fr) 180px !important;
    column-gap: 8px !important;
  }

  .site-shared-desktop-nav .site-nav-center {
    gap: 0 !important;
  }

  .site-shared-desktop-nav .site-nav-center .site-nav-brand-home {
    margin-right: 10px !important;
  }

  .site-shared-desktop-nav .site-nav-center .site-nav-item {
    padding-inline: 6px !important;
    font-size: 11.5px !important;
  }

  .site-shared-desktop-nav .site-nav-account-slot,
  .site-shared-desktop-nav .site-nav-account {
    max-width: 132px !important;
  }
}
