/* 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;
    }
}

/* List pagination shim (list-pagination.js) */
.vh-lp-hidden { display: none !important; }
#vh-map-root .vh-lp-show-more, .vh-lp-show-more {
    display: block !important;
    margin: 24px auto 0 !important;
    padding: 16px 32px !important;
    background-color: #45234C !important;
    color: #FAFAFA !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: 'Pathway Extreme', sans-serif !important;
    font-size: 0.6875rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: background-color 0.15s ease-out !important;
}
#vh-map-root .vh-lp-show-more:hover, .vh-lp-show-more:hover { background-color: #1A2B3C !important; }
#vh-map-root .vh-lp-show-more:focus-visible, .vh-lp-show-more:focus-visible { outline: 2px solid #C6AEFF !important; outline-offset: 2px !important; }
#vh-map-root .vh-lp-show-more:active, .vh-lp-show-more:active { transform: scale(0.97); }
