
.weather-wrap{width:min(1040px,calc(100% - 68px));margin:0 auto;padding:72px 0 110px}
.weather-intro{max-width:720px;padding-bottom:54px}.weather-intro h1{margin:18px 0 20px}.weather-lead{max-width:620px;color:var(--muted);font-size:1.05rem}.updated-line{display:flex;align-items:center;gap:10px;margin-top:26px;color:var(--muted);font-size:.8rem}.live-dot{width:8px;height:8px;border-radius:50%;background:#648b68;box-shadow:0 0 0 4px rgba(100,139,104,.13)}.updated-line button{margin-left:8px;border:0;border-bottom:1px solid var(--green);padding:3px 0;background:transparent;color:var(--green);font:600 .8rem var(--sans);cursor:pointer}
.weather-section{padding:48px 0 54px;border-top:1px solid var(--line)}.weather-section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:24px}.weather-section-heading .eyebrow{margin-bottom:8px}.weather-section-heading h2{font-size:clamp(2rem,3.5vw,3rem)}.module-state{font-size:.75rem;color:var(--muted);padding-bottom:7px}.module-state.online{color:#527d58}.weather-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.primary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.rain-cards{grid-template-columns:repeat(2,minmax(0,1fr));max-width:600px}.weather-card,.chart-card{border:1px solid var(--line);background:rgba(255,255,255,.28);padding:24px 25px;min-width:0}.feature-card{background:var(--paper-deep)}.metric-label{display:block;color:var(--muted);font-size:.78rem}.metric-value{font-family:var(--serif);font-size:clamp(2.1rem,4vw,3.5rem);line-height:1.2;letter-spacing:-.04em;margin:12px 0 6px;font-variant-numeric:tabular-nums}.metric-note{font-size:.72rem;color:var(--muted)}.chart-card{margin-top:15px}.chart-heading{display:flex;justify-content:space-between;align-items:start;gap:20px}.chart-heading h3{font:500 1.45rem var(--serif);margin:0 0 4px}.chart-heading p{font-size:.75rem;color:var(--muted);margin:0}.chart-unit{font:500 1rem var(--serif);color:var(--green)}.chart-area{width:100%;min-height:210px;padding-top:14px}.chart-area svg{display:block;width:100%;height:auto;overflow:visible}.chart-loading{font-size:.8rem;color:var(--muted);padding:35px 0}.chart-grid{stroke:rgba(32,43,37,.13);stroke-width:1}.chart-line{fill:none;stroke:#526b59;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.chart-fill{fill:rgba(82,107,89,.12)}.chart-point{fill:#526b59}.chart-label{fill:#69746b;font:11px 'DM Sans',Arial,sans-serif}.weather-footnote{margin:22px 0 0;color:var(--muted);font-size:.76rem}.error-message{padding:15px 18px;border-left:3px solid #a66b4f;background:rgba(166,107,79,.08);color:#76513e;font-size:.85rem}
@media(max-width:760px){.weather-wrap{width:min(100% - 44px,560px);padding:48px 0 75px}.weather-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.weather-card,.chart-card{padding:19px 17px}.weather-section{padding:36px 0 40px}.weather-intro{padding-bottom:35px}.chart-area{min-height:170px}.weather-section-heading{align-items:center}}
@media(max-width:390px){.weather-cards{grid-template-columns:1fr}.primary-cards,.rain-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-value{font-size:2rem}}

/* Interactieve meetpunten in de grafieken */
.chart-area{position:relative}
.chart-hit{fill:transparent;stroke:transparent;cursor:crosshair;pointer-events:all}
.chart-hit:hover,.chart-hit:focus{outline:none;fill:rgba(82,107,89,.18);stroke:#526b59;stroke-width:1.5}
.chart-crosshair{stroke:#526b59;stroke-width:1;stroke-dasharray:4 4;opacity:.55;pointer-events:none}
.chart-focus-dot{fill:#526b59;stroke:#fff;stroke-width:2;pointer-events:none;display:none}
.chart-tooltip{position:absolute;z-index:2;pointer-events:none;padding:7px 10px;border:1px solid var(--line);background:var(--paper-deep);color:var(--ink);font-size:.75rem;white-space:nowrap;box-shadow:0 3px 12px rgba(0,0,0,.08)}
.chart-tooltip[hidden]{display:none}

/* Uurverdeling op de tijdas van de temperatuur grafiek */
.chart-hour-tick{stroke:rgba(32,43,37,.28);stroke-width:1}
.chart-time-label{fill:#69746b;font:9px 'DM Sans',Arial,sans-serif}

/* Toegankelijk grafiekmenu en bijbehorende gegevenstabel */
.chart-area{position:relative}
.chart-options{position:absolute;right:0;top:0;z-index:5}
.chart-options summary{list-style:none;cursor:pointer;width:34px;height:32px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:4px;background:var(--paper-deep);color:var(--ink);font-size:19px}
.chart-options summary::-webkit-details-marker{display:none}
.chart-options summary:focus-visible,.chart-options-menu button:focus-visible{outline:3px solid #527d9f;outline-offset:3px}
.chart-options-menu{position:absolute;right:0;top:38px;min-width:190px;padding:8px;background:var(--paper-deep);border:1px solid var(--line);box-shadow:0 5px 18px rgba(0,0,0,.14)}
.chart-options-menu button{width:100%;padding:10px 12px;border:0;background:transparent;text-align:left;color:var(--ink);font:inherit;font-size:.85rem;cursor:pointer}
.chart-options-menu button:hover{background:rgba(82,107,89,.1)}
.chart-data-table{margin-top:18px;max-height:360px;overflow:auto;border:1px solid var(--line);background:rgba(255,255,255,.35)}
.chart-data-table[hidden]{display:none}
.chart-data-table table{width:100%;border-collapse:collapse;font-size:.82rem;font-variant-numeric:tabular-nums}
.chart-data-table caption{text-align:left;padding:12px;font-weight:600}
.chart-data-table th,.chart-data-table td{padding:9px 12px;border-top:1px solid var(--line);text-align:left}
.chart-data-table thead th{position:sticky;top:0;background:var(--paper-deep)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Foto van het weerstation in de tuin */
.station-photo{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(260px,.95fr);align-items:center;gap:clamp(24px,5vw,64px);margin:0 0 58px;padding:22px;border:1px solid var(--line);background:rgba(255,255,255,.24)}
.station-photo img{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;object-position:center;background:transparent}
.station-photo figcaption{max-width:360px;padding:18px 20px 18px 0}
.station-photo figcaption .eyebrow{margin:0 0 14px}
.station-photo figcaption h2{font:500 clamp(1.8rem,3vw,2.7rem)/1.12 var(--serif);margin:0 0 14px;color:var(--ink)}
.station-photo figcaption p:last-child{margin:0;color:var(--muted);font-size:.95rem;line-height:1.7}
@media(max-width:650px){.station-photo{grid-template-columns:1fr;gap:18px;margin-bottom:38px;padding:12px}.station-photo img{height:auto;max-height:520px;object-fit:contain;background:var(--paper-deep)}.station-photo figcaption{padding:6px 8px 12px}}

/* Drie temperatuursensoren naast elkaar */
.station-temperature-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:none}
.station-temperature-card{display:flex;flex-direction:column;min-width:0}
.station-temperature-title{font:500 1.2rem var(--sans);line-height:1.35;min-height:3.2em;margin:0 0 18px;color:var(--ink)}
.station-extremes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.station-extreme{display:flex;flex-direction:column;gap:5px;min-width:0}
.station-extreme strong{font-size:.8rem;font-weight:600;color:var(--ink)}
.station-extreme span{font:500 1.3rem var(--serif);font-variant-numeric:tabular-nums}
.station-extreme small{font-size:.7rem;color:var(--muted);line-height:1.4}
@media(max-width:760px){.station-temperature-cards{grid-template-columns:1fr}.station-temperature-title{min-height:0}.station-extremes{margin-top:14px}}

/* Meerdere temperatuurlijnen en bijbehorende legenda */
.chart-line{fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.chart-series-0{stroke:#526b59}
.chart-series-1{stroke:#b16b45}
.chart-series-2{stroke:#527d9f}
.chart-legend{display:flex;flex-wrap:wrap;gap:10px 22px;margin:0 0 10px;padding-right:48px;font-size:.78rem;color:var(--muted)}
.chart-legend-item{display:inline-flex;align-items:center;gap:7px}
.chart-legend-swatch{display:inline-block;width:19px;height:3px;border-radius:2px}
.chart-legend-swatch.chart-series-0{background:#526b59}
.chart-legend-swatch.chart-series-1{background:#b16b45}
.chart-legend-swatch.chart-series-2{background:#527d9f}
.chart-data-table{overflow-x:auto}
.chart-data-table table{min-width:520px}

/* Meer contrast en vloeiendere temperatuurlijnen */
.chart-series-0{stroke:#24543a}
.chart-series-1{stroke:#b84f16}
.chart-series-2{stroke:#17639a}
.chart-legend-swatch.chart-series-0{background:#24543a}
.chart-legend-swatch.chart-series-1{background:#b84f16}
.chart-legend-swatch.chart-series-2{background:#17639a}
.chart-line{stroke-width:2.8}

/* Duidelijke selectievakjes om temperatuurlijnen aan/uit te zetten */
.chart-legend{display:flex;flex-wrap:wrap;gap:12px 22px;margin:0 0 12px;padding-right:48px}
.chart-legend-item{display:inline-flex;align-items:center;gap:8px;font-size:.82rem;color:var(--ink);cursor:pointer;user-select:none}
.chart-series-toggle{appearance:auto;width:18px;height:18px;margin:0;accent-color:var(--green);cursor:pointer;flex:0 0 auto}
.chart-legend-item:focus-within{outline:2px solid #17639a;outline-offset:4px;border-radius:3px}
.chart-legend-swatch{display:inline-block;width:22px;height:4px;border-radius:2px;flex:0 0 auto}

/* Hoverinformatie bij temperatuurmetingen per 10 minuten */
.chart-hover-area{cursor:crosshair;outline:none}
.chart-hover-area:focus{stroke:#17639a;stroke-width:1.5;stroke-dasharray:4 3}
.chart-hover-line{stroke:#66756a;stroke-width:1.2;stroke-dasharray:4 4;pointer-events:none}
.chart-hover-dot{stroke:#fff;stroke-width:2;pointer-events:none}
.chart-hover-dot.chart-series-0{fill:#24543a}
.chart-hover-dot.chart-series-1{fill:#b84f16}
.chart-hover-dot.chart-series-2{fill:#17639a}
.chart-tooltip{position:absolute;z-index:5;max-width:min(90%,680px);padding:9px 12px;background:#f5f2e9;border:1px solid #c8c6bc;box-shadow:0 3px 12px rgba(0,0,0,.12);font-size:.78rem;line-height:1.5;color:#17251d;pointer-events:none}

/* Nettere, overzichtelijke hoverkaart met waarden per sensor */
.chart-tooltip{
  display:grid;
  gap:7px;
  min-width:250px;
  max-width:min(90%,360px);
  padding:12px 15px;
  border:1px solid #c8c6bc;
  border-radius:5px;
  background:#fbfaf6;
  box-shadow:0 5px 18px rgba(25,35,28,.16);
  color:#17251d;
  font-size:.8rem;
  line-height:1.35;
}
.chart-tooltip-time{
  padding-bottom:8px;
  margin-bottom:2px;
  border-bottom:1px solid #dedbd1;
  color:#5e685f;
  font-size:.75rem;
  font-weight:600;
  font-variant-numeric:tabular-nums;
}
.chart-tooltip-row{
  display:grid;
  grid-template-columns:18px minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
}
.chart-tooltip-swatch{display:block;width:17px;height:3px;border-radius:2px}
.chart-tooltip-swatch.chart-series-0{background:#24543a}
.chart-tooltip-swatch.chart-series-1{background:#b84f16}
.chart-tooltip-swatch.chart-series-2{background:#17639a}
.chart-tooltip-name{color:#354139}
.chart-tooltip-value{font-size:.86rem;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}

/* Alle drie buitentemperatuurkaarten hebben dezelfde witte achtergrond */
.station-temperature-card,
.station-temperature-card.feature-card{
  background:rgba(255,255,255,.28);
}
