.er-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-top:22px}.er-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}.er-actions>span{margin-right:auto;font-size:13px;color:var(--ink-500)}.er-table{overflow:auto;margin-top:18px}.er-question{border-top:1px solid var(--line);padding:22px 0}.er-question h3{font-size:14px;margin-bottom:18px;line-height:1.5}.er-statline{display:grid;grid-template-columns:minmax(140px,1fr) minmax(100px,2fr) 100px;align-items:center;gap:18px;font-size:13px;margin:14px 0}.er-statline strong{text-align:right}.er-statline small{font-weight:400;color:var(--ink-500)}.er-meter{height:7px;border-radius:5px;background:#edf1ee;overflow:hidden}.er-meter i{height:100%;display:block;background:var(--brand-600);border-radius:5px}.er-answer{padding:14px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.6}.er-answer dt{font-weight:600}.er-answer dd{margin:6px 0 0;color:var(--ink-500)}.er-ficha h3{font-size:15px;margin-top:24px}.er-empty{text-align:center;padding:35px}@media(max-width:700px){.er-filters{grid-template-columns:1fr 1fr}.er-filters .field:first-child{grid-column:1/-1}.er-actions .btn{width:100%;justify-content:center}.er-actions>span{width:100%}.er-statline{grid-template-columns:1fr 75px;gap:8px}.er-meter{grid-row:2;grid-column:1/-1}.er-statline strong{grid-column:2}.er-table .tbl tr{display:block;border-bottom:1px solid var(--line);padding:12px 0}.er-table thead{display:none}.er-table td{display:flex;justify-content:space-between;gap:14px;border:0}.er-table td:before{content:attr(data-label);font-size:12px;font-weight:600;color:var(--ink-500)}.er-table td[data-label=Nome]{font-weight:650}.er-ficha .page-head{display:block}.er-ficha .page-head .btn{margin-top:16px}}
.eg-product-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.eg-campaign-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.eg-confirm{border:2px solid #bd7a30;margin-bottom:24px}.eg-confirm p{font-size:14px;line-height:1.6}@media(max-width:700px){.eg-product-fields{grid-template-columns:1fr}.eg-campaign-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.eg-campaign-actions .btn{justify-content:center}.er-table td[data-label=Ações]{display:block}.er-table td[data-label=Ações]:before{display:block;margin-bottom:10px}}

#er-result-root .field,#er-result-root .field input,#er-result-root .field select{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
#er-result-root .er-filters{grid-template-columns:repeat(5,minmax(0,1fr))}#er-result-root .er-actions .btn{min-height:44px;min-width:0;white-space:normal;line-height:1.25}.er-date-help{display:block;color:var(--ink-500);margin-top:8px;font-size:12px}
@media(max-width:700px){#er-result-root .er-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#er-result-root .er-filters .field:first-child{grid-column:auto}#er-result-root .er-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:18px}#er-result-root .er-actions>span{grid-column:1/-1;width:auto}#er-result-root .er-actions [data-er="limpar"]{grid-column:1/-1;background:transparent}#er-result-root .er-actions .btn{width:100%;margin:0}#er-result-root .er-filters input{padding-left:9px;padding-right:9px;font-size:14px}}

/* Distribuições usam o resumo existente. Sem classificação clínica derivada. */
.er-chart-controls .acoes{justify-content:flex-end}.er-chart-controls [aria-pressed=true]{color:var(--brand-700);border-color:var(--brand-600);background:var(--brand-50)}.er-chart-controls .btn{min-height:44px}.er-base{margin:0 0 18px;line-height:1.6}.er-chart{margin-top:16px}.er-chart-pie{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:center;gap:32px;max-width:900px}.er-pie{width:220px;height:220px;display:block;max-width:100%}.er-chart-legend{min-width:0;width:100%}.er-chart .er-statline{gap:12px;min-height:28px}.er-chart-pie .er-statline{grid-template-columns:minmax(0,1fr) 105px;margin:14px 0}.er-option{display:flex;align-items:center;gap:9px;min-width:0;overflow-wrap:anywhere;line-height:1.5}.er-swatch{display:inline-block;width:13px;height:13px;border-radius:3px;flex:0 0 13px}.er-chart-bars .er-statline{grid-template-columns:minmax(180px,1fr) minmax(100px,2fr) 105px;margin:16px 0}.er-chart-bars .er-meter{height:22px;border-radius:4px;background:var(--bg)}.er-chart-bars .er-meter i{border-radius:4px}.er-chart-empty{padding:12px;border:1px solid var(--line);border-radius:8px}.er-chart .er-statline strong{white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:700px){.er-chart-pie{grid-template-columns:1fr;gap:12px}.er-pie{width:200px;height:200px;margin:0 auto}.er-chart .er-statline{font-size:13px}.er-chart-pie .er-statline{grid-template-columns:minmax(0,1fr) 93px;gap:10px}.er-chart-bars .er-statline{grid-template-columns:minmax(0,1fr) 93px;gap:8px;margin:18px 0}.er-chart-bars .er-meter{grid-column:1/-1;grid-row:2}.er-chart .er-statline strong{grid-column:2;grid-row:1}.er-chart-controls .acoes{display:grid;grid-template-columns:1fr;gap:10px}.er-chart-controls .btn{min-width:0;width:100%;white-space:normal}.er-base{font-size:13px}}

/* Revisão22:33: duas perguntas por linha, valores juntos, navegação por respostas. */
.er-question-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.er-question-grid .er-question{padding:20px 16px;border:1px solid var(--line);border-radius:8px;min-width:0;margin-top:12px}.er-question-grid .er-chart-pie{display:flex;flex-wrap:wrap;gap:16px;align-items:center}.er-question-grid .er-pie{width:160px;height:160px;flex:0 0 160px;margin:0}.er-question-grid .er-chart-legend{width:auto;flex:1;min-width:170px}.er-question-grid .er-chart-pie .er-statline{display:flex;gap:8px;align-items:center;justify-content:flex-start;margin:8px 0}.er-question-grid .er-chart-pie .er-option{flex:0 1 auto}.er-question-grid .er-chart-pie .er-statline strong{flex:0 0 auto}.er-count{appearance:none;border:0;background:transparent;color:var(--brand-700);font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:6px;min-width:36px;min-height:36px}.er-count:hover,.er-count:focus-visible{background:var(--brand-50);outline:2px solid var(--brand-600);border-radius:4px}.er-chart-vertical .er-chart-legend{display:flex;align-items:stretch;gap:10px;min-height:270px;width:100%;max-width:100%}.er-chart-vertical .er-statline{display:flex!important;flex:1;flex-direction:column;justify-content:flex-end;gap:8px;min-width:0;margin:0!important;font-size:12px}.er-chart-vertical .er-option{order:3;min-height:52px;justify-content:center;text-align:center}.er-chart-vertical .er-statline strong{order:1;font-size:12px;text-align:center;white-space:normal}.er-chart-vertical .er-meter{order:2;height:170px;width:100%;max-width:65px;position:relative;background:var(--bg);border-radius:4px}.er-chart-vertical .er-meter i{position:absolute;bottom:0;width:100%;height:0;background:var(--brand-600)}.er-question-grid .er-chart-bars .er-statline{grid-template-columns:minmax(0,1fr) 94px;gap:7px}.er-question-grid .er-chart-bars .er-meter{grid-column:1/-1;grid-row:2}.er-question-grid .er-chart-bars .er-statline strong{grid-column:2;grid-row:1}.er-respondent-list{list-style:none;padding:0}.er-respondent-list li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-top:1px solid var(--line)}.er-respondent-list p{margin:6px 0 0}.er-pdf-preview iframe{width:100%;height:75vh;border:1px solid var(--line);margin-top:16px}.er-export-help{margin-top:16px;line-height:1.6}.er-respondents:focus{outline:2px solid var(--brand-100)}
@media(max-width:950px){.er-question-grid{grid-template-columns:1fr}.er-question-grid .er-chart-pie{flex-wrap:nowrap}.er-question-grid .er-chart-legend{min-width:0}.er-question-grid .er-pie{width:180px;height:180px;flex-basis:180px}}
@media(max-width:700px){.er-question-grid .er-chart-pie{display:block}.er-question-grid .er-pie{width:180px;height:180px;margin:0 auto 16px}.er-question-grid .er-question{padding:16px 10px}.er-count{min-height:44px;min-width:44px}.er-respondent-list li{align-items:flex-start;flex-direction:column}.er-respondent-list .btn{min-height:44px;width:100%}.er-chart-vertical .er-option{font-size:12px;overflow-wrap:anywhere;line-height:1.4}.er-chart-vertical .er-chart-legend{gap:5px}.er-chart-vertical .er-statline strong small{display:block}.er-question-grid .er-chart-vertical .er-meter{height:150px}.er-pdf-preview iframe{height:65vh}.er-actions .btn{min-height:44px}}
/* Modelo 1 aprovado: visão geral com temas, mesmas fontes e valores. */
.er-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:24px 0}.er-overview .card{margin:0}.er-overview strong{display:block;font-size:32px;color:#006040;margin-bottom:8px}.er-overview span{color:#5d7166}.er-theme-head{margin:26px 0 18px}.er-theme-tabs{display:flex;gap:8px;border-bottom:1px solid #c4d3ca;margin:16px 0 24px;overflow-x:auto}.er-theme-tabs .btn{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#5d7166;white-space:nowrap;min-height:44px}.er-theme-tabs .btn[aria-selected=true]{color:#006040;background:#e6f0ec;border-bottom-color:#006040}.er-axis{display:flex;justify-content:space-between;border-bottom:1px solid #d9e4dd;padding-bottom:5px;margin:14px 0;color:#687d70;font-size:11px}.er-method{border-left:4px solid #7b9b54}.er-private summary{cursor:pointer;font-weight:700;min-height:44px;padding:10px 0}.er-private[open] summary{margin-bottom:16px}.er-private{margin-top:24px}.er-chart-bars .er-statline{grid-template-columns:1fr auto;gap:6px 12px}.er-chart-bars .er-option{grid-column:1;grid-row:1}.er-chart-bars .er-statline>strong{grid-column:2;grid-row:1}.er-chart-bars .er-meter{grid-column:1/-1;grid-row:2;width:100%;height:10px;margin:0}.er-question h3{font-size:17px;line-height:1.4}.er-question-grid{gap:24px}
@media(max-width:650px){.er-overview{gap:8px}.er-overview .card{padding:14px 10px}.er-overview strong{font-size:25px}.er-overview span{font-size:12px}.er-theme-tabs .btn{font-size:12px;white-space:normal;min-width:120px}.er-question-grid{grid-template-columns:1fr}.er-theme-head h2{font-size:21px}}

/* Lista da resposta em janela central, mantendo o contexto do gráfico. */
dialog.er-respondents{position:fixed;inset:0;margin:auto;width:min(760px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:12px;padding:24px;color:var(--ink-900,#16392b);box-shadow:0 20px 70px #0004}dialog.er-respondents::backdrop{background:rgba(12,35,25,.58)}dialog.er-respondents>.page-head{position:sticky;top:-24px;background:var(--card,#fff);z-index:1;padding:12px 0;align-items:flex-start}dialog.er-respondents h2{margin:0}dialog.er-respondents .page-head p{line-height:1.5}dialog.er-respondents .page-head>.btn{flex-shrink:0}@media(max-width:700px){dialog.er-respondents{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);padding:16px}dialog.er-respondents>.page-head{top:-16px;display:block}dialog.er-respondents>.page-head>.btn{width:100%;min-height:44px;margin-top:12px}}

.er-dialog-footer{position:sticky;bottom:-24px;background:var(--card,#fff);border-top:1px solid var(--line);margin-top:16px;padding:16px 0 0;display:flex;justify-content:flex-end}.er-dialog-footer .btn{min-height:44px}@media(max-width:700px){.er-dialog-footer{bottom:-16px}.er-dialog-footer .btn{width:auto;min-width:128px}}

.er-response-list .page-head{align-items:end}.er-response-list .field{width:min(100%,340px)}.er-person-actions,.er-list-footer{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.er-list-footer{margin-top:18px;padding-top:14px;border-top:1px solid var(--line,#e3e9e6)}.er-list-footer label{display:flex;gap:8px;align-items:center}.er-list-footer select{width:80px}.er-response-list .ibtn{width:40px;height:40px}.er-response-list h2{margin:0}.er-response-list .page-head{margin-bottom:18px}@media(max-width:760px){.er-response-list .page-head{display:block}.er-response-list .field{width:100%;margin-top:16px}.er-person-actions .ibtn{width:44px;height:44px}.er-list-footer{justify-content:space-between}.er-list-footer>span:first-child{width:100%}}
.er-response-list{margin-top:18px;margin-bottom:18px}.er-response-list>.page-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end}.er-response-list>.page-head>.field{flex:0 1 340px}@media(max-width:760px){.er-response-list>.page-head{display:block}.er-response-list>.page-head>.field{width:100%}}
@media(max-width:760px){.er-response-list .tbl tbody tr{display:grid;grid-template-columns:38px minmax(0,1fr);gap:6px 8px;padding:14px;margin-bottom:10px;background:#fff;border:1px solid var(--line,#e3e9e6);border-radius:10px}.er-response-list .tbl tbody td{display:block!important;text-align:left!important;padding:0!important;border:0!important;min-width:0}.er-response-list .tbl tbody td::before{display:none!important}.er-response-list .tbl td[data-label="Nº"]{grid-column:1;grid-row:1;color:var(--ink-500,#5a6a62);font-weight:600}.er-response-list .tbl td[data-label="Nome"]{grid-column:2;grid-row:1;font-weight:600;overflow-wrap:anywhere}.er-response-list .tbl td[data-label="Data e horário"]{grid-column:2;grid-row:2;font-size:12px;color:var(--ink-500,#5a6a62)}.er-response-list .tbl td[data-label="Ações"]{grid-column:1 / -1;grid-row:3;padding-top:8px!important;margin-top:2px}.er-response-list .er-person-actions{justify-content:flex-end}.er-response-list .tbl td[colspan]{grid-column:1 / -1}.er-response-list>.page-head{margin-bottom:14px}.er-response-list .er-table{margin-top:12px}.er-response-list .tbl{border-spacing:0}.er-list-footer{gap:10px}.er-response-list .er-list-footer .btn{padding:8px 12px}}
@media(max-width:760px){.er-response-list .tbl tbody tr{grid-template-columns:24px minmax(0,1fr);gap:4px 8px;padding:12px}.er-response-list .tbl td[data-label="Nome"]{font-size:14px;line-height:1.45}.er-response-list .tbl td[data-label="Ações"]{padding-top:6px!important}.er-response-list .er-person-actions{gap:6px}.er-response-list .er-person-actions .ibtn{background:transparent;border-color:transparent;box-shadow:none}.er-response-list .er-person-actions .ibtn:hover,.er-response-list .er-person-actions .ibtn:focus-visible{border-color:var(--line,#e3e9e6);background:var(--bg,#f4f7f5)}}

/* Separação entre o painel de perguntas e a orientação, em todos os blocos. */
#er-result-root > .er-section + .er-method{margin-top:24px}
#er-result-root > .er-method{margin-bottom:24px}
@media(max-width:700px){#er-result-root > .er-section + .er-method{margin-top:20px}#er-result-root > .er-method{margin-bottom:20px}}

/* Opção 3 escolhida: dados identificados e ações compactas, eixo fixo da data. */
.er-response-list .tbl{table-layout:fixed;width:100%}
.er-response-list .tbl th:first-child{width:46px}
.er-response-list .tbl th:nth-child(3){width:160px;text-align:center}
.er-response-list .tbl th:last-child{width:232px;text-align:center}
.er-response-list .tbl td{vertical-align:middle}
.er-response-list .tbl td[data-label="Data e horário"]{text-align:center}
.er-person-day,.er-person-hour{display:block;white-space:nowrap}
.er-person-hour{font-size:12px;color:var(--ink-500);margin-top:3px}
.er-person-context{display:block;font-size:12px;line-height:1.5;font-weight:400;color:var(--ink-500);margin-top:4px}
.er-response-list .er-person-actions{justify-content:center;gap:3px;flex-wrap:nowrap}
.er-response-list .er-person-actions .ibtn{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:0;height:40px;gap:5px;padding:0 8px;border:1px solid var(--line);background:var(--card);border-radius:6px;font-size:12px;white-space:nowrap;flex:0 0 auto}
.er-response-list .er-person-actions .ibtn svg{width:16px;height:16px}
.er-dialog-footer{justify-content:flex-end!important}
.er-dialog-footer .btn{margin-left:auto}
@media(max-width:760px){
.er-response-list .tbl tbody tr{padding:10px;gap:4px 8px}
.er-response-list .tbl td[data-label="Data e horário"]{text-align:center!important;display:flex!important;justify-content:center;gap:8px;grid-column:2;grid-row:2;margin-top:3px}
.er-response-list .er-person-hour{margin-top:0}
.er-response-list .tbl td[data-label="Ações"]{grid-column:2;grid-row:3;padding-top:3px!important}
.er-response-list .er-person-actions{justify-content:flex-start;gap:3px}
.er-response-list .er-person-actions .ibtn{height:44px;padding:0 9px;border-color:var(--line);background:var(--card)}
.er-response-list .er-list-footer{display:grid;grid-template-columns:1fr auto auto;align-items:center}
.er-response-list .er-list-footer>span:first-child,.er-response-list .er-list-footer label{grid-column:1/-1}
.er-response-list .er-list-footer select{width:70px;padding:8px}
.er-response-list .er-list-footer .btn{width:auto;min-width:80px}
.er-response-list .er-list-footer>span:nth-of-type(2){text-align:center}
}

/* Setor e função em colunas próprias no computador; leitura rotulada no celular. */
.er-response-list .tbl th:nth-child(2){width:auto}
.er-response-list .tbl th:nth-child(3){width:132px;text-align:left}
.er-response-list .tbl th:nth-child(4){width:180px;text-align:left}
.er-response-list .tbl th:nth-child(5){width:140px;text-align:center}
.er-response-list .tbl td[data-label="Setor"],.er-response-list .tbl td[data-label="Função"]{overflow-wrap:anywhere;font-size:12.5px;line-height:1.5}
@media(max-width:760px){
.er-response-list .tbl td[data-label="Setor"],.er-response-list .tbl td[data-label="Função"]{grid-column:2;display:block!important;font-size:12px;color:var(--ink-500);text-align:left!important}
.er-response-list .tbl td[data-label="Setor"]{grid-row:2;margin-top:3px}
.er-response-list .tbl td[data-label="Função"]{grid-row:3}
.er-response-list .tbl td[data-label="Setor"]::before,.er-response-list .tbl td[data-label="Função"]::before{display:inline!important;float:none!important;content:attr(data-label) ": ";font-weight:500;color:inherit}
.er-response-list .tbl td[data-label="Data e horário"]{grid-row:4}
.er-response-list .tbl td[data-label="Ações"]{grid-row:5}
}
@media(min-width:761px){.er-response-list .tbl th:nth-child(3),.er-response-list .tbl th:nth-child(4),.er-response-list .tbl td[data-label="Setor"],.er-response-list .tbl td[data-label="Função"]{text-align:center}}

.er-response-list .tbl th:nth-child(5){width:190px}
.er-response-list .tbl td[data-label="Data e horário"]{white-space:nowrap}
.er-response-list .er-person-day,.er-response-list .er-person-hour{display:inline;font-size:12px;color:inherit;margin:0}
@media(max-width:760px){.er-response-list .tbl td[data-label="Data e horário"]{gap:0}}
@media(max-width:760px){.er-response-list .tbl td[data-label="Data e horário"]{gap:4px}.er-response-list .tbl td[data-label="Setor"]::before,.er-response-list .tbl td[data-label="Função"]::before{text-transform:none;letter-spacing:normal}}
