/* Wave1 bridges: Cape Coral bridge clearance table. Page-specific. */
.g6b-controls {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}
.g6b-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.g6b-field--wide {
    grid-column: span 2;
}
.g6b-field label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #095e93;
}
.g6b-field input,
.g6b-field select {
    font-size: 16px;
    min-height: 44px;
    border: 1px solid #b8cadb;
    border-radius: 10px;
    padding: 8px 12px;
    background: #fff;
    color: #095e93;
    width: 100%;
}
.g6b-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    font-size: 14px;
    color: #095e93;
    margin: 0 0 8px;
}
.g6b-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    margin-right: 4px;
}
.g6b-dot--low { background: #dc2626; }
.g6b-dot--mid { background: #f59e0b; }
.g6b-dot--high { background: #16a34a; }
.g6b-dot--unknown { background: #64748b; }
.g6b-count {
    font-size: 14px;
    font-weight: 700;
    color: #095e93;
    margin: 0 0 10px;
}
.g6b-table-wrap {
    overflow-x: auto;
    border: 1px solid #dbe8f2;
    border-radius: 12px;
    background: #fff;
}
.g6b-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 640px;
}
.g6b-table thead th {
    background: #095e93;
    color: #fff;
    text-align: left;
    padding: 0;
}
.g6b-table thead th button {
    all: unset;
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    min-height: 44px;
    cursor: pointer;
    font-weight: 800;
    color: #fff;
}
.g6b-table thead th button:focus-visible {
    outline: 2px solid #60c3ef;
    outline-offset: -2px;
}
.g6b-table td,
.g6b-table tbody th {
    padding: 10px 12px;
    border-top: 1px solid #e6eef6;
    text-align: left;
    font-weight: 400;
}
.g6b-table tbody tr:target {
    background: #fef9c3;
}
.g6b-row--blocked {
    background: #fef2f2;
}
.g6b-row--unverified {
    background: #f8fafc;
}
.g6b-clear {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.g6b-num {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
}
.g6b-band {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.g6b-band--low { background: #fee2e2; color: #991b1b; }
.g6b-band--mid { background: #fef3c7; color: #92400e; }
.g6b-band--high { background: #dcfce7; color: #166534; }
.g6b-band--unknown { background: #e2e8f0; color: #475569; }
.g6b-disc {
    font-size: 13px;
    color: #475569;
    margin: 10px 0 0;
}
.g6b-faq {
    border-top: 1px solid #dbe8f2;
    padding: 12px 4px;
}
.g6b-faq:last-child {
    border-bottom: 1px solid #dbe8f2;
}
.g6b-faq summary {
    font-weight: 800;
    color: #095e93;
    cursor: pointer;
    min-height: 44px;
    font-size: 16px;
}
.g6b-faq p {
    margin: 8px 0 4px;
    color: #095e93;
}
@media (max-width: 900px) {
    .g6b-controls {
        grid-template-columns: 1fr 1fr;
    }
    .g6b-field--wide {
        grid-column: span 2;
    }
}
/* Fix pass 2026-10-01: hero clearance-band chart fills the hero-ed-visual slot (no photo). */
.hero-ed-visual.hero-ed-visual--chart {
    aspect-ratio: auto;
    align-self: center;
    max-width: 480px;
}
.hero-ed-visual.hero-ed-visual--chart::before {
    inset: -12px -12px 12px 12px;
}
.g6b-hero-chart {
    margin: 0;
    background: #fff;
    border: 1px solid #dbe8f2;
    border-radius: 14px;
    padding: 20px 22px 14px;
    box-shadow: 0 20px 50px rgba(9, 94, 147, 0.12);
}
.g6b-hero-chart-title {
    font-family: var(--font-heading, Georgia, serif);
    font-size: 1.3rem;
    line-height: 1.2;
    color: #095e93;
    margin: 0 0 4px;
    font-weight: 500;
}
.g6b-hero-chart-title span {
    color: #095e93;
}
.g6b-hero-chart-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 12px 0 10px;
}
.g6b-hero-chart-row {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 10px;
}
.g6b-hero-chart-band {
    font-size: 13px;
    font-weight: 700;
    color: #095e93;
    white-space: nowrap;
}
.g6b-hero-chart-bar {
    display: block;
    height: 14px;
    border-radius: 999px;
    background: #eef4f9;
    overflow: hidden;
}
.g6b-hero-chart-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    min-width: 0;
}
.g6b-hero-chart-fill--low { background: #dc2626; }
.g6b-hero-chart-fill--mid { background: #f59e0b; }
.g6b-hero-chart-fill--high { background: #16a34a; }
.g6b-hero-chart-fill--unknown { background: #64748b; }
.g6b-hero-chart-n {
    font-size: 15px;
    font-weight: 800;
    color: #095e93;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.g6b-hero-chart-note {
    font-size: 13px;
    color: #095e93;
    margin: 0;
}
.g6b-hero-chart-src {
    font-size: 12px;
    color: #475569;
    margin: 10px 0 2px;
}
.g6b-hero-chart-alt {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
@media (max-width: 960px) {
    .hero-ed-visual.hero-ed-visual--chart {
        max-width: 100%;
    }
}
@media (max-width: 600px) {
    /* Fix pass 2026-10-01: stacked cards instead of a sideways-scrolling table. */
    .g6b-controls {
        grid-template-columns: 1fr;
    }
    .g6b-field--wide {
        grid-column: span 1;
    }
    .g6b-table-wrap {
        overflow: visible;
        border: 0;
        background: transparent;
        border-radius: 0;
    }
    .g6b-table {
        min-width: 0;
        font-size: 14px;
    }
    .g6b-table thead tr {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 10px;
    }
    .g6b-table thead th {
        background: none;
        padding: 0;
        border: 0;
        flex: 1 1 auto;
    }
    .g6b-table thead th button {
        all: unset;
        display: block;
        box-sizing: border-box;
        min-height: 44px;
        padding: 10px 12px;
        border: 1px solid #b8cadb;
        border-radius: 999px;
        background: #095e93;
        color: #fff;
        font-size: 13px;
        font-weight: 800;
        text-align: center;
        cursor: pointer;
    }
    .g6b-table tbody,
    .g6b-table tbody tr,
    .g6b-table tbody td,
    .g6b-table tbody th {
        display: block;
    }
    .g6b-table tbody tr {
        background: #fff;
        border: 1px solid #dbe8f2;
        border-radius: 12px;
        padding: 12px 14px;
        margin-bottom: 10px;
    }
    .g6b-table tbody tr.g6b-row--blocked {
        background: #fef2f2;
    }
    .g6b-table tbody tr.g6b-row--unverified {
        background: #f8fafc;
    }
    .g6b-table tbody tr:target {
        background: #fef9c3;
    }
    .g6b-table tbody th {
        border: 0;
        padding: 0 0 6px;
        font-size: 16px;
    }
    .g6b-table tbody td {
        border: 0;
        padding: 4px 0;
    }
    .g6b-table tbody td::before {
        content: attr(data-g6b);
        display: block;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #095e93;
    }
}
