/* Scoped to the Locations menu; the rest of the navigation keeps its layout. */
.location-nav { color: var(--ink); }
.location-nav-form label { display: block; margin-bottom: 10px; font-size: 20px; font-weight: 650; letter-spacing: -.025em; }
.location-nav-field { display: flex; gap: 8px; }
.location-nav-field input { min-width: 0; flex: 1; min-height: 48px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper, #f7f5fa); padding: 12px 14px; color: var(--ink); font: inherit; font-size: 16px; }
.location-nav-field input:focus-visible { outline: 3px solid #d8ccff; outline-offset: 2px; }
.location-nav-status { margin: 10px 0 16px; color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.location-nav-label { margin: 0 0 8px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.location-nav-cities, .location-nav-results { list-style: none; padding: 0; margin: 0; }
.location-nav-state-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; max-height: min(58svh, 480px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 4px; }
.location-nav-state h3 { margin: 0 0 5px; font-size: 15px; letter-spacing: -.015em; }
.location-nav-state h3 a { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; color: var(--ink); text-decoration: none; font-weight: 650; }
.location-nav-state h3 .ic { width: 13px; height: 13px; color: var(--violet); }
.location-nav-cities a { display: block; min-height: 36px; padding: 7px 8px; margin-left: -8px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 14px; line-height: 1.4; }
.location-nav-state h3 a:hover, .location-nav-state h3 a:focus-visible { color: var(--violet); }
.location-nav-cities a:hover, .location-nav-cities a:focus-visible { background: #f1edff; color: var(--violet); }
.location-nav-results { max-height: 310px; overflow-y: auto; overscroll-behavior: contain; }
.location-nav-results a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 49px; border-radius: 13px; padding: 9px 12px; color: var(--ink); text-decoration: none; font-size: 16px; }
.location-nav-results li + li { border-top: 1px solid #f0edf4; }
.location-nav-results a span { color: var(--ink-2); font-size: 12px; text-align: right; }
.location-nav-results a:hover, .location-nav-results a:focus-visible { background: #f1edff; outline-offset: -2px; }
.location-nav-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 13px; }
.location-nav-footer a, .location-nav-more { color: var(--violet); font-size: 13px; font-weight: 600; text-decoration: none; }
.location-nav-footer a:first-child { display: inline-flex; gap: 8px; align-items: center; }
.location-nav-footer .ic { width: 15px; height: 15px; }
.location-nav-more { display: block; padding: 10px 12px 0; }
.location-nav [hidden] { display: none !important; }
@media (min-width: 1100px) {
  #panel-locations { width: min(980px, calc(100vw - 40px)); padding: 24px 28px; max-height: calc(100svh - 120px); overflow-y: auto; scrollbar-width: thin; }
  .location-nav-state-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 26px; max-height: none; overflow: visible; }
  .location-nav-state h3 { font-size: 16px; }
  .location-nav-cities a { font-size: 14px; min-height: 32px; padding-block: 5px; }
}
@media (max-width: 450px) {
  .location-nav-field { gap: 6px; }
  .location-nav-field .btn { padding-inline: 16px; }
  .location-nav-state-grid { gap: 14px 12px; }
}
