:root { font-family: var(--brand-body); color: var(--brand-asphalt); background: var(--brand-white); }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 3px; }
[hidden] { display: none !important; }
.stop-skip { position: absolute; top: 8px; left: 10px; padding: 10px; background: var(--brand-gold); transform: translateY(-160%); z-index: 3; }
.stop-skip:focus { transform: none; }
.stop-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.stop-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 61px; padding: 0 12px 0 5px; background: var(--brand-evergreen); color: var(--brand-cream); }
.stop-header :focus-visible { outline-color: var(--brand-focus-on-dark); }
.stop-brand { display: flex; align-items: center; white-space: nowrap; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.stop-brand img { width: 65px; height: auto; }
.stop-brand b { color: var(--brand-gold); }
.stop-header nav { display: flex; align-items: center; gap: 10px; }
.stop-header nav a { display: flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.stop-header [aria-current], .stop-header nav a:hover { color: var(--brand-gold); }
.stop-main { max-width: 1160px; margin: auto; padding: 16px 14px 28px; }
.stop-hero { padding: 24px 18px; border-radius: var(--brand-radius-panel); border: 1px solid #cbd3bd; background: #ecefe0; }
.stop-kicker { margin: 0 0 6px; color: #285647; font-size: .875rem; font-weight: 700; }
.stop-hero h1 { color: var(--brand-evergreen); font: 400 clamp(2.2rem, 7vw, 4.3rem)/1.03 var(--brand-display); margin: 0; }
.stop-hero > p:not(.stop-kicker) { max-width: 60ch; margin: 12px 0 0; font-size: 1.0625rem; line-height: 1.45; color: #35493e; }
.stop-filter { margin: 19px 0; }
.stop-filter label { display: block; font-size: .95rem; font-weight: 700; margin-bottom: 5px; }
.stop-filter input { width: 100%; max-width: 31rem; min-height: 48px; padding: 8px 12px; border-radius: var(--brand-radius-sm); border: 1px solid #809582; background: white; color: var(--brand-asphalt); }
.stop-filter-buttons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.stop-filter-buttons button, .stop-subnav a { min-height: 44px; padding: 8px 10px; border: 1px solid #a5b6a1; background: #f2f4e9; color: #1d4b3e; border-radius: 6px; font-size: .9375rem; font-weight: 650; cursor: pointer; }
.stop-filter-buttons button[aria-pressed="true"] { background: var(--brand-evergreen); color: var(--brand-white); border-color: var(--brand-evergreen); }
#stop-results { color: var(--brand-on-light-muted); font-size: .9375rem; margin: 8px 0 0; }
.stop-group { margin: 25px 0; scroll-margin-top: 14px; }
.stop-group h2, .stop-feature-note h2 { color: var(--brand-evergreen); font: 400 1.7rem/1.1 var(--brand-display); margin: 0 0 12px; }
.stop-grid, .stop-detail-grid { display: grid; gap: 12px; }
.stop-card { min-width: 0; padding: 15px; border-radius: var(--brand-radius-card); border: 1px solid #d1dacb; background: #fff; display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 14px; }
.stop-card h2 { color: var(--brand-on-light-muted); font-size: .95rem; margin: 0; font-weight: 700; }
.stop-card h3 { color: var(--brand-evergreen); font: 400 1.42rem/1.15 var(--brand-display); margin: 0; }
.stop-list-link { color: inherit; text-decoration: none; }
.stop-list-link:hover h3 { text-decoration: underline; }
.stop-card p, .stop-feature-note p { margin: 0; line-height: 1.48; color: #35493e; }
.stop-card .stop-theme { font-size: .9rem; font-weight: 650; margin-top: 4px; }
.stop-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.stop-card .stop-actions { margin-top: auto; }
.stop-hero .stop-actions, .stop-feature-note .stop-actions { margin-top: 15px; }
.stop-primary, .stop-secondary { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 6px 11px; text-decoration: none; border: 1px solid transparent; border-radius: 6px; font-size: .9375rem; font-weight: 650; }
.stop-primary { background: var(--brand-evergreen); color: var(--brand-white); }
.stop-secondary { border-color: #a5b6a1; background: #f2f4e9; color: #1d4b3e; }
.stop-secondary:hover, .stop-subnav a:hover { border-color: var(--brand-evergreen); }
.stop-primary:hover { background: #225c4b; }
.stop-breadcrumb, .stop-subnav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.stop-breadcrumb { gap: 14px; margin: 0 0 8px; font-size: .9375rem; color: #285647; }
.stop-breadcrumb a { display: flex; align-items: center; min-height: 44px; }
.stop-subnav { margin: 15px 0 17px; }
.stop-subnav a { display: inline-flex; align-items: center; text-decoration: none; }
.stop-feature-note { padding: 16px; margin-top: 16px; background: #ecefe0; border-radius: var(--brand-radius-card); }
.stop-card .stop-nearby h3 { margin: 6px 0 0; font: 700 1rem var(--brand-body); }
.stop-nearby summary { padding: 11px 0; min-height: 44px; color: var(--brand-evergreen); font-weight: 650; cursor: pointer; }
.stop-nearby ul { margin: 0; padding: 0; list-style: none; }
.stop-nearby li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 3px 0; border-bottom: 1px solid #dce3d6; }
.stop-nearby li > div { min-width: 0; overflow-wrap: anywhere; }
.stop-nearby li small { display: block; color: var(--brand-on-light-muted); }
.stop-place-map { min-width: 48px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--brand-evergreen); font-weight: 650; }
.stop-map-credits { font-size: .875rem; color: var(--brand-on-light-muted); margin: 15px 0; }
.stop-next { margin-top: 19px; }
.stop-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px 24px; background: var(--brand-evergreen); color: var(--brand-cream); padding: 12px; font-size: .9rem; }
.stop-footer a { display: flex; align-items: center; min-height: 44px; }
@media (max-width: 360px) {
  .stop-header nav { gap: 6px; }
  .stop-header nav a { font-size: .78rem; }
  .stop-brand { font-size: 1.12rem; }
  .stop-brand img { width: 55px; }
  .stop-filter-buttons { gap: 4px; }
  .stop-filter-buttons button { padding-inline: 7px; font-size: .86rem; }
}
@media (min-width: 640px) {
  .stop-main { padding: 23px 22px 38px; }
  .stop-header { padding-inline: 18px; }
  .stop-header nav { gap: 24px; }
  .stop-header nav a { font-size: 1rem; }
  .stop-brand { font-size: 1.55rem; }
  .stop-brand img { width: 80px; }
  .stop-hero { padding: 28px; }
  .stop-grid, .stop-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 950px) { .stop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .stop-header { min-height: calc(56px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) max(9px, env(safe-area-inset-right)) 0 max(5px, env(safe-area-inset-left)); gap: 5px; }
  .stop-brand { font-size: 1.17rem; }
  .stop-brand img { width: 53px; }
  .stop-header nav { gap: 1px; }
  .stop-header nav a { justify-content: center; min-width: 44px; padding-inline: 5px; font-size: .94rem; }
  .stop-header nav [aria-current] { box-shadow: inset 0 -2px var(--brand-gold); }
  .stop-main { padding: 17px 15px 29px; }
  .stop-hero { padding: 0; border: 0; background: none; }
  .stop-hero h1 { font-size: clamp(1.95rem, 8.1vw, 2.5rem); line-height: 1.08; }
  .stop-hero > p:not(.stop-kicker) { margin-top: 6px; font-size: 1rem; line-height: 1.43; }
  .stop-directory-heading { margin-bottom: 12px; }
  .stop-directory-heading > p { color: var(--brand-on-light-muted); }
  .stop-filter { margin: 0 0 12px; }
  .stop-filter input { max-width: none; min-height: 48px; border-radius: 9px; font-size: 1rem; }
  .stop-filter-buttons { display: grid; grid-template-columns: .89fr 1.11fr .86fr 1.14fr; gap: 4px; }
  .stop-filter-buttons button { min-width: 0; padding: 6px 2px; font-size: clamp(.84rem, 3.65vw, .97rem); }
  #stop-results { margin-top: 6px; }
  .stop-group { margin: 19px 0 24px; }
  .stop-group h2 { margin: 0; padding-bottom: 9px; border-bottom: 1px solid #bdcbbd; font-size: 1.3rem; }
  .stop-grid, .stop-detail-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stop-list-card { display: block; padding: 0; border: 0; border-bottom: 1px solid #dce3d6; border-radius: 0; background: transparent; }
  .stop-list-card :is(.stop-list-description, .stop-actions) { display: none; }
  .stop-list-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 62px; padding: 9px 9px 9px 1px; }
  .stop-list-link::after { content: ''; width: 8px; height: 8px; transform: rotate(-45deg); border-right: 2px solid #3e6153; border-bottom: 2px solid #3e6153; }
  .stop-list-link h3 { font: 700 1.12rem/1.18 var(--brand-body); }
  .stop-list-link .stop-theme { margin-top: 3px; font-size: .94rem; font-weight: 400; line-height: 1.24; }
  .stop-breadcrumb { min-height: 44px; margin: -9px 0 2px; gap: 11px; }
  .stop-breadcrumb span { padding-left: 11px; border-left: 1px solid #bac8b9; }
  .stop-guide-heading .stop-actions { margin-top: 12px; }
  .stop-hero .stop-actions .stop-secondary { background: transparent; }
  .stop-guide-heading + .stop-subnav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 2; display: grid; grid-template-columns: .86fr 1.38fr .78fr .78fr; gap: 3px; margin: 10px -15px 0; padding: 5px 15px; border-block: 1px solid #d4ded1; background: var(--brand-white); }
  .stop-guide-heading + .stop-subnav a { justify-content: center; min-width: 0; padding-inline: 2px; border-color: transparent; background: none; white-space: nowrap; }
  .stop-guide-heading + .stop-subnav a:hover,
  body:has(#trails:target) .stop-subnav a[href="#trails"], body:has(#visit:target) .stop-subnav a[href="#visit"],
  body:has(#fuel:target) .stop-subnav a[href="#fuel"], body:has(#stay:target) .stop-subnav a[href="#stay"] { background: #e8eee1; }
  .stop-detail-grid .stop-card { gap: 7px; padding: 17px 0 19px; border: 0; border-bottom: 1px solid #dce3d6; border-radius: 0; background: none; scroll-margin-top: 59px; }
  .stop-detail-grid :is(a,summary) { scroll-margin-top: 65px; }
  .stop-detail-grid .stop-card h2 { color: #4a6257; font-size: .875rem; }
  .stop-detail-grid .stop-card h3 { font-size: 1.47rem; }
  .stop-detail-grid .stop-card .stop-nearby h3 { font-size: 1rem; }
  .stop-detail-grid .stop-card p { line-height: 1.42; }
  .stop-detail-grid .stop-actions { margin-top: 3px; gap: 4px 9px; }
  .stop-detail-grid .stop-actions .stop-secondary { padding-inline: 0; border: 0; background: none; text-decoration: underline; }
  #fuel > h2, #stay > h2 { font: 400 1.47rem/1.15 var(--brand-display); color: var(--brand-evergreen); }
  .stop-footer { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}
