/* Forecast geography shares the editorial data desk, with distinct data colours. */
.weather-workspace {
  --forecast-dry: #e0e9dc;
  --forecast-rain: #abc9e1;
  --forecast-storm: #e1be91;
  --forecast-haze: #cdc5b2;
  --forecast-unknown: #dfe3e1;
  margin: 24px 0 32px;
  border: 1px solid var(--line);
  background: var(--white);
}
.forecast-controls {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(145px, .8fr) minmax(200px, 1.3fr);
  gap: 20px;
  align-items: end;
  padding: 20px 24px;
  background: var(--civic-soft);
}
.forecast-controls label { display: grid; gap: 6px; font-size: 12px; font-weight: 650; }
.forecast-controls select {
  width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--text);
  background: var(--white); border: 1px solid #b9c0b8; border-radius: 3px;
}
.forecast-availability { align-self: center; font-size: 12px; line-height: 1.6; }
.forecast-availability p { margin: 0; }
.forecast-dates { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); min-height: 72px; }
.forecast-dates:empty { background: var(--paper); }
.forecast-dates button {
  display: grid; gap: 2px; justify-content: center; align-content: center;
  border: 0; border-bottom: 3px solid transparent; background: transparent;
  color: var(--muted); min-height: 72px; font: inherit; cursor: pointer; padding: 10px 8px;
}
.forecast-dates button + button { border-left: 1px solid var(--line); }
.forecast-dates strong { font-size: 13px; color: var(--text); font-weight: 650; }
.forecast-dates span { font-size: 11px; }
.forecast-dates button[aria-pressed="true"] { border-bottom-color: var(--blue); background: #edf1fb; color: #315bcf; }
.forecast-dates button[aria-pressed="true"] strong { color: #315bcf; }
.forecast-dates button:hover { background: var(--paper); }
.forecast-workspace-body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, 1fr); }
.forecast-geography { min-width: 0; padding: 16px 18px 18px; background: #f0f3ef; border-right: 1px solid var(--line); }
.forecast-map-toolbar, .forecast-map-toolbar > div { display: flex; flex-wrap: wrap; gap: 4px; }
.forecast-map-toolbar { justify-content: space-between; gap: 8px; }
.forecast-map-toolbar button {
  min-width: 44px; min-height: 44px; padding: 7px 10px; font: inherit; font-size: 12px;
  font-weight: 650; color: var(--text); border: 1px solid #bdc5c8; border-radius: 3px;
  background: var(--white); cursor: pointer;
}
.forecast-map-toolbar button[data-map-zoom] { font-size: 21px; line-height: 1; padding: 4px; }
.forecast-map-toolbar button:hover { background: #e5ebf4; }
.forecast-map-toolbar button:disabled { opacity: .5; cursor: default; }
.forecast-map-stage { min-height: 360px; display: grid; align-items: center; }
.public-main .forecast-map { display: block; width: 100%; height: 360px; fill: none; stroke: none; touch-action: none; cursor: grab; }
.forecast-map:active { cursor: grabbing; }
.weather-area { cursor: pointer; --area-fill: var(--forecast-unknown); }
.weather-area[data-kind="dry"] { --area-fill: var(--forecast-dry); }
.weather-area[data-kind="rain"] { --area-fill: var(--forecast-rain); }
.weather-area[data-kind="storm"] { --area-fill: var(--forecast-storm); }
.weather-area[data-kind="haze"] { --area-fill: var(--forecast-haze); }
.weather-area path { fill: var(--area-fill); stroke: #52655d; stroke-width: 1; }
.weather-small-region { fill: var(--area-fill); stroke: #465c58; stroke-width: 1.5; }
.weather-area[aria-pressed="true"] path, .weather-area[aria-pressed="true"] circle { stroke: #244fba; stroke-width: 3; }
.weather-area:hover path { stroke-width: 2; stroke: var(--text); }
.weather-area:focus-visible path, .weather-area:focus-visible circle { stroke: #244fba; stroke-width: 4; }
.weather-map-labels { pointer-events: none; }
.weather-map-label { fill: var(--text); stroke: #f0f3ef; stroke-width: 3px; paint-order: stroke; font-size: var(--map-label-size, 13px); font-weight: 650; pointer-events: none; }
.forecast-map[data-region="all"] .weather-label-west { display: none; }
.forecast-map[data-region="all"] .weather-label-west[data-selected="true"] { display: block; }
.weather-label-small { display: none; }
.weather-label-small[data-selected="true"] { display: block; }
.forecast-legend { display: flex; flex-wrap: wrap; gap: 8px 15px; padding-top: 12px; border-top: 1px solid #cbd3cd; }
.forecast-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text); }
.forecast-legend span::before { content: ""; width: 11px; height: 11px; background: var(--forecast-unknown); border: 1px solid #52655d; }
.forecast-legend [data-kind="dry"]::before { background: var(--forecast-dry); }
.forecast-legend [data-kind="rain"]::before { background: var(--forecast-rain); }
.forecast-legend [data-kind="storm"]::before { background: var(--forecast-storm); }
.forecast-legend [data-kind="haze"]::before { background: var(--forecast-haze); }
.forecast-geography .civic-footnote { margin: 10px 0 0; max-width: 65ch; }
.forecast-detail { min-width: 0; padding: 26px; }
.forecast-place { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.forecast-place h3, .forecast-detail > h3 { margin: 6px 0 0; font-size: 21px; font-weight: 650; letter-spacing: -.035em; }
.public-main .forecast-icon { width: 42px; height: 42px; stroke: #795314; stroke-width: 1.5; fill: none; }
.forecast-place .civic-kicker { margin: 0; font-size: 10px; }
.forecast-temperature { margin: 24px 0 15px; }
.forecast-temperature > strong { display: block; font-size: 39px; line-height: 1.3; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.05em; }
.forecast-temperature strong span { font-size: 25px; font-weight: 400; color: var(--muted); }
.forecast-temperature small { font-size: 19px; font-weight: 500; margin-left: 4px; }
.forecast-temperature > span { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.forecast-summary { font-size: 16px; font-weight: 650; margin: 0 0 4px; line-height: 1.5; }
.forecast-detail .civic-caption { margin: 0; }
.forecast-periods { margin: 20px 0 0; }
.forecast-periods > div { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: start; }
.forecast-periods dt { font-size: 12px; font-weight: 650; display: flex; align-items: center; gap: 7px; }
.forecast-periods dd { font-size: 12px; margin: 0; line-height: 1.65; }
.forecast-periods .forecast-icon { width: 19px; height: 19px; }
.forecast-original { margin-top: 8px; font-size: 11px; color: var(--muted); }
.forecast-original summary { cursor: pointer; padding: 10px 0; min-height: 44px; }
.forecast-original dl { margin: 0; }
.forecast-original dl > div { margin-bottom: 9px; }
.forecast-original dt { font-weight: 650; }
.forecast-original dd { margin: 0; }
.forecast-provenance { border-top: 1px solid var(--line); padding: 16px 24px 0; margin: 0; }
.forecast-map-credit { padding: 0 24px 16px; margin: 5px 0 0; max-width: none; }
.forecast-map-credit a { color: #315bcf; text-decoration: underline; text-underline-offset: 3px; }
.forecast-map-error { padding: 24px; font-size: 13px; }
.forecast-empty { font-size: 14px; line-height: 1.7; margin: 24px 0; }
.forecast-placeholder span { display: block; height: 14px; background: var(--civic-soft); margin: 25px 0; }
.forecast-placeholder span:first-of-type { height: 50px; width: 60%; }
.weather-bulletin-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-top: 2px; }
.weather-bulletin-heading h3 { font-size: 17px; margin: 0; }
.weather-bulletin-heading p { margin: 0; font-size: 12px; color: var(--muted); max-width: 60ch; }
.weather-workspace [hidden] { display: none; }
@media (max-width: 1050px) {
  .forecast-workspace-body { grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr); }
  .forecast-detail { padding: 20px; }
  .forecast-map-toolbar button { font-size: 11px; padding: 7px; }
}
@media (max-width: 800px) {
  .forecast-workspace-body { grid-template-columns: 1fr; }
  .forecast-geography { border-right: 0; border-bottom: 1px solid var(--line); }
  .forecast-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .forecast-availability { grid-column: 1/-1; }
  .weather-bulletin-heading { display: block; }
  .weather-bulletin-heading p { margin-top: 8px; }
}
@media (max-width: 600px) {
  .forecast-controls { padding: 16px; grid-template-columns: 1fr; }
  .forecast-controls select { font-size: 16px; }
  .forecast-dates { display: flex; overflow-x: auto; }
  .forecast-dates button { min-width: 78px; flex: 1 0 78px; }
  .forecast-dates strong { font-size: 14px; }
  .forecast-dates span { font-size: 12px; }
  .forecast-geography { padding: 12px; }
  .forecast-map-toolbar button { font-size: 12px; }
  .forecast-map-stage { min-height: 270px; }
  .public-main .forecast-map { height: 270px; }
  .forecast-detail { padding: 20px 16px; }
  .forecast-periods > div { grid-template-columns: 105px minmax(0, 1fr); }
  .forecast-periods dd, .forecast-periods dt, .forecast-original { font-size: 13px; }
  .forecast-legend span { font-size: 12px; }
  .forecast-provenance { padding: 16px 16px 0; }
  .forecast-map-credit { padding: 0 16px 16px; }
}
