:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --control-accent: #0066cc;
  --control-focus: #0071e3;
  --control-track: #e9e9ed;
  --control-muted: #53545b;
  --muted: #536761;
  --teal: #195e53;
  --line: #d6dcd3;
  --paper: #f5f5f7;
  --white: #fff;
  --sea: #cbe4df;
  --serif: Georgia, 'Iowan Old Style', 'AppleMyungjo', 'Batang', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  font: 15px/1.5 var(--sans);
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role='button']:focus-visible,
summary:focus-visible {
  outline: 3px solid #287e9e;
  outline-offset: 3px;
}
button {
  border: 0;
  background: transparent;
}
a {
  color: var(--teal);
  text-underline-offset: 3px;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3 {
  word-break: keep-all;
  line-height: 1.22;
}
small,
.muted {
  color: var(--muted);
}
button .icon,
.text-btn .icon {
  flex: none;
}
.icon {
  vertical-align: middle;
  flex-shrink: 0;
}
.skip,
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip:focus {
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px;
  z-index: 20;
  background: white;
}
#top {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 8;
}
.top-inner {
  max-width: 1480px;
  margin: auto;
  height: 70px;
  padding: 0 clamp(22px, 4.1vw, 74px);
  display: flex;
  align-items: center;
  gap: clamp(25px, 4vw, 65px);
}
.brand {
  font: 700 33px/1 var(--serif);
  letter-spacing: -2.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0;
  color: #233e36;
  flex: none;
}
.brand img {
  margin-right: 9px;
}
.brand span {
  font-weight: 400;
}
.top-inner nav,
.top-tools {
  display: flex;
  align-items: center;
}
.top-inner nav {
  align-self: stretch;
  gap: 22px;
}
.top-inner nav button {
  position: relative;
  font-size: 14px;
  font-weight: 650;
  padding: 0 4px;
  color: #58665e;
}
.top-inner nav .active {
  color: var(--teal);
}
.top-inner nav .active:after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 0;
  height: 3px;
  background: var(--teal);
}
.top-tools {
  margin-left: auto;
  gap: 15px;
}
.primary,
.subtle,
.map-return,
.text-btn,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.primary,
.subtle {
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
  min-height: 39px;
  padding: 8px 16px;
}
.primary {
  background: var(--teal);
  color: white;
  border: 1px solid var(--teal);
}
.primary:hover {
  background: #104c43;
}
.subtle {
  background: var(--white);
  border: 1px solid #c6d0c6;
}
.subtle:hover,
.icon-btn:hover,
.text-btn:hover,
.search-hit:hover {
  background: #ecf0e8;
}
.text-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 6px;
  border-radius: 5px;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 7px;
}
.mobile-menu {
  display: none;
}
.wrap {
  max-width: 1480px;
  margin: auto;
  padding: 38px clamp(22px, 4.1vw, 74px) 22px;
}
.page-heading,
.section-head,
.source-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.page-heading {
  margin: 0 0 23px;
}
.page-heading h1 {
  font-size: clamp(30px, 3vw, 43px);
  letter-spacing: -0.065em;
  font-weight: 760;
}
.page-heading p {
  color: var(--muted);
  font-size: 15px;
  margin: 8px 0 0;
}
.atlas-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(255px, 1fr);
  gap: 20px;
}
.atlas-pane,
.venue-side,
.library-surface {
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  background: var(--white);
}
.atlas-pane {
  position: relative;
  background: var(--sea);
  min-height: 460px;
  isolation: isolate;
  box-shadow: inset 0 0 0 6px #ffffff30;
}
.map-top,
.map-foot {
  position: absolute;
  left: 21px;
  right: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}
.map-top {
  top: 19px;
}
.map-foot {
  bottom: 15px;
  align-items: end;
}
.map-top > *:not(.compass),
.map-foot > * {
  pointer-events: auto;
}
.map-mode,
.map-return {
  font-size: 12px;
  color: #284b43;
  letter-spacing: 0.01em;
  font-weight: 650;
  border: 1px solid #9ebdb3;
  border-radius: 20px;
  padding: 7px 12px;
  background: #f5faf0e8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.map-return {
  border-radius: 7px;
  background: #fcfcf2;
}
.map-credit {
  font-size: 11px;
  color: #335a56;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.compass {
  display: flex;
  align-items: center;
  flex-direction: column;
  color: #385e55;
  font: 700 10px var(--serif);
  gap: 2px;
}
.map-art,
.map-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.map-art {
  background-image:
    linear-gradient(#99bfb637 1px, transparent 1px), linear-gradient(90deg, #99bfb637 1px, transparent 1px);
  background-size: 55px 55px;
}
.map-art [data-region],
.building-pin {
  cursor: pointer;
}
.map-art path[data-region]:hover {
  fill: #a7c7aa;
}
.map-annotations,
.traveler {
  pointer-events: none;
}
.region-label {
  font: 650 12px var(--sans);
  text-anchor: middle;
  fill: #4b6756;
  paint-order: stroke;
  stroke: #dfe4ca;
  stroke-width: 3px;
}
.sea-label {
  font: italic 13px var(--serif);
  fill: #68948e;
  letter-spacing: 3px;
}
.map-local .traveler {
  animation: travel 0.65s ease-out both;
}
@keyframes travel {
  from {
    transform: translate(-45px, -20px);
    opacity: 0.2;
  }
  to {
    transform: translate(0);
    opacity: 1;
  }
}
.map-error {
  position: absolute;
  top: 42%;
  padding: 22px;
  text-align: center;
  width: 100%;
  color: #244b43;
}
.venue-side {
  padding: 22px 23px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.small-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--teal);
  font-weight: 660;
}
.side-head h2 {
  font-size: 26px;
  letter-spacing: -1.4px;
  margin: 6px 0 4px;
}
.subline,
.venue-description span:not(.round-arrow) {
  font-size: 13px;
  color: var(--muted);
}
.subline span {
  margin: 0 3px;
}
.side-body {
  display: grid;
  align-content: start;
  gap: 10px;
}
.venue-card {
  overflow: hidden;
  width: 100%;
  padding: 0;
  text-align: left;
  border: 1px solid #d7daca;
  border-radius: 10px;
  transition: background 0.15s;
}
.venue-card:hover {
  border-color: #658b79;
  background: #f2f6eb;
}
.venue-picture {
  height: 87px;
  background: #e9eddf;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: radial-gradient(ellipse at 58% 52%, #e3e8d5 2%, transparent 63%);
}
.bch .venue-picture {
  background: #eee8d9;
  background-image: radial-gradient(ellipse at 57% 53%, #e4dbc7 2%, transparent 70%);
}
.venue-picture img {
  width: 175px;
  max-width: 85%;
  height: 87px;
  object-fit: contain;
}
.venue-description {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
}
.venue-description strong {
  display: block;
  letter-spacing: -0.035em;
  font-size: 16px;
}
.venue-description span:not(.round-arrow) {
  display: block;
  font-size: 12px;
  margin-top: 1px;
}
.round-arrow {
  width: 26px;
  height: 26px;
  border: 1px solid #ced7cb;
  border-radius: 100%;
  display: grid;
  place-items: center;
  color: #476958;
}
.hall-list {
  display: grid;
  gap: 5px;
}
.hall-choice {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 12px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hall-choice.chosen,
.hall-choice:hover {
  background: #e8eee3;
  border-color: #96b1a2;
}
.hall-summary {
  padding-top: 7px;
  display: grid;
  gap: 6px;
}
.hall-summary p,
.pick-help {
  font-size: 14px;
}
.to-list {
  justify-self: start;
}
.section-head h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 22px;
  letter-spacing: -0.06em;
}
.section-head h2 svg {
  color: var(--teal);
}
.home-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 27px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  color: #64766b;
  font: 700 17px var(--serif);
}
.home-foot i {
  font-size: 11px;
  font-weight: 400;
  margin-left: 8px;
}
.home-foot .text-btn {
  font: 13px var(--sans);
}
.shell-dialog {
  width: min(490px, calc(100% - 28px));
  max-height: 85dvh;
  position: fixed;
  padding: 0;
  border: 1px solid #c5d1c7;
  border-radius: 15px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 18px 80px #19362f40;
}
.shell-dialog::backdrop {
  background: #162d2b63;
}
.shell-dialog header {
  padding: 18px 22px 13px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.shell-dialog h2 {
  font-size: 22px;
  letter-spacing: -0.04em;
}
.dialog-content {
  padding: 19px 22px 24px;
}
.dialog-content > p {
  margin-bottom: 14px;
}
.dialog-content label,
.filter-bar label {
  display: grid;
  gap: 5px;
  font-size: 13px;
  font-weight: 650;
  margin: 10px 0;
}
.dialog-content input,
.filter-bar input,
.dialog-content select,
.filter-bar select,
.dialog-content textarea {
  width: 100%;
  border: 1px solid #bdcabe;
  background: #fff;
  border-radius: 6px;
  padding: 8px 10px;
  min-height: 39px;
  min-width: 0;
}
.dialog-content form > .primary {
  margin: 9px 0;
}
.dialog-content .toggle-auth {
  margin-top: 10px;
}
.location-line,
.version {
  color: #27574d;
  background: #eaf0e6;
  border-radius: 7px;
  padding: 7px 11px;
  font-size: 13px;
}
.location-line {
  display: flex;
  gap: 6px;
  align-items: center;
}
.version {
  display: inline-flex;
  align-items: center;
  align-self: center;
  white-space: nowrap;
}
.search-results {
  max-height: 45vh;
  overflow: auto;
}
.search-results h3 {
  font-size: 14px;
  margin: 15px 0 5px;
}
.search-hit {
  width: 100%;
  text-align: left;
}
.search-hit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
}
.search-hit small {
  display: block;
  font-size: 11px;
}
.form-error {
  color: #973d2b;
  font-weight: 600;
  font-size: 13px;
  white-space: pre-line;
  margin: 8px 0;
}
.form-error:empty {
  display: none;
}
.state-block {
  padding: 23px 10px;
  color: var(--muted);
}
.wrap.state-block {
  padding: 50px;
}
.filter-bar {
  display: flex;
  align-items: end;
  gap: 16px;
  padding: 14px 21px;
  background: #eff2e9;
  border-bottom: 1px solid var(--line);
}
.filter-bar label {
  flex: 1;
  margin: 0;
  min-width: 0;
}
.library-results {
  padding: 8px 21px 20px;
}
.results-count {
  font-weight: 650;
  font-size: 14px;
  margin: 12px 0;
}
.results-count span {
  font-weight: 400;
  color: var(--muted);
}
.library-results article,
.library-results details {
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.library-results summary {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
}
.library-results summary:after {
  content: '⌄';
  font-size: 16px;
}
.library-results summary strong {
  flex: 1;
}
.library-results summary b {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.meta-cell {
  color: var(--muted);
  font-size: 12px;
  min-width: 75px;
}
.library-results h3 {
  font-size: 17px;
  margin: 8px 0;
}
.library-results article p,
.detail p {
  font-size: 14px;
  margin: 6px 0;
}
.detail {
  background: #f2f4ed;
  padding: 12px 15px;
  margin-top: 12px;
  border-radius: 7px;
}
.detail pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.hash {
  overflow-wrap: anywhere;
}
.source-row a {
  flex: none;
  font-size: 13px;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
button:active:not(:disabled) {
  filter: brightness(0.96);
}
@media (min-width: 1500px) {
  .atlas-pane {
    min-height: 520px;
  }
  .venue-picture,
  .venue-picture img {
    height: 111px;
  }
  .venue-picture img {
    width: 222px;
  }
}
@media (max-width: 880px) {
  .top-inner {
    gap: 22px;
    padding: 0 20px;
  }
  .top-inner nav {
    gap: 8px;
  }
  .top-tools {
    gap: 7px;
  }
  .atlas-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(235px, 1fr);
    gap: 12px;
  }
  .venue-side {
    padding: 18px 15px;
  }
  .map-svg {
    object-fit: cover;
  }
  .page-heading {
    align-items: end;
  }
  .wrap {
    padding: 28px 22px 20px;
  }
}
@media (max-width: 680px) {
  .top-inner {
    height: 57px;
    padding: 0 14px;
    gap: 12px;
  }
  .brand {
    font-size: 28px;
  }
  .brand img {
    width: 28px;
    height: 28px;
    margin-right: 6px;
  }
  .top-inner nav button {
    display: none;
  }
  .top-inner nav button[data-nav='projects'] {
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    font-size: 13px;
  }
  .nav-search {
    display: none;
  }
  .mobile-menu {
    display: flex;
  }
  .top-tools {
    gap: 3px;
  }
  .wrap {
    padding: 24px 14px 14px;
  }
  .page-heading {
    gap: 7px;
    align-items: start;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .page-heading p {
    font-size: 13px;
    max-width: 245px;
  }
  .page-heading .subtle {
    font-size: 12px;
    padding: 7px 9px;
  }
  .atlas-grid {
    grid-template-columns: 1fr;
  }
  .atlas-pane {
    min-height: 320px;
  }
  .map-top,
  .map-foot {
    left: 12px;
    right: 12px;
  }
  .map-top {
    top: 11px;
  }
  .map-foot {
    bottom: 10px;
  }
  .map-mode {
    font-size: 11px;
    padding: 5px 8px;
  }
  .venue-side {
    padding: 17px;
  }
  .venue-side .side-body:has(.venue-card) {
    grid-template-columns: 1fr 1fr;
  }
  .venue-side .side-head h2 {
    font-size: 22px;
  }
  .venue-side .side-head .small-label {
    display: none;
  }
  .venue-side .side-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }
  .venue-side .subline {
    font-size: 12px;
  }
  .venue-picture,
  .venue-picture img {
    height: 72px;
  }
  .venue-description {
    padding: 8px;
  }
  .venue-description strong {
    font-size: 14px;
  }
  .venue-description span:not(.round-arrow) {
    font-size: 11px;
  }
  .round-arrow {
    display: none;
  }
  .section-head h2 {
    font-size: 19px;
  }
  .section-head .text-btn {
    font-size: 12px;
  }
  .home-foot {
    margin-top: 18px;
  }
  .home-foot i {
    display: none;
  }
  .filter-bar {
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px;
  }
  .filter-bar label {
    min-width: 125px;
  }
  .library-results {
    padding: 8px 13px 16px;
  }
  .library-results summary {
    gap: 6px;
    flex-wrap: wrap;
  }
  .meta-cell {
    min-width: 0;
  }
  .page-heading .version {
    white-space: normal;
    font-size: 11px;
  }
  .pair {
    grid-template-columns: 1fr;
  }
  .dialog-content {
    padding: 15px;
  }
  .source-row {
    flex-wrap: wrap;
  }
  .map-error {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.archive-link {
  margin: 18px 0;
  font-size: 13px;
}
.lab-fields {
  display: grid;
  gap: 6px;
}
.lab-fields[hidden] {
  display: none;
}
.lab-form label {
  display: block;
}
.lab-fields label {
  font-size: 13px;
}
.lab-fields input,
.lab-fields select {
  display: block;
  width: 100%;
  padding: 6px;
}
.lab-form fieldset {
  border: 1px solid var(--line);
  border-radius: 7px;
  margin: 10px 0;
}
.lab-table {
  width: 100%;
  margin: 14px 0;
  border-collapse: collapse;
}
.lab-table td,
.lab-table th {
  padding: 6px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-align: right;
}
.lab-table th:first-child {
  text-align: left;
}
@media (max-width: 680px) {
  .page-heading .search-open {
    white-space: nowrap;
    font-size: 0;
    min-width: 42px;
    min-height: 42px;
    padding: 10px;
    gap: 0;
  }
  .page-heading .search-open svg {
    width: 20px;
    height: 20px;
  }
  .mobile-menu,
  .venue-card,
  .search-hit,
  .top-inner nav button[data-nav='projects'] {
    min-height: 44px;
  }
}
.page-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.deadline-link {
  margin-top: 6px;
}
.pack-list details {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.pack-list summary {
  cursor: pointer;
  font-weight: 600;
}
.pack-list small {
  display: block;
  margin: 6px 0;
}
.condition-picker {
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 12px;
}
.condition-picker summary {
  cursor: pointer;
  font-size: 14px;
}
.condition-picker p {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0;
}
.preset-buttons,
.condition-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.preset-buttons button {
  font-size: 12px;
  background: #e9efe6;
  border-radius: 5px;
  padding: 5px 8px;
}
.condition-checks label,
.st-dialog .condition-checks label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 5px 4px;
  font-size: 13px;
}
.condition-checks input,
.dialog-content .condition-checks input {
  width: 16px;
  min-height: 16px;
  margin: 0;
}
.map-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.map-motion {
  font-size: 11px;
  color: #335a56;
}
.skip-map-motion .traveler {
  animation: none;
}

/* The page scrolls as a document. Region and city counts are navigation, while
   facility listings stay in the normal flow on a phone. */
.top-inner nav a {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 3px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
}
.top-inner nav a[aria-current] {
  color: var(--teal);
  box-shadow: inset 0 -2px var(--teal);
}
.home-wrap .page-heading h1 {
  font-size: clamp(32px, 3.25vw, 50px);
}
.directory-total {
  font-size: 14px;
  white-space: nowrap;
  color: var(--muted);
}
.directory-total strong {
  font-size: 20px;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}
.directory-total span {
  margin: 0 7px;
}
.region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.region-choice {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 9px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}
.region-choice small {
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.region-choice:hover,
.region-choice.selected {
  background: #e3eee3;
  border-color: #a5bda9;
}
.facility-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.facility-heading h2 {
  font-size: 23px;
  overflow-wrap: anywhere;
}
.facility-art {
  width: 82px;
  height: 48px;
}
.hall-choice,
.start-hall,
.map-return {
  text-decoration: none;
}
.venue-refs {
  font-size: 12px;
}
.venue-refs summary {
  cursor: pointer;
}
.venue-refs p {
  margin-top: 5px;
}
.directory {
  padding: 30px 0 32px;
  scroll-margin-top: 78px;
}
.directory .section-head {
  margin-bottom: 16px;
}
.directory-controls {
  display: flex;
  align-items: stretch;
  gap: 12px;
}
.directory-controls label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.directory-controls .directory-search {
  display: flex;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  max-width: 490px;
  flex: 1 1 0;
  min-width: 0;
}
.directory-search input {
  background: transparent;
  border: 0;
  padding: 11px 0;
  width: 100%;
  font-size: 14px;
}
.directory-search:focus-within {
  outline: 2px solid var(--teal);
}
.directory-search input:focus-visible {
  outline: 0;
}
.directory-count,
.search-count {
  color: var(--muted);
  font-size: 12px;
  margin: 12px 0 6px;
  font-variant-numeric: tabular-nums;
}
.venue-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
}
.directory-card {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 14px 4px 15px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.directory-card:hover {
  background: #ecf1e8;
}
.directory-card strong {
  font-size: 17px;
  letter-spacing: -0.03em;
}
.location-caption {
  font-size: 12px;
  color: var(--teal);
}
.facility-line {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  align-items: center;
}
.facility-line small {
  overflow-wrap: anywhere;
}
.directory-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 18px auto 0;
}
.directory-pages button {
  font-size: 13px;
}
.directory-note {
  color: var(--muted);
  padding: 12px 0;
}
.search-hit {
  text-decoration: none;
  color: inherit;
}
.search-hit small {
  display: block;
}
.national-pin {
  cursor: pointer;
}
@media (max-width: 880px) {
  .venue-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .region-grid {
    gap: 4px;
  }
  .region-choice {
    padding: 8px 6px;
    font-size: 13px;
  }
}
@media (max-width: 680px) {
  .venue-index {
    grid-template-columns: 1fr;
  }
  .directory-card {
    padding: 12px 2px;
  }
  .top-inner {
    gap: 12px;
  }
  .top-inner nav {
    gap: 9px;
  }
  .top-inner nav a {
    font-size: 13px;
  }
  .top-tools .search-open {
    min-width: 36px;
    padding: 8px;
  }
  .top-tools .search-open span {
    display: none;
  }
  .home-wrap .page-heading {
    display: block;
  }
  .home-wrap .page-heading p {
    max-width: none;
  }
  .directory-total {
    display: block;
    margin-top: 8px;
    font-size: 12px;
  }
  .directory-total strong {
    font-size: 14px;
  }
  .region-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .region-choice {
    font-size: 13px;
  }
  .directory-controls {
    flex-wrap: wrap;
  }
  .directory-search {
    min-width: 190px !important;
  }
  .directory {
    scroll-margin-top: 65px;
  }
  .venue-side .side-head {
    display: block;
  }
  .directory-controls label select {
    max-width: 120px;
  }
  .home-wrap .section-head h2 {
    font-size: 21px;
  }
}
.filter-bar label {
  min-width: 0;
}
.filter-bar select {
  max-width: 100%;
  text-overflow: ellipsis;
}
.source-facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 5px 16px;
  font-size: 14px;
}
.source-facts dt {
  color: var(--muted);
}
.source-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
/* A two-state preference filters the list as soon as it is switched. */
.directory-controls .directory-verify {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: normal;
  cursor: pointer;
}
.directory-verify input[role='switch'] {
  appearance: none;
  position: relative;
  width: 40px;
  height: 24px;
  min-height: 24px;
  flex: 0 0 40px;
  padding: 0;
  margin: 0;
  border: 1px solid #87878f;
  border-radius: 99px;
  background: #999aa2;
  cursor: pointer;
}
.directory-verify input[role='switch']::after {
  content: '';
  position: absolute;
  inset: 2px auto auto 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px #0003;
}
.directory-verify input[role='switch']:checked {
  border-color: var(--control-accent);
  background: var(--control-accent);
}
.directory-verify input[role='switch']:checked::after {
  transform: translateX(16px);
}
.map-motion[aria-pressed='true'] {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 650;
}
@media (prefers-reduced-motion: no-preference) {
  .directory-verify input[role='switch']::after { transition: transform 120ms ease-out; }
}
@media (forced-colors: active) {
  .directory-verify input[role='switch'] { appearance: auto; }
  .directory-verify input[role='switch']::after { display: none; }
}
