#map { height: clamp(340px, 55dvh, 620px); background: #d9e9eb; }
#detailmap { background: #d9e9eb; }
header { gap: 10px; }
header select { max-width: 42%; }
.route { display: block; width: 100%; text-align: left; }
.route-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 8px; }
.route-list .card { margin: 0; }
.route p { margin: 9px 0 0; }
.subsection { margin: 15px 0; }
.subsection summary { cursor: pointer; padding: 8px 0; font-weight: 650; }
.subsection button { margin: 6px 4px 2px 0; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: 8px; }
.form-row input, .form-row select { width: 100%; }
.trip-status { min-height: 1.5em; }
.map-control { color: #234332; background: white; padding: 7px; }
button:focus-visible, summary:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #245e42; outline-offset: 2px; }
@media (max-width: 480px) {
  main { padding: 10px 10px 90px; }
  header { padding: 10px 12px; }
  header b { font-size: 23px; }
  dialog { width: calc(100% - 16px); padding: 12px; }
}
