/* "Weather" line (/shared/weather.js). Tokens only (DESIGN.md). Load after /shared/style.css.
   Works as its own small card (.weather-card) or as a line inside another card (.weather-inline). */

.weather-card[hidden], .weather-inline[hidden] { display: none; }
.weather-inline { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }

.wx { display: flex; align-items: center; gap: 12px; }
.wx-icon { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wx-icon.wx-rain, .wx-icon.wx-snow { stroke: var(--accent); }
.wx-text { display: grid; gap: 2px; min-width: 0; }

.wx-facts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0; }
.wx-now { color: var(--ink); font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.wx-cond { color: var(--ink-2); font-weight: 600; }
.wx-range { color: var(--muted); font-size: 13px; }

.wx-summary { margin: 0; color: var(--ink-2); }
.wx-summary.wet { color: var(--ink); font-weight: 600; }

.wx-source { margin: 10px 0 0; }
.wx-source a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.wx-source a:hover { color: var(--accent); }
.weather-inline .wx-source { margin-top: 6px; }
