/* V4.18 — cadastro online: cartões responsivos, sem sobreposição nem coluna comprimida. */
#onlineStudents{max-width:100%;min-width:0;margin-top:18px}
#onlineStudents .ca-roster-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 10px}
#onlineStudents .ca-roster-heading h3{margin:0;line-height:1.25;color:#173e6f}
#onlineStudents #ca-roster-count{font-size:.86rem;color:#526c8a}
#onlineStudents .ca-roster-toolbar{display:grid;grid-template-columns:minmax(0,2fr) minmax(160px,1fr);gap:10px;margin-bottom:14px;align-items:end}
#onlineStudents .ca-roster-toolbar label{min-width:0;font-weight:700;font-size:.84rem;color:#20436c}
#onlineStudents .ca-roster-toolbar input,#onlineStudents .ca-roster-toolbar select{display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:42px;margin-top:5px;background:#fff;color:#143b61;border:1px solid #adc4df;border-radius:9px;padding:9px 11px;font:inherit}
#onlineStudents .ca-roster-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,255px),1fr));gap:12px;min-width:0}
#onlineStudents .ca-roster-card{box-sizing:border-box;display:flex;flex-direction:column;min-width:0;padding:14px;border:1px solid #bed1ea;border-radius:14px;background:linear-gradient(155deg,#fff,#f1f7ff);box-shadow:0 2px 6px #17486d12}
#onlineStudents .ca-roster-card-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px}
#onlineStudents .ca-roster-class{border-radius:999px;background:#dbeaff;color:#214b78;font-size:.75rem;font-weight:800;padding:4px 10px;max-width:100%;overflow-wrap:anywhere}
#onlineStudents .ca-roster-lock{color:#657c91;font-size:.71rem;white-space:normal}
#onlineStudents .ca-roster-name{font-size:1.02rem;line-height:1.35;color:#153b65;overflow-wrap:anywhere;white-space:normal;margin:12px 0 8px;min-width:0}
#onlineStudents .ca-roster-detail{display:flex;flex-direction:column;gap:5px;color:#415e77;font-size:.8rem;min-height:8px;overflow-wrap:anywhere}
#onlineStudents .ca-roster-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:12px}
#onlineStudents .ca-roster-actions .btn{flex:1 1 118px;min-height:40px;padding:8px 10px;font-size:.82rem;white-space:normal;line-height:1.22}
#onlineStudents .ca-roster-paging{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:15px;color:#43617e;font-weight:700;font-size:.84rem}
#onlineStudents .ca-roster-paging>div{display:flex;gap:8px;flex-wrap:wrap}
#onlineStudents .ca-roster-paging .btn{min-height:40px}
#onlineStudents .ca-roster-empty{grid-column:1/-1}
@media(max-width:520px){#onlineStudents .ca-roster-toolbar{grid-template-columns:minmax(0,1fr)}#onlineStudents .ca-roster-grid{grid-template-columns:minmax(0,1fr)}#onlineStudents .ca-roster-card{padding:12px}#onlineStudents .ca-roster-paging{justify-content:center}}
