.cal-head, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-head { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cal-cell { min-height: 72px; background: var(--paper); border: 1px solid var(--border); text-align: left; padding: 6px; font: inherit; }
.cal-cell.out { opacity: 0.4; }
.cal-cell.h0 { background: #f4f1ea; }
.cal-cell.h1 { background: #dce6d9; }
.cal-cell.h2 { background: #b7cbb4; }
.cal-cell.h3 { background: #78917c; color: #fff; }
.cal-cell.none { background: var(--paper); }
.cal-cell .num { font-family: var(--mono); font-variant-numeric: tabular-nums; display: block; }
.legend { font-size: 13px; color: var(--muted); }
.cal-grid { margin-bottom: 12px; }
@media (max-width: 760px) {
  .cal-cell { min-height: 56px; font-size: 12px; }
}
