/* Hubs do not load map or day-planner assets. */
.map-shortlist-banner { grid-column: 1 / -1; padding: 1.25rem; border-bottom: 1px solid var(--line); background: #eef8f9; }
.map-shortlist-banner h2 { margin-top: 0; }
.map-shortlist-banner[hidden], .map-unmapped[hidden], .map-day-section [hidden] { display: none; }
.map-unmapped { grid-column: 1 / -1; padding: 1rem; border-top: 1px solid var(--line); }
.map-unmapped h2 { font-size: 1.15rem; }
.map-result-card .button { margin-top: .75rem; white-space: normal; }
.map-result-card .button[aria-pressed="true"] { background: #e8f3ec; color: #16452c; border-color: #659b74; }
.map-day-section { scroll-margin-top: 6rem; content-visibility: visible; }
.day-plan-list { padding-left: 1.5rem; }
.day-plan-list li { padding: 1rem .5rem; border-bottom: 1px solid var(--line); break-inside: avoid; }
.day-plan-list h3 { margin-top: 0; }
.day-plan-actions, .day-stop-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.day-stop-actions button { padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--text); font: inherit; cursor: pointer; min-height: 44px; }
.day-stop-actions button:disabled, .day-plan-actions button:disabled { opacity: .55; cursor: default; }
.day-stop-actions button:focus-visible { outline: 3px solid #0072a3; outline-offset: 3px; }
.day-plan-actions { margin-top: 1.2rem; }
.day-plan-help, .day-no-pin { color: var(--muted); font-size: .94rem; }
.day-plan-status { min-height: 1.5em; font-weight: 700; }
.day-guide-url { display: none; overflow-wrap: anywhere; }
@media (min-width: 860px) {
  /* Fill the map row rather than stopping the results scroller at 520px. */
  .map-results { display: flex; flex-direction: column; min-height: 0; }
  .map-results h2 { flex: 0 0 auto; }
  .map-results__list { flex: 1 1 0; height: 0; min-height: 0; max-height: none; align-content: start; }
}
@media print {
  body.map-page { background: #fff !important; color: #000 !important; }
  body.map-page > :not(main), body.map-page main > :not(.map-day-section),
  .map-day-section .day-plan-actions, .map-day-section .day-stop-actions,
  .map-day-section .day-plan-help, .map-day-section .day-plan-status { display: none !important; }
  body.map-page main, .map-day-section, .map-day-section .wrap { display: block !important; content-visibility: visible !important; contain: none !important; padding: 0 !important; margin: 0 !important; width: auto !important; max-width: none !important; }
  .map-day-section a { color: #000; text-decoration: none; }
  .map-day-section .day-guide-url { display: block; font-size: 10pt; }
  .map-day-section li { break-inside: avoid; }
  .map-day-section h2 { font-size: 22pt; }
  .map-day-section h3 { font-size: 13pt; }
}
