.contact-consent .agreement { display: block; overflow: hidden; }
.contact-consent .form-check-input:focus-visible { outline: 2px solid currentColor !important; outline-offset: 3px; }
.contact-consent-error { display: block; margin-top: .4rem; font-size: .9rem; }
.contact-consent-error:empty { display: none; }
.contact-consent-error:not(:empty) { color: #9b1717; background: #fff; border-radius: .3rem; padding: .35rem .5rem; }

/* Consent on the turquoise callback panel. */
.form-callback .contact-consent {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
}
.form-callback .contact-consent .form-check-input {
    grid-column: 1;
    grid-row: 1;
    float: none;
    width: 24px;
    height: 24px;
    margin: 0;
    background-color: #fff;
    border: 2px solid #fff;
    border-radius: 5px;
    cursor: pointer;
}
.form-callback .contact-consent .form-check-input:checked {
    background-color: #24565e;
    border-color: #fff;
}
.form-callback .contact-consent .form-check-input:focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 3px;
}
.form-callback .contact-consent .agreement {
    grid-column: 2;
    grid-row: 1;
    color: #fff;
    font-size: .875rem;
    line-height: 1.6;
    font-weight: 500;
    cursor: pointer;
}
.form-callback .callback-policy-link {
    padding-left: 36px;
    font-size: .875rem;
    line-height: 1.6;
    font-weight: 500;
}
.form-callback .contact-consent .agreement a,
.form-callback .callback-policy-link a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .2em;
    text-decoration-thickness: 1px;
}
.form-callback .contact-consent .agreement a:hover,
.form-callback .callback-policy-link a:hover {
    text-decoration-thickness: 2px;
}
.form-callback .contact-consent .agreement a:focus-visible,
.form-callback .callback-policy-link a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
.form-callback .contact-consent-error { grid-column: 2; }
.form-callback .contact-consent noscript { grid-column: 1 / -1; }

/* The consent label is not a quiz answer card. */
.quiz .contact-consent {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 0 10px;
    align-items: start;
}
.quiz .contact-consent .form-check-input {
    grid-column: 1;
    grid-row: 1;
    float: none;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    cursor: pointer;
}
.quiz .step .contact-consent .agreement {
    grid-column: 2;
    grid-row: 1;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}
.quiz .quiz-consent-policy {
    display: block;
    margin: 4px 0 0 28px;
    font-size: 13px;
    line-height: 1.5;
}
.quiz .contact-consent .agreement a,
.quiz .quiz-consent-policy a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.quiz .contact-consent-error { grid-column: 2; }
.quiz .contact-consent noscript { grid-column: 1 / -1; }
