.brief-input {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.5rem;
    border: 1px solid rgb(229 229 229);
    background: #fff;
    color: rgb(24 24 27);
}

.brief-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(24, 24, 27, 0.08);
}

.dark .brief-input {
    border-color: rgb(63 63 70);
    background: rgb(24 24 27);
    color: rgb(228 228 231);
}

.dark .brief-input:focus {
    border-color: rgb(113 113 122);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}

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

.brief-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.4rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    border-radius: 0.5rem;
    border: 1px solid rgb(229 229 229);
    background: #fff;
    color: rgb(63 63 70);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    user-select: none;
}

.dark .brief-chip span {
    border-color: rgb(82 82 91);
    background: rgb(24 24 27);
    color: rgb(212 212 216);
}

.brief-chip input:checked + span {
    border-color: rgb(24 24 27);
    background: rgb(24 24 27);
    color: #fff;
}

.dark .brief-chip input:checked + span {
    border-color: rgb(161 161 170);
    background: rgb(63 63 70);
    color: rgb(244 244 245);
}

.brief-radio input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.brief-radio span {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: 1px solid rgb(229 229 229);
    background: #fff;
    color: rgb(63 63 70);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.dark .brief-radio span {
    border-color: rgb(82 82 91);
    background: rgb(24 24 27);
    color: rgb(212 212 216);
}

.brief-radio input:checked + span {
    border-color: rgb(24 24 27);
    background: rgb(244 244 245);
    color: rgb(24 24 27);
}

.dark .brief-radio input:checked + span {
    border-color: rgb(113 113 122);
    background: rgb(39 39 42);
    color: rgb(244 244 245);
}

.brief-field-error.brief-input,
.brief-field-error + .brief-input,
textarea.brief-field-error,
input.brief-field-error {
    border-color: rgb(239 68 68) !important;
}

#brief-budget-group.brief-field-error,
#brief-timeline-group.brief-field-error {
    outline: 1px solid rgb(239 68 68);
    outline-offset: 4px;
    border-radius: 0.5rem;
}

.brief-error-msg {
    font-size: 0.75rem;
    color: rgb(220 38 38);
    margin-top: 0.375rem;
}

.dark .brief-error-msg {
    color: rgb(248 113 113);
}

legend {
    margin-bottom: 0.25rem;
}

/* Структурированная форма брифа */
.brief-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.brief-form__section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.brief-form__section-head {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.brief-form__step {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgb(24 24 27);
    background: rgb(244 244 245);
    border: 1px solid rgb(228 228 231);
    border-radius: 0.5rem;
}

.dark .brief-form__step {
    color: rgb(250 250 250);
    background: rgb(39 39 42);
    border-color: rgb(63 63 70);
}

.brief-form__section-title {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.3;
    color: rgb(24 24 27);
}

.dark .brief-form__section-title {
    color: rgb(250 250 250);
}

.brief-form__section-desc {
    margin-top: 0.2rem;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: rgb(113 113 122);
}

.dark .brief-form__section-desc {
    color: rgb(161 161 170);
}

.brief-form__card {
    padding: 1.25rem 1.25rem 1.5rem;
    border-radius: 0.625rem;
    border: 1px solid rgb(228 228 231);
    background: rgb(250 250 250);
}

.dark .brief-form__card {
    border-color: rgb(63 63 70);
    background: rgb(24 24 27);
}

.brief-form__card--stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brief-form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .brief-form__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.brief-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.brief-form__field--full {
    margin-bottom: 0.25rem;
}

.brief-form__label,
.brief-form__group-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgb(63 63 70);
}

.dark .brief-form__label,
.dark .brief-form__group-title {
    color: rgb(212 212 216);
}

.brief-form__group {
    padding-top: 0.25rem;
    border-top: 1px solid rgb(228 228 231);
}

.brief-form__card > .brief-form__group:first-child {
    padding-top: 0;
    border-top: none;
}

.dark .brief-form__group {
    border-top-color: rgb(39 39 42);
}

.brief-form__group-hint {
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: rgb(113 113 122);
}

.dark .brief-form__group-hint {
    color: rgb(161 161 170);
}

.brief-form__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.brief-form__options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

@media (min-width: 480px) {
    .brief-form__options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.brief-form__alert {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: rgb(185 28 28);
    background: rgb(254 242 242);
    border: 1px solid rgb(254 202 202);
    border-radius: 0.5rem;
}

.dark .brief-form__alert {
    color: rgb(248 113 113);
    background: rgba(127, 29, 29, 0.25);
    border-color: rgba(185, 28, 28, 0.45);
}

.brief-form__footer {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgb(228 228 231);
}

.dark .brief-form__footer {
    border-top-color: rgb(63 63 70);
}

@media (min-width: 640px) {
    .brief-form__footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.brief-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    max-width: 36rem;
}

#brief-budget-group.brief-field-error,
#brief-timeline-group.brief-field-error {
    padding: 0.25rem;
}

/* Пошаговый бриф в drawer */
.brief-form--wizard .brief-form__section {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.brief-form--wizard .brief-form__section.is-active {
    display: flex;
}

.brief-form__progress {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0.25rem 0 0.5rem;
}

.brief-form__progress-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    opacity: 0.45;
    transition: opacity 0.2s ease;
}

.brief-form__progress-item.is-active,
.brief-form__progress-item.is-done {
    opacity: 1;
}

.brief-form__progress-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 9999px;
    border: 1px solid rgb(228 228 231);
    background: rgb(244 244 245);
    color: rgb(113 113 122);
}

.brief-form__progress-item.is-active .brief-form__progress-num {
    border-color: rgb(24 24 27);
    background: rgb(24 24 27);
    color: #fff;
}

.brief-form__progress-item.is-done .brief-form__progress-num {
    border-color: rgb(24 24 27);
    background: rgb(244 244 245);
    color: rgb(24 24 27);
}

.dark .brief-form__progress-num {
    border-color: rgb(63 63 70);
    background: rgb(39 39 42);
    color: rgb(161 161 170);
}

.dark .brief-form__progress-item.is-active .brief-form__progress-num {
    border-color: rgb(161 161 170);
    background: rgb(63 63 70);
    color: rgb(244 244 245);
}

.dark .brief-form__progress-item.is-done .brief-form__progress-num {
    border-color: rgb(113 113 122);
    color: rgb(212 212 216);
}

.brief-form__progress-label {
    font-size: 0.625rem;
    font-weight: 500;
    color: rgb(113 113 122);
    line-height: 1.2;
}

.dark .brief-form__progress-label {
    color: rgb(161 161 170);
}

.brief-form__progress-line {
    flex: 0 0 1.5rem;
    height: 1px;
    margin-bottom: 1.25rem;
    background: rgb(228 228 231);
}

.dark .brief-form__progress-line {
    background: rgb(63 63 70);
}

.brief-form--wizard .brief-form__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.brief-form__footer-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.brief-form__consent--inline {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgb(228 228 231);
}

.dark .brief-form__consent--inline {
    border-top-color: rgb(39 39 42);
}

/* /brief - переключатель режимов */
.brief-mode {
    display: inline-flex;
    padding: 0.25rem;
    border-radius: 0.625rem;
    border: 1px solid rgb(228 228 231);
    background: rgb(244 244 245);
    gap: 0.25rem;
}

.dark .brief-mode {
    border-color: rgb(63 63 70);
    background: rgb(24 24 27);
}

.brief-mode__btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: rgb(113 113 122);
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.brief-mode__btn.is-active {
    background: #fff;
    color: rgb(24 24 27);
    box-shadow: 0 1px 3px rgba(24, 24, 27, 0.08);
}

.dark .brief-mode__btn.is-active {
    background: rgb(39 39 42);
    color: rgb(244 244 245);
    box-shadow: inset 0 0 0 1px rgb(63 63 70);
}

.brief-panels {
    margin-top: 1.5rem;
}

.brief-panel {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.brief-panel.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.brief-panel[hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .brief-panel {
        transition: none;
        transform: none;
    }
}

/* Квиз */
.brief-quiz-launch {
    margin-top: 0.5rem;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgb(228 228 231);
    background: radial-gradient(ellipse 90% 80% at 20% 0%, rgba(244, 244, 245, 0.95) 0%, transparent 55%), #fff;
    text-align: center;
}

.dark .brief-quiz-launch {
    border-color: rgb(63 63 70);
    background: radial-gradient(ellipse 90% 80% at 20% 0%, rgba(39, 39, 42, 0.45) 0%, transparent 55%), rgb(24 24 27);
}

.brief-quiz-launch__title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: rgb(24 24 27);
}

.dark .brief-quiz-launch__title { color: rgb(250 250 250); }

.brief-quiz-launch__text {
    margin-top: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgb(82 82 91);
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.dark .brief-quiz-launch__text { color: rgb(161 161 170); }

.brief-quiz-launch__btn {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 0.625rem;
    border: none;
    background: rgb(24 24 27);
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(24, 24, 27, 0.12);
}

.brief-quiz-launch__btn:hover {
    opacity: 0.92;
    transform: translateY(-2px);
}

.dark .brief-quiz-launch__btn {
    background: rgb(228 228 231);
    color: rgb(24 24 27);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.brief-quiz-launch__meta {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: rgb(161 161 170);
}

.brief-quiz-flow,
.brief-quiz-contact {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.brief-quiz-flow.is-visible,
.brief-quiz-contact.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.brief-quiz-flow { margin-top: 0.5rem; }

.brief-quiz__progress-wrap { margin-bottom: 1.25rem; }

.brief-quiz__progress-track {
    height: 3px;
    border-radius: 999px;
    background: rgb(228 228 231);
    overflow: hidden;
}

.dark .brief-quiz__progress-track { background: rgb(63 63 70); }

.brief-quiz__progress-bar {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: rgb(24 24 27);
    transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.dark .brief-quiz__progress-bar { background: rgb(161 161 170); }

.brief-quiz__progress-label {
    margin-top: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgb(161 161 170);
}

.brief-quiz__stage { min-height: 16rem; }

.brief-quiz__stage.is-leaving {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.brief-quiz__stage.is-entering {
    animation: brief-quiz-enter 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes brief-quiz-enter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.brief-quiz__step .brief-quiz__choice {
    animation: brief-quiz-choice-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.brief-quiz__choices .brief-quiz__choice:nth-child(1) { animation-delay: 0.03s; }
.brief-quiz__choices .brief-quiz__choice:nth-child(2) { animation-delay: 0.06s; }
.brief-quiz__choices .brief-quiz__choice:nth-child(3) { animation-delay: 0.09s; }
.brief-quiz__choices .brief-quiz__choice:nth-child(4) { animation-delay: 0.12s; }
.brief-quiz__choices .brief-quiz__choice:nth-child(5) { animation-delay: 0.15s; }
.brief-quiz__choices .brief-quiz__choice:nth-child(6) { animation-delay: 0.18s; }

@keyframes brief-quiz-choice-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .brief-quiz__stage.is-leaving,
    .brief-quiz__stage.is-entering,
    .brief-quiz-flow,
    .brief-quiz-contact,
    .brief-quiz__step .brief-quiz__choice {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
    }
}

.brief-quiz__kicker {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgb(161 161 170);
}

.brief-quiz__question {
    margin-top: 0.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: rgb(24 24 27);
}

@media (min-width: 640px) {
    .brief-quiz__question { font-size: 1.625rem; }
}

.dark .brief-quiz__question { color: rgb(250 250 250); }

.brief-quiz__hint {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: rgb(113 113 122);
}

.brief-quiz__choices {
    display: grid;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

@media (min-width: 640px) {
    .brief-quiz__choices:not(.brief-quiz__choices--stack):not(.brief-quiz__choices--grid) {
        grid-template-columns: 1fr;
    }
}

.brief-quiz__choice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1rem;
    text-align: left;
    border-radius: 0.625rem;
    border: 1px solid rgb(228 228 231);
    background: #fff;
    color: rgb(24 24 27);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.brief-quiz__choice:hover {
    border-color: rgb(161 161 170);
    background: rgb(250 250 250);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 24, 27, 0.05);
}

.dark .brief-quiz__choice {
    border-color: rgb(63 63 70);
    background: rgb(30 30 33);
    color: rgb(244 244 245);
}

.dark .brief-quiz__choice:hover {
    border-color: rgb(82 82 91);
    background: rgb(39 39 42);
    box-shadow: none;
}

.brief-quiz__choice--multi.is-selected {
    border-color: rgb(24 24 27);
    background: rgb(244 244 245);
}

.dark .brief-quiz__choice--multi.is-selected {
    border-color: rgb(113 113 122);
    background: rgb(39 39 42);
}

.brief-quiz__choice-mark {
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 0.3rem;
    border: 1px solid rgb(212 212 216);
}

.dark .brief-quiz__choice-mark {
    border-color: rgb(82 82 91);
}

.brief-quiz__choice-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.brief-quiz__choice-text {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
}

.brief-quiz__choice-hint {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.35;
    color: rgb(113 113 122);
}

.dark .brief-quiz__choice-hint { color: rgb(161 161 170); }

.brief-quiz__choice-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: rgb(244 244 245);
    font-size: 1.125rem;
}

.dark .brief-quiz__choice-icon {
    background: rgb(39 39 42);
    color: rgb(212 212 216);
}

.brief-quiz__choice-arrow {
    flex-shrink: 0;
    opacity: 0.35;
}

.brief-quiz__back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.25rem;
    padding: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgb(113 113 122);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.15s ease;
}

.brief-quiz__lead {
    margin-top: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgb(63 63 70);
}

.dark .brief-quiz__lead { color: rgb(212 212 216); }

.brief-quiz__bullets {
    margin: 1rem 0 0;
    padding-left: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgb(39 39 42);
}

.brief-quiz__bullets li + li { margin-top: 0.35rem; }

.dark .brief-quiz__bullets {
    color: rgb(212 212 216);
}

.brief-quiz__subhead--pending::after {
    content: ' · выберите пункт';
    font-weight: 500;
    color: rgb(161 161 170);
}

.dark .brief-quiz__subhead--pending::after {
    color: rgb(113 113 122);
}

.brief-quiz__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 1rem;
}

.brief-quiz__tag {
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 500;
    border-radius: 999px;
    border: 1px solid rgb(228 228 231);
    background: rgb(244 244 245);
    color: rgb(63 63 70);
}

.brief-quiz__path {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgb(228 228 231);
    font-size: 0.75rem;
    color: rgb(113 113 122);
}

.brief-quiz__path-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.625rem;
    margin-right: 0.35rem;
}

.brief-quiz__actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1.5rem;
}

@media (min-width: 480px) {
    .brief-quiz__actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
}

.brief-quiz__cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    background: rgb(24 24 27);
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.brief-quiz__cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.dark .brief-quiz__cta {
    background: rgb(228 228 231);
    color: rgb(24 24 27);
}

.brief-quiz__ghost {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgb(113 113 122);
    background: none;
    border: none;
    cursor: pointer;
}

.brief-quiz-contact {
    margin-top: 0.5rem;
    padding-top: 1.5rem;
}

.brief-quiz-contact__title {
    font-size: 1.25rem;
    font-weight: 700;
}

.brief-quiz-contact__desc {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: rgb(113 113 122);
}

.brief-form--classic {
    margin-top: 0.5rem;
}

/* Квиз: скрытая форма-получатель */
.brief-quiz-form-sink {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.brief-quiz__choice--pick.is-selected {
    border-color: rgb(24 24 27);
    background: rgb(244 244 245);
}

.dark .brief-quiz__choice--pick.is-selected {
    border-color: rgb(113 113 122);
    background: rgb(39 39 42);
}

.brief-quiz__choice-check {
    flex-shrink: 0;
    display: flex;
    color: rgb(24 24 27);
    font-size: 1.125rem;
}

.dark .brief-quiz__choice-check {
    color: rgb(250 250 250);
}

.brief-quiz__choice--pick.is-selected .brief-quiz__choice-arrow {
    display: none;
}

.brief-quiz__subhead {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgb(113 113 122);
}

.brief-quiz__subhead:first-of-type {
    margin-top: 0.75rem;
}

.brief-quiz__choices--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 479px) {
    .brief-quiz__choices--grid {
        grid-template-columns: 1fr;
    }
}

.brief-quiz__choices--grid .brief-quiz__choice--pick {
    align-items: center;
    padding: 0.75rem 0.875rem;
}

.brief-quiz__choices--grid .brief-quiz__choice-body {
    justify-content: center;
}

.brief-quiz__choices--grid .brief-quiz__choice-text {
    font-size: 0.8125rem;
}

.brief-quiz__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgb(228 228 231);
}

.dark .brief-quiz__nav {
    border-top-color: rgb(63 63 70);
}

.brief-quiz__nav--submit {
    flex-wrap: wrap;
}

.brief-quiz__alert {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgb(185 28 28);
    background: rgb(254 242 242);
    border: 1px solid rgb(254 202 202);
    border-radius: 0.5rem;
}

.dark .brief-quiz__alert {
    color: rgb(248 113 113);
    background: rgba(127, 29, 29, 0.25);
    border-color: rgba(185, 28, 28, 0.45);
}

.brief-quiz__fields {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1rem;
}

.brief-quiz__fields-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.625rem;
}

@media (min-width: 480px) {
    .brief-quiz__fields-row {
        grid-template-columns: 1fr 1fr;
    }
}

.brief-quiz__field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.brief-quiz__field-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgb(113 113 122);
}

.brief-quiz__req {
    color: rgb(239 68 68);
}

.brief-quiz__input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    line-height: 1.4;
    border-radius: 0.625rem;
    border: 1px solid rgb(228 228 231);
    background: #fff;
    color: rgb(24 24 27);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.brief-quiz__input:focus {
    outline: none;
    border-color: rgb(24 24 27);
    box-shadow: 0 0 0 2px rgba(24, 24, 27, 0.08);
}

.dark .brief-quiz__input {
    border-color: rgb(63 63 70);
    background: rgb(30 30 33);
    color: rgb(244 244 245);
}

.dark .brief-quiz__input:focus {
    border-color: rgb(113 113 122);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.brief-quiz__input--area {
    min-height: 4.5rem;
    resize: vertical;
}

.brief-quiz__input.brief-field-error {
    border-color: rgb(239 68 68);
}

.brief-quiz__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-top: 1rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgb(113 113 122);
    cursor: pointer;
}

.brief-quiz__checkbox {
    margin-top: 0.2rem;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.brief-quiz__link {
    font-weight: 500;
    color: rgb(24 24 27);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dark .brief-quiz__link {
    color: rgb(250 250 250);
}

.brief-quiz__step--insight .brief-quiz__nav {
    border-top: none;
    padding-top: 0.5rem;
}
