.home-activity-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(60, 227, 204, 0.2);
    background:
        radial-gradient(circle at 100% 0, rgba(60, 227, 204, 0.14), transparent 42%),
        linear-gradient(145deg, rgba(18, 33, 55, 0.98), rgba(9, 18, 32, 0.98));
}

.home-activity-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.home-activity-card-title {
    margin: 0;
    color: #f4fbff;
    font-size: 1.08rem;
}

.home-activity-card-copy,
.home-health-status,
.walk-privacy-note,
.walk-status {
    color: #9fb0c9;
    font-size: 0.84rem;
    line-height: 1.5;
}

.home-health-grid,
.walk-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0;
}

.home-health-metric,
.walk-stat {
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(159, 176, 201, 0.14);
    border-radius: 14px;
    background: rgba(7, 14, 26, 0.54);
}

.home-health-metric span,
.walk-stat span {
    display: block;
    margin-bottom: 5px;
    color: #8396b1;
    font-size: 0.72rem;
}

.home-health-metric strong,
.walk-stat strong {
    overflow-wrap: anywhere;
    color: #effdff;
    font-size: 1.04rem;
}

.home-health-actions,
.walk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.home-health-actions button,
.walk-actions button {
    width: auto;
    flex: 1 1 145px;
    margin: 0;
}

.home-health-sync-meta {
    margin-top: 12px;
    color: #7287a4;
    font-size: 0.75rem;
}

.walk-route-frame {
    overflow: hidden;
    margin: 14px 0 10px;
    border: 1px solid rgba(60, 227, 204, 0.16);
    border-radius: 16px;
    background: #0b1322;
}

#walkRouteCanvas {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.walk-status.success {
    color: #7de9bb;
}

.walk-status.error {
    color: #ff9b9b;
}

.walk-capability {
    flex: 0 0 auto;
    padding: 6px 9px;
    border: 1px solid rgba(60, 227, 204, 0.24);
    border-radius: 999px;
    color: #8cebdd;
    background: rgba(60, 227, 204, 0.08);
    font-size: 0.7rem;
    white-space: nowrap;
}

@media (min-width: 620px) {
    .home-health-grid,
    .walk-stat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-activity-card {
        scroll-behavior: auto;
    }
}
