/* Home quick actions: one calm, coordinated shortcut set. */
html body .app-shell .map-stage.home-focus .home-action-section,
html body main.app-shell section.map-stage.home-focus .home-action-section {
  width: 100% !important;
  max-width: min(100%, 900px) !important;
  margin-inline: auto !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .app-shell .map-stage.home-focus .home-quick-actions,
html body main.app-shell section.map-stage.home-focus .home-quick-actions {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  width: 100% !important;
  gap: clamp(10px, 1.7vw, 14px) !important;
}

html body .app-shell .map-stage.home-focus .home-action-card,
html body main.app-shell section.map-stage.home-focus .home-action-card {
  --action-accent: #167f91;
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 84px !important;
  height: 84px !important;
  max-height: 84px !important;
  padding: 15px 17px !important;
  gap: 12px !important;
  overflow: hidden !important;
  border: 1px solid rgba(17, 91, 99, 0.12) !important;
  border-radius: 8px !important;
  color: #123e49 !important;
  background: rgba(255, 255, 252, 0.82) !important;
  box-shadow:
    0 8px 22px rgba(10, 61, 66, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
  text-align: center !important;
  transform: translateZ(0) !important;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease !important;
}

html body .app-shell .map-stage.home-focus .home-action-card:nth-child(2) {
  --action-accent: #237eac;
}

html body .app-shell .map-stage.home-focus .home-action-card:nth-child(3) {
  --action-accent: #17845f;
}

html body .app-shell .map-stage.home-focus .home-action-card::before {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  height: 2px !important;
  content: "" !important;
  background: color-mix(in srgb, var(--action-accent) 62%, transparent) !important;
  opacity: 0.72 !important;
}

html body .app-shell .map-stage.home-focus .home-action-card::after {
  display: none !important;
  content: none !important;
}

html body .app-shell .map-stage.home-focus .home-action-card.primary,
html body main.app-shell section.map-stage.home-focus .home-action-card.primary {
  --action-accent: #5ce3b2;
  border-color: rgba(129, 239, 205, 0.28) !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #073f52 0%, #087a75 58%, #15956d 100%) !important;
  box-shadow:
    0 11px 26px rgba(5, 89, 84, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

html body .app-shell .map-stage.home-focus .home-action-card span[data-icon],
html body main.app-shell section.map-stage.home-focus .home-action-card span[data-icon] {
  display: grid !important;
  width: 38px !important;
  height: 38px !important;
  place-items: center !important;
  margin: 0 !important;
  border: 1px solid color-mix(in srgb, var(--action-accent) 18%, transparent) !important;
  border-radius: 8px !important;
  color: var(--action-accent) !important;
  background: color-mix(in srgb, var(--action-accent) 8%, #ffffff 92%) !important;
  box-shadow: none !important;
  transition: transform 180ms ease, background-color 180ms ease !important;
}

html body .app-shell .map-stage.home-focus .home-action-card.primary span[data-icon] {
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.13) !important;
}

html body .app-shell .map-stage.home-focus .home-action-card span[data-icon] svg {
  width: 19px !important;
  height: 19px !important;
  stroke-width: 2.15 !important;
}

html body .app-shell .map-stage.home-focus .home-action-card strong,
html body main.app-shell section.map-stage.home-focus .home-action-card strong {
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  color: inherit !important;
  font-size: 0.88rem !important;
  font-weight: 780 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-wrap: balance !important;
}

@media (hover: hover) and (pointer: fine) {
  html body .app-shell .map-stage.home-focus .home-action-card:hover {
    border-color: color-mix(in srgb, var(--action-accent) 30%, transparent) !important;
    background: rgba(255, 255, 252, 0.94) !important;
    box-shadow: 0 13px 28px rgba(10, 61, 66, 0.1) !important;
    transform: translateY(-2px) !important;
  }

  html body .app-shell .map-stage.home-focus .home-action-card.primary:hover {
    background: linear-gradient(135deg, #08485c 0%, #07877f 58%, #18a777 100%) !important;
    box-shadow: 0 15px 31px rgba(5, 89, 84, 0.21) !important;
  }

  html body .app-shell .map-stage.home-focus .home-action-card:hover span[data-icon] {
    transform: translateY(-1px) scale(1.035) !important;
  }
}

html body .app-shell .map-stage.home-focus .home-action-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--action-accent) 36%, transparent) !important;
  outline-offset: 3px !important;
}

html body .app-shell .map-stage.home-focus .home-action-card:active {
  transform: translateY(0) scale(0.985) !important;
}

@media (max-width: 720px) {
  html body .app-shell .map-stage.home-focus .home-quick-actions,
  html body main.app-shell section.map-stage.home-focus .home-quick-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  html body .app-shell .map-stage.home-focus .home-action-card,
  html body main.app-shell section.map-stage.home-focus .home-action-card {
    flex-direction: column !important;
    align-content: center !important;
    justify-content: center !important;
    min-height: 86px !important;
    height: 86px !important;
    max-height: 86px !important;
    padding: 10px 5px !important;
    gap: 7px !important;
    text-align: center !important;
  }

  html body .app-shell .map-stage.home-focus .home-action-card span[data-icon],
  html body main.app-shell section.map-stage.home-focus .home-action-card span[data-icon] {
    width: 31px !important;
    height: 31px !important;
    border-radius: 7px !important;
  }

  html body .app-shell .map-stage.home-focus .home-action-card span[data-icon] svg {
    width: 16px !important;
    height: 16px !important;
  }

  html body .app-shell .map-stage.home-focus .home-action-card strong,
  html body main.app-shell section.map-stage.home-focus .home-action-card strong {
    font-size: 0.7rem !important;
    line-height: 1.08 !important;
    text-align: center !important;
  }
}

@media (max-width: 350px) {
  html body .app-shell .map-stage.home-focus .home-action-card strong,
  html body main.app-shell section.map-stage.home-focus .home-action-card strong {
    font-size: 0.6rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .app-shell .map-stage.home-focus .home-action-card,
  html body .app-shell .map-stage.home-focus .home-action-card span[data-icon] {
    transition: none !important;
  }
}
