/* Flighty-inspired weather hierarchy, using the app's light-theme tokens. */
.station-heading-weather {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  min-height: 2.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--app-secondary, #6c6c70);
  text-decoration: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.station-heading-weather:hover { color: var(--app-accent, #3e8314); }
.station-heading-weather img { display: block; width: 2rem; height: 2rem; object-fit: contain; flex: none; }
.station-weather-card {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  min-width: 0;
  width: 100%;
  padding: 1.75rem;
  margin: 0;
  border: 0;
  border-radius: 1rem;
  color: var(--app-ink, #111114);
  background: var(--app-canvas, #f2f4f7);
  scroll-margin-top: 6rem;
}
.station-weather-card__heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: .75rem 1rem;
}
.station-weather-card__heading h2 {
  margin: 0;
  font-family: var(--round, inherit);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.station-weather-card__units { display: flex; gap: .125rem; align-items: center; }
.station-weather-card__units button {
  min-height: 2.75rem;
  padding: .5rem .75rem;
  border: 0;
  border-radius: .75rem;
  color: var(--app-secondary, #6c6c70);
  background: transparent;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.5;
  transition: background-color 150ms, color 150ms;
}
.station-weather-card__units button[aria-pressed="true"] { color: var(--app-charcoal, #231f20); background: var(--app-lime, #b6dc79); }
.station-weather-card__units button:hover { color: var(--app-ink, #111114); }
.station-weather-card__hero { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 6rem; }
.station-weather-card__current { min-width: 0; }
.station-weather-card__temperature { margin: 0; color: var(--app-ink, #111114); font-variant-numeric: tabular-nums; font-family: var(--round, inherit); font-size: 3.5rem; line-height: 1.1; font-weight: 600; letter-spacing: -.05em; }
.station-weather-card__degree { display: inline-block; margin-inline-start: .1em; vertical-align: top; font-size: 1.75rem; line-height: 1.4; letter-spacing: -.025em; }
.station-weather-card__condition { margin: .625rem 0 0; font-size: 1rem; line-height: 1.5; color: var(--app-secondary, #6c6c70); overflow-wrap: anywhere; }
.station-weather-card__icon { display: block; flex: 0 0 4.5rem; width: 4.5rem; height: 4.5rem; object-fit: contain; }
.station-weather-card__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; padding: 0; margin: 0; }
.station-weather-card__stat { min-width: 0; padding-top: .875rem; border-top: 1px solid var(--app-border, #e9e9ee); }
.station-weather-card__stat dt { font-size: .9375rem; line-height: 1.5; color: var(--app-secondary, #6c6c70); font-weight: 500; }
.station-weather-card__stat dd { margin: .375rem 0 0; font-size: 1.25rem; line-height: 1.4; color: var(--app-ink, #111114); font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.station-weather-card__footer { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; margin-top: auto; }
.station-weather-card__updated { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--app-secondary, #6c6c70); }
.station-weather-card__retry { min-height: 2.75rem; border: 0; border-radius: .75rem; padding: .5rem .875rem; background: var(--app-accent-soft, #e8f0e3); color: var(--app-accent, #3e8314); font-size: 1rem; font-weight: 600; }
.station-weather-card__attribution { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; width: 100%; font-size: .875rem; line-height: 1.5; }
.station-weather-card__brand { display: inline-flex; align-items: center; gap: .25rem; color: var(--app-charcoal, #231f20); font-size: 1.125rem; font-weight: 600; }
.station-weather-card__brand img { display: block; width: .875rem; height: 1.125rem; object-fit: contain; }
.station-weather-card__attribution a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--app-accent, #3e8314); text-underline-offset: .2em; }
.station-weather-card [hidden], .station-heading-weather [hidden] { display: none; }
@media (max-width: 47.9375rem) {
  .station-weather-card { padding: 1.5rem; gap: 1.5rem; }
  .station-weather-card__heading { flex-direction: column; }
  .station-weather-card__hero { gap: .75rem; }
}
@media (max-width: 22rem) {
  .station-weather-card { padding: 1.25rem; }
  .station-weather-card__temperature { font-size: 3rem; }
  .station-weather-card__degree { font-size: 1.5rem; }
  .station-weather-card__icon { flex-basis: 4rem; width: 4rem; height: 4rem; }
  .station-weather-card__stats { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .station-weather-card__units button { transition: none; }
}
/* Integration with the existing station identity and lower map row. */
.detail-local-conditions { display:flex; align-items:center; flex-wrap:wrap; gap:.25rem 1rem; margin-top:.25rem; }
.detail-local-conditions .detail-station-clock { margin:0; }
.detail-location-grid { grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); align-items:stretch; }
.detail-location-map-column { min-width:0; }
.detail-location-map-column .detail-map { height:100%; min-height:32rem; }
@media(max-width:63.9375rem) { .detail-location-grid { grid-template-columns:minmax(0,1fr); } .detail-location-map-column .detail-map { min-height:22rem; } }
