:root {
  --wh-fg: #1f2937;
  --wh-sub: #6b7280;
  --wh-cell-bg: #f3f4f6;
  --wh-border: #e5e7eb;
}

.weather-heatmap-header{display:flex;justify-content:space-between;align-items:baseline;margin:8px 0 12px}
.weather-heatmap-header .title{font-weight:700;font-size:18px;color:var(--wh-fg)}
.weather-heatmap-header .meta{font-size:12px;color:var(--wh-sub)}

.weather-heatmap{width:100%;border-collapse:separate;border-spacing:6px;table-layout:fixed}
.wh-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.weather-heatmap{min-width:1100px}
.weather-heatmap th,.weather-heatmap td{border:1px solid var(--wh-border);border-radius:10px;padding:12px 8px;text-align:center;font-weight:600}
.weather-heatmap thead th{border:none;color:var(--wh-sub);font-weight:600;background:transparent}
.weather-heatmap .row-label{width:140px;min-width:140px;max-width:140px;background:transparent;border:none;color:#111827;font-weight:700;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding-right:8px;box-sizing:border-box;overflow:hidden}
.weather-heatmap .row-label .wh-label-text{display:block;text-align:left;line-height:1.1;font-size:12px;font-weight:700;white-space:normal;word-break:keep-all}
.weather-heatmap td{background:var(--wh-cell-bg);color:white;text-shadow:0 1px 1px rgba(0,0,0,0.15)}
.wh-icon{display:inline-block;line-height:1;font-size:18px}
/* current month highlight */
.weather-heatmap .wh-current{box-shadow: inset 0 0 0 2px #2563eb; color:#111827;}
.weather-heatmap thead .wh-current{color:#2563eb}

/* Desktop cell content */
.wh-cell{display:flex;flex-direction:column;align-items:center;gap:2px}
.wh-cell-value{font-size:16px;font-weight:700}
.wh-cell-desc{font-size:11px;opacity:.95}

@media (max-width: 640px){
  .weather-heatmap{font-size:12px}
  .weather-heatmap .row-label{width:100px;min-width:100px;max-width:100px;padding-right:6px}
  .weather-heatmap .row-label .wh-label-text{font-size:11px}
  .wh-icon{font-size:16px}
}

/* Mobile card layout removed; using desktop table with horizontal scroll */
