/* /map/ 手機頁頭：避免標題與資料範圍被控制列擠成狹長直排。 */
@media (max-width: 640px) {
  .dashboard-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 18px;
  }

  .dashboard-header .header-title,
  .dashboard-header .header-title > div {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .dashboard-header .header-main-title {
    width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .dashboard-header .header-subtitle {
    display: flex;
    width: 100%;
    min-width: 0;
  }

  .dashboard-header .header-subtitle > span {
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .dashboard-header .header-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  .dashboard-header .town-picker,
  .dashboard-header .town-chip--button {
    width: 100%;
    min-width: 0;
  }

  .dashboard-header .filter-select {
    width: auto;
    min-width: 104px;
  }
}
