#need-form .need-order-types {
    min-inline-size: 0;
    padding: 0;
    border: 0;
}
#need-form .need-order-types legend {
    padding: 0;
}
#need-form .need-order-options {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
    margin-block-start: 8px;
}
#need-form .need-order-options > label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-block-size: 44px;
    max-inline-size: 100%;
    inline-size: auto;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #a9bfd4;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}
#need-form .need-order-options > label:has(input:checked) {
    border-color: #315d76;
    background: #edf5f9;
}
#need-form .need-order-types > .n-note {
    margin: 6px 0 0;
}
#need-form .need-required-mark {
    color: #466379;
    font-size: .85em;
    font-weight: 500;
}

#need-form :is(.need-field-error, .need-validation-summary)[hidden] {
    display: none;
}
#need-form .need-field-error {
    margin: .35rem 0 0;
    color: #9a2830;
    font-size: .875rem;
    font-weight: 650;
}
#need-form .need-validation-summary {
    margin-block-end: 1rem;
}
#need-form .need-validation-summary a {
    color: #8c252c;
    text-decoration: underline;
    text-underline-offset: .22em;
}
#need-form :is(#need-title, #need-description, #need-service-country, #need-country-choice [role="combobox"])[aria-invalid="true"],
#need-form .need-order-types[aria-invalid="true"] .need-order-options > label {
    border-color: #a9333c;
    box-shadow: 0 0 0 1px #a9333c;
}

#need-form .need-order-options > label > input[type="checkbox"] {
    flex: 0 0 auto;
    inline-size: 1rem;
    block-size: 1rem;
    min-block-size: 0;
    min-inline-size: 0;
    padding: 0;
    margin: 0;
}
#need-form .need-order-options > label > span {
    min-inline-size: 0;
    overflow-wrap: anywhere;
}
@media (max-width: 560px) {
    #need-form .need-order-options {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #need-form .need-order-options > label {
        padding-inline: 8px;
        line-height: 1.35;
    }
}
