.atlas-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:not(:focus) { clip-path: inset(50%); }
.atlas-search-header .page-intro { padding: clamp(1.2rem, 2.8vw, 2.6rem) 0 1.15rem; }
.atlas-search-header .page-intro h1 { max-width: 25ch; margin: .25em 0 .35em; font-size: clamp(2.05rem, 4.4vw, 3.75rem); }
.atlas-search-header .page-intro h1 em { white-space: normal; }
.atlas-search-header .page-intro p:last-child { margin: 0; }
.atlas-search-header .atlas-filters {
  display: block;
  padding: clamp(1rem, 2.4vw, 1.7rem);
  background: #e9edf9;
  border-color: #c0cbee;
  border-radius: .75rem;
}
.atlas-filters fieldset { display: block; min-width: 0; }
.atlas-filter-main, .atlas-filter-extra {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.atlas-filter-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: .75rem; }
.atlas-filter-main .field, .atlas-filter-extra .field { margin: 0; min-width: 0; }
.atlas-filter-main .city-status { margin: .35rem 0 0; }
.atlas-filter-main .city-status:empty { display: none; }
.atlas-filter-main .city-options { z-index: 5; }
.atlas-filters select, .atlas-filters input[type='search'] { min-height: 3rem; background: #fff; }
.atlas-filter-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .15rem .85rem; margin-top: .7rem; }
.atlas-filter-toolbar .checkbox { min-height: 2.75rem; display: flex; align-items: center; gap: .55rem; margin: 0; }
.atlas-filter-toolbar input[type='checkbox'] { width: 1.15rem; height: 1.15rem; accent-color: var(--blue); }
.atlas-reset { min-height: 2.75rem; padding: 0 .35rem; border: 0; background: transparent; color: var(--blue); font: inherit; font-weight: 700; cursor: pointer; }
.atlas-reset:hover { text-decoration: underline; }
.atlas-more-filters { margin-top: .3rem; border-top: 1px solid #c0cbee; }
.atlas-more-filters summary { padding: .65rem 0; color: var(--ink); font-weight: 700; cursor: pointer; }
.atlas-noscript { color: var(--muted); border-left: 3px solid var(--blue); padding-left: .75rem; }

.atlas-workspace { padding-top: clamp(1.35rem, 3vw, 2.4rem); }
.atlas-result-header { margin-bottom: 1.2rem; }
.atlas-result-header .results-top { padding: 0 0 .85rem; gap: 1rem; align-items: end; }
.atlas-result-header h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 .15rem; }
.atlas-result-header :is(h2, strong) { overflow-wrap: anywhere; }
.atlas-result-header .results-top > span { font-size: .82rem; line-height: 1.4; }
.atlas-views { display: none; }
.atlas-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 23rem); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.atlas-split:has(#atlas-tour-controls[hidden]) { grid-template-columns: minmax(0, 1fr); }
.atlas-map-panel:has(#atlas-tour-controls[hidden]) { display: none; }
.atlas-list-panel, .atlas-map-panel { min-width: 0; }
.atlas-list-panel .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin-top: 0; }
.atlas-list-panel .result-grid:empty { display: none; }
.atlas-list-panel .atlas-load-feedback:is([data-phase='ready'], [data-phase='pending']) { display: none; }
.atlas-list-panel .atlas-coverage { margin: 1.5rem 0; }
.atlas-list-panel .empty { margin-bottom: 1.25rem; }

.atlas-list-panel .salon {
  min-width: 0;
  padding: clamp(.9rem, 2.1vw, 1.3rem);
  border: 1px solid #c8d0e1;
  border-radius: .7rem;
  background: #fffdfa;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.atlas-list-panel .salon:focus-within { border-color: var(--blue); }
.salon-location { display: flex; flex-wrap: wrap; gap: .3rem .7rem; align-items: baseline; margin-bottom: .2rem; }
.salon-location .salon-group { font-size: .7rem; line-height: 1.25; margin: 0; }
.atlas-list-panel .salon h3 { margin: .45rem 0 .35rem; font-size: clamp(1.3rem, 2.6vw, 1.65rem); }
.atlas-list-panel .salon .address { min-height: auto; margin-bottom: .75rem; line-height: 1.4; font-size: .92rem; }
.atlas-list-panel .salon .tags { margin: 0 0 .65rem; }
.atlas-list-panel .salon .tags span { background: #eef0f7; color: #26374f; border: 0; border-radius: .24rem; padding: .27rem .44rem; }
.atlas-list-panel .atlas-badges { margin: 0 0 .65rem; }
.atlas-list-panel .atlas-badges:empty { display: none; }
.salon-actions { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: auto; gap: .15rem; }
.salon-actions .atlas-profile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .45rem;
  min-height: 2.75rem;
  padding: .4rem .65rem;
  border: 1px solid #acbce9;
  border-radius: .38rem;
  background: #e7eeff;
  color: #183cbb;
  font-weight: 750;
  text-decoration: none;
}
.salon-actions .atlas-profile-link:hover, .salon-actions .atlas-profile-link:active { color: white; background: var(--blue); border-color: var(--blue); }
.salon-direct-action { display: flex; min-height: 2.75rem; align-items: center; color: var(--muted); }
.salon-direct-action a { display: flex; align-items: center; gap: .3rem; min-height: 2.75rem; font-weight: 650; }
.salon-sources { border-top: 1px solid #d9dde4; margin-top: .35rem; padding-top: .25rem; }
.salon-sources summary { cursor: pointer; min-height: 2.7rem; padding: .55rem 0; font-size: .85rem; }
.salon-sources .salon-links, .salon-sources .evidence { margin-top: .15rem; padding-top: 0; }
.salon-sources .salon-links:empty { display: none; }

.atlas-map-panel {
  background: #f0f2fa;
  border: 1px solid #c0cbee;
  border-radius: .75rem;
  padding: clamp(.85rem, 2vw, 1.2rem);
}
.atlas-map-heading h2 { margin: 0 0 .3rem; font-size: 1.45rem; }
.atlas-map-heading p { margin: 0 0 .8rem; line-height: 1.38; font-size: .9rem; color: #43536a; }
.atlas-state-map {
  height: auto;
  width: min(100%, 320px);
  aspect-ratio: 400 / 580;
  margin: 0 auto;
  background: #e6ebf7;
  border-color: #aebddf;
}
.atlas-state-map svg { position: absolute; inset: 0; fill: #cbd5ed; stroke: #778cba; stroke-width: 1.7; }
.atlas-state-map .map-pin { width: clamp(1.7rem, 3vw, 2.1rem); height: clamp(1.7rem, 3vw, 2.1rem); min-width: 0; color: #182957; border-color: #8191b8; font-size: .66rem; }
.atlas-state-map .map-pin:is(:hover, :focus-visible, [aria-pressed='true']) { color: #fff; background: var(--blue); border-color: var(--blue); z-index: 3; }
.atlas-state-map .map-pin:focus-visible { outline-offset: 1px; }
.atlas-map-credit { margin: .45rem 0 .75rem; color: #43536a; font-size: .72rem; text-align: center; }
.atlas-map-panel .tour-panel { margin-top: .65rem; padding: .85rem; background: #fffdfa; color: var(--ink); border: 1px solid #c8d0e1; border-radius: .48rem; }
.atlas-map-panel .tour-panel :is(h3,p) { margin: 0 0 .25rem; }
.atlas-map-panel .tour-controls { display: flex; gap: .5rem; margin: .35rem 0 .5rem; }
.atlas-map-panel .tour-controls button { min-width: 2.75rem; min-height: 2.75rem; border-color: #8191b8; color: var(--blue); }
.atlas-map-panel #show-region { min-height: 2.75rem; padding: .35rem .7rem; }
.atlas-map-panel .map-list { margin-top: .65rem; }
.atlas-map-panel .map-list summary { min-height: 2.75rem; display: list-item; padding: .65rem 0; font-size: .92rem; cursor: pointer; }
.atlas-map-panel .state-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: .3rem; }
.atlas-map-panel .state-list button { display: flex; align-items: center; justify-content: space-between; min-height: 2.75rem; text-align: left; padding: .45rem .65rem; }
.atlas-map-panel .state-list button span { font-variant-numeric: tabular-nums; }

.atlas-search-header :is(button, summary, input, select):focus-visible,
.atlas-workspace :is(button, summary, a, h2):focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

@media (max-width: 1000px) { .atlas-list-panel .result-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 780px) {
  .atlas-split { grid-template-columns: minmax(0, 1fr); }
  .atlas-views:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem; margin-top: .6rem; padding: .25rem; background: #e9edf9; border: 1px solid #b7c4e8; border-radius: .6rem; }
  .atlas-views button { min-height: 2.75rem; border: 1px solid transparent; border-radius: .35rem; background: transparent; color: var(--blue); font: inherit; font-weight: 700; cursor: pointer; }
  .atlas-views button[aria-pressed='true'] { background: var(--blue); color: #fff; }
  .atlas-workspace[data-atlas-view='list'] .atlas-map-panel,
  .atlas-workspace[data-atlas-view='map'] .atlas-list-panel { display: none; }
}
@media (max-width: 530px) {
  .atlas-filter-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .atlas-filter-main .city-pick { grid-column: 1 / -1; }
  .atlas-filter-extra { grid-template-columns: minmax(0, 1fr); }
  .atlas-filters select { padding-inline: .45rem; font-size: .9rem; }
  .atlas-result-header .results-top { gap: .7rem; }
  .atlas-result-header .results-top > span { max-width: 8rem; font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .atlas-workspace, .atlas-search-header { scroll-behavior: auto; }
}
