.gm-locations, .gm-location-report {
  min-width: 0;
  margin-block: .75rem;
  padding: .75rem;
  border: 1px solid var(--rule);
  border-radius: .55rem;
  background: var(--paper);
}
.gm-location-presence, .gm-location-campaign {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}
.gm-location-presence legend, .gm-location-card > summary, .gm-location-report > summary {
  color: var(--ink);
  font-size: .9rem;
  font-weight: 650;
}
.gm-locations p, .gm-location-report-body > p {
  color: var(--sub);
  font-size: .8rem;
  margin-block: .35rem .6rem;
}
.gm-location-count, .gm-location-grid label {
  display: grid;
  align-content: start;
  gap: .3rem;
  min-width: 0;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 550;
}
.gm-location-count {
  grid-template-columns: minmax(0, auto) minmax(3.3rem, auto);
  justify-content: start;
  align-items: center;
  column-gap: .6rem;
  margin-block: .65rem .4rem;
}
.gm-locations select, .gm-brief .gm-locations input:not([type="range"]) {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  min-width: 0;
  padding: .4rem .55rem;
  border: 1px solid var(--rule);
  border-radius: .35rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.gm-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}
.gm-location-card, .gm-location-result {
  min-width: 0;
  margin-top: .45rem;
  border: 1px solid var(--rule);
  border-radius: .45rem;
  background: var(--surface, var(--paper));
}
.gm-location-result { padding: .65rem; }
.gm-location-card > summary, .gm-location-report > summary {
  box-sizing: border-box;
  min-height: 44px;
  padding: .7rem .55rem;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.gm-location-report > summary { padding-inline: 0; }
.gm-location-body { padding: 0 .55rem .6rem; }
.gm-location-body h3, .gm-location-result :is(h3, h4) {
  margin: .7rem 0 .35rem;
  overflow-wrap: anywhere;
  font-size: .88rem;
}
.gm-location-result > h3 { margin-top: 0; }
.gm-location-campaign, .gm-location-campaign-result {
  margin-block: .5rem;
  padding: .5rem;
  border: 1px solid var(--rule);
  border-radius: .35rem;
}
.gm-location-campaign legend, .gm-location-campaign-result > strong {
  padding-inline: .2rem;
  color: var(--ink);
  font-size: .8rem;
}
.gm-location-campaign-result > p {
  margin: .25rem .2rem;
  color: var(--sub);
  font-size: .75rem;
  overflow-wrap: anywhere;
}
.gm-location-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.gm-locations :is(.gm-location-actions button, .gm-location-remove, .gm-location-presence button) { min-height: 44px; }
.gm-location-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .4rem .75rem;
  margin: .35rem 0 .6rem;
}
.gm-location-stats div { min-width: 0; padding-block: .28rem; border-bottom: 1px solid var(--rule); }
.gm-location-stats dt, .gm-location-stats dd > small { color: var(--sub); font-size: .73rem; overflow-wrap: anywhere; }
.gm-location-stats dd { margin: .2rem 0 0; color: var(--ink); font-size: .88rem; font-weight: 650; overflow-wrap: anywhere; }
.gm-location-stats dd > small { display: block; margin-top: .12rem; font-weight: normal; }
.gm-location-report-body .gm-text-button { min-height: 44px; }
@media (max-width: 480px) {
  .gm-location-grid { grid-template-columns: 1fr; }
  .gm-locations select, .gm-brief .gm-locations input:not([type="range"]) { min-height: 44px; }
}
