/* V288: MyPage section titles must remain readable regardless of Safari page
 * zoom, desktop-site mode or the light/dark dashboard workplane. */

body.app-shell.page-mypage #main-content .dash-section-head {
  position: relative !important;
  z-index: 1 !important;
  min-width: 0 !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px 12px !important;
}

body.app-shell.page-mypage #main-content .dash-section-head > h2 {
  position: relative !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 8px 16px !important;
  border: 2px solid #5adff5 !important;
  border-radius: 999px !important;
  background: #0a315e !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-stroke: 0 transparent !important;
  text-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  isolation: isolate;
  box-shadow: 0 8px 22px rgba(10, 49, 94, .18) !important;
}

body.app-shell.page-mypage #main-content .dash-section-head > :is(span, small, .muted) {
  position: relative !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 36px !important;
  padding: 7px 12px !important;
  border: 1px solid #bed4e7 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .98) !important;
  background-image: none !important;
  color: #294a68 !important;
  -webkit-text-fill-color: #294a68 !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-stroke: 0 transparent !important;
  text-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 680px) {
  body.app-shell.page-mypage #main-content .dash-section-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.app-shell.page-mypage #main-content .dash-section-head > h2,
  body.app-shell.page-mypage #main-content .dash-section-head > :is(span, small, .muted) {
    justify-self: start !important;
  }
}
