.all-tech-provider-map .map-controls { width: max-content; max-width: calc(100vw - 28px); gap: 10px; }
.all-tech-provider-map .map-controls-main { justify-content: center; }
.provider-tech-legend { border: 0; padding: 0; margin: 0; text-align: center; min-width: 0; }
.provider-tech-legend legend { float: left; width: 100%; margin-bottom: 8px; color: #333; font-size: 13px; font-weight: 600; }
.provider-tech-options { clear: both; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; }
.provider-tech-options label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; min-height: 30px; }
.provider-tech-options input { width: 16px; height: 16px; margin: 0; accent-color: #333; }
.provider-tech-options label:has(input:not(:checked)) .tech-swatch { opacity: .3; }
.tech-swatch { background: var(--tech-color); width: 13px; height: 13px; border-radius: 3px; }
.provider-tech-legend p { margin: 6px 0 0; font-size: 11px; line-height: 1.5; color: #555; }
.all-tech-provider-map #provider-tech-empty { color: #8a4300; font-weight: 600; }
.all-tech-provider-map [hidden] { display: none !important; }
@media (max-width: 600px) {
    .all-tech-provider-map .map-controls { padding: 10px 12px; }
    .provider-tech-options { gap: 4px 10px; }
    .provider-tech-options label { font-size: 12px; min-height: 34px; }
    .provider-tech-legend { padding-top: 0; }
}

.all-tech-provider-map .color-by-selector::after { display: none; }

.all-tech-provider-map .internet-popup p { margin: 12px 0 0; color: #666; font-size: 13px; line-height: 1.4; }
.all-tech-provider-map .mapboxgl-popup-content { min-width: 240px; }
.all-tech-provider-map .internet-popup-stat { gap: 12px; }
.all-tech-provider-map .internet-popup .stat-value { text-align: right; }

.provider-loading-subtitle { display: block; margin-top: 18px; font: inherit; font-size: 22px; color: rgba(0, 0, 0, 0.58); }

body:has(.provider-lookup-dialog[open]) { overflow: hidden; }
.provider-lookup-dialog {
    margin: auto;
    padding: 0;
    width: 420px;
    max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 32px);
    overscroll-behavior: contain;
    border: 0;
    border-radius: 14px;
    color: #333;
    background: #fff;
    box-shadow: 0 12px 48px rgba(0, 0, 0, .25);
}
.provider-lookup-dialog::backdrop { background: rgba(0, 0, 0, .4); }
.provider-lookup-content { position: relative; padding: 28px 24px 24px; }
.provider-lookup-content h2 { margin: 0 32px 10px 0; font-size: 22px; line-height: 1.25; }
.provider-lookup-content p { margin: 0 0 22px; font-size: 14px; line-height: 1.5; color: #666; }
.provider-lookup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #666;
    font-size: 26px;
    cursor: pointer;
}
.provider-lookup-close:hover { background: #f0f0f0; }
.provider-lookup-options { display: flex; flex-direction: column; gap: 12px; }
.provider-lookup-options a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid #d5e6f5;
    border-radius: 8px;
    color: #0077cc;
    background: #f6faff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}
.provider-lookup-options a:hover { background: #eaf4ff; border-color: #99c9ed; }
.provider-lookup-options svg { width: 16px; height: 16px; flex-shrink: 0; }
.official-lookup-link:focus-visible,
.provider-lookup-dialog :focus-visible { outline: 2px solid #0077cc; outline-offset: 3px; }
