/* Legacy weekly grid (wide screens and print) */

.desktop-wrap {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: 0 8px 28px rgba(24,59,91,.07);
    }
.schedule-grid {
      display: grid;
      grid-template-columns: 138px repeat(6, minmax(178px, 1fr));
      min-width: 1240px;
    }
.cell {
      min-height: 82px;
      padding: 12px 12px;
      border-right: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      background: #fff;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
    }
.cell:nth-child(7n) { border-right: 0; }
.header-cell {
      min-height: 60px;
      background: var(--navy);
      color: #fff;
      text-align: center;
      align-items: center;
      font-weight: 850;
      font-size: 15px;
      border-color: rgba(255,255,255,.12);
      position: sticky;
      top: 0;
      z-index: 4;
    }
.header-cell.today-col {
      background: #12678c;
    }
.header-cell.today-col::after {
      content: attr(data-today);
      position: absolute;
      top: 5px;
      right: 7px;
      font-size: 9px;
      font-weight: 900;
      letter-spacing: .04em;
      padding: 3px 6px;
      border-radius: 999px;
      background: rgba(255,255,255,.17);
    }
.time-cell {
      background: var(--navy);
      color: #fff;
      text-align: center;
      align-items: center;
      font-weight: 850;
      position: sticky;
      left: 0;
      z-index: 3;
      border-color: rgba(255,255,255,.12);
    }
.special-physics { background: var(--physics); color: #fff; }
.special-physics .lesson-meta { color: rgba(255,255,255,.9); }
.special-math { background: var(--accent); color: #fff; }
.special-math .lesson-meta { color: rgba(255,255,255,.92); }
.special-chem { background: var(--chem); }
.break-time, .break-cell {
      min-height: 52px;
      background: var(--break);
      border-color: var(--break-line);
    }
.break-time {
      color: var(--ink);
      font-weight: 850;
      text-align: center;
      align-items: center;
      position: sticky;
      left: 0;
      z-index: 3;
    }
.break-cell {
      align-items: center;
      text-align: center;
      font-weight: 800;
      font-size: 14px;
    }
.activity-cell {
      min-height: 72px;
      background: #fbfcfd;
    }
.activity-cell .lesson-name { font-size: 14px; }
.activity-cell .lesson-meta { font-size: 12px; }
.empty { background: #fbfcfd; }
@media (max-width: 1100px) {
.desktop-wrap { display: none; }
}
@media print {
.desktop-wrap { display: block !important; box-shadow: none; border-radius: 0; overflow: visible; }
.schedule-grid { min-width: 0; grid-template-columns: 100px repeat(6, 1fr); }
.cell { min-height: 54px; padding: 6px; }
.header-cell { min-height: 36px; font-size: 10px; }
}
.desktop-wrap { display: none; }
@media print {
.desktop-wrap { display: block; }
}
.calendar-day.empty { pointer-events: none; }
.empty-day { padding: 48px 24px; border-radius: 24px; background: rgba(255,255,255,.75); text-align: center; box-shadow: var(--sm-shadow); }
.empty-day .lucide { width: 38px; height: 38px; color: #8796ad; }
.empty-day h2 { margin: 12px 0 6px; }
.empty-day p { margin: 0; color: var(--sm-muted); }
.legacy-meta { display: none; }
.legacy-print, .desktop-wrap { display: none; }
@media print {
.legacy-print, .desktop-wrap { display: block !important; }
}
