        /* Panel ustawień – standardowe rozmiary MapLibre */
        .maplibregl-ctrl-settings {
            position: relative;
        }

        /* Przycisk trybika – standardowy rozmiar MapLibre (29×29 px) */
        .maplibregl-ctrl-settings button {
            width: 29px;
            height: 29px;
            background: white;
            border: none;
            border-radius: 4px;
            box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
        }

        .maplibregl-ctrl-settings button:hover {
            background: #f8f8f8;
        }

        /* Panel rozwijany w lewo */
        .maplibregl-ctrl-settings .settings-panel {
            display: none;
            position: absolute;
            right: 100%;                    /* tuż po lewej stronie trybika */
            top: 50%;
            transform: translateY(-50%);    /* wycentrowany pionowo */
            background: white;
            border-radius: 4px;
            box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
            flex-direction: row;
            align-items: center;
            padding: 0 4px;
            height: 29px;                   /* taka sama wysokość jak przycisk */
            z-index: 10;
        }

        .maplibregl-ctrl-settings.open .settings-panel {
            display: flex;
        }

        /* Przyciski w panelu – dokładnie 29×29 px (standard MapLibre) */
        .maplibregl-ctrl-settings .panel-item {
            width: 29px;
            height: 29px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border-radius: 4px;
            margin: 0 2px;
        }

        .maplibregl-ctrl-settings .panel-item:hover {
            background: #f0f0f0;
        }

        /* Ikony pozostają 20×20 px – czytelne i niezmniejszone */
        .maplibregl-ctrl-settings svg {
            width: 20px;
            height: 20px;
        }