:root {
  color-scheme: light;
  font-family: Geist, system-ui, sans-serif;
  color: #172a32;
  background: #edf3f2;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(1100px, calc(100% - 48px)); margin: 55px auto; }
.page-header { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 24px; }
h1 { font-size: clamp(32px, 5vw, 49px); letter-spacing: -.05em; margin: 0; }
h2 { font-size: 22px; letter-spacing: -.025em; margin: 0 auto 0 0; }
p { margin: 5px 0 0; color: #4c646b; }
.status { border: 1px solid #c7d9d5; background: #e0ebe8; padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.status[data-tone="error"] { color: #832925; background: #faeae5; border-color: #ebc3bd; }
.panel { border: 1px solid #d2dfdc; background: white; border-radius: 13px; box-shadow: 0 2px 7px #172a3208; }
form { padding: 17px; display: grid; grid-template-columns: 1.5fr 1fr auto; align-items: end; gap: 14px; margin-bottom: 16px; }
label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; }
input, select, button { min-height: 40px; border-radius: 7px; font: inherit; padding: 8px 11px; }
input, select { width: 100%; min-width: 0; background: #f8fbfa; border: 1px solid #cbd9d5; color: #172a32; }
button { border: 1px solid #197463; background: #197463; color: white; font-weight: 650; cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
:focus-visible { outline: 2px solid #197463; outline-offset: 3px; }
.route { overflow: hidden; }
.filters { padding: 16px; display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.filters h2 { align-self: center; }
#map { height: clamp(340px, 57vh, 650px); background: #e1ece8; border-block: 1px solid #d2dfdc; }
.details { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 18px; }
dt { font-size: 13px; color: #4c646b; margin-bottom: 4px; }
dd { font: 500 14px "IBM Plex Mono", monospace; margin: 0; }
.notice { margin: 0; padding: 0 18px 16px; font-size: 14px; }
@media (max-width: 640px) {
  main { width: calc(100% - 24px); margin: 23px auto; }
  .page-header { flex-wrap: wrap; gap: 11px; margin-bottom: 15px; }
  form { grid-template-columns: 1fr; gap: 10px; }
  .filters h2 { flex: 1 0 100%; }
  .details { grid-template-columns: 1fr 1fr; }

}
