.setup {
    min-height: calc(100vh - 32px);
    display: grid;
    place-items: center;
}

.setup-card {
    width: min(100%, max(520px, 80%));
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}

.setup-card h1 {
    margin: 0 0 20px 0;
    font-size: 32px;
}

.setup-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.setup-actions select {
    margin-bottom: 0;
}

.setup-actions button {
    white-space: nowrap;
}

@media (max-width: 560px) {
    .setup-actions {
        grid-template-columns: 1fr;
    }
}

.toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 14px;
    height: 46px;
}

.toolbar-left,
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.toolbar-left {
    justify-content: flex-start;
}

.toolbar-right {
    justify-content: flex-end;
}

.toolbar-workout {
    font-size: clamp(8px, 1.2vw, 18px);
    font-weight: 800;
    color: #cbd5e1;
    line-height: 1.2;
}

.toolbar-exercise {
    text-align: center;
    font-size: clamp(16px, 2vw, 36px);
    font-weight: 950;
    color: #f9fafb;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
}

.toolbar-meta {
    text-align: right;
    font-size: clamp(8px, 1.2vw, 18px);
    line-height: 1.35;
    font-weight: 800;
    color: #cbd5e1;
    white-space: nowrap;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}