/* Detailed survey results on the school page (2026-11-21): one stacked
   bar per question, legend with the share of each answer. */
.detail-survey-results__n { margin-left: .5rem; font-weight: 400; font-size: .8125rem; color: var(--c-muted); }
.sres { margin: 1rem 0 0; padding: 0; list-style: none; counter-reset: sres; }
.sres__q { margin: 0 0 1.25rem; padding: 0 0 1.1rem; border-bottom: 1px solid var(--c-rule); counter-increment: sres; }
.sres__q:last-child { margin-bottom: 0; border-bottom: 0; }
.sres__text { margin: 0 0 .5rem; font-weight: 600; line-height: 1.35; }
.sres__text::before { content: counter(sres) ". "; color: var(--c-muted); }
.sres__stack { display: flex; height: 12px; overflow: hidden; border-radius: 6px; background: var(--c-rule); }
.sres__seg { display: block; height: 100%; }
.sres__seg--1 { background: var(--c-primary); }
.sres__seg--2 { background: var(--c-green); }
.sres__seg--3 { background: var(--c-muted); }
.sres__seg--4 { background: var(--c-red); }
.sres__seg--5 { background: #3b3a5e; }
.sres__legend { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: .5rem 0 0; padding: 0; list-style: none; font-size: .875rem; }
.sres__legend b { margin-left: .2rem; }
.sres__dot { display: inline-block; width: .7rem; height: .7rem; margin-right: .35rem; border-radius: 50%; vertical-align: -.05rem; }
.sres__n { margin: .35rem 0 0; font-size: .75rem; color: var(--c-muted); }
.detail-survey-results .sres .sres__legend > li { margin: 0; padding: 0; line-height: 1.5; }
