/* Practical sticky navigation for every country and ride field guide. */
.field-practical-nav{
  position:sticky;
  top:68px;
  z-index:900;
  border-top:1px solid rgba(196,216,225,.72);
  border-bottom:1px solid #bfd3dd;
  background:rgba(249,252,253,.96);
  backdrop-filter:blur(12px);
  box-shadow:0 4px 18px rgba(20,63,82,.08);
}
.field-practical-nav .field-practical-nav-track{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:7px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:9px 2px 10px;
  scroll-padding-inline:18px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;
  scroll-snap-type:x proximity;
  overscroll-behavior-x:contain;
}
.field-practical-nav .field-practical-nav-track::-webkit-scrollbar{display:none}
.field-practical-nav a{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:34px;
  padding:7px 11px;
  border:1px solid #cfe1e7;
  border-radius:999px;
  color:#155b79;
  background:#eef7f9;
  font-size:13px;
  font-weight:790;
  line-height:1;
  white-space:nowrap;
  text-decoration:none;
  scroll-snap-align:center;
  transition:background .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease;
}
.field-practical-nav a:hover{
  color:#0c4864;
  background:#eaf4f7;
  border-color:#bfd7e1;
}
.field-practical-nav a:focus-visible{
  outline:3px solid #197fa5;
  outline-offset:2px;
}
.field-practical-nav a.active{
  color:#fff;
  background:#155d7f;
  border-color:#155d7f;
  box-shadow:0 3px 10px rgba(15,77,105,.18);
}
/* Sticky jumps should reveal the heading, not bury it under the two nav bars. */
.report-main [id],
.field-guide-report-main [id]{
  scroll-margin-top:132px;
}

/* Categorized POI directory reached by the sticky shortcuts. */
.field-service-directory{scroll-margin-top:128px}
.field-service-group{
  padding:4px 0 34px;
  scroll-margin-top:128px;
}
.field-service-group+.field-service-group{
  border-top:1px solid #e0e9ec;
  padding-top:28px;
}
.field-service-group-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px;
}
.field-service-group-head h3{
  margin:0;
  font-size:1.28rem;
  color:#173f50;
}
.field-service-group-head a{
  flex:0 0 auto;
  color:#176884;
  font-size:.82rem;
  font-weight:760;
  text-decoration:none;
}
.field-service-group-head a:hover{text-decoration:underline}
.field-stop-list{
  border-top:1px solid #dbe6ea;
}
.field-stop-row{
  padding:13px 0 14px;
  border-bottom:1px solid #e3ecef;
}
.field-stop-row-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
}
.field-stop-row-head h4{
  margin:0;
  color:#173f50;
  font-size:1rem;
  line-height:1.3;
}
.field-stop-row-head h4 a{text-decoration:none}
.field-stop-row-head h4 a:hover{text-decoration:underline}
.field-stop-row-head>span{
  flex:0 0 auto;
  color:#607984;
  font-size:.72rem;
  font-weight:760;
  text-transform:uppercase;
  letter-spacing:.045em;
}
.field-stop-row p{
  max-width:76ch;
  margin:.35rem 0 0;
  color:#314d59;
  font-size:.92rem;
  line-height:1.5;
}
.field-stop-row .field-stop-location{
  color:#6b7f88;
  font-size:.78rem;
}
.field-stop-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:7px;
}
.field-stop-actions a{
  color:#176884;
  font-size:.8rem;
  font-weight:720;
  text-decoration:none;
}
.field-stop-actions a:hover{text-decoration:underline}
.field-more-stops{
  margin-top:10px;
  padding-top:7px;
}
.field-more-stops>summary{
  cursor:pointer;
  color:#24566a;
  font-size:.86rem;
  font-weight:750;
}
.field-more-stops[open]>summary{margin-bottom:8px}

/* Apply the same readable report treatment to non-hand-authored guides. */
.field-guide-report-layout{align-items:start}
.field-guide-report-main{
  min-width:0;
  max-width:820px;
}
.field-guide-report-main>.reading-intro{
  font-size:1.1rem;
  line-height:1.75;
}
.field-guide-report-main>.reading-essentials,
.field-guide-report-main>.reading-chapter,
.field-guide-report-main>.handbook-place,
.field-guide-report-main>.handbook-questions,
.field-guide-report-main>.reading-source-index{
  max-width:820px;
}
.field-guide-report-main>.reading-chapter{
  padding-top:26px;
  margin-top:18px;
}
.field-guide-report-main>.reading-chapter>h2,
.field-guide-report-main>.handbook-place>h2,
.field-guide-report-main>.handbook-questions>h2,
.field-guide-report-main>.reading-source-index>h2{
  color:#143d4d;
  line-height:1.2;
}
.field-guide-report-layout>.side{
  position:sticky;
  top:132px;
}

.field-practical-nav + .report-mobile-toc{display:none!important}

@media(max-width:850px){
  .field-practical-nav{top:111px}
  .field-practical-nav .field-practical-nav-track{
    width:calc(100% - 18px);
    padding:8px 0 9px;
  }
  .field-practical-nav a{
    min-height:32px;
    padding:7px 10px;
    font-size:12px;
  }
  .field-guide-report-main{max-width:none}
  .field-guide-report-layout>.side{position:static}
  .report-main [id],
  .field-guide-report-main [id],
  .field-service-directory,
  .field-service-group{scroll-margin-top:164px}
}
@media(max-width:520px){
  .field-practical-nav .field-practical-nav-track{gap:6px}
  .field-practical-nav a{font-size:11.5px}
  .field-service-group-head{align-items:center}
  .field-stop-row-head{align-items:flex-start}
  .field-stop-row-head>span{padding-top:2px}
  .route-journey-stop{grid-template-columns:30px minmax(0,1fr);gap:9px}
  .journey-marker{width:27px;height:27px}
  .field-executive h2{font-size:1.55rem}
}
@media print{
  .field-practical-nav{display:none!important}
  .field-more-stops{display:block}
  .field-more-stops>summary{display:none}
}

/* Report-like executive summary: judgments first, database counts nowhere. */
.field-executive{
  max-width:820px;
  margin:0 0 34px;
  padding:0 0 26px;
  border-bottom:2px solid #c7dbe3;
  scroll-margin-top:132px;
}
.field-executive h2{
  margin:.15rem 0 13px;
  color:#143d4d;
  font-size:1.75rem;
}
.field-executive ul{
  display:grid;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}
.field-executive li{
  padding-left:16px;
  border-left:3px solid #8ab8c8;
  color:#2d4855;
  line-height:1.58;
}
.field-executive li strong{color:#153f50}

/* Generic evidence sidebar is removed; the guide gets the reading width back. */
.field-guide-no-aside{
  grid-template-columns:minmax(0,900px)!important;
  justify-content:center;
}
.field-guide-no-aside>.field-guide-report-main{
  max-width:900px;
}

/* Route & places reads as a journey instead of another stack of service cards. */
.reading-place-head{
  max-width:76ch;
  margin-bottom:16px;
}
.reading-place-head h2{margin-bottom:.45rem}
.reading-place-head p{
  margin:0;
  color:#607783;
  line-height:1.55;
}
.route-journey-line{
  display:flex;
  align-items:center;
  gap:8px;
  overflow-x:auto;
  padding:10px 0 14px;
  margin-bottom:8px;
  color:#31596a;
  font-size:.8rem;
  white-space:nowrap;
  scrollbar-width:none;
}
.route-journey-line::-webkit-scrollbar{display:none}
.route-journey-line span{
  padding:5px 8px;
  border-radius:999px;
  background:#edf5f7;
  border:1px solid #d5e5ea;
}
.route-journey-line i{
  color:#8da3ad;
  font-style:normal;
}
.reading-route-segments{
  max-width:76ch;
  margin:0 0 18px;
  padding:10px 0;
  border-top:1px solid #dce7eb;
  border-bottom:1px solid #dce7eb;
}
.reading-route-segments>summary{
  cursor:pointer;
  color:#176884;
  font-size:.86rem;
  font-weight:760;
}
.route-journey-stop{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:13px;
  max-width:82ch;
  padding:24px 0;
  border-bottom:1px solid #dde8ec;
}
.journey-marker{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  margin-top:1px;
  border-radius:50%;
  background:#e8f3f6;
  color:#17617e;
  font-size:.72rem;
  font-weight:820;
}
.route-journey-copy h3{
  margin:0 0 9px;
  color:#173f50;
  font-size:1.3rem;
}
.journey-services{
  margin:.65rem 0 0;
  color:#6a7f89;
  font-size:.82rem;
  line-height:1.45;
}
.reading-place-map{margin:8px 0 4px}


/* Compact Field Guides landing + unnumbered report outline. */
.field-guides-page>.pagehero{
  padding:24px 0 18px;
}
.field-guides-page>.pagehero h1{
  margin:5px 0 6px;
}
.field-guides-page>.pagehero p{
  margin:0;
}
.field-guide-picker-shell{
  padding:16px 0 12px!important;
}
.field-guide-picker-shell .filters{
  margin:0;
}
.field-guide-picker-shell #guide-status{
  min-height:0;
  margin:6px 0 0;
}
.guide-downloads-compact{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  margin-top:8px;
  color:#657984;
  font-size:.76rem;
}
.guide-downloads-compact>span{
  margin-right:2px;
  font-weight:700;
}
.guide-download-link{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:3px 8px;
  border:1px solid #c9dce4;
  border-radius:7px;
  background:#f8fbfc;
  color:#17617f;
  font-size:.73rem;
  font-weight:760;
  line-height:1;
  text-decoration:none;
}
.guide-download-link:hover{
  background:#eaf4f7;
  border-color:#9fc3d1;
}
.guide-download-footer{
  padding:14px 0 18px;
  border-top:1px solid #dbe6ea;
}
.guide-download-footer>.wrap{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.guide-download-footer strong{
  color:#536d78;
  font-size:.78rem;
}
.guide-download-footer .guide-downloads-compact{
  margin:0;
}
.guide-download-footer .guide-downloads-compact>span{
  display:none;
}

/* Once a guide is selected, get from its title to the sticky shortcuts quickly. */
#selected-guide>.pagehero,
#selected-guide .pagehero{
  padding:25px 0 17px;
}
#selected-guide .pagehero h1{
  margin:5px 0 7px;
}
#selected-guide .pagehero p:empty{
  display:none;
}
#selected-guide .stats{
  margin:11px 0;
}
#selected-guide .report-actions,
#selected-guide .guide-actions{
  margin-top:10px;
}
#selected-guide .field-practical-nav .field-practical-nav-track{
  padding-top:7px;
  padding-bottom:8px;
}

/* The contents rail is an outline, not a numbered list. */
.report-toc{
  padding-top:14px;
}
.report-toc ul{
  list-style:none;
  margin:0;
  padding:0;
}
.report-toc>ul>li{
  margin:0 0 10px;
}
.report-toc>ul>li>a{
  font-weight:780;
}
.report-toc li ul{
  margin:5px 0 0 9px;
  padding-left:10px;
  border-left:1px solid #dbe6ea;
}
.report-toc li ul li{
  margin:3px 0;
}
.report-toc li ul a{
  color:#5a707b;
  font-size:.79rem;
  line-height:1.25;
}
.report-toc-extra{
  padding-top:6px;
}
.report-section{
  display:block;
  padding:4px 0 28px;
}
.report-section+.report-section{
  padding-top:24px;
}
.report-section-copy h3{
  margin-bottom:11px;
}
.report-part{
  margin-bottom:52px;
}
.report-part-head{
  margin-bottom:22px;
}
.report-part-head>span{
  display:none;
}
.report-part-head h2{
  margin-top:0;
}

/* Keep every shortcut visually consistent: practical and structural links are all pills. */
.field-practical-nav a,
.field-practical-nav a.field-practical-link{
  background:#eef7f9;
  border-color:#cfe1e7;
}
.field-practical-nav a.active{
  background:#155d7f;
  border-color:#155d7f;
}

@media(max-width:850px){
  .field-guides-page>.pagehero{
    padding:19px 0 13px;
  }
  .field-guide-picker-shell{
    padding:12px 0 8px!important;
  }
  #selected-guide>.pagehero,
  #selected-guide .pagehero{
    padding:20px 0 13px;
  }
  .guide-download-footer{
    padding:11px 0 14px;
  }
}
