/* Compact, direct editing for quiz questions. */
.sequence-inspector-heading { margin-bottom: 18px; }
.sequence-question-body > label { margin-top: 16px; }
.sequence-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 22px 0 4px; }
.sequence-section-heading h4 { margin: 0; }
.sequence-answer-help { margin: 0 0 10px; }
.sequence-answers { display: grid; gap: 8px; }
.sequence-answer { min-width: 0; padding: 8px; border: 1px solid #e9eae6; border-radius: 8px; background: #f6f7f3; }
.sequence-answer-row { display: flex; align-items: center; gap: 7px; min-width: 0; }
.sequence-answer-row > input { flex: 1; width: 0 !important; min-width: 0; margin: 0 !important; }
.sequence-answer-number { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 6px; background: #e9ece6; color: #6b726a; font-size: 11px; font-weight: 700; }
.sequence-answer-remove { display: grid; place-items: center; flex: none; width: 25px; height: 25px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #7b8179; font: inherit; font-size: 18px; line-height: 1; cursor: pointer; }
.sequence-answer-remove:hover { background: #f5e7e6; color: #b33b3b; }
.sequence-answer-detail { margin: 7px 0 0 31px; }
.sequence-answer-detail > summary, .sequence-settings > summary { color: #6b726a; font-size: 12px; font-weight: 700; cursor: pointer; }
.sequence-answer-detail > .image-control { margin: 12px 0; }
.sequence-answer-scoring { margin-top: 12px; }
.sequence-score-note, .sequence-type-note { margin-top: 10px; }
.sequence-add-answer { margin-top: 10px; }
.sequence-more { margin-top: 22px; padding-top: 14px; border-top: 1px solid #e9eae6; }
.sequence-more > summary { color: #4d554b; font-size: 13px; font-weight: 700; cursor: pointer; }
.sequence-more > label, .sequence-more > .image-control { margin-top: 14px; }
.sequence-settings { margin-top: 18px; padding-top: 2px; }
.sequence-settings > label { margin-top: 14px; }
.sequence-settings > .toggles { grid-template-columns: 1fr; }
.sequence-inspector-footer { gap: 6px; }
.sequence-inspector-footer .remove-question { margin-left: auto; }

/* Result editor: each question either names the answers that recommend the result or is ignored. */
.result-criterion { min-width: 0; margin: 0 0 10px; padding: 10px; border: 1px solid #e9eae6; border-radius: 8px; background: #f6f7f3; }
.result-criterion.is-active { border-color: #bfcfef; background: #f5f8fe; }
.result-criterion-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.result-criterion-head strong { min-width: 0; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.result-criterion-head span { flex: none; color: #7b817a; font-size: 11px; }
.result-answer-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.result-answer-chips label { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border: 1px solid #d8ddd5; border-radius: 999px; background: #fff; font-size: 12px; cursor: pointer; }
.result-answer-chips label:has(input:checked) { border-color: #2f6feb; background: #eaf1ff; color: #1d4fb5; }
.result-answer-chips input, .result-criterion-options input[type="checkbox"] { display: inline-block; width: auto; margin: 0; }
.result-criterion-options { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px; font-size: 12px; }
.result-criterion-options input[type="number"] { width: 64px !important; margin: 0; }
.result-criterion-options .result-text { flex: 1 1 0; min-width: 0; line-height: 1.35; }
.result-criterion-options select { width: auto; min-width: 180px; }
