/* Approved A: a compact white badge, not a progress ring.
   Existing data bindings, hero copy, actions and device layout stay intact. */
body.homeDashboardApp #app .homeHero .homeHeroVisual::before,
body.homeDashboardApp #app .homeHero .homeHeroVisual::after {
  content: none !important;
  display: none !important;
}

body.homeDashboardApp #app .homeHero .homeHeroVisual .homeHeroCount {
  position: relative !important;
  inset: auto !important;
  width: min(158px, calc(100% - 20px)) !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  min-width: 0 !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 14px !important;
  transform: none !important;
  border: 2px solid #cde4f3 !important;
  border-radius: 50% !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: 0 6px 20px rgba(26, 76, 112, .04) !important;
  text-align: center !important;
}

body.homeDashboardApp #app .homeHero .homeHeroVisual .homeHeroCount::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(205, 228, 243, .65);
  border-radius: 50%;
  pointer-events: none;
}

body.homeDashboardApp #app .homeHero .homeHeroCount strong {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #173c62 !important;
  font-size: 54px !important;
  line-height: 1 !important;
  letter-spacing: -1.5px !important;
  font-variant-numeric: tabular-nums;
}

body.homeDashboardApp #app .homeHero .homeHeroCount > span {
  display: block !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  color: #59728a !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* Keep the established 92 x 108 mobile host and its 88px badge.
   Match the foundation's compact exclusions so Fold-wide/iPad stay wide. */
@media (max-width: 768px) {
  html[data-pe-device="compact"]:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide):not([data-pe-ipados="true"]):not([data-pe-fold-wide="true"]):not([data-pe87-fold-wide="true"])
  body.homeDashboardApp #app .homeHeroVisual .homeHeroCount {
    padding: 9px !important;
    gap: 5px !important;
  }
  html[data-pe-device="compact"]:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide):not([data-pe-ipados="true"]):not([data-pe-fold-wide="true"]):not([data-pe87-fold-wide="true"])
  body.homeDashboardApp #app .homeHeroVisual .homeHeroCount strong {
    font-size: 32px !important;
    letter-spacing: -1px !important;
  }
  html[data-pe-device="compact"]:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide):not([data-pe-ipados="true"]):not([data-pe-fold-wide="true"]):not([data-pe87-fold-wide="true"])
  body.homeDashboardApp #app .homeHeroVisual .homeHeroCount > span {
    font-size: 11px !important;
  }
  body.homeDashboardApp #app .homeHero .homeHeroCount::before {
    inset: 4px;
  }
}

/* Keep the settings illustration consistent with the selected home design. */
#app .settingsCPreviewOrb {
  position: relative;
  border: 2px solid #cde4f3;
  background: #fff;
  box-shadow: none;
}
#app .settingsCPreviewOrb::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(205, 228, 243, .65);
  border-radius: 50%;
  pointer-events: none;
}
@media (forced-colors: active) {
  body.homeDashboardApp #app .homeHero .homeHeroCount,
  body.homeDashboardApp #app .homeHero .homeHeroCount::before,
  #app .settingsCPreviewOrb,
  #app .settingsCPreviewOrb::before {
    border-color: CanvasText !important;
  }
}
