/* Stage 1 Quick Wins: text readability and accessible help presentation only. */
.route-desc { font-size: 11.5px; }
.route-detail-note, .stage2-route-cue, .meta-pill { font-size: 10.5px; line-height: 1.5; }
.side-foot, .plan-hint, .stage2-search-feedback { font-size: 11.5px; line-height: 1.6; }
.map-legend, .estimate-note { font-size: 10.5px; line-height: 1.5; }
.selected-route-panel .route-focus-operator,
.selected-route-panel .route-focus-disclaimer,
.selected-route-panel .stage2-operational-details p { font-size: 11px; line-height: 1.55; }
.selected-route-panel .route-focus-category small,
.selected-route-panel .route-focus-data small,
.selected-route-panel .stage2-detail-subtitle,
.selected-route-panel .stage2-detail-cell small { font-size: 10px; }

.quick-wins-help-dialog {
  width: min(540px, calc(100vw - 32px));
  max-height: min(82dvh, 720px);
  padding: 0;
  border: 1px solid #dce8e2;
  border-radius: 22px;
  background: #fff;
  color: #263a33;
  box-shadow: 0 24px 90px #152d2652;
  overflow: hidden;
}
.quick-wins-help-dialog::backdrop { background: #11251b8c; backdrop-filter: blur(4px); }
.quick-wins-help-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 22px 22px 15px; border-bottom: 1px solid #e8efeb;
}
.quick-wins-help-head h2 { margin: 0; font-size: 21px; letter-spacing: -.5px; line-height: 1.25; }
.quick-wins-help-head p { margin: 5px 0 0; color: #536b5f; font-size: 12px; line-height: 1.5; }
.quick-wins-help-close {
  flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid #e2eae5;
  border-radius: 12px; color: #345648; background: #f4f8f6;
  font-size: 24px; line-height: 1; cursor: pointer;
}
.quick-wins-help-close:hover { background: #e9f3ee; }
.quick-wins-help-close:focus-visible { outline: 3px solid #78baa0; outline-offset: 2px; }
.quick-wins-help-body { max-height: calc(min(82dvh, 720px) - 125px); overflow-y: auto; padding: 4px 22px 22px; overscroll-behavior: contain; }
.quick-wins-help-body p { margin: 15px 0 0; font-size: 13px; line-height: 1.7; color: #3c5147; }
@media (max-width: 820px) {
  .map-legend { font-size: 10px; }
  .route-desc { font-size: 11px; }
  .side-foot { font-size: 11px; }
  .quick-wins-help-dialog { max-height: min(88dvh, 760px); border-radius: 18px; }
  .quick-wins-help-head { padding: 18px 16px 13px; }
  .quick-wins-help-head h2 { font-size: 19px; }
  .quick-wins-help-body { max-height: calc(min(88dvh, 760px) - 112px); padding: 2px 16px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .quick-wins-help-dialog::backdrop { backdrop-filter: none; }
}
