.school-calendar{margin-bottom:32px;background:#fff;border:1px solid #e1e7e9;border-radius:18px;padding:24px}.school-calendar h2{margin:5px 0}.school-calendar-head,.calendar-controls,.calendar-legend{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.school-calendar-head{justify-content:space-between}.calendar-controls button{border:1px solid #dce3e6;background:#fff;border-radius:9px;min-width:36px;min-height:36px;cursor:pointer}.calendar-controls strong{text-transform:capitalize;min-width:155px;text-align:center}.calendar-legend{margin:16px 0}.calendar-tag{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;padding:4px 7px;border-radius:5px}.calendar-tag.evento{color:#086845;background:#def5e9}.calendar-tag.documento{color:#7b3f12;background:#fff0d7}.calendar-tag.prova{color:#6638a2;background:#eee4ff}.calendar-body{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:20px}.school-calendar-grid,.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-weekdays{text-align:center;font-size:11px;color:#65767e;padding:10px 0}.calendar-day{min-width:0;min-height:95px;text-align:left;border:1px solid #e8ecef;border-radius:9px;background:#fff;padding:8px;cursor:pointer}.calendar-day>span{font-size:13px}.calendar-day.is-today>span{background:var(--primary,#24566c);color:white;padding:3px 5px;border-radius:50%}.calendar-day.is-selected{outline:2px solid var(--primary,#24566c);outline-offset:-2px;background:#f4f8fa}.calendar-day-items{display:grid;gap:4px;margin-top:8px}.calendar-day-items .calendar-tag{display:flex;overflow:hidden;white-space:nowrap;font-size:10px;padding:3px}.calendar-day-items .calendar-tag span{overflow:hidden;text-overflow:ellipsis}.calendar-day-items small{font-size:10px}.calendar-detail{border-left:1px solid #e7ecee;padding-left:18px}.calendar-detail h3{font-size:15px}.calendar-record{display:grid;gap:8px;text-align:left;width:100%;border:1px solid #e3e8eb;border-radius:10px;background:white;padding:13px;margin-bottom:10px;cursor:pointer}.calendar-record strong{font-size:13px}.calendar-record small,.calendar-open{font-size:11px;color:#667a84}.calendar-record .calendar-tag{justify-self:start}.calendar-caption{margin-bottom:0}.calendar-day:focus-visible,.calendar-record:focus-visible{outline:3px solid #286485}.calendar-record.evento{border-left:3px solid #22835e}.calendar-record.documento{border-left:3px solid #c37a25}.calendar-record.prova{border-left:3px solid #8653bc}@media(max-width:1100px){.calendar-body{grid-template-columns:1fr}.calendar-detail{border-left:0;border-top:1px solid #e7ecee;padding:8px 0 0}.calendar-day{min-height:80px}}@media(max-width:600px){.school-calendar{padding:14px}.calendar-controls{width:100%;justify-content:space-between}.calendar-controls strong{min-width:130px}.calendar-day{padding:5px;min-height:64px}.calendar-day-items .calendar-tag span{display:none}.calendar-day-items{display:flex;flex-wrap:wrap;gap:3px}.calendar-day-items .calendar-tag{font-size:9px;padding:2px}.school-calendar-grid{gap:3px}}

.calendar-item-text{white-space:pre-wrap;overflow-wrap:anywhere}
.calendar-day-group{margin-block:16px}
