body {
    font-size: 14px;
    line-height: 1.5;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.content.page {
    width: 100%;
    padding: clamp(12px, 3vw, 24px);
    overflow-wrap: anywhere;
}

.page-intro {
    max-width: 760px;
    margin: 0 0 24px;
}

.page-intro .eyebrow {
    margin: 0 0 8px;
    color: var(--brand-secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.page-intro h1 {
    margin: 0 0 10px;
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.2;
    text-wrap: balance;
}

.page-intro > p:last-child {
    margin: 0;
    color: var(--text-muted);
    font-size: 16px;
}

.box {
    margin-bottom: 20px;
    padding: clamp(12px, 2vw, 24px);
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface);
}

.map-catalog {
    min-width: 0;
    font-size: 16px;
}

.map-catalog .header,
.map-catalog .row1.item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(140px, 220px) minmax(160px, 190px);
    gap: 16px;
    padding: 12px;
    border-bottom: 1px solid var(--border);
}

.map-catalog .header {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.map-catalog .section {
    margin: 24px 0 8px;
    font-size: 20px;
    line-height: 1.3;
}

.map-catalog .row1.item {
    align-items: center;
}

.map-catalog .col1,
.map-catalog .col2,
.map-catalog .col3 {
    min-width: 0;
}

.map-catalog .row1.item .col3 {
    grid-column: 2;
    grid-row: 1;
    color: var(--text-muted);
    font-size: 15px;
}

.map-catalog .row1.item .col2 {
    display: grid;
    grid-column: 3;
    grid-row: 1;
    justify-items: start;
}

.map-catalog .col1 a {
    font-size: 15px;
    font-weight: 600;
}

.map-catalog .layer-meta,
.file-size,
.aerial-date .group-size {
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.map-catalog .layer-meta {
    display: block;
    margin-top: 3px;
    font-size: 13px;
}

.bubble {
    display: inline-block;
    min-height: 40px;
    padding: 10px 12px;
    border: 1px solid var(--brand-primary);
    border-radius: 4px;
    background: var(--surface);
    color: var(--brand-primary);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.bubble:hover,
.bubble:focus-visible {
    background: var(--brand-primary);
    color: var(--page-bg);
    text-decoration: none;
}

.aerial-open-all {
    border-color: var(--brand-secondary);
    color: var(--brand-secondary);
}

.aerial-open-all:hover,
.aerial-open-all:focus-visible {
    background: var(--brand-secondary);
}

.emptyRow {
    display: none;
}

.aerial-downloads {
    margin: 16px 0 24px;
    padding: clamp(10px, 2vw, 18px);
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface);
}

.aerial-downloads h2 {
    margin: 0 0 8px;
    font-size: 16px;
}

.aerial-downloads p {
    margin: 6px 0 12px;
    font-size: 15px;
}

.aerial-date {
    margin: 8px 0;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface);
}

.aerial-date summary {
    min-height: 44px;
    padding: 12px 14px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
}

.aerial-date summary:hover {
    color: var(--brand-primary);
}

.aerial-date .group-size {
    font-size: 14px;
    font-weight: 400;
}

.aerial-date .group-divider {
    margin: 0 5px;
}

.aerial-table-wrap {
    overflow-x: auto;
}

.aerial-date table {
    width: 100%;
    min-width: 540px;
    table-layout: fixed;
    border-collapse: collapse;
}

.aerial-date caption {
    padding: 10px 12px;
    color: var(--text-muted);
    font-size: 14px;
    text-align: left;
}

.aerial-date th,
.aerial-date td {
    padding: 9px 12px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    text-align: left;
}

.aerial-date th {
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.aerial-date th:first-child,
.aerial-date td:first-child {
    width: 56%;
}

.aerial-date th:nth-child(2),
.aerial-date td:nth-child(2) {
    width: 18%;
}

.aerial-date th:last-child,
.aerial-date td:last-child {
    width: 26%;
    text-align: right;
}

.aerial-date .file-size {
    white-space: nowrap;
}

.docs-section h2 {
    margin: 0 0 14px;
    font-size: 22px;
}

.docs-section h3 {
    margin: 24px 0 10px;
    font-size: 17px;
}

.docs-section .ref {
    margin: 0 0 12px;
    color: var(--text-muted);
}

.report .back {
    margin: 0 0 12px;
    font-size: 13px;
}

.report .report-title {
    margin: 0 0 16px;
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.3;
}

.report h2 {
    margin: 18px 0 8px;
    font-size: 16px;
}

.report p {
    margin: 0 0 10px;
}

.report p.ref {
    margin-left: 3em;
    text-indent: -3em;
}

.report ul {
    margin: 0 0 10px;
    padding-left: 1.5em;
}

.report-table-wrap {
    overflow-x: auto;
    margin-bottom: 14px;
}

.report table {
    border-collapse: collapse;
}

.report table.center {
    margin-left: auto;
    margin-right: auto;
}

.report th,
.report td.hdr {
    padding: 6px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
}

.report td.hdr p {
    font-weight: 700;
}

.report td {
    padding: 6px 12px;
    font-size: 90%;
}

.report .legal {
    font-size: 95%;
}

.report .notice {
    margin: 0 0 14px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--brand-secondary);
    background: var(--surface);
}

.report table.notice {
    padding: 0;
}

.report table.notice td {
    padding: 8px 12px;
    font-size: inherit;
}

.report .notice p:last-child {
    margin-bottom: 0;
}

.report .red {
    color: var(--brand-primary);
    font-weight: 700;
}

.report .right {
    text-align: right;
}

.report .l,
.report .left {
    text-align: left;
}

.report .left {
    font-size: 0.9em;
}

.report .c,
.report .c th {
    text-align: center;
}

.report .m {
    vertical-align: middle;
}

.report .size {
    font-size: 0.7em;
}

.report .cols {
    width: 190px;
}

.report .i1 {
    padding-left: 1em;
}

.report .i2 {
    padding-left: 2.5em;
}

.report .i3 {
    padding-left: 4em;
}

.report .bl {
    border-left: 1px solid var(--border);
    padding: 1px 7px;
}

.report .blr {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    padding: 0 7px;
    text-align: left;
}

.report .bb {
    border-bottom: 1px solid var(--border);
}

.report th.bt {
    padding: 1px 7px;
    text-align: center;
}

.not-archived {
    color: var(--text-muted);
}

@media (max-width: 700px) {
    .map-catalog .header {
        display: none;
    }

    .map-catalog .row1.item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
        padding: 12px 0;
    }

    .map-catalog .row1.item .col3 {
        grid-column: 1;
        grid-row: 2;
        font-size: 13px;
    }

    .map-catalog .row1.item .col2 {
        grid-column: 2;
        grid-row: 1 / span 2;
        justify-items: end;
    }

    .map-catalog .row1.item .aerial-action {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-items: start;
    }

    .map-catalog .aerial-layer-item .col3 {
        grid-row: 3;
    }
}
