.b2a-route-page,
.b2a-route-directory {
    padding-block: .25rem 3.5rem;
}

.b2a-route-hero {
    margin-bottom: 1.25rem;
}

.b2a-route-progress,
.b2a-what-next ol {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: .65rem;
    padding: 0;
    list-style: none;
}

.b2a-route-progress li,
.b2a-what-next li {
    min-height: 3.4rem;
    padding: .75rem .85rem;
    border: 1px solid var(--b2a-line);
    border-radius: 8px;
    background: rgba(255, 252, 246, .75);
    color: rgba(17, 18, 15, .75);
    font-family: var(--b2a-mono);
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
}

.b2a-route-progress .is-current,
.b2a-what-next li:first-child {
    border-color: var(--b2a-copper);
    background: rgba(234, 210, 160, .38);
    color: var(--b2a-forest);
}

.b2a-route-choice-grid,
.b2a-route-card-grid,
.b2a-route-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.25rem 0;
}

.b2a-route-choice,
.b2a-route-card-grid article,
.b2a-route-profile {
    display: grid;
    gap: .7rem;
    min-height: 15rem;
    padding: 1.2rem;
    border: 1px solid var(--b2a-line);
    border-radius: 8px;
    background: rgba(255, 248, 236, .88);
    box-shadow: var(--b2a-shadow-soft);
    color: var(--b2a-ink);
    text-decoration: none;
}

.b2a-route-choice:hover,
.b2a-route-choice:focus-visible,
.b2a-route-choice.is-selected {
    border-color: var(--b2a-copper);
    outline: 3px solid rgba(183, 95, 59, .15);
    transform: translateY(-2px);
}

.b2a-route-choice span,
.b2a-what-next li span,
.b2a-profile-chip {
    color: var(--b2a-copper);
    font-family: var(--b2a-mono);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.b2a-route-choice h2,
.b2a-route-card-grid h2,
.b2a-route-profile h2,
.b2a-what-next h2,
.b2a-auntie-quickstart h2 {
    margin: 0;
    color: var(--b2a-forest);
}

.b2a-route-form,
.b2a-what-next,
.b2a-auntie-quickstart {
    margin-top: 1.25rem;
    padding: 1.25rem;
    border: 1px solid var(--b2a-line);
    border-radius: 8px;
    background: rgba(255, 248, 236, .88);
    box-shadow: var(--b2a-shadow-soft);
}

.b2a-route-notice {
    margin: 0 0 1rem;
    padding: 1rem;
    border-left: 5px solid var(--b2a-green);
    border-radius: 6px;
    background: rgba(217, 228, 177, .5);
}

.b2a-route-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto auto;
    gap: .75rem;
    align-items: end;
    margin: 1.25rem 0;
    padding: 1rem;
    border: 1px solid var(--b2a-line);
    border-radius: 8px;
    background: rgba(255, 248, 236, .7);
}

.b2a-route-filters label {
    display: grid;
    gap: .35rem;
    color: var(--b2a-forest);
    font-family: var(--b2a-mono);
    font-size: .77rem;
    font-weight: 800;
    text-transform: uppercase;
}

.b2a-route-filters input {
    min-width: 0;
    min-height: 2.75rem;
    padding: .55rem .65rem;
    border: 1px solid rgba(6, 37, 29, .18);
    border-radius: 6px;
    background: #fffdf8;
}

.b2a-route-profile {
    min-height: auto;
}

.b2a-route-profile-role {
    margin: -.35rem 0 0;
    color: rgba(17, 18, 15, .7);
    font-weight: 700;
}

.b2a-route-profile dl {
    display: grid;
    gap: .65rem;
    margin: 0;
}

.b2a-route-profile dt {
    color: var(--b2a-copper);
    font-family: var(--b2a-mono);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.b2a-route-profile dd {
    margin: .15rem 0 0;
}

.b2a-route-profile .b2a-button {
    margin-top: auto;
}

.b2a-auntie-quickstart ol {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .65rem;
    margin: 1rem 0;
    padding: 0;
    list-style: none;
}

.b2a-auntie-quickstart li {
    display: grid;
    gap: .4rem;
    min-height: 8rem;
    padding: .8rem;
    border: 1px solid var(--b2a-line);
    border-radius: 7px;
    background: rgba(255, 252, 246, .76);
}

.b2a-auntie-quickstart li span {
    color: rgba(17, 18, 15, .7);
    font-size: .88rem;
}

@media (max-width: 900px) {
    .b2a-route-choice-grid,
    .b2a-route-card-grid,
    .b2a-route-directory-grid,
    .b2a-route-filters,
    .b2a-auntie-quickstart ol {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .b2a-route-choice-grid,
    .b2a-route-card-grid,
    .b2a-route-directory-grid,
    .b2a-route-filters,
    .b2a-auntie-quickstart ol {
        grid-template-columns: 1fr;
    }

    .b2a-route-choice,
    .b2a-route-card-grid article {
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .b2a-route-choice {
        transition: none;
    }
}
