/* WeatherAt v145: iPhone Almanac zoom + dashboard metric layout fixes. */
@media (max-width: 767px) {
  /* iOS Safari/Chrome auto-magnifies controls whose computed font size is under 16px. */
  .almanac-shell select,
  .almanac-shell input:not([type="checkbox"]):not([type="radio"]),
  .almanac-shell textarea,
  .almanac-shell .alm-location-field select,
  .almanac-shell .alm-location-form input,
  .almanac-shell .atlas-ten-controls select,
  .almanac-shell .atlas-ten-controls input {
    font-size: 16px !important;
    max-width: 100%;
    min-width: 0;
  }
  .almanac-shell, .almanac-shell .panel, .almanac-shell .alm-location-fields,
  .almanac-shell .alm-location-field, .almanac-shell .almanac-controls {
    min-width: 0;
  }
  .almanac-shell select { text-overflow: ellipsis; }
  /* Two readable columns instead of four squeezed columns. */
  body.atlas-compact .ep-observed .ep-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 10px !important;
  }
  body.atlas-compact .ep-observed .ep-metric {
    min-width: 0;
    padding-left: 10px;
  }
  body.atlas-compact .ep-observed .ep-metric strong {
    font-size: clamp(14px, 3.7vw, 17px) !important;
    overflow-wrap: normal;
    word-break: normal;
  }
  body.atlas-compact .ep-observed .ep-pressure-line {
    min-width: 0;
    white-space: nowrap;
    gap: 4px;
    align-items: center;
  }
  body.atlas-compact .ep-observed .ep-pressure-trend {
    font-size: 16px;
  }
}
