body { margin: 0; }
body:has(.survey-shell) { background: #fafafa; }
.scu-access[data-app="aisurvey"] { --accent:#14695f; --rgb:20,105,95; --bg:#f2f8f6; --ink:#15342f; --muted:#536b65; --edge:#dcebe6; }

.survey-shell main { overflow-wrap: anywhere; padding-bottom: 2rem; }
.survey-shell .card { border-radius: .75rem; }
.description, .survey-shell dd { white-space: pre-wrap; }
.survey-shell dd { margin: .25rem 0 1rem; }
.survey-shell .form { min-width: 0; }
.survey-question { scroll-margin-top: 1rem; }
.survey-question:focus-visible, .survey-shell [tabindex="-1"]:focus-visible {
    outline: 2px solid #0d6efd; outline-offset: .2rem;
}
.survey-number { max-width: 15rem; }
.scale-option { position: relative; cursor: pointer; }
.scale-option .btn { min-width: 2.5rem; }
.scale-option input:checked + span { background: #0d6efd; color: #fff; border-color: #0d6efd; }
.scale-option input:focus-visible + span { outline: 3px solid #0a58ca; outline-offset: 2px; }
.section-progress { display: block; width: 100%; height: .5rem; appearance: none; border: 0; border-radius: 1rem; overflow: hidden; background: #e9ecef; }
.section-progress::-webkit-progress-bar { background: #e9ecef; }
.section-progress::-webkit-progress-value { background: #0d6efd; }
.section-progress::-moz-progress-bar { background: #0d6efd; }

.survey-faq { overflow: hidden; border: 1px solid var(--bs-border-color); border-radius: .4rem; }
.survey-faq details + details { border-top: 1px solid var(--bs-border-color); }
.survey-faq summary { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; gap: 1rem; cursor: pointer; }
.survey-faq summary::-webkit-details-marker { display: none; }
.survey-faq summary::after { content: ""; width: .65rem; height: .65rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); flex: none; }
.survey-faq details[open] summary { color: #052c65; background: #cfe2ff; }
.survey-faq details[open] summary::after { transform: rotate(225deg); }
.survey-faq details p, .survey-faq details ol { margin: .85rem 1.25rem; }
.catalog { list-style: none; padding: 0; margin: 0; }
.catalog li { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding: .75rem 0; }
.catalog li + li { border-top: 1px solid var(--bs-border-color); }
