/* CIEBLab v214 — Autoavaliação Socioemocional integrada ao fluxo dos demais módulos */
body.socio-module{--answer-options:4}
.socio-module .module-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
.socio-module .tab-panel{display:none}
.socio-module .tab-panel.active{display:block}
.socio-module .material-download-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.socio-module .material-download-card{padding:22px}
.socio-module .material-kicker{display:inline-flex;margin-bottom:8px;color:var(--navy);font-size:.72rem;font-weight:900;letter-spacing:.08em}
.socio-module .material-download-card h3{margin:0 0 8px;font-size:1.15rem}
.socio-module .material-download-card p{margin:0 0 15px;color:#667085;line-height:1.5}
.socio-module .workflow{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.socio-module .workflow li{display:grid;grid-template-columns:34px 1fr;gap:11px;align-items:start;padding:11px 12px;border:1px solid #e0e7ed;border-radius:13px;background:#fbfcfd}
.socio-module .workflow li>span{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#e9f3f6;color:var(--navy);font-weight:900}
.socio-module .workflow strong{display:block;color:#233347;font-size:.86rem}
.socio-module .workflow p{margin:3px 0 0;color:#667085;font-size:.78rem;line-height:1.45}
.socio-module .method-note{margin-top:14px;padding:13px 14px;border-left:4px solid #0f7f86;border-radius:10px;background:#edf8f8}
.socio-module .method-note p{margin:4px 0 0;color:#475467;font-size:.8rem;line-height:1.5}
.socio-module .answer-row{grid-template-columns:48px repeat(4,1fr)}
.socio-module .correction-diagnostic-preview{display:grid;gap:4px;margin-top:14px;padding:12px 14px;border-radius:12px;background:#f3f7fa;border:1px solid #dbe5ec;color:#475467;font-size:.78rem;line-height:1.45}
.socio-module .correction-diagnostic-preview strong{color:var(--navy)}
.socio-module .executive-dashboard{padding:20px;margin-bottom:16px}
.socio-module .exec-reading{padding:16px 18px;border-left:4px solid #0f7f86;border-radius:12px;background:#eff8f8;color:#344054;line-height:1.6}
.socio-module .exec-reading strong{color:var(--navy)}
.socio-module .exec-reading ul{margin:8px 0 0;padding-left:20px}
.socio-module .priority-initial{color:#9b2d32;font-weight:900}
.socio-module .priority-partial{color:#966313;font-weight:900}
.socio-module .priority-consolidating{color:#176947;font-weight:900}
.socio-module .batch-report-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0;padding:17px 20px;border:1px solid #cddde5;border-radius:16px;background:linear-gradient(135deg,#f5fafb,#edf6f8)}
.socio-module .batch-report-copy{display:grid;gap:4px}
.socio-module .batch-report-copy strong{color:var(--navy);font-size:.95rem}
.socio-module .batch-report-copy small{color:#667085;line-height:1.45}
.socio-module .batch-review-context{margin-bottom:12px;padding:12px 14px;border:1px solid #e3c97d;border-radius:12px;background:#fff8e4;color:#704f08;font-size:.8rem;line-height:1.45}
.socio-module .batch-review-context strong{display:block;margin-bottom:3px}
.socio-module .report-action-group{display:flex;gap:6px;flex-wrap:wrap}
.socio-module .report-pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#eef3f6;color:#475467;font-size:.7rem;font-weight:800}
.socio-module .report-pill.good{background:#e6f6ee;color:#176947}
.socio-module .report-pill.attention{background:#fff1d8;color:#86570c}
.socio-module .report-pill.priority{background:#fde9e9;color:#922e32}

/* Relatórios impressos */
.socio-module #printArea{display:none}
.socio-module .analytical-report{font-family:Inter,Arial,sans-serif;color:#1f2937;background:#fff}
.socio-module .analytical-report .report-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:14px;border-bottom:3px solid #113d72}
.socio-module .analytical-report .report-header img{width:118px;height:auto;object-fit:contain}
.socio-module .analytical-report .report-header h1{margin:0;color:#123e72;font-size:1.55rem}
.socio-module .analytical-report .report-header p{margin:5px 0 0;color:#667085;font-size:.83rem}
.socio-module .analytical-report .report-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}
.socio-module .analytical-report .report-meta>div{padding:10px 11px;border:1px solid #dbe4eb;border-radius:9px;background:#f8fafb}
.socio-module .analytical-report .report-meta span{display:block;color:#667085;font-size:.67rem;text-transform:uppercase;letter-spacing:.04em;font-weight:700}
.socio-module .analytical-report .report-meta strong{display:block;margin-top:3px;font-size:.82rem;color:#24364b}
.socio-module .analytical-report h2{margin:18px 0 8px;color:#123e72;font-size:1.1rem;border-bottom:1px solid #d9e3ea;padding-bottom:5px}
.socio-module .analytical-report h3{margin:12px 0 5px;color:#254f75;font-size:.92rem}
.socio-module .analytical-report p,.socio-module .analytical-report li{font-size:.78rem;line-height:1.52}
.socio-module .analytical-report p{margin:6px 0}
.socio-module .analytical-report ul{margin:5px 0;padding-left:18px}
.socio-module .report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:11px 0}
.socio-module .report-kpi{padding:11px;border-radius:10px;border:1px solid #d8e3ea;background:#f7fafb}
.socio-module .report-kpi span{display:block;color:#667085;font-size:.66rem;text-transform:uppercase;font-weight:800}
.socio-module .report-kpi strong{display:block;margin-top:5px;color:#123e72;font-size:1.25rem}
.socio-module .report-highlight{padding:12px 14px;border-left:4px solid #147e86;border-radius:8px;background:#eef8f8;margin:10px 0}
.socio-module .report-highlight.warn{border-left-color:#d19a31;background:#fff8e7}
.socio-module .report-highlight.priority{border-left-color:#b74448;background:#fff0f0}
.socio-module .report-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.socio-module .report-box{padding:11px 12px;border:1px solid #dce5eb;border-radius:9px;background:#fff}
.socio-module .report-box h3{margin-top:0}
.socio-module .report-table{width:100%;border-collapse:collapse;margin:8px 0 12px}
.socio-module .report-table th,.socio-module .report-table td{position:static;padding:7px 8px;border:1px solid #dce4ea;text-align:left;white-space:normal;font-size:.7rem;vertical-align:top}
.socio-module .report-table th{background:#edf3f7;color:#344054;text-transform:none;letter-spacing:0}
.socio-module .frequency-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:9px 0}
.socio-module .frequency-strip div{padding:9px;border-radius:8px;background:#f4f7f9;text-align:center}
.socio-module .frequency-strip strong{display:block;color:#123e72;font-size:1rem}
.socio-module .frequency-strip span{font-size:.64rem;color:#667085}
.socio-module .action-box{padding:12px 14px;border-radius:9px;border:1px solid #cfe0e5;background:#f2f9fa}
.socio-module .action-box strong{color:#123e72}
.socio-module .ethical-note{margin-top:12px;padding:9px 11px;border-radius:8px;background:#f6f7f8;color:#667085;font-size:.68rem;line-height:1.45}
.socio-module .batch-report-page{break-after:page;page-break-after:always}
.socio-module .batch-report-page:last-child{break-after:auto;page-break-after:auto}

@media(max-width:900px){
  .socio-module .material-download-grid{grid-template-columns:1fr}
  .socio-module .batch-report-panel{align-items:stretch;flex-direction:column}
  .socio-module .batch-report-actions .btn{width:100%}
}
@media(max-width:760px){
  .socio-module .module-tabs{grid-template-columns:repeat(2,1fr)}
  .socio-module .analytical-report .report-meta,.socio-module .report-kpis{grid-template-columns:repeat(2,1fr)}
  .socio-module .report-columns{grid-template-columns:1fr}
}
@media print{
  body.socio-module{background:#fff!important}
  body.socio-module .app-header,
  body.socio-module main.app-shell>*:not(#printArea){display:none!important}
  body.socio-module #printArea.printing{display:block!important;position:static!important;width:100%!important;margin:0!important;padding:0!important}
  body.socio-module .analytical-report{padding:0!important}
  body.socio-module .analytical-report .report-header img{width:100px}
  body.socio-module .report-table{page-break-inside:auto}
  body.socio-module .report-table tr{page-break-inside:avoid;page-break-after:auto}
  @page{size:A4;margin:12mm}
}
.socio-module .analytical-report .frequency-strip span{display:block;padding:8px 6px;border-radius:8px;background:#f4f7f9;text-align:center;color:#667085;font-size:.64rem}
.socio-module .analytical-report .frequency-strip b{display:block;margin-top:3px;color:#123e72;font-size:1rem}
.socio-module .report-section{margin-top:14px}
.socio-module .report-actions-cell{white-space:normal!important}
.socio-module .priority-high{color:#922e32;font-weight:900}.socio-module .priority-mid{color:#86570c;font-weight:900}.socio-module .priority-ok{color:#176947;font-weight:900}

/* v215 — navegação por dados */
.socio-module .hero-metrics button.data-metric{appearance:none;border:0;border-left:1px solid rgba(255,255,255,.16);background:transparent;color:#fff;min-width:104px;padding:15px 18px;text-align:center;font:inherit}
.socio-module .hero-metrics button.data-metric:first-child{border-left:0}.socio-module .hero-metrics button.data-metric strong{display:block;font-size:1.6rem}.socio-module .hero-metrics button.data-metric span{display:block;margin-top:3px;font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:rgba(255,255,255,.78)}.socio-module .hero-metrics button.data-metric small{display:block;margin-top:5px;font-size:.59rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#d7f4f7}
.socio-module .active-summary.data-clickable{border-radius:12px;padding:8px 10px;margin:-8px 0;outline:none}.socio-module .active-summary.data-clickable:hover{background:#f0f7f9}
.socio-module .summary-card.data-clickable{appearance:none;width:100%;text-align:left;font:inherit;color:inherit;background:#fff}.socio-module .data-row-clickable{cursor:pointer;transition:background .16s ease,box-shadow .16s ease}.socio-module .data-row-clickable:hover td{background:#f0f8fa}.socio-module .data-row-clickable:focus-visible{outline:3px solid rgba(31,143,179,.25);outline-offset:-3px}.socio-module .data-row-hint{display:block;margin-top:4px;color:#0b7380;font-size:.65rem;font-weight:800}.socio-module tr.data-related td{background:#eaf6f8!important}.socio-module .data-focus td,.socio-module tr.data-focus td{background:#dff2f5!important;box-shadow:inset 0 2px 0 #2894a9,inset 0 -2px 0 #2894a9}
.socio-module .data-drilldown{margin-top:14px;padding:16px;border:1px solid #cfe0e6;border-radius:14px;background:#f5fafb}.socio-module .data-drilldown.empty{color:#667085;text-align:center;border-style:dashed}.socio-module .data-drilldown-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.socio-module .data-drilldown-head span{display:block;color:#667085;font-size:.7rem}.socio-module .data-drilldown-head strong{display:block;color:var(--navy);margin-top:3px}.socio-module .data-drilldown p{color:#475467;font-size:.8rem;line-height:1.5}.socio-module .data-student-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.socio-module .data-student-list a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid #dde6ec;border-radius:10px;background:#fff;text-decoration:none;color:#24364b}.socio-module .data-student-list a:hover{border-color:#8cb9c8;background:#eef8fa}.socio-module .data-student-list span{color:#667085;font-size:.72rem}.socio-module .batch-row.data-row-clickable:hover td{background:#f2f8fa}
@media(max-width:720px){.socio-module .data-student-list{grid-template-columns:1fr}.socio-module .hero-metrics button.data-metric{min-width:88px;padding:13px 10px}}

/* Aplicações realizadas — gestão no padrão dos demais módulos */
.socio-module .applications-manager{margin-bottom:16px;overflow:hidden}
.socio-module .applications-heading{align-items:center}
.socio-module .applications-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.socio-module .application-search input{width:min(300px,44vw);border:1px solid #cfdbe3;border-radius:10px;padding:9px 11px;background:#fff;color:#24364b;outline:none}
.socio-module .application-search input:focus{border-color:#56a4b4;box-shadow:0 0 0 3px rgba(31,143,179,.11)}
.socio-module .applications-list-summary{margin:10px 0 12px;color:#667085;font-size:.78rem;line-height:1.4}
.socio-module .applications-table-wrap{border:1px solid #dce5eb;border-radius:12px;overflow:auto;background:#fff}
.socio-module .applications-table{min-width:930px;margin:0}
.socio-module .applications-table thead th{top:0;background:#f2f6f8;color:#475467}
.socio-module .applications-table td{vertical-align:middle}
.socio-module .applications-table td small{display:block;margin-top:3px;color:#7a8796;font-size:.66rem;line-height:1.25}
.socio-module .application-row{cursor:pointer;transition:background .15s ease,box-shadow .15s ease}
.socio-module .application-row:hover td{background:#f2f9fa}
.socio-module .application-row.active td{background:#eaf6f8}
.socio-module .application-row.active td:first-child{box-shadow:inset 4px 0 0 #148b94}
.socio-module .application-row:focus-visible{outline:3px solid rgba(31,143,179,.24);outline-offset:-3px}
.socio-module .application-status{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:.68rem;font-weight:900;white-space:nowrap;background:#f1f4f6;color:#5e6a78}
.socio-module .application-status.complete{background:#e3f4eb;color:#176947}
.socio-module .application-status.progress{background:#fff1d8;color:#86570c}
.socio-module .application-status.pending{background:#eef2f5;color:#526170}
.socio-module .application-actions{display:flex;gap:6px;align-items:center;flex-wrap:nowrap}
.socio-module .application-actions .btn{padding:6px 8px;font-size:.7rem;white-space:nowrap}
.socio-module .applications-empty{text-align:center!important;padding:24px!important;color:#667085}
.socio-module .application-editor-grid{margin-top:16px}
.socio-module .editor-heading{align-items:center;margin-bottom:10px}
.socio-module .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:760px){
  .socio-module .applications-toolbar{width:100%;align-items:stretch}
  .socio-module .application-search{flex:1;min-width:180px}
  .socio-module .application-search input{width:100%}
  .socio-module .applications-toolbar .btn{width:auto}
}
