.app-shell .page-heading {
  position: relative;
  overflow: hidden;
  padding: 28px 32px;
  border: 1px solid var(--pulse-line) !important;
  border-radius: var(--pulse-radius-xl) !important;
  background: var(--pulse-surface) !important;
  box-shadow: var(--pulse-shadow-soft);
}

.app-shell .page-heading::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--pulse-orange), var(--pulse-plum), var(--pulse-teal));
}

.app-shell .page-heading > div,
.app-shell .page-heading > label,
.app-shell .page-heading > .heading-actions {
  position: relative;
  z-index: 1;
}

.app-shell .heading-actions { flex-wrap: wrap; }

@media (max-width: 820px) {
  .app-shell .page-heading { padding: 22px 18px; }
}

/* Partner Care v4 heading override: team command center. */
.app-shell .page-heading.team-management-heading {
  min-height: 172px;
  border: 0 !important;
  background: linear-gradient(118deg, #172b2f 0%, #285858 57%, #6c3e58 100%) !important;
  box-shadow: 0 20px 46px rgb(23 43 47 / 18%) !important;
  color: #fff !important;
}
.app-shell .page-heading.team-management-heading::after {
  inset: -82px -54px auto auto;
  width: 260px;
  height: 260px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 0 28px rgb(255 255 255 / 5%), 0 0 0 56px rgb(255 255 255 / 4%);
  content: "";
}
.app-shell .page-heading.team-management-heading :where(.eyebrow, h1, p) { color: #fff !important; }
/* Partner Care v7: schedule command-center hero. */
.app-shell .page-heading.schedule-page-heading {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 186px;
  padding: 30px 32px !important;
  border: 0 !important;
  border-radius: 24px !important;
  background: linear-gradient(118deg, #142025 0%, #245254 58%, #5d3457 100%) !important;
  box-shadow: 0 20px 46px rgb(23 43 47 / 18%) !important;
  color: #fff !important;
}
.app-shell .page-heading.schedule-page-heading::after {
  inset: -80px -45px auto auto;
  width: 260px;
  height: 260px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 0 28px rgb(255 255 255 / 5%), 0 0 0 56px rgb(255 255 255 / 4%);
  content: "";
}
.app-shell .page-heading.schedule-page-heading :where(.eyebrow, h1, p) { color: #fff !important; }
.app-shell .page-heading.schedule-page-heading .eyebrow { color: #ffd7c8 !important; }
.app-shell .page-heading.schedule-page-heading h1 { margin: 8px 0 10px; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.035em; }
.app-shell .page-heading.schedule-page-heading p { max-width: 700px; color: rgb(255 255 255 / 78%) !important; }
.app-shell .page-heading.schedule-page-heading .draft-pill { background: rgb(255 255 255 / 12%); color: #fff; border-color: rgb(255 255 255 / 16%); }
@media (max-width: 820px) {
  .app-shell .page-heading.schedule-page-heading { min-height: 170px; padding: 24px 20px !important; }
}