.student-kpis p { font-size: 12px; white-space: normal; line-height: 1.35; }
.student-calendar-legend, .student-day header, .student-event strong, .student-event small, .student-no-events { font-size: 12px; }
.student-week { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.student-week.six-days { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.student-day { min-width: 0; padding: 10px; }
.student-event { gap: 7px; padding: 8px; }
.student-event small { white-space: normal; line-height: 1.3; }
.student-event.activity.done { border-color: #6c9180; background: #edf5ef; }
.student-event.activity.done small { color: #315e47; font-weight: 700; }
.priority-date { font-size: 12px; }
.student-subjects .section-title p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.student-subject-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 22px; }
.student-subject-card:hover { transform: translateY(-2px); }
.student-subject-card.is-concluded { background: #fbfcfb; }
.student-subject-card h3 { margin: 0; font-size: 19px; }
.student-subject-status { border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.student-subject-status.active { background: #e5f2e9; color: #245c3c; }
.student-subject-status.complete { background: #e8edf2; color: #40566c; }
.student-subject-progress > div:first-child { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; }
.student-subject-progress strong { color: var(--ink); font-size: 12px; white-space: nowrap; }
.student-subject-progress small { display: block; color: var(--muted); font-size: 12px; }
.student-progress-track { height: 8px; margin-top: 7px; border-radius: 999px; overflow: hidden; background: #e7eee9; }
.student-progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--subject-color, var(--green)); }
.student-subject-facts { display: flex; flex-direction: column; gap: 7px; flex: 1; font-size: 13px; color: #53665d; }
.student-subject-facts .pending { color: #845314; font-weight: 700; }
.student-subject-facts .result { color: #245c3c; font-weight: 800; }
.student-subject-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.student-subject-actions a { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; flex: 1 1 auto; padding: 10px 12px; border-radius: 10px; background: var(--green); color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; }
.student-subject-actions a.secondary { background: #eaf1ec; color: var(--green); }
.student-subject-actions a:focus-visible, .student-event:focus-visible, .priority-list a:focus-visible { outline: 3px solid #d8992c; outline-offset: 2px; }
.recent-grid small, .recent-grid div > span { font-size: 12px; }
@media (max-width: 1100px) { .student-week { overflow-x: auto; grid-template-columns: repeat(5, minmax(170px, 1fr)); } }
@media (max-width: 1100px) { .student-week.six-days { grid-template-columns: repeat(6, minmax(170px, 1fr)); } }
@media (max-width: 650px) { .student-week { grid-template-columns: repeat(5, 180px); } .student-subject-card { padding: 20px; } }
@media (max-width: 650px) { .student-week.six-days { grid-template-columns: repeat(6, 180px); } }
