.block-mwa-dashboard-app /* ── INTERVENÇÕES PEDAGÓGICAS ── block_mwa_dashboard */

/* Modal de envio de mensagem */
.mwa-msg-overlay{
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,.52);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: mwafadeIn .18s ease;
}.block-mwa-dashboard-app .mwa-msg-modal{
  background: var(--panel);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}.block-mwa-dashboard-app .mwa-msg-head{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #3b5bdb11, #5b9bd511);
  border-bottom: 1px solid var(--line);
}.block-mwa-dashboard-app .mwa-msg-head-avatar{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}.block-mwa-dashboard-app .mwa-msg-head-name{ font-size: .95rem; font-weight: 900; }.block-mwa-dashboard-app .mwa-msg-head-sub{ font-size: .73rem; color: var(--muted); margin-top: 1px; }.block-mwa-dashboard-app .mwa-msg-close{
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--muted);
  padding: 4px 6px;
  border-radius: 8px;
  transition: background .12s;
}.block-mwa-dashboard-app .mwa-msg-close:hover{ background: var(--panel3); }.block-mwa-dashboard-app .mwa-msg-body{ padding: 18px 22px 0; display: flex; flex-direction: column; gap: 12px; }.block-mwa-dashboard-app .mwa-msg-label{
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 4px;
}.block-mwa-dashboard-app .mwa-msg-select,.block-mwa-dashboard-app .mwa-msg-input,.block-mwa-dashboard-app .mwa-msg-textarea{
  width: 100%;
  background: var(--panel2);
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: .84rem;
  color: var(--text);
  outline: none;
  box-sizing: border-box;
  transition: border-color .15s;
}.block-mwa-dashboard-app .mwa-msg-select:focus,.block-mwa-dashboard-app .mwa-msg-input:focus,.block-mwa-dashboard-app .mwa-msg-textarea:focus{
  border-color: var(--blue);
}.block-mwa-dashboard-app .mwa-msg-textarea{
  min-height: 130px;
  resize: vertical;
  line-height: 1.55;
}.block-mwa-dashboard-app .mwa-msg-templates{
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}.block-mwa-dashboard-app .mwa-msg-tpl-btn{
  background: var(--panel3);
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .12s, color .12s;
}.block-mwa-dashboard-app .mwa-msg-tpl-btn:hover{ border-color: var(--blue); color: var(--blue); }.block-mwa-dashboard-app .mwa-msg-footer{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
}.block-mwa-dashboard-app .mwa-msg-ai-badge{
  font-size: .68rem;
  font-weight: 800;
  color: var(--purple);
  border: 1px solid var(--purple);
  border-radius: 999px;
  padding: 2px 9px;
  margin-right: auto;
  opacity: .75;
}.block-mwa-dashboard-app .mwa-msg-send-btn{
  background: linear-gradient(135deg, var(--blue2), var(--blue));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px 22px;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(91,155,213,.3);
  transition: transform .15s, box-shadow .15s;
}.block-mwa-dashboard-app .mwa-msg-send-btn:hover{ transform: translateY(-1px); box-shadow: 0 6px 20px rgba(91,155,213,.4); }.block-mwa-dashboard-app .mwa-msg-send-btn:disabled{ opacity: .6; cursor: not-allowed; transform: none; }.block-mwa-dashboard-app .mwa-msg-cancel-btn{
  background: var(--panel);
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 10px 18px;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
}.block-mwa-dashboard-app /* ── Aba Intervenções ── */
.int-kpi-row{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
@media (max-width: 900px) {.block-mwa-dashboard-app .int-kpi-row{ grid-template-columns: repeat(2, 1fr); } }.block-mwa-dashboard-app /* Tabela de intervenções */
.int-tbl{ width: 100%; border-collapse: collapse; font-size: .84rem; }.block-mwa-dashboard-app .int-tbl th{
  background: #f0f2f7;
  color: #46516a;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}.block-mwa-dashboard-app .int-tbl td{ padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }.block-mwa-dashboard-app .int-tbl tr:last-child td{ border-bottom: none; }.block-mwa-dashboard-app .int-tbl tr:hover td{ background: #f8fbff; }.block-mwa-dashboard-app .int-tbl tr{ cursor: pointer; }.block-mwa-dashboard-app .int-status-ok{ color: var(--green); font-weight: 900; }.block-mwa-dashboard-app .int-status-err{ color: var(--red);   font-weight: 900; }.block-mwa-dashboard-app .int-ai-badge{
  background: rgba(139,114,212,.12);
  color: var(--purple);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: .65rem;
  font-weight: 700;
}.block-mwa-dashboard-app /* Painel de efetividade */
.int-effectiveness{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 20px 22px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}.block-mwa-dashboard-app .int-eff-title{
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 14px;
}.block-mwa-dashboard-app .int-eff-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {.block-mwa-dashboard-app .int-eff-grid{ grid-template-columns: repeat(2, 1fr); } }.block-mwa-dashboard-app .int-eff-item{ text-align: center; }.block-mwa-dashboard-app .int-eff-val{
  font-size: 1.6rem;
  font-weight: 900;
  font-family: 'DM Mono', monospace;
  line-height: 1;
  margin-bottom: 4px;
}.block-mwa-dashboard-app .int-eff-label{ font-size: .72rem; color: var(--muted); font-weight: 700; }.block-mwa-dashboard-app /* Modal de detalhe da intervenção */
.int-detail-modal{
  background: var(--panel);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  width: 480px;
  max-width: 95vw;
  max-height: 80vh;
  overflow-y: auto;
}.block-mwa-dashboard-app .int-detail-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--panel2);
}.block-mwa-dashboard-app .int-detail-body{ padding: 16px 20px; }.block-mwa-dashboard-app .int-detail-row{ margin-bottom: 12px; }.block-mwa-dashboard-app .int-detail-label{ font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 3px; }.block-mwa-dashboard-app .int-detail-val{ font-size: .88rem; color: var(--text); line-height: 1.5; }.block-mwa-dashboard-app .int-detail-msg{
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: .84rem;
  line-height: 1.6;
  white-space: pre-wrap;
}.block-mwa-dashboard-app /* Timeline no perfil */
.sp-timeline{ padding: 0 2px; }.block-mwa-dashboard-app .sp-tl-item{
  display: flex;
  gap: 14px;
  padding: 10px 0;
  position: relative;
}.block-mwa-dashboard-app .sp-tl-item::before{
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: -10px;
  width: 2px;
  background: var(--line);
}.block-mwa-dashboard-app .sp-tl-item:last-child::before{ display: none; }.block-mwa-dashboard-app .sp-tl-icon{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
  border: 2px solid var(--line);
  background: var(--panel);
  z-index: 1;
}.block-mwa-dashboard-app .sp-tl-icon.access{ border-color: var(--blue);   background: var(--blue-dim);   }.block-mwa-dashboard-app .sp-tl-icon.msg{ border-color: var(--green);  background: var(--green-dim);  }.block-mwa-dashboard-app .sp-tl-icon.submit{ border-color: var(--teal);   background: rgba(58,170,170,.1); }.block-mwa-dashboard-app .sp-tl-icon.inactive{ border-color: var(--red);    background: var(--red-dim);    }.block-mwa-dashboard-app .sp-tl-content{ flex: 1; min-width: 0; padding-top: 5px; }.block-mwa-dashboard-app .sp-tl-title{ font-size: .82rem; font-weight: 800; color: var(--text); }.block-mwa-dashboard-app .sp-tl-sub{ font-size: .72rem; color: var(--muted); margin-top: 2px; }.block-mwa-dashboard-app .sp-tl-date{ font-size: .68rem; color: var(--subtle); white-space: nowrap; padding-top: 7px; }.block-mwa-dashboard-app /* Toast de sucesso/erro */
.mwa-toast{
  position: fixed;
  bottom: 28px;
  right: 28px;
  border-radius: 14px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: .84rem;
  font-weight: 800;
  color: #fff;
  z-index: 99999;
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
  animation: mwafadeIn .25s ease;
}.block-mwa-dashboard-app .mwa-toast.success{ background: var(--green); }.block-mwa-dashboard-app .mwa-toast.error{ background: var(--red); }
.block-mwa-dashboard-app .mwa-msg-ai-btn{background:linear-gradient(135deg,#a78bfa,#4f8ef7);color:#fff;border:none;border-radius:12px;padding:8px 16px;font-family:inherit;font-size:.78rem;font-weight:700;cursor:pointer;transition:opacity .15s;white-space:nowrap;}
.block-mwa-dashboard-app .mwa-msg-ai-btn:hover{opacity:.88;}
.block-mwa-dashboard-app .mwa-msg-ai-btn:disabled{opacity:.55;cursor:not-allowed;}
