.tim-map-wrap { position: relative; width: 100%; height: 100%;}
            .tim-map-canvas { width: 100%; height: 100%; border-radius: 10px; overflow: hidden; }

            .tim-tracker {
                position: absolute;
                top: 14px;
                left: 14px;
                z-index: 5;
                width: min(320px, calc(100% - 28px));
                font-family: inherit;
            }

            .tim-tracker-toggle {
                display: inline-flex;
                align-items: center;
                gap: 8px;
                background: #fff;
                color: #111;
                text-decoration: none;
                padding: 10px 12px;
                border-radius: 10px;
                box-shadow: 0 10px 30px rgba(0,0,0,.12);
                font-weight: 600;
                font-size: 14px;
            }

            .tim-tracker-panel {
                margin-top: 10px;
                background: rgba(255,255,255,.96);
                border-radius: 12px;
                box-shadow: 0 10px 30px rgba(0,0,0,.12);
                overflow: hidden;
                max-height: 320px;
                transition: max-height .25s ease, opacity .2s ease;
                opacity: 1;
            }
            .tim-tracker-panel.is-collapsed { max-height: 0; opacity: 0; }

            .tim-tracker-list { list-style: none; margin: 0; padding: 6px; }
            .tim-tracker-item {
                display: block;
                padding: 10px 10px;
                border-radius: 10px;
                cursor: pointer;
                transition: background .15s ease;
            }
            .tim-tracker-item:hover { background: rgba(0,0,0,.05); }
            .tim-tracker-item.is-active { background: rgba(0,0,0,.08); }

            .tim-txt-sm { display: block; font-size: 12px; opacity: .72; line-height: 1.2; }
            .tim-txt-lg { display: block; font-size: 14px; font-weight: 650; line-height: 1.25; margin-top: 2px; }

            /* Keep MapLibre controls visible above map */
            .maplibregl-ctrl-top-right, .mapboxgl-ctrl-top-right { z-index: 6; }

            /* Popup styling */
            .tim-popup {
                font-size: 13px;
                line-height: 1.25;
                color: #111;
            }
            .tim-popup .tim-popup-day { opacity: .75; font-size: 12px; }
            .tim-popup .tim-popup-title { font-weight: 700; margin-top: 2px; }