/* JSV 2.0.173: one outer page gutter, not accumulated wrapper padding.
 * These markers are applied only along a known page's leading content chain.
 * Inner cards, forms, covers, rails and immersive app surfaces keep their rules.
 */
@layer jsv-page-spacing {
html body.jsv-page-spacing { --jsv-page-top-gap: 12px; }
html body.jsv-page-spacing:not(.jsv-groups-directory-compact) #jsv-x-page-content {
  padding-top: var(--jsv-page-top-gap) !important;
}
html body.jsv-page-spacing:not(.jsv-groups-directory-compact) .jsv-page-leading-frame,
html body.jsv-page-spacing:not(.jsv-groups-directory-compact) .jsv-page-leading-hero {
  margin-top: 0 !important;
}
html body.jsv-page-spacing:not(.jsv-groups-directory-compact) .jsv-page-leading-inset {
  padding-top: 0 !important;
}
html body.jsv-page-spacing:not(.jsv-groups-directory-compact) .jsv-page-leading-tabs {
  margin-top: 0 !important;
}
html body.jsv-page-spacing:not(.jsv-groups-directory-compact) [data-jsv-page-spacing-root="legacy"] {
  margin-top: var(--jsv-page-top-gap) !important;
}
html body.jsv-page-spacing:not(.jsv-groups-directory-compact) .jsv-wayfinding {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}
html body.jsv-page-spacing .jsv-page-return-row {
  position: relative !important;
  inset: auto !important;
  z-index: 2;
  display: flex !important;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  grid-column: 1 / -1;
  gap: 8px;
  width: 100% !important;
  min-width: 0;
  margin: 0 0 12px !important;
  padding: 0 !important;
}
html body.jsv-page-spacing .jsv-page-return-flex-row { flex-wrap: wrap !important; }
html body.jsv-page-spacing .jsv-page-return-flex-row > .jsv-page-return-row { flex-basis: 100%; }
html body.jsv-page-spacing :is(.jsv-page-return-flex,.jsv-page-return-grid) > .jsv-page-return-row { margin-bottom: 0 !important; }
html body.jsv-page-spacing .jsv-page-return-row a {
  position: relative !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: 100%;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 9px 12px !important;
  border: 1px solid var(--jsf-user-border, #d6e1ea) !important;
  border-radius: 8px;
  background: var(--jsf-user-card-bg, #fffdf8) !important;
  color: var(--jsf-user-card-text, #173b56) !important;
  -webkit-text-fill-color: var(--jsf-user-card-text, #173b56) !important;
  font: 650 13px/1.4 system-ui, sans-serif !important;
  white-space: normal;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  box-sizing: border-box;
}
html body.jsv-page-spacing .jsv-page-return-row a:focus-visible {
  outline: 3px solid var(--jsf-user-accent, #efc44d);
  outline-offset: 2px;
}
@media (max-width: 760px) {
  html body.jsv-page-spacing .jsv-page-return-row a { min-height: 44px !important; }
}
@media (forced-colors: active) {
  html body.jsv-page-spacing .jsv-page-return-row a { background: Canvas !important; color: LinkText !important; -webkit-text-fill-color: LinkText !important; }
}
}
