/* _StreetTable: every street with its addresses and house numbers. */

.pc-streets h2 { margin-bottom: 1rem; }

.pc-streets-scroll {
    max-height: 70vh;
    overflow: auto;
    border: 1px solid #e2e5f1;
    border-radius: .75rem;
    background: #fff;
}

.pc-streets-table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.pc-streets-table th,
.pc-streets-table td {
    padding: .45rem .9rem;
    border-bottom: 1px solid #eff2fc;
    text-align: left;
    vertical-align: top;
}

.pc-streets-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f6f6f9;
    color: #6f7189;
    font-weight: 600;
    font-size: .85rem;
}

.pc-streets-num { text-align: right !important; }

.pc-streets-group th {
    background: var(--brand-tint, #eef6f1);
    color: #33354d;
    font-weight: 600;
}

.pc-streets-table tbody:target .pc-streets-group th,
.pc-streets-table tr.pc-streets-hit td {
    background: #fff3c4;
}

/* An anchored postnummer (#1620) lands below the sticky header, not under it. */
.pc-streets-table tbody { scroll-margin-top: 6rem; }

.pc-streets-source {
    margin: .75rem 0 0;
    color: #6f7189;
    font-size: .85rem;
}
.pc-streets-empty td { color: #6f7189; font-size: .9rem; }
