/* Workspace setup: the settings shell (header, body) with a checklist of steps. Nothing here is wider than the screen. */
.workspace-setup .settings-body { max-width: 980px; }
.workspace-setup p { max-width: 70ch; line-height: 1.5; }
.workspace-setup .setup-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: var(--s3);
}
.workspace-setup .setup-fields label { display: grid; gap: var(--s1); min-width: 0; font-size: 13px; }
.workspace-setup .setup-fields input, .workspace-setup .setup-fields select {
    width: 100%; min-width: 0; max-width: 100%; min-height: 44px; box-sizing: border-box; font-size: 16px;
}
.workspace-setup .btn { min-height: 44px; height: auto; white-space: normal; max-width: 100%; }
.workspace-setup .setup-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.workspace-setup .setup-step {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s1) var(--s4); align-items: start;
    padding: var(--s3) 0; border-top: 1px solid var(--hairline); min-width: 0; overflow-wrap: anywhere;
}
.workspace-setup .setup-step:last-child { border-bottom: 1px solid var(--hairline); }
.workspace-setup .setup-step-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); min-width: 0; }
.workspace-setup .setup-step h3 { font-family: var(--font-text); font-size: 15px; font-weight: 600; margin: 0; }
.workspace-setup .setup-step > p { grid-column: 1; margin: 0; font-size: 13px; color: var(--ink-2); }
.workspace-setup .setup-step .error-line { color: var(--ink); }
.workspace-setup .setup-actions { grid-column: 2; grid-row: 1 / span 3; display: flex; flex-wrap: wrap; gap: var(--s2); align-items: start; justify-content: flex-end; }
.workspace-setup .setup-actions .btn { text-align: center; }
.workspace-setup .setup-done .setup-step-head h3 { color: var(--ink-2); font-weight: 500; }
.setup-installation {
    border-block: 1px solid var(--hairline); padding-block: var(--s3); margin-block: var(--s3); overflow-wrap: anywhere;
}
.setup-installation .setup-installation-fields {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: var(--s3);
}
.setup-installation label { display: grid; gap: var(--s1); margin-block: var(--s2); min-width: 0; }
.setup-installation input { min-width: 0; width: 100%; min-height: 44px; box-sizing: border-box; }
.setup-installation pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.setup-installation button { min-height: 44px; white-space: normal; max-width: 100%; }
@media (max-width: 600px) {
    .workspace-setup .setup-step { grid-template-columns: minmax(0, 1fr); }
    .workspace-setup .setup-actions { grid-column: 1; grid-row: auto; justify-content: flex-start; }
    .workspace-setup .setup-actions .btn { flex: 1 1 10rem; }
}
