/* Keep section identity and actions below the global navigation, not above it. */
:root { --section-header-offset: 76px; }
.content > .view:not(#dashboard) > .page-head,
.content > .view > .welcome {
  position: sticky;
  top: var(--section-header-offset);
  z-index: 4;
  background: linear-gradient(120deg, #fff, var(--brand-50, #eef8fc));
  border: 1px solid var(--border, #dce8ed);
  border-radius: var(--radius-lg, 18px);
  padding: 20px 26px;
  box-shadow: 0 8px 24px rgba(0, 76, 124, .08);
}

/* Keep actions reachable on small screens and at high browser zoom. */
@media (max-width: 760px), (max-height: 600px) {
  .content > .view:not(#dashboard) > .page-head,
  .content > .view > .welcome {
    padding: 12px 16px;
    gap: 10px;
    max-height: 45vh;
    overflow: auto;
  }
}

@media print {
  .content > .view:not(#dashboard) > .page-head,
  .content > .view > .welcome {
    position: static;
    max-height: none;
    overflow: visible;
    box-shadow: none;
  }
}
