/* Truckly v72 spacing pass: fixes navigation/header crowding and aligns Guides without changing data or actions. */
:root{--nav:82px}
.bottom-nav{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
  padding:0 max(18px,calc((100% - 708px)/2)) var(--safe);
  background:#fff7e7;
  border-top:1px solid #214b3b26;
  align-items:center;
}
.bottom-nav button{
  min-width:0;
  width:100%;
  min-height:66px;
  padding:5px 2px;
  gap:5px;
  border-radius:14px;
  color:var(--button-ink,#294934);
}
.bottom-nav button>span,
.bottom-nav .book-nav span{
  width:41px;
  height:36px;
  font-size:22px;
  line-height:1;
  border-radius:11px;
  box-shadow:none;
  transition:transform .18s ease;
}
.bottom-nav small{
  width:100%;
  max-width:100%;
  min-height:13px;
  font-size:11px;
  line-height:1.15;
  font-weight:700;
  letter-spacing:-.1px;
  text-align:center;
  white-space:nowrap;
}
.bottom-nav button.active{
  background:transparent;
  color:#214b3b;
}
.bottom-nav button.active>span{
  border:2px solid #214b3b;
  box-shadow:0 2px 0 #214b3b1c;
}
.bottom-nav button:focus-visible{outline-offset:-2px}
.bottom-nav .guide-nav{--button-color:#d1e5ba;--button-ink:#28593d}
.bottom-nav .guide-nav>span{background:var(--button-color)}
/* A less dense Local Guides introduction and clearly separated content sections. */
#guidesScreen{scroll-padding-top:20px}
#guidesScreen .guides-hero{
  gap:24px;
  padding:26px 30px;
  margin-bottom:24px;
  border-width:1px;
  box-shadow:3px 4px 0 #e1b56180;
}
#guidesScreen .guides-hero h1{
  font-size:clamp(30px,3.8vw,40px);
  letter-spacing:-.5px;
  line-height:1.13;
  margin:10px 0 14px;
}
#guidesScreen .guides-hero p{font-size:15px;line-height:1.55;margin:0;max-width:565px}
#guidesScreen .guides-sticker{gap:8px;padding:18px 12px;max-width:185px;justify-self:end}
#guidesScreen .guides-sticker b{font-size:22px}
#guidesScreen .guides-tabs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
  max-width:660px;
  gap:12px;
  margin:0 0 30px;
}
#guidesScreen .guides-tabs button{
  min-width:0;
  width:100%;
  min-height:48px;
  padding:10px 12px;
  margin:0;
  border-radius:13px;
  font-size:14px;
  line-height:1.25;
  text-align:center;
  white-space:nowrap;
}
#guidesScreen .guide-story-grid{gap:28px}
#guidesScreen .guide-story-copy{padding:24px}
#guidesScreen .guide-source-note{margin:0 0 22px}
/* Passport hierarchy: single featured summary, then distinct breathable sections. */
#guidePassport .passport-hero{
  gap:30px;
  padding:30px;
  margin:0 0 28px;
  border-width:1px;
  box-shadow:3px 4px 0 #e1b56180;
}
#guidePassport .passport-hero h2{font-size:clamp(25px,3vw,32px);line-height:1.18;margin:12px 0}
#guidePassport .passport-hero p{line-height:1.6;margin:0 0 18px}
#guidePassport .passport-stats{gap:10px}
#guidePassport .passport-stats div{padding:13px 16px;min-width:0}
#guidePassport .passport-challenges{
  gap:28px;
  padding:24px 26px;
  margin:0 0 28px;
  align-items:center;
  border-color:#214b3b36;
}
#guidePassport .challenge-count{min-width:96px;text-align:center}
#guidePassport .passport-panel{
  padding:28px;
  margin:0 0 28px;
  border-color:#214b3b30;
}
#guidePassport .passport-title h3{font-size:24px;line-height:1.2}
#guidePassport .passport-title p{margin:8px 0 20px;line-height:1.55}
#guidePassport #guideVisitForm{gap:10px}
#guidePassport #guideVisitForm label{margin:5px 0 0}
#guidePassport .passport-badges{gap:14px}
#guidePassport .passport-badge{gap:14px;padding:18px;align-items:center}
#guidePassport .passport-badge p{line-height:1.45;margin:6px 0 8px}
#guidePassport .badge-symbol{flex:none}
#guidePassport .passport-visits{gap:10px}
#guidePassport .passport-visits li{padding:15px;gap:16px}
#guidePassport .passport-privacy{max-width:850px;line-height:1.6;margin:4px 0 26px}
/* Improve discover card breathing room and horizontal filter spacing. */
.discovery-toolbar .filters{gap:10px}
.truck-cards{gap:20px}
.list-mode .truck-sheet{scrollbar-gutter:stable}
.neighborhood-intro{gap:32px}
#guidesScreen .guide-card-actions{gap:12px}
@media(max-width:749px){
  :root{--header:104px;--nav:80px}
  .topbar{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-rows:44px 32px;
    align-content:center;
    align-items:center;
    justify-content:stretch;
    gap:6px 12px;
    padding:8px 16px;
  }
  .topbar .brand{grid-column:1;grid-row:1;justify-self:start;min-width:0;font-size:25px}
  .topbar .header-actions{grid-column:2;grid-row:1;gap:10px;justify-self:end}
  /* These two destinations already exist in the bottom tab bar. */
  .topbar .header-actions .guides-launch,
  .topbar .header-actions .home-button{display:none}
  .topbar .header-actions .pager-launch{width:44px;min-width:44px;height:44px;padding:8px;justify-content:center}
  .topbar .header-actions .profile-menu .avatar{width:42px;height:42px}
  .topbar .location-pill{
    grid-column:1/-1;
    grid-row:2;
    justify-self:start;
    max-width:min(100%,245px);
    min-height:32px;
    padding:4px 12px;
    gap:8px;
    font-size:13px;
  }
  .bottom-nav{gap:4px;padding:0 12px var(--safe)}
  .bottom-nav button{min-height:62px;gap:5px;padding:5px 0}
  .bottom-nav button>span,.bottom-nav .book-nav span{width:38px;height:34px;font-size:21px}
  .bottom-nav small{font-size:10.5px;letter-spacing:-.15px}
  .discovery-toolbar{padding:12px 16px;gap:12px;grid-template-columns:minmax(0,1fr) auto}
  .discovery-toolbar .map-actions{gap:8px}
  .discovery-toolbar .filters{gap:10px;padding-block:3px 5px}
  .list-mode .truck-sheet{padding:24px 16px 36px;scrollbar-gutter:auto}
  .neighborhood-intro{margin-bottom:28px}
  .neighborhood-ribbon{margin-bottom:26px}
  .explore-kinds{gap:12px;margin:14px 0 22px}
  .explore-kinds button{padding:15px;gap:8px}
  .truck-cards{gap:16px}
  .truck-card{padding:14px;gap:14px}
  .page-screen{padding-left:18px;padding-right:18px}
  #guidesScreen .guides-hero{
    display:block;
    padding:4px 2px 0;
    margin:0 0 22px;
    background:transparent;
    border:0;
    box-shadow:none;
  }
  #guidesScreen .guides-hero small{font-size:10px;letter-spacing:1.3px}
  #guidesScreen .guides-hero h1{font-size:30px;line-height:1.13;margin:8px 0 10px}
  #guidesScreen .guides-hero p{font-size:14px;line-height:1.55;max-width:420px}
  #guidesScreen .guides-sticker{display:none}
  #guidesScreen .guides-tabs{gap:8px;margin:0 0 24px}
  #guidesScreen .guides-tabs button{padding:10px 4px;min-height:46px;font-size:13px}
  #guidesScreen .guide-story-grid{gap:22px}
  #guidesScreen .guide-story-copy{padding:20px}
  #guidePassport .passport-hero{padding:22px;gap:20px;margin-bottom:24px}
  #guidePassport .passport-hero h2{font-size:27px}
  #guidePassport .passport-stats{gap:8px}
  #guidePassport .passport-stats div{padding:12px 6px}
  #guidePassport .passport-stats span{font-size:11px;line-height:1.25;display:block}
  #guidePassport .passport-challenges{padding:20px;gap:16px;margin-bottom:24px}
  #guidePassport .passport-panel{padding:22px;margin-bottom:24px}
  #guidePassport .passport-badges{grid-template-columns:1fr;gap:12px}
  #guidePassport .passport-badge{padding:17px;gap:14px}
  #guidePassport .passport-privacy{margin:0 0 20px}
}
@media(max-width:375px){
  .topbar{padding-inline:12px;gap:6px}
  .topbar .brand{font-size:23px}
  .topbar .header-actions{gap:7px}
  .bottom-nav{padding-inline:6px;gap:2px}
  .bottom-nav small{font-size:9.5px}
  .bottom-nav button>span,.bottom-nav .book-nav span{width:36px;height:32px;font-size:20px}
  .discovery-toolbar{padding-inline:12px}
  .list-mode .truck-sheet{padding-inline:12px}
  .page-screen{padding-inline:14px}
  #guidesScreen .guides-hero h1{font-size:27px}
  #guidesScreen .guides-tabs button{font-size:12px}
  #guidePassport .passport-hero{padding:18px}
  #guidePassport .passport-panel{padding:18px}
  #guidePassport .passport-challenges{flex-wrap:wrap}
  #guidePassport .challenge-count{min-width:0}
}
@media(prefers-reduced-motion:reduce){
  .bottom-nav button>span{transition:none}
}