# Integrációs jegyzet

## Alap beágyazás

```html
<script type="module" src="/solunar/src/widget/solunar-calendar.js"></script>

<solunar-calendar
  title="Szolunáris naptár"
  mode="month"
  year="2026"
  month="5"
  locale="hu"
  lat="47.4979"
  lng="19.0402"
  utc-offset="1"
  show-legend
  show-details
  show-weather
  show-explanation
  show-outlook
></solunar-calendar>
```

## Hasznos attribútumok

- `mode="today|month|year"`
- `year`, `month`
- `lat`, `lng`
- `utc-offset`
- `theme="auto|light|dark"`
- `show-legend`
- `show-details`
- `show-weather`
- `show-explanation`
- `show-outlook`
- `compact`

## Megjegyzés az időjárási modulról

A `show-weather` bekapcsolja az Open-Meteo forecast alapú napi időjárási korrekciót. Ha nincs hálózat vagy az adott dátum kívül esik a közeli forecast-ablakon, a widget továbbra is működik, csak tisztán szolunáris módban.

## Megjegyzés a magyarázó és outlook rétegről

- `show-explanation`: rövid emberi magyarázat + 3 kiemelt idősáv
- `show-outlook`: 3 napos gyors összehasonlítás a kiválasztott naptól indulva
