/* The Automations page: what Eduard repeats on the left, its follow-ups beside it where there is room. */
.automation-lanes {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--spacing-lg);
    align-items: start;
}

.automation-lanes__main,
.automation-lanes__rail {
    max-width: 40rem;
}

/* The width where both lanes fit beside the sidebar. */
@media (min-width: 75rem) {
    .automation-lanes {
        grid-template-columns: minmax(0, 40rem) minmax(20rem, 24rem);
    }

    .automation-lanes__rail {
        position: sticky;
        top: calc(var(--page-bar-height) + var(--layout-inset));
        max-height: calc(100vh - var(--page-bar-height) - 2 * var(--layout-inset));
        overflow-y: auto;
    }
}
