.quick-destinations {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 23px 10px;
  min-height: 36px;
  font-size: 11px;
}
.quick-destinations button {
  background: #e8efdf;
  color: #194c3a;
  border-radius: 8px;
  padding: 8px 10px;
  min-height: 36px;
  font-weight: 700;
  white-space: nowrap;
}
#offline-status {
  color: #627255;
  font-size: 10px;
  text-align: left;
  line-height: 1.35;
}
#offline-status[data-state='error'],
#offline-status-walk[data-state='error'] {
  color: #865331;
}
.detail-route-header {
  position: sticky;
  top: -18px;
  background: var(--cream);
  padding: 8px 0 10px;
  z-index: 2;
  border-bottom: 1px solid var(--line);
}
.detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.detail-heading > div {
  min-width: 0;
}
.detail-heading .favorite-button {
  flex: none;
}
.detail-category {
  display: block;
  font-size: 11px;
  color: #627255;
  margin: 0 0 5px;
}
.detail-route-header .detail-title {
  font-size: 23px;
  margin-bottom: 2px;
}
.detail-route-summary {
  font-size: 13px;
  color: #4b6348;
  margin: 8px 0 12px;
  line-height: 1.5;
}
.detail-route-header .primary {
  min-height: 46px;
}
.detail-caution {
  font-size: 12px;
  line-height: 1.5;
  background: #f2ead7;
  border-radius: 8px;
  padding: 9px 10px;
  margin: 10px 0 0;
  color: #6c562e;
}
.detail-content {
  padding-top: 13px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.walk-offline {
  font-size: 10px;
  color: #627255;
  line-height: 1.3;
  padding: 0 14px;
  margin: 0 0 5px;
}
.walking-navigation .walk-actions button {
  font-size: 11px;
}
@media (max-width: 760px) {
  .quick-destinations {
    padding: 0 17px 6px;
    gap: 8px;
    min-height: 32px;
  }
  .quick-destinations button {
    position: relative;
    min-height: 38px;
    padding: 6px 9px;
    font-size: 11px;
  }
  .quick-destinations button::before {
    content: '';
    position: absolute;
    inset: -3px 0;
  }
  /* Peek: a map-originated selection shows its card above a still-usable map; scrolling or the grip opens the sheet. */
  .sidebar.peek:not(.expanded) {
    height: min(300px, 42dvh);
  }
  .app:has(.sidebar.peek:not(.expanded)) .map-area {
    bottom: min(300px, 42dvh);
  }
  .sidebar.peek .panel-scroll {
    overflow: auto;
  }
  .sidebar.peek:has(.detail-view) :is(.search-wrap, .quick-destinations, .tabs) {
    display: none;
  }
  .detail-route-header {
    top: -13px;
    padding-top: 5px;
  }
  .detail-route-header .detail-title {
    font-size: 21px;
  }
  .detail-route-summary {
    font-size: 12px;
  }
  .walking-navigation .app:not(:has(.sidebar.expanded)) .map-area {
    bottom: 0;
  }
  .walking-navigation.walking-details .quick-destinations {
    display: none;
  }
}
@media (max-height: 560px) and (min-width: 600px) {
  .walk-offline {
    font-size: 9px;
    margin-bottom: 3px;
  }
  .walk-actions button {
    font-size: 10px;
  }
  .detail-route-header .detail-title {
    font-size: 18px;
  }
}
