diff --git a/AGENTS.md b/AGENTS.md
index a45a0c4..ba845d0 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -86,6 +86,7 @@ samples/fixture/ synthetic workbooks for tests/CI (committed)
- Site: EnvLogger by download GPS (≤ 400 m from a nursery), then custom name, file-name prefix (`PIAENA_2_…`), then the register workbook (detected by its `Serial number` + `Custom name` header, checked before the `/gps|location/` file-name rule). HOBO by the file-name suffix (`…_Intercontinental`), then the season workbooks' HOBO log (logger number + date overlap). A name/GPS disagreement is a warning on the Data quality page.
- Cleaning: trim 2 h at the start of each file and 2 h (EnvLogger) or 24 h (HOBO, read out back at the station) at the end; drop readings outside 15–40 °C; merge repeated downloads of one logger by timestamp. Days need ≥ 18 site-hours. Tables: `logger_files`, `logger_daily`, `logger_diel`, plus `sets.insitu_temp`.
- Comparisons between nurseries only use those logged ≥ 1 year with both seasons covered (a summer-only logger looks hottest).
+- Month × hour calendars (#127, `analytics/thermalCalendar.ts`) read `logger_diel`, whose `n` is contributing days (one nursery-wide hourly mean per day), not sensor samples. Cells need ≥ 10 days. Every nursery shares one colour domain taken from the supported cells, in whole degrees (24–33 °C with the current loggers): the 15–40 °C cleaning window squeezed the lagoon into two colour steps. Pooled means can't show peaks or hours above a threshold.
### Cloud cover (#104)
diff --git a/e2e/thermal-calendar.spec.ts b/e2e/thermal-calendar.spec.ts
new file mode 100644
index 0000000..d1b5219
--- /dev/null
+++ b/e2e/thermal-calendar.spec.ts
@@ -0,0 +1,27 @@
+import { expect, test } from '@playwright/test';
+import AxeBuilder from '@axe-core/playwright';
+
+test('temperature calendar supports keyboard, CSV and mobile in both themes', async ({ page }) => {
+ await page.setViewportSize({ width: 375, height: 800 });
+ for (const theme of ['light', 'dark'] as const) {
+ await page.emulateMedia({ colorScheme: theme });
+ await page.goto('/water-quality');
+ const card = page
+ .locator('figure')
+ .filter({ has: page.getByRole('heading', { name: /^Month and hour:/ }) });
+ await expect(card).toBeVisible();
+ const chart = card.locator('svg');
+ await chart.focus();
+ await page.keyboard.press('ArrowRight');
+ await expect(card.locator('.tip')).toBeVisible();
+ await page.keyboard.press('Escape');
+ await expect(card.getByRole('button', { name: /Download CSV/ })).toBeVisible();
+ const result = await new AxeBuilder({ page }).include('main').analyze();
+ expect(
+ result.violations.filter((v) => ['serious', 'critical'].includes(v.impact ?? ''))
+ ).toEqual([]);
+ expect(
+ await page.evaluate(() => document.documentElement.scrollWidth - innerWidth)
+ ).toBeLessThanOrEqual(1);
+ }
+});
diff --git a/src/lib/components/ThermalCalendar.svelte b/src/lib/components/ThermalCalendar.svelte
new file mode 100644
index 0000000..0881f69
--- /dev/null
+++ b/src/lib/components/ThermalCalendar.svelte
@@ -0,0 +1,87 @@
+
+
+
+
Nursery temperature through the year
+
+ Mean logger temperature for each month and hour of the day, pooled over every year a nursery was
+ logged. A cell needs at least ten logged days. Nurseries were logged in different years and for
+ different lengths of time (under each chart), so years and months don't count equally. These are
+ long-run averages, not a forecast, and not a ranking of nurseries. Downloads left out above stay
+ out here, and a very shallow logger may be out of the water at low tide.
+