.weather-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 2px;
  margin: 0 0 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
}
.weather-summary > svg { width: 27px; height: 27px; color: var(--teal); flex-shrink: 0; }
.weather-summary-place { display: flex; flex-wrap: wrap; gap: 5px 18px; align-items: baseline; min-width: 0; font-size: 13px; }
.weather-summary-place > span { color: var(--muted); }
.weather-summary-open { display: inline-flex; gap: 6px; align-items: center; margin-left: auto; font-size: 13px; font-weight: 700; color: var(--teal-dark); }
.weather-summary-open svg { width: 16px; height: 16px; }
.weather-summary:hover { background: #eef4f3; }
#weatherView { padding: 24px; background: var(--surface); min-width: 0; }
.weather-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.weather-heading h2 { font-size: 24px; margin: 3px 0 0; }
.weather-heading h3, .weather-conditions h3 { margin: 0; font-size: 19px; }
.weather-actions { display: flex; align-items: end; gap: 10px; }
.weather-unit, .weather-point-label { display: flex; gap: 6px; flex-direction: column; font-size: 12px; font-weight: 600; color: var(--muted); }
.weather-unit select, .weather-point-label select { min-height: 40px; padding: 7px 30px 7px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: white; font-size: 14px; width: 100%; }
.weather-unit { width: 105px; }
.weather-actions .icon-button { width: 40px; height: 40px; }
.weather-actions .icon-button svg { width: 18px; height: 18px; }
.weather-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 18px; padding: 22px 0 16px; border-bottom: 1px solid var(--line); }
.weather-point-label { min-width: 200px; max-width: 100%; }
.weather-segmented { display: inline-flex; gap: 3px; padding: 3px; background: #f0f3f5; border: 1px solid var(--line); border-radius: 6px; }
.weather-segmented button { border: 1px solid transparent; padding: 8px 16px; min-height: 34px; border-radius: 4px; background: transparent; color: #485966; font-size: 14px; font-weight: 600; white-space: nowrap; }
.weather-segmented button[aria-pressed="true"] { background: #fff; border-color: #bacdcf; color: var(--teal-dark); }
.weather-status { color: var(--muted); font-size: 12px; margin: 12px 0 18px; min-height: 18px; }
.weather-status.weather-warning { padding: 10px; border-left: 3px solid #ba8215; color: #73500a; background: #fff8e7; }
.weather-overview { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); gap: 30px; align-items: start; }
.weather-conditions { min-width: 0; padding-top: 7px; }
.weather-temperature { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; min-height: 98px; }
.weather-temperature > svg { width: 40px; height: 40px; color: #277ea1; }
.weather-temperature > strong { font-size: 40px; font-weight: 650; white-space: nowrap; }
.weather-temperature > div { display: grid; gap: 4px; font-size: 14px; }
.weather-temperature small { color: var(--muted); font-size: 12px; }
.weather-caption { margin: 6px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.weather-readings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 20px; margin: 20px 0 0; border-top: 1px solid var(--line); }
.weather-readings > div { min-width: 0; }
.weather-readings dt { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); }
.weather-readings dt svg { width: 16px; height: 16px; flex-shrink: 0; }
.weather-readings dd { margin: 5px 0; font-size: 25px; font-weight: 650; }
.weather-readings small, .weather-readings > div > span { font-size: 12px; font-weight: 400; color: var(--muted); }
.weather-readings .weather-missing { font-size: 17px; color: var(--muted); font-weight: 500; }
.weather-map-wrap { min-width: 0; position: relative; }
.weather-map { height: 355px; width: 100%; background: #e7eff2; isolation: isolate; z-index: 0; border: 1px solid var(--line); border-radius: 6px; }
.weather-map-caption { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.weather-map-message { position: absolute; left: 10px; right: 10px; top: 65px; padding: 12px; font-size: 12px; background: white; box-shadow: var(--shadow); z-index: 1; }
.weather-map-pin { display: grid; place-items: center; background: white; border: 2px solid #166b89; border-radius: 50%; box-shadow: 0 1px 5px #0004; }
.weather-map-pin span { display: block; position: absolute; top: 5px; left: 5px; width: 10px; height: 10px; background: #166b89; border-radius: 50%; }
.weather-map-pin-selected { border-color: #9a5310; }
.weather-map-pin-selected span { background: #bc691b; }
.weather-map .leaflet-control-attribution { max-width: 100%; font-size: 10px; }
.weather-map .leaflet-control-attribution a { color: #155e75; }
.weather-hourly { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.weather-table-scroll { max-height: 390px; overflow: auto; margin-top: 16px; border-bottom: 1px solid var(--line); }
.weather-table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; text-align: left; }
.weather-table th, .weather-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.weather-table thead th { position: sticky; top: 0; background: #f3f6f7; z-index: 1; color: #536575; font-size: 12px; font-weight: 600; }
.weather-table th:first-child, .weather-table td:first-child { padding-left: 8px; }
.weather-table tbody th { font-weight: 600; }
.weather-table tbody th small { display: block; margin-top: 3px; font-weight: 400; color: var(--muted); font-size: 11px; }
.weather-table tbody tr:hover { background: #f7fafa; }
.weather-table td > small { color: var(--muted); }
.weather-cell-condition { display: flex; align-items: center; gap: 8px; }
.weather-cell-condition svg { width: 17px; height: 17px; flex-shrink: 0; color: #277ea1; }
.weather-empty { min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }
.weather-empty svg { width: 42px; height: 42px; }
.weather-empty-cell { height: 100px; text-align: center; color: var(--muted); }
.weather-footer { margin-top: 20px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.weather-footer p { margin: 6px 0; }
.weather-footer a { color: #126476; text-underline-offset: 3px; }
.weather-official-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; font-weight: 600; }
.weather-official-link svg { width: 14px; height: 14px; flex-shrink: 0; }
.nav-icon svg { width: 16px; height: 16px; }
@media (max-width: 1100px) {
  .weather-overview { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .weather-readings { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .weather-map { height: 300px; }
}
@media (max-width: 600px) {
  #weatherView { padding: 16px; }
  .weather-heading { align-items: start; flex-wrap: wrap; gap: 12px; }
  .weather-heading h2 { font-size: 22px; }
  .weather-actions { margin-left: auto; }
  .weather-point-label { width: 100%; }
  .weather-toolbar { gap: 12px; }
  .weather-readings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .weather-summary-place { display: grid; gap: 4px; font-size: 12px; }
  .weather-summary-open { font-size: 12px; flex-shrink: 0; gap: 2px; }
  .weather-map { height: 280px; }
  .weather-temperature { gap: 10px; }
  .weather-temperature > strong { font-size: 36px; }
}
