.maproom-panel {
    margin: 0 0 2rem;
    border: 1px solid var(--atlas-line);
    border-radius: 8px;
    background: var(--atlas-panel);
}

.maproom-toolbar,
.maproom-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
}

.maproom-toolbar {
    justify-content: space-between;
    padding: clamp(.75rem, 2vw, 1.25rem);
}

.maproom-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    min-height: 44px;
    color: var(--atlas-ink);
    text-decoration: none;
}

.maproom-brand img {
    flex: none;
    width: 44px;
    height: 44px;
}

.maproom-brand-copy {
    display: grid;
    gap: .15rem;
    line-height: 1.2;
}

.maproom-brand-copy strong {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    font-weight: 800;
}

.maproom-brand-copy span {
    color: var(--atlas-muted);
    font-size: .875rem;
}

.maproom-brand:hover strong,
.maproom-brand:focus-visible strong {
    text-decoration: underline;
}

.maproom-actions .button {
    min-height: 44px;
    gap: .35rem;
}

.maproom-frame iframe {
    display: block;
    border: 0;
    border-top: 1px solid var(--atlas-line);
    border-radius: 0 0 7px 7px;
    width: 100%;
    height: clamp(26rem, 74vh, 50rem);
    height: clamp(26rem, 74svh, 50rem);
}

.maproom-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    margin-bottom: 1rem;
    padding: .35rem;
    border: 1px solid var(--atlas-line);
    border-radius: 8px;
    background: var(--atlas-panel);
}

.maproom-shortcuts .button {
    flex: 1 1 11rem;
    min-width: 0;
    min-height: 48px;
    justify-content: flex-start;
    gap: .55rem;
    padding: .55rem .65rem;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--atlas-ink);
    font-size: .875rem;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.25;
}

.maproom-shortcut-icon {
    display: block;
    flex: none;
    color: var(--atlas-accent);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.maproom-shortcuts .button:hover,
.maproom-shortcuts .button:focus-visible,
.maproom-shortcuts-toggle.button:not([hidden]):hover {
    background: #1b3440;
    color: var(--atlas-accent);
}

.maproom-shortcuts-toggle.button {
    display: none;
}

@media (max-width: 700px) {
    .maproom-shortcuts-toggle.button:not([hidden]) {
        display: inline-flex;
        gap: .45rem;
        min-height: 44px;
        margin-bottom: .75rem;
        padding: .5rem .75rem;
        border-color: var(--atlas-line);
        border-radius: 6px;
        background: var(--atlas-panel);
        color: var(--atlas-ink);
        cursor: pointer;
        font: inherit;
        font-size: .875rem;
        font-weight: 700;
    }

    .maproom-shortcuts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .maproom-shortcuts .button {
        min-height: 44px;
        gap: .4rem;
        padding: .4rem .45rem;
        font-size: .8125rem;
    }

    .maproom-shortcuts .button:last-child {
        grid-column: 1 / -1;
    }

    .maproom-shortcuts-toggle:not([hidden])[aria-expanded="false"] + .maproom-shortcuts {
        display: none;
    }

    .maproom-shortcuts-toggle[aria-expanded="true"] span {
        transform: rotate(180deg);
    }
}

.maproom-directory {
    margin-block: 2.25rem;
    scroll-margin-top: 1rem;
}

.maproom-counties {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: .75rem;
    margin: 1rem 0;
    padding: 0;
    list-style: none;
}

.maproom-counties li {
    padding: 1rem;
    border: 1px solid var(--atlas-line);
    border-radius: 8px;
    background: var(--atlas-panel);
}

.maproom-counties h3,
.maproom-counties p {
    margin: 0 0 .45rem;
}

.maproom-counties p {
    color: var(--atlas-muted);
}

.maproom-counties a {
    display: flex;
    align-items: center;
    min-height: 32px;
    color: var(--teal-dark);
}
