.alph-tool {
    display: grid;
    gap: 18px;
}

.alph-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 18px;
    align-items: stretch;
}

.alph-hero-copy,
.alph-map-card,
.alph-panel,
.alph-room-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(19, 41, 32, .96), rgba(10, 22, 18, .97));
    box-shadow: var(--shadow);
}

.alph-hero-copy,
.alph-panel,
.alph-room-card > div {
    padding: 18px;
}

.alph-hero-copy h2,
.alph-section-heading h2 {
    margin: 0;
    color: #fff;
    line-height: 1.12;
}

.alph-hero-copy h2 {
    max-width: 860px;
    font-size: clamp(28px, 5vw, 48px);
}

.alph-lede,
.alph-note,
.alph-panel p,
.alph-room-card p,
.alph-room-card li,
.alph-route li,
.alph-trouble-grid span {
    color: #d6e6de;
}

.alph-lede {
    max-width: 820px;
    font-size: 17px;
}

.alph-status-row,
.alph-toolbar,
.alph-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.alph-status-row span,
.alph-links a,
.alph-toolbar button,
.alph-progress button {
    border: 1px solid rgba(226, 180, 67, .36);
    border-radius: 6px;
    background: rgba(226, 180, 67, .1);
    color: var(--gold-2);
}

.alph-status-row span {
    padding: 6px 9px;
    font-size: 12px;
    font-weight: 800;
}

.alph-map-card {
    display: grid;
    margin: 0;
    overflow: hidden;
}

.alph-map-card img,
.alph-room-card img {
    width: 100%;
    object-fit: cover;
    image-rendering: pixelated;
    background: #0a1411;
}

.alph-map-card img {
    height: 100%;
    min-height: 270px;
}

.alph-map-card figcaption {
    padding: 10px 12px;
    border-top: 1px solid var(--line);
    color: #b7c8c0;
    font-size: 13px;
}

.alph-toolbar {
    position: sticky;
    top: 64px;
    z-index: 5;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 16, 13, .92);
    backdrop-filter: blur(12px);
}

.alph-toolbar button,
.alph-progress button {
    min-height: 36px;
    padding: 7px 12px;
    cursor: pointer;
}

.alph-toolbar button.is-active,
.alph-toolbar button:hover,
.alph-progress button:hover {
    background: var(--gold);
    color: #08100d;
}

.alph-section-heading {
    display: grid;
    gap: 4px;
    margin-bottom: 14px;
}

.alph-table-wrap {
    overflow-x: auto;
}

.alph-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    color: #dceae3;
}

.alph-table th,
.alph-table td {
    padding: 11px 10px;
    border-bottom: 1px solid rgba(79, 103, 91, .55);
    text-align: left;
    vertical-align: top;
}

.alph-table th {
    color: #fff;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.alph-check-grid,
.alph-room-grid,
.alph-grid,
.alph-trouble-grid {
    display: grid;
    gap: 12px;
}

.alph-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.alph-check {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 12px;
    border: 1px solid rgba(79, 103, 91, .5);
    border-radius: 8px;
    background: rgba(8, 16, 13, .42);
}

.alph-check input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--gold);
}

.alph-check span,
.alph-check em {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.alph-check strong,
.alph-room-card h3,
.alph-room-card strong,
.alph-route strong,
.alph-trouble-grid strong {
    color: #fff;
}

.alph-check em {
    color: #b7c8c0;
    font-size: 13px;
    font-style: normal;
    line-height: 1.4;
}

.alph-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    color: #b7c8c0;
}

.alph-room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.alph-room-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    overflow: hidden;
}

.alph-room-card[hidden],
.alph-table tr[hidden],
.alph-check[hidden] {
    display: none;
}

.alph-room-card img {
    height: 100%;
    min-height: 230px;
}

.alph-room-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.alph-room-card ul,
.alph-route {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding-left: 18px;
}

.alph-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
}

.alph-letter-groups {
    display: grid;
    gap: 8px;
}

.alph-letter-groups span,
.alph-trouble-grid div {
    padding: 10px 12px;
    border: 1px solid rgba(79, 103, 91, .5);
    border-radius: 8px;
    background: rgba(8, 16, 13, .42);
    color: #dceae3;
}

.alph-trouble-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.alph-trouble-grid div {
    display: grid;
    gap: 4px;
}

.alph-links a {
    padding: 8px 10px;
    text-decoration: none;
    font-weight: 800;
}

.alph-links a:hover {
    background: var(--gold);
    color: #08100d;
}

@media (max-width: 880px) {
    .alph-hero,
    .alph-room-grid,
    .alph-grid,
    .alph-trouble-grid {
        grid-template-columns: 1fr;
    }

    .alph-check-grid {
        grid-template-columns: 1fr;
    }

    .alph-room-card {
        grid-template-columns: 1fr;
    }

    .alph-room-card img {
        height: auto;
        max-height: 280px;
    }

    .alph-toolbar {
        top: 0;
    }
}

@media (max-width: 520px) {
    .alph-hero-copy,
    .alph-panel,
    .alph-room-card > div {
        padding: 14px;
    }

    .alph-progress {
        align-items: stretch;
        flex-direction: column;
    }

    .alph-progress button {
        width: 100%;
    }
}
