.calendar-range.week-view{display:grid;grid-template-columns:1fr;gap:10px}.calendar-range.week-view .range-day{min-height:86px}.calendar-range.week-view .range-day-header{font-size:12px}.calendar-dropzone.weekend{background:#fff8ef}.calendar-grid .day.weekend{background:#fff8ef}.calendar-grid .day.weekend.today{background:#fff3df}.calendar-grid .day.weekend .day-number,.range-day.weekend .range-day-header strong{color:#ad6d2e}
/* Semana completa en el espacio disponible; Ver día conserva todos los eventos. */
body.calendar-week-active .main{padding-top:18px;padding-bottom:12px}
body.calendar-week-active .topbar{margin-bottom:12px}
body.calendar-week-active .calendar-range.week-view{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(7,minmax(0,1fr));height:clamp(245px,calc(100dvh - 265px),650px);gap:5px}
body.calendar-week-active .panel{padding:14px}
body.calendar-week-active .calendar-toolbar{margin-bottom:8px}
body.calendar-week-active .color-legend{gap:5px;margin-bottom:5px}
body.calendar-week-active .calendar-help{margin:5px 0;font-size:10px}
body.calendar-week-active .week-view .range-day{min-height:0;padding:5px 8px;display:grid;grid-template-columns:minmax(120px,24%) minmax(0,1fr) auto;gap:8px;align-items:center;overflow:hidden}
body.calendar-week-active .week-view .range-day-header{display:grid;gap:3px;margin:0;font-size:11px;min-width:0}
body.calendar-week-active .week-view .range-day-header span{font-size:9px}
body.calendar-week-active .week-view .range-day-events{display:flex;gap:5px;min-width:0;overflow:hidden}
body.calendar-week-active .week-view .calendar-event{flex:1;min-width:0;margin:0;padding:4px;font-size:10px;display:flex;gap:4px;align-items:center}
body.calendar-week-active .week-view .event-content{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.calendar-week-active .week-view .event-content strong{font-size:10px}
body.calendar-week-active .week-view .event-content b{font-size:9px}
body.calendar-week-active .week-view .class-actions{display:none}
body.calendar-week-active .week-view .empty{padding:0;font-size:10px}
body.calendar-week-active .week-day-detail{white-space:nowrap;padding:5px;font-size:10px}
@media(max-width:760px){body.calendar-week-active .week-view .range-day{grid-template-columns:minmax(0,1fr) auto;gap:4px}body.calendar-week-active .week-view .range-day-events{display:none}body.calendar-week-active .week-view .range-day-header{gap:2px}body.calendar-week-active .calendar-range.week-view{height:clamp(245px,calc(100dvh - 310px),650px)}body.calendar-week-active .main{padding:12px}body.calendar-week-active .panel{padding:8px}}
body.calendar-week-active .sidebar{padding-top:14px;padding-bottom:12px}
body.calendar-week-active .brand{padding-bottom:14px}
body.calendar-week-active .sidebar .nav{gap:2px}
body.calendar-week-active .sidebar .nav-item{padding-top:7px;padding-bottom:7px}
body.calendar-week-active .sidebar-note{margin-top:10px;margin-bottom:10px;padding:8px}
body.calendar-week-active .sidebar-note p{margin:3px 0;font-size:10px}
/* Dos columnas y cuatro filas: los siete días tienen el mismo espacio. */
body.calendar-week-active .calendar-range.week-view{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:8px}
body.calendar-week-active .week-view .range-day{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr);align-items:start;gap:4px;padding:7px 9px}
body.calendar-week-active .week-view .range-day-header{grid-column:1;grid-row:1;gap:2px}
body.calendar-week-active .week-view .range-day-events{grid-column:1 / -1;grid-row:2;display:flex;align-self:center;gap:4px}
body.calendar-week-active .week-day-detail{grid-column:2;grid-row:1}
body.calendar-week-active .week-view .range-day.weekend{background:#fff}
body.calendar-week-active .week-view .range-day.weekend.today{background:#f5f8ff}
body.calendar-week-active .week-view .range-day.weekend .range-day-header strong{color:var(--navy)}
@media(max-width:650px){body.calendar-week-active .week-view .range-day{padding:5px;gap:2px}body.calendar-week-active .week-view .range-day-header{font-size:10px}body.calendar-week-active .week-view .range-day-header span{font-size:8px}body.calendar-week-active .week-view .range-day-events .calendar-event:nth-child(n+2){display:none}body.calendar-week-active .week-day-detail{font-size:9px;padding:3px}}
