/* Premium Home destinations: one clear action and two calm places to go next. */
html body .app-shell .map-stage.home-focus .home-dashboard > .home-action-section,
html body main.app-shell section.map-stage.home-focus .home-dashboard > .home-action-section {
  width: 100% !important;
  max-width: min(100%, 980px) !important;
  margin: clamp(23px, 2.75vw, 35px) auto clamp(30px, 4vw, 52px) !important;
  padding: 0 !important;
  transform: 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: 1.12fr 1fr 1fr !important;
  width: min(100%, 880px) !important;
  margin-right: auto !important;
  margin-left: auto !important;
  gap: clamp(10px, 1.5vw, 14px) !important;
  align-items: stretch !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 {
  --home-action-accent: #23809d;
  --home-action-soft: rgba(35, 128, 157, 0.1);
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 42px auto !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 90px !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 11px 12px 12px !important;
  align-items: center !important;
  align-content: center !important;
  justify-items: center !important;
  gap: 6px !important;
  overflow: hidden !important;
  border: 1px solid rgba(22, 104, 108, 0.11) !important;
  border-radius: 24px !important;
  color: #123e49 !important;
  text-align: center !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.95), transparent 38%),
    linear-gradient(145deg, rgba(255, 254, 249, 0.9), rgba(234, 247, 245, 0.76)) !important;
  box-shadow:
    0 13px 30px rgba(9, 71, 73, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !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[data-home-action="journal"] {
  --home-action-accent: #c45f6d;
  --home-action-soft: rgba(196, 95, 109, 0.1);
}

html body .app-shell .map-stage.home-focus .home-action-card::before,
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 {
  --home-action-accent: #ffffff;
  --home-action-soft: rgba(255, 255, 255, 0.14);
  border-color: rgba(115, 232, 198, 0.22) !important;
  color: #ffffff !important;
  background:
    radial-gradient(circle at 12% -12%, rgba(255, 255, 255, 0.26), transparent 40%),
    linear-gradient(135deg, #073f52 0%, #087b76 58%, #16986e 100%) !important;
  box-shadow:
    0 16px 34px rgba(6, 91, 88, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

html body .app-shell .map-stage.home-focus .home-action-card > .home-action-icon,
html body main.app-shell section.map-stage.home-focus .home-action-card > .home-action-icon {
  display: grid !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center !important;
  border: 1px solid color-mix(in srgb, var(--home-action-accent) 16%, transparent) !important;
  border-radius: 15px !important;
  color: var(--home-action-accent) !important;
  background: var(--home-action-soft) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
}

html body .app-shell .map-stage.home-focus .home-action-card:not(.primary) > .home-action-icon {
  background: color-mix(in srgb, var(--home-action-accent) 9%, rgba(255, 255, 255, 0.82)) !important;
}

html body .app-shell .map-stage.home-focus .home-action-card > .home-action-icon svg {
  width: 20px !important;
  height: 20px !important;
  stroke-width: 2.15 !important;
}

html body .app-shell .map-stage.home-focus .home-action-copy,
html body main.app-shell section.map-stage.home-focus .home-action-copy {
  display: grid !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  align-content: center !important;
  justify-items: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .app-shell .map-stage.home-focus .home-action-copy > strong,
html body main.app-shell section.map-stage.home-focus .home-action-copy > strong {
  display: block !important;
  max-width: none !important;
  margin: 0 !important;
  color: inherit !important;
  font-size: clamp(0.88rem, 1.25vw, 1rem) !important;
  font-weight: 880 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.01em !important;
  text-align: center !important;
  white-space: normal !important;
}

/* Keep the primary call to action readable as one complete phrase. */
html body .app-shell .map-stage.home-focus .home-action-card.primary .home-action-copy > strong,
html body main.app-shell section.map-stage.home-focus .home-action-card.primary .home-action-copy > strong {
  width: max-content !important;
  max-width: none !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  white-space: nowrap !important;
}

html body .app-shell .map-stage.home-focus .home-action-card.primary > .home-action-copy,
html body main.app-shell section.map-stage.home-focus .home-action-card.primary > .home-action-copy {
  width: max-content !important;
  max-width: 100% !important;
  justify-self: center !important;
}

html body .app-shell .map-stage.home-focus .home-action-copy > small,
html body main.app-shell section.map-stage.home-focus .home-action-copy > small {
  display: block !important;
  overflow: hidden !important;
  color: rgba(31, 79, 83, 0.62) !important;
  font-size: clamp(0.66rem, 0.9vw, 0.74rem) !important;
  font-weight: 680 !important;
  line-height: 1.22 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body .app-shell .map-stage.home-focus .home-action-card.primary .home-action-copy > small {
  color: rgba(236, 255, 249, 0.74) !important;
}

html body .app-shell .map-stage.home-focus .home-action-card > .home-action-arrow,
html body main.app-shell section.map-stage.home-focus .home-action-card > .home-action-arrow {
  display: grid !important;
  width: 22px !important;
  min-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: color-mix(in srgb, var(--home-action-accent) 82%, #143b43) !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 0.68 !important;
}

html body .app-shell .map-stage.home-focus .home-action-card > .home-action-arrow svg {
  width: 16px !important;
  height: 16px !important;
  stroke-width: 2.1 !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(--home-action-accent) 26%, transparent) !important;
    box-shadow: 0 17px 36px rgba(9, 71, 73, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px) !important;
  }

  html body .app-shell .map-stage.home-focus .home-action-card.primary:hover {
    background:
      radial-gradient(circle at 12% -12%, rgba(255, 255, 255, 0.3), transparent 40%),
      linear-gradient(135deg, #08485c 0%, #07877f 58%, #18a777 100%) !important;
    box-shadow: 0 19px 39px rgba(6, 91, 88, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.23) !important;
  }

  html body .app-shell .map-stage.home-focus .home-action-card:hover > .home-action-arrow {
    opacity: 1 !important;
    transform: translateX(2px) !important;
  }
}

html body .app-shell .map-stage.home-focus .home-action-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--home-action-accent) 38%, 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-dashboard > .home-action-section,
  html body main.app-shell section.map-stage.home-focus .home-dashboard > .home-action-section {
    margin-top: 30px !important;
    margin-bottom: 34px !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 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: min(100%, 360px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    gap: 9px !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 {
    grid-column: 1 / -1 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 38px auto !important;
    min-height: 76px !important;
    padding: 8px 10px 9px !important;
    justify-items: center !important;
    gap: 5px !important;
    border-radius: 22px !important;
  }

  html body .app-shell .map-stage.home-focus .home-action-card.primary > .home-action-icon,
  html body main.app-shell section.map-stage.home-focus .home-action-card.primary > .home-action-icon {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 14px !important;
  }

  html body .app-shell .map-stage.home-focus .home-action-card:not(.primary),
  html body main.app-shell section.map-stage.home-focus .home-action-card:not(.primary) {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 34px auto !important;
    min-height: 76px !important;
    padding: 9px 8px 10px !important;
    align-items: center !important;
    align-content: center !important;
    justify-items: center !important;
    gap: 5px !important;
    border-radius: 20px !important;
  }

  html body .app-shell .map-stage.home-focus .home-action-card:not(.primary) > .home-action-icon {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    border-radius: 12px !important;
  }

  html body .app-shell .map-stage.home-focus .home-action-card:not(.primary) > .home-action-copy {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: auto !important;
    justify-items: center !important;
  }

  html body .app-shell .map-stage.home-focus .home-action-card:not(.primary) > .home-action-arrow {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
  }

  html body .app-shell .map-stage.home-focus .home-action-copy > strong {
    font-size: 0.84rem !important;
  }

  html body .app-shell .map-stage.home-focus .home-action-card:not(.primary) .home-action-copy > strong,
  html body main.app-shell section.map-stage.home-focus .home-action-card:not(.primary) .home-action-copy > strong {
    text-align: center !important;
  }

  html body .app-shell .map-stage.home-focus .home-action-copy > small {
    font-size: 0.64rem !important;
    white-space: normal !important;
  }
}

@media (max-width: 350px) {
  html body .app-shell .map-stage.home-focus .home-action-card:not(.primary) {
    min-height: 74px !important;
    padding: 8px 6px 9px !important;
  }

  html body .app-shell .map-stage.home-focus .home-action-copy > strong {
    font-size: 0.76rem !important;
  }

  html body .app-shell .map-stage.home-focus .home-action-copy > small {
    font-size: 0.59rem !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 > .home-action-arrow {
    transition: none !important;
  }
}
