/* T-PIE · the wind layer's key (windflow.js → TPIE_WINDFLOW.keyInto).
 *
 * One key for every map screen. On the Overview it is its own floating panel in the
 * bottom-left stack, above the PM2.5 legend; on the other screens it is a section at the
 * foot of that screen's own legend panel, so the map does not gain another box. */

.wind-key[hidden] { display: none !important; }

.wind-key .wk-title {
  margin-bottom: 7px; font-size: 10px; font-weight: 700; letter-spacing: .08em;
  color: var(--text, #e7edf3); white-space: nowrap;
}
.wind-key .wk-unit { color: var(--muted, #8ba0b6); font-weight: 600; letter-spacing: 0; }
.wind-key .wk-defs { position: absolute; }
.wind-key .wk-streaks { display: flex; flex-direction: column; gap: 3px; }
.wind-key .wk-row { display: flex; align-items: center; gap: 8px; }
.wind-key .wk-row svg { flex: none; display: block; }
.wind-key .wk-kmh { font-size: 11px; font-variant-numeric: tabular-nums; color: var(--text, #e7edf3); }
.wind-key .wk-hint { margin-top: 6px; font-size: 10px; color: var(--muted, #8ba0b6); }
.wind-key .wk-meta {
  margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--border, #1c2735);
  font-size: 10px; line-height: 1.5; color: var(--faint, #64748b); font-variant-numeric: tabular-nums;
}
.wind-key .wk-none { color: var(--warn, #e67e22); font-size: 10px; }

/* Overview: a panel of its own, laid out in the bottom-left stack like the legend */
.map-bl .wind-key { position: static; flex: 0 0 auto; padding: 10px 12px; max-width: 214px; }

/* every other screen: a section under the PM2.5 bands of the screen's own legend */
.map-legend .wind-key,
#flow-legend .wind-key { margin-top: 9px; padding-top: 8px; border-top: 1px solid var(--border, #1c2735); }
