.voting-form {
    margin-top: 2rem
}

.voting-form__progress {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .5rem;
    margin: 2rem 0;
    padding: 0;
    list-style: none
}

.voting-form__progress li {
    border-top: 4px solid #d5d5d5;
    padding-top: .65rem;
    color: #555;
    font-weight: 600
}

.voting-form__progress li span {
    display: inline-grid;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    margin-right: .35rem;
    border-radius: 50%;
    background: #e7e7e7;
    line-height: 1.75rem;
}

.voting-form__progress li[aria-current=step] {
    border-color: var(--brand-primary);
    color: #181818
}

.voting-form__progress li[aria-current=step] span {
    background: var(--brand-primary);
    color: #fff
}

.voting-form__status {
    min-height: 1.5em;
    font-weight: 600
}

.voting-form__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.voting-form__step {
    min-width: 0;
    margin: 0;
    padding: 1.5rem;
    border: 2px solid #e2e2e2
}

.voting-form__step[hidden] {
    display: none
}

.voting-form__step legend,
.voting-form__summary h3 {
    padding: 0 .4rem;
    font-size: 1.5rem;
    font-weight: 700
}

.voting-form__options {
    display: grid;
    gap: .75rem
}

.voting-form__option,
.voting-form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    padding: 1rem;
    border: 2px solid #d5d5d5;
    cursor: pointer
}

.voting-form__option:has(input:checked) {
    border-color: var(--brand-primary);
    background: rgba(243, 146, 0, .08)
}

.voting-form__option input,
.voting-form__checkbox input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: .625rem;
    flex: 0 0 auto;
    accent-color: var(--brand-primary)
}

.voting-form__option span {
    display: grid
}

.voting-form__option small,
.voting-form__field small {
    display: block;
    margin-top: .25rem;
    color: #555
}

.voting-form__field {
    margin-bottom: 1.25rem
}

.voting-form__field label {
    display: block;
    margin-bottom: .35rem;
    font-weight: 700
}

.voting-form__field input,
.voting-form__field textarea {
    width: 100%;
    padding: .75rem;
    border: 2px solid #777;
    border-radius: 0;
    background: #fff;
    color: #181818;
    font: inherit
}

.voting-form input:focus-visible,
.voting-form textarea:focus-visible,
.voting-form button:focus-visible {
    outline: 3px solid #181818;
    outline-offset: 3px
}

.voting-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem
}

.voting-form .c-button--secondary {
    border: 2px solid var(--brand-primary)
}

.voting-form__summary dl {
    margin-top: 1.5rem
}

.voting-form__summary dl div {
    padding: .75rem 0;
    border-bottom: 1px solid #d5d5d5
}

.voting-form__summary dt {
    font-weight: 700
}

.voting-form__summary dd {
    margin: .2rem 0 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere
}

@media(max-width:767px) {
    .voting-form__progress li {
        font-size: 0
    }

    .voting-form__progress li span {
        font-size: 1rem
    }

    .voting-form__step {
        padding: 1rem
    }
}