.journey-progress {
    width: min(820px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(80px, 0.4fr) minmax(0, 1fr);
    align-items: center;
    padding: 22px 0 18px;
}

.journey-progress__step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-weight: 700;
}

.journey-progress__number {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 2px solid var(--border-light);
    border-radius: 50%;
    background: var(--white);
    font-size: 18px;
}

.journey-progress__state {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 400;
}

.journey-progress__line {
    height: 3px;
    background: var(--border-light);
}

.journey-progress__step--active {
    color: var(--primary-blue);
}

.journey-progress__step--active .journey-progress__number,
.journey-progress__step--complete .journey-progress__number {
    border-color: var(--secondary-teal);
    background: var(--secondary-teal);
    color: var(--text-dark);
}

.journey-progress__step--complete {
    color: var(--success);
}

.journey-progress__line--complete {
    background: var(--secondary-teal);
}

.progress-ring {
    --value: 0;
    position: relative;
    width: 116px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--secondary-teal) calc(var(--value) * 1%), #e6ebef 0);
}

.progress-ring::before {
    content: "";
    position: absolute;
    inset: 11px;
    border-radius: 50%;
    background: var(--white);
}

.progress-ring strong {
    position: relative;
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.radio-set,
.choice-set {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.radio-option {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 8px 14px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--white);
}

.radio-dot {
    width: 17px;
    height: 17px;
    border: 2px solid #92a5b5;
    border-radius: 50%;
}

.radio-option--selected {
    border-color: var(--secondary-teal);
    background: var(--teal-050);
    color: var(--primary-blue);
    font-weight: 700;
}

.radio-option--selected .radio-dot {
    border: 5px solid var(--secondary-teal);
}

.upload-panel {
    display: grid;
    align-content: start;
    gap: var(--space-3);
    min-width: 0;
    padding: var(--space-4);
    border: 1px solid #cbdde9;
    border-radius: var(--radius-md);
    background: var(--blue-050);
}

.upload-panel--error {
    border-color: var(--danger);
    background: var(--danger-050);
}

.upload-zone {
    min-height: 82px;
    display: grid;
    place-items: center;
    gap: 4px;
    padding: 14px;
    border: 1px dashed #8bb5d3;
    border-radius: 7px;
    background: var(--white);
    color: var(--primary-blue);
    font-weight: 700;
    text-align: center;
}

.upload-zone small {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 400;
}

.upload-panel--error .upload-zone {
    border-color: var(--danger);
}

.file-list {
    overflow: hidden;
    border: 1px solid #a9dcdc;
    border-radius: 7px;
    background: var(--white);
}

.file-row {
    min-height: 42px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto 28px 28px;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border-bottom: 1px solid var(--border-light);
    font-size: 12px;
}

.file-row:last-child {
    border-bottom: 0;
}

.file-row__type {
    color: var(--success);
    font-weight: 700;
}

.file-row__size {
    color: var(--text-muted);
}

.file-row__success {
    color: var(--success);
}

.file-row__remove {
    border: 0;
    background: transparent;
    color: var(--text-dark);
    font-size: 17px;
}

.info-callout {
    padding: 18px 22px;
    border: 1px solid #d8e7f1;
    border-left: 5px solid var(--secondary-teal);
    border-radius: var(--radius-md);
    background: var(--blue-050);
    color: var(--text-muted);
}

.prototype-action-bar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-3);
    padding: 14px var(--page-gutter);
    border-top: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.98);
}

.error-toast {
    position: fixed;
    z-index: 900;
    top: 14px;
    right: 24px;
    width: min(360px, calc(100vw - 28px));
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    padding: 16px;
    border: 1px solid #eaa49c;
    border-radius: var(--radius-md);
    background: var(--danger-050);
    box-shadow: var(--shadow-float);
    color: var(--danger);
    font-weight: 700;
}

.error-toast__close {
    border: 0;
    background: transparent;
    color: var(--danger);
    font-size: 20px;
}

@media (max-width: 600px) {
    .journey-progress {
        grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
        padding: 16px 0 14px;
    }

    .journey-progress__step {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 7px;
        font-size: 10px;
    }

    .journey-progress__number {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .prototype-action-bar {
        position: sticky;
        bottom: 0;
        padding: 10px 14px;
    }

    .prototype-action-bar .button {
        flex: 1;
    }
}
