
        body { margin: 0; overflow: hidden; }
        .map-wrapper { position: relative; height: 100vh; width: 100%; }
        #map { height: 100%; width: 100%; background: #f0f0f0; }

        .leaflet-interactive { transition: fill 0.3s ease, stroke 0.3s ease; }

        .ui-panel {
            position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
            z-index: 1000; background: rgba(255, 255, 255, 0.95); padding: 12px 20px;
            border-radius: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.15);
            display: flex; gap: 15px; align-items: center; backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.5); width: 90%; max-width: 1150px;
        }

        .time-box { text-align: center; min-width: 80px; border-right: 1px solid #ddd; padding-right: 10px; }
        .time-box b { font-size: 18px; color: #2d3436; display: block; }
        .time-box span { font-size: 10px; color: #636e72; text-transform: uppercase; }

        .slider-wrap { flex-grow: 1; position: relative; padding: 10px 0 5px 0; }
        
        .timeline-container {
            display: flex; width: 100%; height: 26px; border-radius: 6px;
            background: #f1f2f6; overflow: hidden; border: 1px solid #dcdde1;
            position: relative;
        }
        
        .timeline-day-block {
            box-sizing: border-box; height: 100%; display: flex; flex-direction: column;
            justify-content: center; align-items: center; font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 10px; font-weight: 800; color: #747d8c; position: relative;
            border-right: 1px solid #dcdde1; background: #f8f9fa; transition: background 0.2s;
        }
        .timeline-day-block:last-child { border-right: none; }
        .timeline-day-block.active { background: #e3f2fd; color: #0984e3; }

        input[type=range].modern-slider {
            position: absolute; top: 10px; left: 0; width: 100%; height: 26px;
            margin: 0; -webkit-appearance: none; background: transparent; cursor: pointer; z-index: 10;
        }
        input[type=range].modern-slider:focus { outline: none; }
        
        input[type=range].modern-slider::-webkit-slider-thumb {
            -webkit-appearance: none; height: 32px; width: 8px; border-radius: 4px;
            background: #0984e3; box-shadow: 0 0 6px rgba(0,0,0,0.3); border: 1px solid white; margin-top: -3px;
        }
        input[type=range].modern-slider::-moz-range-thumb {
            height: 32px; width: 8px; border-radius: 4px;
            background: #0984e3; box-shadow: 0 0 6px rgba(0,0,0,0.3); border: 1px solid white;
        }

        .select-group label { display:block; font-size:9px; opacity:0.6; margin-bottom:2px; font-weight:800; text-transform: uppercase; }
        select { padding: 6px; border-radius: 6px; border: 1px solid #dfe6e9; font-weight: 700; font-size: 13px; outline: none; background: white; }

        .circle-label {
            background: transparent !important; border: none !important; box-shadow: none !important;
            color: #000000 !important; font-size: 18px !important; font-weight: 500 !important;
            text-align: center;
            pointer-events: none; /* Pozwala na kliknięcie markera pod spodem etykiety tekstowej */
        }
        
        .powiat-tooltip {
            background: rgba(45, 52, 54, 0.9) !important;
            border: 1px solid rgba(255, 255, 255, 0.2) !important;
            border-radius: 6px !important;
            color: #ffffff !important;
            font-family: 'Plus Jakarta Sans', sans-serif !important;
            font-weight: 700 !important;
            font-size: 11px !important;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
            padding: 4px 8px !important;
        }
		
		
        /* --- NOWY ZINTEGROWANY PODWÓJNY SUWAK --- */
        .range-filter-row {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-family: inherit;
        }
        .range-title {
            font-size: 11px;
            color: #dfe6e9;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            white-space: nowrap;
            font-weight: bold;
        }
        .range-inputs-inline {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .range-inputs-inline input[type="number"] {
            width: 48px;
            background: #2d3436;
            border: 1px solid #636e72;
            color: #fff;
            padding: 3px 4px;
            border-radius: 4px;
            font-size: 11px;
            text-align: center;
        }
        .range-inputs-inline span {
            color: #b2bec3;
            font-size: 11px;
        }
        
        /* Kontener dla nakładających się suwaków */
        .double-slider-container {
            position: relative;
            flex-grow: 1;
            height: 20px;
            display: flex;
            align-items: center;
        }
        /* Wspólna szyna pod suwakami */
        .slider-track {
            position: absolute;
            height: 4px;
            width: 100%;
            background: #636e72;
            border-radius: 2px;
            z-index: 1;
        }
        /* Kolorowy pasek między wybranymi wartościami */
        .slider-range-fill {
            position: absolute;
            height: 4px;
            background: #0984e3;
            border-radius: 2px;
            z-index: 2;
        }
        /* Przezroczyste tło dla inputów, aby nakładały się na siebie */
        .double-slider-container input[type="range"] {
            position: absolute;
            width: 100%;
            height: 4px;
            background: none;
            pointer-events: none;
            -webkit-appearance: none;
            margin: 0;
            z-index: 3;
        }
        /* Przywrócenie klikalności tylko dla samych uchwytów (thumb) */
        .double-slider-container input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            pointer-events: auto;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #00cec9;
            border: 1.5px solid #fff;
            cursor: pointer;
            box-shadow: 0 0 3px rgba(0,0,0,0.5);
        }
        .double-slider-container input[type="range"]::-moz-range-thumb {
            pointer-events: auto;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #00cec9;
            border: 1.5px solid #fff;
            cursor: pointer;
            box-shadow: 0 0 3px rgba(0,0,0,0.5);
        }
        
        .range-actions-inline {
            display: flex;
            gap: 4px;
        }
        .btn-filter-sm {
            background: #0984e3;
            color: #fff;
            border: none;
            padding: 4px 6px;
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
            font-size: 10px;
            transition: background 0.2s;
            text-transform: uppercase;
        }
        .btn-filter-sm:hover {
            background: #00cec9;
        }
        .btn-reset-sm {
            background: #2d3436;
            color: #b2bec3;
            border: 1px solid #636e72;
            padding: 4px 6px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 10px;
            transition: all 0.2s;
            text-transform: uppercase;
        }
        .btn-reset-sm:hover {
            color: #fff;
            border-color: #b2bec3;
        }

        /* --- RESPONSYWNE POPRAWKI DLA ETYKIET I MARKERÓW --- */
        .circle-label {
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
            font-family: 'Plus Jakarta Sans', sans-serif !important;
            font-weight: 800 !important;
            color: #1e272e !important;
            text-shadow: 
                -1.5px -1.5px 0 #fff,  
                 1.5px -1.5px 0 #fff,
                -1.5px  1.5px 0 #fff,
                 1.5px  1.5px 0 #fff,
                 0px -1.5px 0 #fff,
                 0px  1.5px 0 #fff,
                -1.5px  0px 0 #fff,
                 1.5px  0px 0 #fff;
            pointer-events: none;
            white-space: nowrap;
            text-align: center;
        }

        .leaflet-popup-content-wrapper {
            font-family: 'Plus Jakarta Sans', sans-serif;
            border-radius: 8px;
            background: #2d3436;
            color: #fff;
        }
        .leaflet-popup-tip {
            background: #2d3436;
        }

        @media (max-width: 768px) {
            .leaflet-popup-content {
                font-size: 13px !important;
                line-height: 1.4;
                margin: 12px 15px;
            }
            .ui-panel {
                padding: 10px;
                gap: 8px;
            }
            .range-filter-row {
                gap: 6px;
            }
            .range-inputs-inline input[type="number"] {
                width: 42px;
                font-size: 10px;
                padding: 2px;
            }
        }