/* macOS-like student panel */
:root{ --r:16px; --shadow:0 2px 18px rgba(0,0,0,0.06); --b:1px solid rgba(0,0,0,0.08); --m:#6b7280; }
.ciae-student-wrap{ max-width:1100px; margin:24px auto; padding:0 12px; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; }
.ciae-grid{ display:grid; grid-template-columns:1fr; gap:16px; }
@media (min-width:980px){ .ciae-grid{ grid-template-columns:1fr 1fr; } }
.ciae-card{ background:#fff; border:var(--b); border-radius:var(--r); box-shadow:var(--shadow); padding:18px; }
.ciae-card h2{ font-size:20px; margin:0 0 10px; }
.ciae-meta{ display:flex; gap:8px; flex-wrap:wrap; color:var(--m); font-size:14px; margin-bottom:10px; }
.ciae-stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:8px; }
.ciae-stat{ background:#fafafa; border:var(--b); border-radius:12px; padding:12px; text-align:center; }
.ciae-stat .n{ font-size:22px; font-weight:650; }
.ciae-stat .l{ font-size:12px; color:var(--m); }
.ciae-table{ width:100%; border-collapse:collapse; font-size:14px; }
.ciae-table th,.ciae-table td{ padding:10px 12px; border-bottom:1px solid #eee; }
.ciae-table th{ text-align:left; font-weight:600; }
.ciae-badge{ display:inline-block; padding:4px 10px; border-radius:999px; font-size:12px; border:1px solid rgba(0,0,0,0.08); }
.badge-presente{ background:#ecfdf5; }
.badge-tardanza{ background:#fff7ed; }
.badge-aj{ background:#eef2ff; }
.badge-ai{ background:#fee2e2; }
.ciae-hide-original{ display:none !important; }
.ciae-card h3{ margin:12px 0 8px; font-size:16px; font-weight:600; }
.ciae-avg-grid{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.ciae-avg-item{ background:#fafafa; border:var(--b); border-radius:12px; padding:10px; display:flex; justify-content:space-between; }
.ciae-avg-item .subj{ font-weight:600; }
.ciae-avg-item .avg{ font-variant-numeric: tabular-nums; }
