

:where(.ds-wizard) *:focus {
    outline: none;
}

:where(.ds-wizard) *:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 3px;
    border-radius: 4px;
}

:where(.ds-wizard) input:focus-visible,
:where(.ds-wizard) select:focus-visible,
:where(.ds-wizard) textarea:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 0;
    border-color: #005fcc;
    box-shadow: 0 0 0 4px rgba(0, 95, 204, 0.25);
}

:where(.ds-wizard) .ds-option-card:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
    box-shadow: 0 0 0 5px rgba(0, 95, 204, 0.20);
}

.ds-skip-link {
    position: absolute;
    top: -9999px;
    left: 0;
    z-index: 9999;
    background: #005fcc;
    color: #fff;
    padding: 0.5em 1em;
    font-size: 0.95rem;
    border-radius: 0 0 4px 0;
    text-decoration: none;
    white-space: nowrap;
}

.ds-skip-link:focus {
    top: 0;
    outline: 3px solid #003b99;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    :where(.ds-wizard) *,
    :where(.ds-wizard) *::before,
    :where(.ds-wizard) *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    :where(.ds-wizard) .ds-conditional {
        transition: none !important;
    }


    :where(.ds-wizard) .ds-spinner {
        animation: none !important;
        border-top-color: #005fcc;
    }
}


@media (forced-colors: active) {
    :where(.ds-wizard) .ds-timeline-circle {
        border: 2px solid ButtonText;
        color: ButtonText;
        background: ButtonFace;
        forced-color-adjust: none;
    }

    :where(.ds-wizard) .ds-timeline-item.ds-completed .ds-timeline-circle {
        background: Highlight;
        color: HighlightText;
        border-color: Highlight;
    }

    :where(.ds-wizard) .ds-timeline-item.ds-active .ds-timeline-circle {
        background: ButtonText;
        color: ButtonFace;
        border-color: ButtonText;
    }

    :where(.ds-wizard) .ds-btn-primary {
        background: ButtonText;
        color: ButtonFace;
        border: 2px solid ButtonText;
        forced-color-adjust: none;
    }

    :where(.ds-wizard) .ds-btn-primary:hover,
    :where(.ds-wizard) .ds-btn-primary:focus-visible {
        background: Highlight;
        color: HighlightText;
        border-color: Highlight;
    }

    :where(.ds-wizard) .ds-btn-secondary {
        background: ButtonFace;
        color: ButtonText;
        border: 2px solid ButtonText;
        forced-color-adjust: none;
    }

    :where(.ds-wizard) .ds-option-card {
        border: 2px solid ButtonText;
        forced-color-adjust: none;
    }

    :where(.ds-wizard) .ds-option-card.ds-selected {
        border-color: Highlight;
        background: Highlight;
        color: HighlightText;
    }

    :where(.ds-wizard) .ds-upload-zone {
        border: 2px dashed ButtonText;
        forced-color-adjust: none;
    }

    :where(.ds-wizard) .ds-error-msg,
    :where(.ds-wizard) .ds-field-error {
        color: LinkText;
        forced-color-adjust: none;
    }

    :where(.ds-wizard) .ds-timeline-item:not(:last-child)::after {
        background: ButtonText;
        forced-color-adjust: none;
    }

    :where(.ds-wizard) .ds-timeline-item.ds-completed:not(:last-child)::after {
        background: Highlight;
    }
}


.sr-only,
.ds-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


.sr-only-focusable:focus,
.ds-sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}


#ds-live-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}


.ds-error-summary {
    background: #fff8f8;
    border: 2px solid #cc0000;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 16px;
    color: #8b0000;
    font-size: 0.9rem;
}

.ds-error-summary h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.ds-error-summary ul {
    margin: 0;
    padding-left: 18px;
}

.ds-error-summary li + li {
    margin-top: 4px;
}

.ds-error-summary a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}


.ds-field-error {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    color: #cc0000;
}

[aria-invalid="true"] {
    border-color: #cc0000 !important;
}

[aria-invalid="true"]:focus-visible {
    box-shadow: 0 0 0 4px rgba(204, 0, 0, 0.20) !important;
    outline-color: #cc0000 !important;
}


[aria-busy="true"] {
    cursor: wait;
    pointer-events: none;
    opacity: 0.7;
}


:where(.ds-wizard) button:disabled,
:where(.ds-wizard) input:disabled,
:where(.ds-wizard) select:disabled,
:where(.ds-wizard) textarea:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


@media print {
    .ds-wizard {
        max-width: 100%;
        box-shadow: none;
        border: none;
    }

    .ds-timeline,
    .ds-nav,
    .ds-upload-zone,
    .ds-btn-primary,
    .ds-btn-secondary {
        display: none !important;
    }
}
