/* Scoped cards: forecast and model layout stays under its existing styles. */
html body .x5-nearby{--x5-bg:#f5f9fd;--x5-card:#fff;--x5-ink:#163247;--x5-muted:#486276;--x5-border:#c2d2df;--x5-accent:#08668b;box-sizing:border-box;grid-column:1/-1;width:100%;max-width:100%;min-width:0;margin:24px 0;padding:24px!important;border:1px solid var(--x5-border)!important;border-radius:20px!important;background:var(--x5-bg)!important;color:var(--x5-ink)!important;text-align:left!important;line-height:1.6}
html body.xionia-dark .x5-nearby,html[data-theme=dark] body .x5-nearby,html.dark body .x5-nearby,html body[data-theme=dark] .x5-nearby{--x5-bg:#112432;--x5-card:#193344;--x5-ink:#edf6fc;--x5-muted:#b9d0de;--x5-border:#3b596b;--x5-accent:#83dcfa}
html body .x5-nearby h2{margin:0 0 12px!important;color:var(--x5-ink)!important;font-size:clamp(21px,2.3vw,27px)!important;line-height:1.3!important;text-align:left!important}
html body .x5-nearby>p{margin:0 0 16px!important;max-width:85ch!important;text-align:left!important;color:var(--x5-muted)!important}
html body .x5-nearby .x5-eyebrow{font-size:.77rem;font-weight:750;letter-spacing:.07em;color:var(--x5-accent)!important;margin-bottom:7px!important}
html body .x5-nearby ul.x5-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;list-style:none!important;margin:18px 0!important;padding:0!important}
html body .x5-nearby ul.x5-grid>li{margin:0!important;padding:0!important;list-style:none!important;min-width:0!important}
html body .x5-nearby .x5-grid a.x5-card{box-sizing:border-box;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:5px!important;min-height:145px!important;height:100%!important;padding:17px!important;border:1px solid var(--x5-border)!important;border-radius:13px!important;background:var(--x5-card)!important;color:var(--x5-ink)!important;text-decoration:none!important;overflow-wrap:anywhere;text-align:left!important;transition:border-color .15s,box-shadow .15s}
html body .x5-nearby a.x5-card:hover{border-color:var(--x5-accent)!important;box-shadow:0 5px 18px #06172416}
html body .x5-nearby .x5-card-top{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:8px}
html body .x5-nearby .x5-card strong{font-size:1.06rem!important;color:var(--x5-ink)!important;line-height:1.35;flex:1 1 120px}
html body .x5-nearby .x5-distance{display:inline-block;white-space:nowrap;font-size:.84rem;font-weight:750;padding:2px 8px;border:1px solid var(--x5-border);border-radius:7px;color:var(--x5-accent)!important;font-variant-numeric:tabular-nums}
html body .x5-nearby .x5-country,html body .x5-nearby .x5-distance-note{font-size:.8rem;color:var(--x5-muted)!important}
html body .x5-nearby .x5-action{display:flex;justify-content:space-between;gap:12px;margin-top:auto;padding-top:12px;font-size:.85rem;font-weight:650;color:var(--x5-accent)!important}
html body .x5-nearby .x5-note{font-size:.83rem;line-height:1.55}
html body .x5-nearby .x5-all{display:inline-block;color:var(--x5-accent)!important;font-weight:700;text-decoration:underline;text-underline-offset:4px}
html body .x5-nearby a:focus-visible{outline:3px solid var(--x5-accent)!important;outline-offset:4px}
@media(max-width:540px){html body .x5-nearby{padding:17px!important;border-radius:15px!important}html body .x5-nearby ul.x5-grid{grid-template-columns:1fr!important}html body .x5-nearby .x5-grid a.x5-card{min-height:130px!important}}
@media(prefers-reduced-motion:reduce){html body .x5-nearby a.x5-card{transition:none}}
html body .x5-town-context{margin:14px 0 22px;padding:14px 18px;border:1px solid #a5c2d1;border-left:4px solid #08769b;border-radius:10px;background:#edf6fb;color:#173747;line-height:1.5;text-align:left}
html body .x5-town-context>strong{font-size:.8rem;letter-spacing:.03em}
html body .x5-town-context p{margin:4px 0 8px!important;font-size:.9rem;color:inherit!important}
html body .x5-town-context div{display:flex;flex-wrap:wrap;gap:8px 18px}
html body .x5-town-context a{font-weight:700;color:#075d80!important;text-decoration:underline;text-underline-offset:3px}
html body.xionia-dark .x5-town-context,html[data-theme=dark] body .x5-town-context,html.dark body .x5-town-context,html body[data-theme=dark] .x5-town-context{background:#142e3f;color:#eaf6fc;border-color:#45677a;border-left-color:#83dcfa}
html body.xionia-dark .x5-town-context a,html[data-theme=dark] body .x5-town-context a,html.dark body .x5-town-context a,html body[data-theme=dark] .x5-town-context a{color:#83dcfa!important}
