html, body, #app { height: 100%; }
#map { height: 100%; min-height: 500px; z-index: 10; }
.leaflet-popup-content-wrapper { border-radius: 12px; }
.voronoi-cell { fill: none; stroke: #3b82f6; stroke-width: 1; opacity: 0.3; }
.voronoi-cell:hover { fill: #3b82f6; opacity: 0.2; }
.coverage-circle { fill: rgba(34, 197, 94, 0.1); stroke: #22c55e; stroke-width: 2; }
.gap-cell { fill: #ef4444; opacity: 0.4; stroke: #ef4444; stroke-width: 1; }
.skeleton { position: relative; overflow: hidden; background: #e5e7eb; border-radius: 0.75rem;}
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent); animation: shimmer 1.2s infinite; }
@keyframes shimmer { 100% { transform: translateX(100%); } }
.custom-scrollbar::-webkit-scrollbar { width: 8px; }
.custom-scrollbar::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #888; border-radius: 10px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #555; }
.dark .custom-scrollbar::-webkit-scrollbar-track { background: #2d3748; }
.dark .custom-scrollbar::-webkit-scrollbar-thumb { background: #718096; }
.stat-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.dark .stat-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(147, 51, 234, 0.2) 100%);
}
.toggle-btn.active {
    background-color: #3b82f6;
    color: white;
}
button:focus-visible,
input:focus-visible,
summary:focus-visible,
a:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 3px;
}
button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.office-marker {
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
}
.office-marker--mainland { background: #3b82f6; }
.office-marker--island { background: #9ca3af; }
.gap-marker {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #dc2626;
    color: #fff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, .5);
    font-size: 18px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

