.ecm-interest-quiz { max-width: 860px; margin: 0 auto; }
.ecm-quiz-progress { position: sticky; top: 92px; z-index: 10; height: 8px; margin-bottom: .75rem; overflow: hidden; background: #D8C3A5; border-radius: 999px; }
.ecm-quiz-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #322850, #A08CCB); transition: width 180ms ease; }
.ecm-quiz-status { margin: 0 0 1.25rem; color: #322850; font-size: .88rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ecm-quiz-question { margin: 0 0 1rem; padding: clamp(1.25rem, 3vw, 2rem); background: #E5E1D6; border: 1px solid rgba(50,40,80,.22); border-radius: 22px; animation: ecm-quiz-in 260ms ease both; }
.ecm-quiz-question legend { float: left; width: 100%; margin-bottom: 1rem; color: #322850; font-family: 'MADE TOMMY', 'Avenir Next', 'Century Gothic', Arial, sans-serif; font-size: clamp(1.2rem, 2.5vw, 1.55rem); font-weight: 750; line-height: 1.25; }
.ecm-quiz-question legend + * { clear: both; }
.ecm-quiz-question legend span { color: #322850; }
.ecm-quiz-answers { display: grid; gap: .65rem; }
.ecm-quiz-answers label { position: relative; cursor: pointer; }
.ecm-quiz-answers input { position: absolute; opacity: 0; }
.ecm-quiz-answers span { display: block; padding: .95rem 1rem; border: 2px solid #D8C3A5; border-radius: 14px; transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease; }
.ecm-quiz-answers input:checked + span { color: #FFFFFF; border-color: #322850; background: #322850; }
.ecm-quiz-answers input:focus-visible + span { outline: 3px solid #322850; outline-offset: 3px; }
.ecm-quiz-answers label:hover span { border-color: #A08CCB; transform: translateY(-1px); }
.ecm-quiz-submit { appearance: none; margin-top: 1rem; padding: .9rem 1.4rem; color: #322850; background: #A08CCB; border: 0; border-radius: 999px; font: inherit; font-weight: 800; cursor: pointer; }
.ecm-quiz-navigation { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.ecm-quiz-back { appearance: none; padding: .8rem 1rem; color: #322850; background: transparent; border: 1px solid #A08CCB; border-radius: 999px; font: inherit; font-weight: 750; cursor: pointer; }
.ecm-quiz-error { padding: 1rem; color: #322850; background: #E5E1D6; border-left: 4px solid #A08CCB; }
.ecm-quiz-result { margin-top: 2rem; padding: clamp(1.5rem, 5vw, 3.5rem); color: #322850; background: #A08CCB; border-radius: 28px; }
.ecm-quiz-result h2, .ecm-quiz-result p { color: #322850; }
.ecm-quiz-result-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ecm-quiz-result-links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.25rem; }
.ecm-quiz-result-links a { padding: .75rem 1rem; color: #FFFFFF; background: #322850; border-radius: 999px; font-weight: 750; text-decoration: none; }
.ecm-quiz-editor { padding: 1rem; background: #E5E1D6; border: 1px solid #D8C3A5; }
.ecm-quiz-editor-note { padding: 1rem; background: #D8C3A5; }
.ecm-quiz-editor-question { margin-bottom: 1rem; padding: 1rem; background: #E5E1D6; border: 1px solid #A08CCB; border-radius: 12px; }
.ecm-quiz-editor-answer { display: grid; grid-template-columns: 1fr 90px; gap: 1rem; }
@media (max-width: 600px) { .ecm-quiz-progress { top: 76px; } .ecm-quiz-result-links { display: grid; } }
@keyframes ecm-quiz-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .ecm-quiz-progress span, .ecm-quiz-answers span { transition: none; } .ecm-quiz-question { animation: none; } }
