.block-mwa-dashboard-app /* ── LISTA DA TURMA ── block_mwa_dashboard */

/* Header da card com controles */
.block-mwa-dashboard-app #page-classlist .card{
  overflow: visible;
  position: relative;
  z-index: 50;
}
.block-mwa-dashboard-app #page-classlist .hero{
  position: relative;
  z-index: 1;
}
.block-mwa-dashboard-app #page-classlist .cl-filter-panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow);
  margin:0 0 16px;
  padding:16px 18px;
  position:relative;
  z-index:40;
}
.block-mwa-dashboard-app #page-classlist .cl-filter-title{
  display:flex;
  align-items:center;
  gap:8px;
  color:#2f3a54;
  font-size:.88rem;
  font-weight:900;
  margin-bottom:12px;
}
.block-mwa-dashboard-app #page-classlist .cl-filter-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:flex-end;
}
.block-mwa-dashboard-app #page-classlist .cl-filter-group{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  min-width:0;
}
.block-mwa-dashboard-app #page-classlist .cl-filter-group-main{
  align-self:auto;
  min-width:210px;
}
.block-mwa-dashboard-app #page-classlist .cl-filter-label{
  display:block;
  color:#46516a;
  font-size:.7rem;
  font-weight:900;
  letter-spacing:.08em;
  line-height:1;
  min-height:12px;
  margin:0 0 5px;
  text-transform:uppercase;
}
.block-mwa-dashboard-app #page-classlist .cl-filter-bar{
  align-items:center;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  min-height:38px;
  margin:0;
}
.block-mwa-dashboard-app #page-classlist .cl-filter-btn{
  background:var(--panel);
  border:1px solid var(--line2);
  border-radius:10px;
  color:#26324a;
  cursor:pointer;
  font-family:inherit;
  font-size:.78rem;
  font-weight:850;
  min-height:38px;
  padding:8px 14px;
  transition:background .15s,border-color .15s,color .15s,box-shadow .15s;
}
.block-mwa-dashboard-app #page-classlist .cl-filter-btn:hover{
  border-color:rgba(91,139,213,.55);
  box-shadow:0 6px 14px rgba(40,56,86,.08);
}
.block-mwa-dashboard-app #page-classlist .cl-filter-btn.active{
  background:#5f8fd6 !important;
  border-color:#5f8fd6 !important;
  color:#fff !important;
  box-shadow:0 8px 18px rgba(91,139,213,.22);
}
.block-mwa-dashboard-app #page-classlist .cl-filter-btn.active:hover,
.block-mwa-dashboard-app #page-classlist .cl-filter-btn.active:focus{
  background:#5f8fd6 !important;
  border-color:#5f8fd6 !important;
  color:#fff !important;
}
.block-mwa-dashboard-app #page-classlist .cl-filter-panel .cl-sort-select{
  background:var(--panel);
  border:1px solid var(--line2);
  border-radius:12px;
  color:#26324a;
  font-family:inherit;
  font-size:.78rem;
  font-weight:800;
  height:38px;
  padding:8px 12px;
  width:100%;
}
.block-mwa-dashboard-app #page-classlist .cl-filter-search-group{flex:1;min-width:240px;}
.block-mwa-dashboard-app #page-classlist .cl-filter-sort-group{min-width:210px;}
.block-mwa-dashboard-app #page-classlist .cl-filter-clear-group{flex-shrink:0;}
.block-mwa-dashboard-app #page-classlist .cl-filter-clear-btn{
  height:38px;padding:0 14px;background:transparent;border:1px solid var(--line2);
  border-radius:10px;color:var(--muted);cursor:pointer;font-family:inherit;
  font-size:.78rem;font-weight:700;white-space:nowrap;transition:border-color .12s,color .12s;
}
.block-mwa-dashboard-app #page-classlist .cl-filter-clear-btn:hover{border-color:var(--red);color:var(--red);}
.block-mwa-dashboard-app #page-classlist .cl-search-wrap{
  align-items:center;
  background:var(--panel);
  border:1px solid var(--line2);
  border-radius:10px;
  display:flex;
  gap:8px;
  box-sizing:border-box;
  height:38px;
  min-height:38px;
  margin:0;
  padding:0 12px;
  transition:border-color .15s,box-shadow .15s;
}
.block-mwa-dashboard-app #page-classlist .cl-search-wrap:focus-within{
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(91,139,213,.12);
}
.block-mwa-dashboard-app #page-classlist .cl-search-wrap .cl-search{
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  color:var(--text);
  flex:1;
  font-family:inherit;
  font-size:.78rem;
  min-width:0;
  outline:0;
  height:36px;
  line-height:36px;
  padding:0;
  width:100%;
}
.block-mwa-dashboard-app #page-classlist .cl-filter-context{
  color:var(--muted);
  font-size:.72rem;
  font-weight:800;
  margin-top:8px;
}
.cl-card-head{
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: #f5f7fc;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}.block-mwa-dashboard-app .cl-card-title{
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #46516a;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: auto;
}.block-mwa-dashboard-app .cl-card-title .mwa-help-tip{
  margin-left: 2px;
  z-index: 10000;
}.block-mwa-dashboard-app /* Controles: select,.block-mwa-dashboard-app botão,.block-mwa-dashboard-app busca */
.block-mwa-dashboard-app #page-classlist .cl-card-title .mwa-help-tip::after{
  z-index: 10000;
}.block-mwa-dashboard-app #page-classlist .cl-card-title .mwa-help-tip::before{
  z-index: 10001;
}
.cl-sort-select{
  background: var(--panel);
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  outline: none;
  transition: border-color .15s;
}.block-mwa-dashboard-app .cl-sort-select:focus{ border-color: var(--blue); }.block-mwa-dashboard-app .cl-toggle-btn{
  background: var(--panel);
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 8px 13px;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s, color .15s;
}.block-mwa-dashboard-app .cl-toggle-btn:hover,.block-mwa-dashboard-app .cl-toggle-btn.active{ border-color: var(--blue); color: var(--blue); }.block-mwa-dashboard-app .cl-search{
  background: var(--panel);
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 8px 13px;
  font-family: inherit;
  font-size: .78rem;
  color: var(--text);
  width: 200px;
  outline: none;
  transition: border-color .15s;
}.block-mwa-dashboard-app .cl-search:focus{ border-color: var(--blue); }.block-mwa-dashboard-app .cl-count{
  font-size: .72rem;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 700;
}.block-mwa-dashboard-app /* Tabela */
.cl-tbl-wrap{ overflow-x: auto; }.block-mwa-dashboard-app .cl-tbl,
.block-mwa-dashboard-app #page-classlist .cl-tbl{
  width: 100%;
  background: #eef2f7;
  border-collapse: separate;
  border-spacing: 0 10px;
  table-layout: fixed;
  font-size: .88rem;
}.block-mwa-dashboard-app .cl-tbl th{
  background: #f0f2f7;
  color: #46516a;
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}.block-mwa-dashboard-app .cl-tbl th.center{ text-align: center; }.block-mwa-dashboard-app .cl-tbl td{
  padding: 13px 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  background:#fff;
}
.block-mwa-dashboard-app .cl-tbl tbody td:first-child{
  border-left: 1px solid var(--line);
}
.block-mwa-dashboard-app .cl-tbl tbody td:last-child{
  border-right: 1px solid var(--line);
}
/* Round every row, not just the ones flagged as summary rows. */
.block-mwa-dashboard-app .cl-tbl tbody tr td:first-child{
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.block-mwa-dashboard-app .cl-tbl tbody tr td:last-child{
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}.block-mwa-dashboard-app .cl-tbl tbody tr:hover td{
  background: #f8fbff;
  border-color: #d7e3f7;
}
.block-mwa-dashboard-app .cl-tbl tbody td{
  transition: background .12s, border-color .12s;
}.block-mwa-dashboard-app /* Coluna aluno */
.cl-student-cell{
  display: flex;
  align-items: center;
  gap: 10px;
}.block-mwa-dashboard-app .cl-avatar{
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}.block-mwa-dashboard-app .cl-avatar.has-img{
  overflow: hidden;
  background: #e8ecf5 !important;
  color: transparent;
}.block-mwa-dashboard-app .cl-avatar.has-img img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}.block-mwa-dashboard-app .cl-student-name{
  appearance: none;
  background: transparent;
  border: 0;
  display: inline-block;
  font-weight: 800;
  font-size: .88rem;
  font-family: inherit;
  color: var(--blue);
  cursor: pointer;
  margin: 0;
  padding: 0;
  text-align: left;
  white-space: nowrap;
  max-width: 100%;
  width: auto;
  overflow: hidden;
  text-overflow: ellipsis;
}.block-mwa-dashboard-app .cl-student-name:hover{ text-decoration: underline; }.block-mwa-dashboard-app .cl-student-name:focus{
  outline: none;
}.block-mwa-dashboard-app .cl-student-name:focus-visible{
  outline: 2px solid rgba(91, 139, 213, .45);
  outline-offset: 2px;
  border-radius: 4px;
}.block-mwa-dashboard-app .cl-student-email{
  font-size: .68rem;
  color: var(--muted);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}.block-mwa-dashboard-app .cl-student-sub{
  font-size: .65rem;
  color: var(--subtle);
  margin-top: 2px;
}.block-mwa-dashboard-app /* Barra de participação */
.cl-part-wrap{
  display: flex;
  align-items: center;
  gap: 8px;
}.block-mwa-dashboard-app .cl-part-bar-bg{
  flex: 1;
  height: 7px;
  background: #e8ecf5;
  border-radius: 4px;
  overflow: hidden;
}.block-mwa-dashboard-app .cl-part-bar-fill{
  height: 100%;
  border-radius: 4px;
  transition: width .4s ease;
}.block-mwa-dashboard-app .cl-part-pct{
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: .78rem;
  font-weight: 700;
  min-width: 36px;
}.block-mwa-dashboard-app /* Dias sem acesso */
.cl-days{
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 1.05rem;
  font-weight: 700;
}.block-mwa-dashboard-app /* Tempo total */
.cl-time{
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: .85rem;
  font-weight: 700;
}.block-mwa-dashboard-app /* Interações */
.cl-inter{
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: .85rem;
  font-weight: 600;
}.block-mwa-dashboard-app /* Botão perfil */
.cl-profile-btn{
  background: var(--panel);
  border: 1px solid var(--line2);
  border-radius: 8px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--muted);
  padding: 0;
  transition: border-color .15s, color .15s;
}.block-mwa-dashboard-app .cl-profile-btn:hover{ border-color: var(--blue); color: var(--blue); }.block-mwa-dashboard-app /* Activity dots (modo atividades) */
.cl-act-dots{
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}.block-mwa-dashboard-app .cl-act-dot{
  border-radius: 4px;
  padding: 1px 5px;
  font-size: .6rem;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}.block-mwa-dashboard-app a.cl-act-dot:hover,
.block-mwa-dashboard-app a.cl-act-dot:focus{
  color: #fff;
  text-decoration: none;
  filter: brightness(.94);
}.block-mwa-dashboard-app .cl-act-dot.done{ background: var(--green); }.block-mwa-dashboard-app .cl-act-dot.missing{ background: var(--red); }.block-mwa-dashboard-app .cl-act-dot.pending{ background: var(--muted); }.block-mwa-dashboard-app .cl-no-grades-hint{
  font-size: .65rem;
  color: var(--muted);
  margin-top: 3px;
}.block-mwa-dashboard-app .cl-progress-legend{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
}.block-mwa-dashboard-app .cl-progress-legend span{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}.block-mwa-dashboard-app .cl-legend-dot{
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}.block-mwa-dashboard-app .cl-legend-dot.done{background:var(--green);}.block-mwa-dashboard-app .cl-legend-dot.missing{background:var(--red);}
.block-mwa-dashboard-app /* Estado vazio */
.cl-empty{
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

@media (max-width: 900px) {.block-mwa-dashboard-app .cl-search{ width: 130px; }.block-mwa-dashboard-app .cl-tbl{ font-size: .8rem; }
}
.block-mwa-dashboard-app #page-classlist .cl-filter-panel .cl-search{width:100%;}
@media (max-width: 980px){
  .block-mwa-dashboard-app #page-classlist .cl-filter-grid{
    align-items:stretch;
  }
  .block-mwa-dashboard-app #page-classlist .cl-filter-group,
  .block-mwa-dashboard-app #page-classlist .cl-filter-group-main,
  .block-mwa-dashboard-app #page-classlist .cl-filter-search-group,
  .block-mwa-dashboard-app #page-classlist .cl-filter-sort-group{width:100%;min-width:0;}
  .block-mwa-dashboard-app #page-classlist .cl-filter-clear-btn{width:100%;}
}
@media (max-width: 640px){
  .block-mwa-dashboard-app #page-classlist .cl-filter-panel{
    padding:14px;
  }
  .block-mwa-dashboard-app #page-classlist .cl-filter-bar{
    gap:6px;
  }
  .block-mwa-dashboard-app #page-classlist .cl-filter-btn{
    flex:1 1 auto;
    min-width:130px;
  }
}
.block-mwa-dashboard-app .cl-btn-group{display:flex;align-items:center;justify-content:center;gap:4px;}

.block-mwa-dashboard-app #page-classlist .card{
  overflow: visible;
  position: relative;
  z-index: 50;
}
.block-mwa-dashboard-app #page-classlist .hero{
  position: relative;
  z-index: 1;
}
.block-mwa-dashboard-app #page-classlist .cl-card-title .mwa-help-tip{
  z-index: 10000;
}
.block-mwa-dashboard-app #page-classlist .cl-card-title .mwa-help-tip::after{
  z-index: 10000;
}
.block-mwa-dashboard-app #page-classlist .cl-card-title .mwa-help-tip::before{
  z-index: 10001;
}

.block-mwa-dashboard-app .cl-kpi-row{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin:0 0 14px;
}
.block-mwa-dashboard-app .cl-kpi-card{
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--panel);
  box-shadow:var(--shadow);
  padding:18px 20px;
  text-align:left;
  cursor:pointer;
  min-height:108px;
  position:relative;
  transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.block-mwa-dashboard-app .cl-kpi-card:hover{
  transform:translateY(-2px);
  border-color:rgba(91,139,213,.45);
  box-shadow:0 16px 38px rgba(19,31,54,.13);
}
.block-mwa-dashboard-app .cl-kpi-title{
  display:flex;
  align-items:center;
  gap:6px;
  color:#46516a;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:12px;
}
.block-mwa-dashboard-app .cl-kpi-card strong{
  display:block;
  font-size:2rem;
  line-height:1;
  color:var(--text);
}
.block-mwa-dashboard-app .cl-kpi-card.never strong{color:#8b72d4;}
.block-mwa-dashboard-app .cl-kpi-card.low strong{color:var(--red);}
.block-mwa-dashboard-app .cl-kpi-card.medium strong{color:var(--blue);}
.block-mwa-dashboard-app .cl-kpi-card.high strong{color:var(--green);}
.block-mwa-dashboard-app .cl-filter-bar{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  border:1px solid var(--line);
  border-radius:18px;
  background:#f8faff;
  padding:12px 16px;
  margin:0 0 16px;
}
.block-mwa-dashboard-app .cl-filter-label,
.block-mwa-dashboard-app .cl-filter-count{
  color:var(--muted);
  font-size:.75rem;
  font-weight:700;
}
.block-mwa-dashboard-app .cl-kpi-pct{
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-size:.72rem;
  font-weight:800;
}
.block-mwa-dashboard-app .cl-kpi-trend-wrap{
  position:absolute;
  top:14px;
  right:16px;
}
.block-mwa-dashboard-app .cl-kpi-trend-wrap span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:28px;
  height:20px;
  padding:0 8px;
  border-radius:999px;
  font-size:.68rem;
  font-weight:900;
}
.block-mwa-dashboard-app #page-classlist .cl-kpi-title .mwa-help-tip{
  margin-left:2px;
  z-index:10020;
}
.block-mwa-dashboard-app .cl-filter-btn{
  border:1px solid var(--line2);
  border-radius:12px;
  background:var(--panel);
  padding:8px 14px;
  color:#33405c;
  font-size:.78rem;
  font-weight:800;
  cursor:pointer;
}
.block-mwa-dashboard-app .cl-filter-btn.active{
  background:var(--blue);
  border-color:var(--blue);
  color:#fff;
}
.block-mwa-dashboard-app .cl-part-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  min-width:120px;
  border-radius:999px;
  padding:3px 9px;
  margin-top:5px;
  font-size:.66rem;
  font-weight:800;
}
.block-mwa-dashboard-app .cl-part-chip.never,
.block-mwa-dashboard-app .cl-part-chip.low{background:var(--red-dim);color:var(--red);}
.block-mwa-dashboard-app .cl-part-chip.medium{background:#fff5df;color:#bf7f18;}
.block-mwa-dashboard-app .cl-part-chip.high{background:#e6f7ef;color:#15935f;}
.block-mwa-dashboard-app .cl-student-detail-row td{
  padding:0 18px 18px !important;
  background:#f8fbff;
}
.block-mwa-dashboard-app .cl-detail-panel{
  border:1px solid #d9e3f5;
  border-radius:16px;
  background:#fff;
  padding:16px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
.block-mwa-dashboard-app .cl-detail-top{
  display:flex;
  gap:14px;
  align-items:center;
  padding-bottom:14px;
  border-bottom:1px solid var(--line);
}
.block-mwa-dashboard-app .cl-score-ring{
  width:64px;
  height:64px;
  position:relative;
  flex:0 0 64px;
}
.block-mwa-dashboard-app .cl-score-ring svg{
  width:64px;
  height:64px;
  transform:rotate(-90deg);
}
.block-mwa-dashboard-app .cl-score-ring circle{
  fill:none;
  stroke:#e8ecf5;
  stroke-width:6;
}
.block-mwa-dashboard-app .cl-score-ring .fg{
  stroke:var(--score-color);
  stroke-linecap:round;
}
.block-mwa-dashboard-app .cl-score-ring span{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:var(--score-color);
  font-size:.72rem;
  font-weight:900;
}
.block-mwa-dashboard-app .cl-score-ring-summary{
  width:44px;
  height:44px;
  margin:0 auto;
  flex-basis:44px;
}
.block-mwa-dashboard-app .cl-score-ring-summary svg{
  width:44px;
  height:44px;
}
.block-mwa-dashboard-app .cl-score-ring-summary span{
  font-size:.7rem;
}
.block-mwa-dashboard-app .cl-tbl th.cl-engagement-head{
  white-space:normal;
  line-height:1.25;
  text-align:center;
}
.block-mwa-dashboard-app .cl-status-cell{
  text-align:center;
  vertical-align:middle;
  padding-top:0;
  padding-bottom:0;
}
.block-mwa-dashboard-app .cl-status-cell .cl-part-chip{
  display:inline-flex;
  margin:0 auto;
  margin-top:0 !important;
}
.block-mwa-dashboard-app .cl-detail-main strong{
  display:block;
  font-size:1rem;
  margin-bottom:3px;
}
.block-mwa-dashboard-app .cl-detail-main>span{
  display:block;
  color:var(--muted);
  font-size:.78rem;
}
.block-mwa-dashboard-app .cl-detail-chips{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:8px;
}
.block-mwa-dashboard-app .cl-study-tags{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:9px;
}
.block-mwa-dashboard-app .cl-det-chip{
  display:inline-flex;
  align-items:center;
  gap:5px;
  border-radius:999px;
  padding:4px 10px;
  font-size:.72rem;
  font-weight:800;
  border:1px solid rgba(0,0,0,.04);
}
.block-mwa-dashboard-app .cl-det-chip>span:first-child,
.block-mwa-dashboard-app .cl-study-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:14px;
  min-width:14px;
  line-height:1;
}
.block-mwa-dashboard-app .cl-det-chip.red{background:var(--red-dim);color:var(--red);}
.block-mwa-dashboard-app .cl-det-chip.amber{background:#fff5df;color:#bf7f18;}
.block-mwa-dashboard-app .cl-det-chip.blue{background:#edf4ff;color:var(--blue);}
.block-mwa-dashboard-app .cl-det-chip.green{background:#e6f7ef;color:#15935f;}
.block-mwa-dashboard-app .cl-det-chip.slate{background:#f4f6fb;color:var(--muted);}
.block-mwa-dashboard-app .cl-study-chip{
  display:inline-flex;
  align-items:center;
  gap:5px;
  border-radius:999px;
  border:1px solid var(--line2);
  padding:4px 10px;
  font-size:.72rem;
  font-weight:800;
  white-space:nowrap;
}
.block-mwa-dashboard-app .cl-study-chip.noturno{background:#f3edff;color:#8b72d4;border-color:#d9ccff;}
.block-mwa-dashboard-app .cl-study-chip.vespertino{background:#edf4ff;color:#5b7fd5;border-color:#cfe0ff;}
.block-mwa-dashboard-app .cl-study-chip.diurno{background:#fff8e5;color:#bf7f18;border-color:#f2dda5;}
.block-mwa-dashboard-app .cl-study-chip.constante,
.block-mwa-dashboard-app .cl-study-chip.alto{background:#e6f7ef;color:#15935f;border-color:#bdebd4;}
.block-mwa-dashboard-app .cl-study-chip.irregular,
.block-mwa-dashboard-app .cl-study-chip.baixo{background:#fff5df;color:#bf7f18;border-color:#efd194;}
.block-mwa-dashboard-app .cl-study-chip.risco,
.block-mwa-dashboard-app .cl-study-chip.pouco{background:var(--red-dim);color:var(--red);border-color:#ffd0cd;}
.block-mwa-dashboard-app .cl-study-chip.medio{background:#edf4ff;color:var(--blue);border-color:#cfe0ff;}
.block-mwa-dashboard-app .cl-detail-grid,
.block-mwa-dashboard-app .cl-detail-progress-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}
.block-mwa-dashboard-app .cl-detail-progress-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.block-mwa-dashboard-app .cl-detail-grid>div,
.block-mwa-dashboard-app .cl-detail-progress-grid>div{
  border:1px solid var(--line2);
  border-radius:12px;
  background:#f7f9fe;
  padding:12px;
}
.block-mwa-dashboard-app .cl-detail-grid span,
.block-mwa-dashboard-app .cl-detail-progress-grid h4{
  display:block;
  margin:0 0 8px;
  color:#46516a;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.block-mwa-dashboard-app .cl-detail-grid strong{
  display:block;
  font-size:1.05rem;
  color:var(--text);
}

.block-mwa-dashboard-app .cl-pagination{align-items:center;background:var(--panel);border-radius:0 0 var(--radius-xl) var(--radius-xl);border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;overflow:hidden;padding:12px 18px}
.block-mwa-dashboard-app .cl-pag-info{color:var(--muted);font-size:.74rem;font-weight:700}
.block-mwa-dashboard-app .cl-pag-pages{align-items:center;display:flex;gap:4px}
.block-mwa-dashboard-app .cl-page-btn{background:var(--panel);border:1px solid var(--line);border-radius:8px;color:var(--text);cursor:pointer;font-family:inherit;font-size:.78rem;font-weight:700;height:32px;min-width:32px;padding:0 8px;transition:background .12s,border-color .12s,color .12s}
.block-mwa-dashboard-app .cl-page-btn:hover{background:var(--blue-dim);border-color:var(--blue);color:var(--blue)}
.block-mwa-dashboard-app .cl-page-btn.active{background:var(--blue);border-color:var(--blue);color:#fff}
.block-mwa-dashboard-app .cl-page-btn.disabled{opacity:.35}
.block-mwa-dashboard-app .cl-pag-size{align-items:center;color:var(--muted);display:flex;font-size:.74rem;font-weight:700;gap:8px}
.block-mwa-dashboard-app .cl-pag-size select{background:var(--panel);border:1px solid var(--line);border-radius:8px;color:var(--text);font-family:inherit;font-size:.78rem;font-weight:700;height:34px;padding:0 10px}

@media (max-width: 980px){
  .block-mwa-dashboard-app .cl-kpi-row{grid-template-columns:repeat(2,minmax(0,1fr));}
  .block-mwa-dashboard-app .cl-detail-grid,
  .block-mwa-dashboard-app .cl-detail-progress-grid{grid-template-columns:1fr;}
}

.block-mwa-dashboard-app .cl-name-line{
  display:grid;
  grid-template-columns:minmax(0,1fr) 132px;
  align-items:center;
  gap:8px;
  min-width:0;
  max-width:100%;
}
.block-mwa-dashboard-app .cl-name-line .cl-student-name{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.block-mwa-dashboard-app .cl-name-line .cl-part-chip{
  justify-self:start;
  margin-top:0;
  max-width:132px;
  min-width:120px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.block-mwa-dashboard-app .cl-student-summary-row{
  cursor:pointer;
}
.block-mwa-dashboard-app .cl-student-summary-row td:first-child{
  border-top-left-radius:12px;
  border-bottom-left-radius:12px;
}
.block-mwa-dashboard-app .cl-student-summary-row td:last-child{
  border-top-right-radius:12px;
  border-bottom-right-radius:12px;
}
.block-mwa-dashboard-app .cl-student-summary-row:hover td{
  background:#f7faff;
}
.block-mwa-dashboard-app .cl-row-caret{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  border:1px solid transparent;
  border-radius:8px;
  color:var(--muted);
  font-weight:900;
  transition:background .15s, border-color .15s, color .15s;
}
.block-mwa-dashboard-app .cl-student-summary-row:hover .cl-row-caret{
  background:var(--panel-2, #f2f4fa);
  border-color:var(--line2);
  color:var(--blue);
}
.block-mwa-dashboard-app .cl-ai-box{
  margin-top:14px;
}
.block-mwa-dashboard-app .cl-detail-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}
@media (max-width: 720px){
  .block-mwa-dashboard-app .cl-name-line{
    grid-template-columns:1fr;
    gap:5px 7px;
  }
  .block-mwa-dashboard-app .cl-name-line .cl-part-chip{
    max-width:100%;
    min-width:0;
  }
}

/* KPIs no padrão visual dos motivos de intervenção. */
.block-mwa-dashboard-app #page-classlist .cl-kpi-row{gap:10px;}
.block-mwa-dashboard-app #page-classlist .cl-kpi-card{--cl-kpi-color:var(--blue);--cl-kpi-bg:rgba(91,155,213,.08);--cl-kpi-border:rgba(91,155,213,.27);border-radius:14px;display:flex;flex-direction:column;gap:8px;min-height:132px;overflow:visible;padding:11px 14px 10px;}
.block-mwa-dashboard-app #page-classlist .cl-kpi-card::before{background:transparent;border:0;border-radius:14px;border-top:3px solid var(--cl-kpi-color);bottom:0;box-sizing:border-box;content:"";height:auto;left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .15s;}
.block-mwa-dashboard-app #page-classlist .cl-kpi-card:hover::before,.block-mwa-dashboard-app #page-classlist .cl-kpi-card:focus::before{opacity:1;}
.block-mwa-dashboard-app #page-classlist .cl-kpi-card:hover,.block-mwa-dashboard-app #page-classlist .cl-kpi-card:focus{background:var(--cl-kpi-bg);border-color:var(--cl-kpi-border);box-shadow:0 4px 16px rgba(0,0,0,.1);outline:none;}
.block-mwa-dashboard-app #page-classlist .cl-kpi-head{align-items:center;display:flex;gap:10px;min-height:42px;padding-right:38px;}
.block-mwa-dashboard-app #page-classlist .cl-kpi-icon{align-items:center;background:var(--cl-kpi-bg);border:1px solid var(--cl-kpi-border);border-radius:10px;color:var(--cl-kpi-color);display:inline-flex;flex:0 0 40px;font-size:1.2rem;height:40px;justify-content:center;line-height:1;width:40px;}
.block-mwa-dashboard-app #page-classlist .cl-kpi-title{color:var(--cl-kpi-color);font-size:.78rem;font-weight:900;letter-spacing:0;line-height:1.2;margin:0;text-transform:none;}
.block-mwa-dashboard-app #page-classlist .cl-kpi-card strong{color:var(--cl-kpi-color);font-family:'DM Mono',ui-monospace,monospace;font-size:1.75rem;margin:auto 0 0;}
.block-mwa-dashboard-app #page-classlist .cl-kpi-pct{font-size:.68rem;margin-top:0;}
.block-mwa-dashboard-app #page-classlist .cl-kpi-card.never{--cl-kpi-color:#8b72d4;--cl-kpi-bg:rgba(139,114,212,.08);--cl-kpi-border:rgba(139,114,212,.27);}
.block-mwa-dashboard-app #page-classlist .cl-kpi-card.low{--cl-kpi-color:#db5b5b;--cl-kpi-bg:rgba(219,91,91,.08);--cl-kpi-border:rgba(219,91,91,.27);}
.block-mwa-dashboard-app #page-classlist .cl-kpi-card.medium{--cl-kpi-color:#5b9bd5;--cl-kpi-bg:rgba(91,155,213,.08);--cl-kpi-border:rgba(91,155,213,.27);}
.block-mwa-dashboard-app #page-classlist .cl-kpi-card.high{--cl-kpi-color:#2cab77;--cl-kpi-bg:rgba(44,172,119,.08);--cl-kpi-border:rgba(44,172,119,.27);}
