/* Ajustes finais de UX: rótulos de ação ficam inteiros e previsíveis. */
:where(
  .header-icon > span:not(.theme-toggle-icons):not(.push-toggle-icons),
  .primary-button,
  .secondary-button,
  .light-button,
  .geolocation-action,
  .territorial-location,
  .archive-filter-form button,
  .search-field button,
  .newsletter-field button,
  .document-card-actions :is(a,button),
  .location-map-copy .primary-button,
  .a11y-control-grid button
){white-space:nowrap;text-wrap:nowrap}

.header-icon{flex:0 0 auto;white-space:nowrap}
:where(.primary-button,.secondary-button,.light-button,.geolocation-action,.territorial-location){max-width:100%;text-align:center}

@media(max-width:1180px) and (min-width:981px){
  .header-actions{gap:6px}
  .header-icon{padding-inline:12px}
}

@media(max-width:620px){
  .a11y-control-grid{grid-template-columns:1fr}
  :where(.primary-button,.secondary-button,.light-button,.geolocation-action,.territorial-location){width:auto;min-width:0}
  .archive-filter-form :is(.primary-button,.secondary-button){width:100%}
}

@media(max-width:340px){
  :where(.primary-button,.secondary-button,.light-button,.geolocation-action,.territorial-location){padding-inline:12px;font-size:.82rem}
}
