.km-mobile-menu { display: none; }
.guide-page { max-width: 1180px; }
.guide-hero { position: relative; overflow: hidden; }
.guide-hero > span {
  display: inline-flex;
  padding: .75rem;
  border-radius: .85rem;
  background: #e6fbf4;
  color: #2eaa82;
}
.guide-links, .guide-metrics { display: flex; flex-wrap: wrap; gap: .55rem; margin-block: 1rem; }
.guide-links a, .guide-metrics span {
  background: #f0fcf8;
  border: 1px solid #daf3eb;
  border-radius: .75rem;
  color: #2b8064;
  padding: .65rem .8rem;
}
.guide-links a:hover { background: #e1faf2; }
.guide-metrics strong { display: block; }
.guide-card {
  background: white;
  color: #1d3b31;
  border: 1px solid #e0f0eb;
  border-radius: 1rem;
  padding: clamp(.9rem, 3vw, 1.6rem);
  margin-block: .8rem;
  box-shadow: 0 8px 26px #2b80640a;
}
.guide-card summary, .km-mobile-menu summary { cursor: pointer; font-weight: 700; }
.guide-card h2, .guide-card h3 { margin-top: 0; }
.guide-card dt { margin-top: .8rem; }
.guide-card dd { margin-left: 0; }
.guide-example { background: #f0fcf8; border-left: 3px solid #34bd92; padding: .8rem; }
.rank-table small, .local-highlights small { display: block; font-weight: 400; }
.rank-table th:nth-child(2) { min-width: 180px; }
.rank-number {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  padding-inline: .25rem;
  border-radius: .6rem;
  background: #ebfcf6;
  color: #297d61;
  font-weight: 750;
}
.rank-cities { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); gap: .5rem; }
.rank-cities a { display: flex; align-items: center; gap: .5rem; padding: .6rem; border: 1px solid #e0f0eb; border-radius: .7rem; }
.rank-cities a > :last-child { margin-left: auto; white-space: nowrap; }
.local-highlights { margin-block: 1rem; }
.local-highlights .page-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,235px),1fr)); gap: .8rem; }
.local-highlights ol { padding-left: 1.25rem; }
.local-highlights li + li { margin-top: .55rem; }
.power-chart { display: flex; align-items: flex-end; gap: 1px; height: 140px; background: #f5fdfb; padding: 8px; margin-bottom: 1rem; }
.power-chart span { height: var(--bar); background: #4fcba3; flex: 1; min-width: 0; border-radius: 2px 2px 0 0; }
.power-table { max-height: 23rem; margin-top: .6rem; overflow: auto; }
#power-calculator output { font-weight: 750; }
@media (max-width: 740px) {
  .header { position: relative; z-index: 1001; justify-content: space-between; }
  .header > nav, .header > .site-install { display: none !important; }
  .km-mobile-menu { display: block; margin-left: auto; }
  .km-mobile-menu summary {
    display: flex; align-items: center; gap: .5rem; min-height: 44px;
    padding: .5rem .75rem; color: #2b8064; background: #f0fcf8; border-radius: .65rem;
  }
  .km-mobile-links {
    position: absolute; inset-inline: 12px; top: 100%;
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .4rem;
    max-height: 70dvh; overflow: auto; padding: .7rem; background: white;
    border: 1px solid #e0f0eb; border-radius: .75rem; box-shadow: 0 12px 25px #1d4a3b33;
  }
  .km-mobile-links a { display: flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem; color: #1d3b31; }
  .km-mobile-links a[aria-current="page"] { color: #34bd92; background: #f0fcf8; border-radius: .5rem; }
}
.map-route-shortcut { display: none; }
@media (max-width: 740px) {
  .map-route-shortcut {
    display: inline-flex; align-items: center; gap: .4rem; min-height: 40px;
    padding: .4rem .65rem; background: white; border: 1px solid #e0f0eb;
    border-radius: .65rem; color: #2b8064; font-weight: 700;
  }
}
