#map {
    background: #fff;
    border-radius: 14px;
    padding: 24px 20px 20px;
    box-shadow: 0 6px 28px rgba(0,0,0,0.09);
}

svg {
    width: 100%;
    height: auto;
    display: block;
}

.state {
    stroke: #fff;
    stroke-width: 0.7;
    transition: opacity 0.15s;
}

.state:hover {
    stroke: #111;
    stroke-width: 1.6;
    cursor: pointer;
    opacity: 0.85;
}

.state-label {
    font-size: 9px;
    font-weight: 600;
    fill: rgba(255,255,255,0.9);
    pointer-events: none;
    text-anchor: middle;
    dominant-baseline: central;
}

.tooltip {
    position: fixed;
    background: #1a1a1a;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    box-shadow: 0 4px 18px rgba(0,0,0,0.3);
    line-height: 1.5;
    z-index: 999;
}

.tooltip .band-pill {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 4px;
    vertical-align: middle;
}

.tooltip .band-pill.insufficient-data {
    color: #111;
}

.legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 13px;
    color: #444;
}

.legend-swatch {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.12);
}

.legend-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.legend span {
    font-size: 14px;
    line-height: 16px;
}

.source {
    margin-top: 16px;
    text-align: center;
    font-size: 12px;
    color: #999;
}

.national-badge {
    margin-bottom: 18px;
    font-size: 14px;
    color: #555;
}

.national-badge strong {
    font-size: 18px;
    color: #6b1f1f;
}