/* wizard-shell.css — pattern: page-level layout for multi-step wizards.
   Wraps the steps indicator (.biq-steps), the form card, and the action
   bar in a centered, max-width column.  See FSE_UI.md → Wizard Shell. */

.biq-wizard {
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
    padding: var(--biq-space-6) var(--biq-space-4);
    display: flex;
    flex-direction: column;
    gap: var(--biq-space-5);
}

.biq-wizard__heading {
    display: flex;
    flex-direction: column;
    gap: var(--biq-space-2);
}

.biq-wizard__eyebrow {
    font-size: var(--biq-fs-xs);
    font-weight: var(--biq-fw-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--biq-color-text-muted);
}

.biq-wizard__title {
    margin: 0;
    font-size: var(--biq-fs-2xl);
    font-weight: var(--biq-fw-semibold);
    color: var(--biq-color-text-primary);
    line-height: var(--biq-lh-tight);
}

.biq-wizard__lede {
    margin: 0;
    color: var(--biq-color-text-secondary);
    line-height: var(--biq-lh-normal);
}

.biq-wizard__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--biq-space-3);
    flex-wrap: wrap;
    margin-top: var(--biq-space-2);
}

.biq-wizard__actions--end {
    justify-content: flex-end;
}

.biq-wizard__error-summary {
    /* Reuses .biq-alert pattern visually but lives here so the wizard
       can render a list of model errors above the form. */
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    .biq-wizard { /* no motion to suppress */ }
}

@media (prefers-contrast: more) {
    .biq-wizard__title { color: var(--biq-color-text-primary); }
}
