/* Tailwind preflight is now scoped to #vh-map-root in index.css.
   No global revert rules needed. */

/* Compact UI Overrides - Targeting vh- prefixed utility classes */
#vh-map-root .vh-px-6 { padding-left: 1rem !important; padding-right: 1rem !important; }
#vh-map-root .vh-py-3 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
#vh-map-root .vh-px-8 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
#vh-map-root .vh-py-4 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
#vh-map-root .vh-p-6  { padding: 1.25rem !important; }
#vh-map-root .vh-gap-6 { gap: 1rem !important; }

/* Map popup — no border radius */
.leaflet-popup-content-wrapper {
    border-radius: 0 !important;
}
.leaflet-popup-tip {
    border-radius: 0 !important;
}

/* Tag/Chip Optimization */
#vh-map-root .vh-rounded-full { 
    padding-left: 0.6rem !important; 
    padding-right: 0.6rem !important; 
    padding-top: 0.2rem !important; 
    padding-bottom: 0.2rem !important;
    font-size: 11px !important;
    letter-spacing: 0.1em;
}

/* Visual Haptics: Tactile Feedback */
#vh-map-root button:active,
#vh-map-root .vh-cursor-pointer:active,
#vh-map-root [role="button"]:active {
    transform: scale(0.97) !important;
    filter: brightness(0.95);
    transition: transform 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* General Layout Density */
#vh-map-root h2.vh-text-2xl { font-size: 1.25rem !important; line-height: 1.75rem !important; }
#vh-map-root .vh-mb-6 { margin-bottom: 1rem !important; }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
