


#main { display: flex; flex-direction: column; gap: 14px; }
.g-top { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }

.routes .mini td.departs, .routes .mini td.arrives { white-space: nowrap; }
.routes .mini td.models { white-space: nowrap; }
.routes .mini td.state { text-align: left; }
.routes .mini tr:last-child td { border-bottom: 0; }
.routes .mini td.name { min-width: 9em; }

.routes .mini .note {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}



.sereno-one { padding: 0; display: flex; flex-direction: column; }
.sereno-one .one-link, .sereno-one .one-body {
  display: block;
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
}
.sereno-one .one-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sereno-one:has(.one-link:hover) { border-color: var(--accent); }
.sereno-one .big { margin: 2px 0 4px; }
.sereno-one .one-label { color: var(--text); }
.sereno-one .one-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-dark);
  letter-spacing: .04em;
  text-transform: none;
  font-weight: 600;
}
.sereno-one .one-hint svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.sereno-one .kv dd { overflow-wrap: anywhere; }
.sereno-one .one-where { display: block; font-weight: 400; color: var(--muted); font-size: .75rem; }
.sereno-one .attribution { margin: 0; padding: 0 14px 10px; font-size: .68rem; color: var(--muted); }



#routing-only { margin: 10px 0 0; }
#routing-only a { display: inline-block; padding: 12px 0; margin: -12px 0; }

@media (max-width: 900px) and (min-width: 641px) {
  .g-top { grid-template-columns: minmax(0, 1fr); }
}


@media (max-width: 640px) {
  .g-top { grid-template-columns: minmax(0, 1fr); }
  .routes .mini thead { display: none; }
  .routes .mini, .routes .mini tbody, .routes .mini tr { display: block; }
  .routes .mini tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
  }
  .routes .mini tr:last-child { border-bottom: 0; }
  .routes .mini td { display: block; border: 0; padding: 0; }
  .routes .mini td.name { grid-column: 1; grid-row: 1; }
  .routes .mini td.state { grid-column: 2; grid-row: 1; text-align: right; }
  .routes .mini td.departs, .routes .mini td.arrives, .routes .mini td.models {
    grid-column: 1 / -1;
    white-space: normal;
    color: var(--muted);
    font-size: .75rem;
  }
  .routes .mini td.departs::before, .routes .mini td.arrives:not(:empty)::before {
    content: attr(data-label) " ";
    font-weight: 600;
  }
  .routes .mini td.arrives:empty { display: none; }
  .routes .mini td.models { grid-column: 2; grid-row: 2; text-align: right; }
  .routes .mini td.departs { grid-column: 1; }
}



.main > .app-banner { border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 10px; }


.changes h3 { margin: 12px 0 2px; font-size: 1rem; }
.changes .change:first-child h3 { margin-top: 4px; }
.changes .change-meta { margin: 0 0 6px; color: var(--muted); font-size: .85em; }
.changes .change-list { margin: 0; padding-left: 1.2em; }
.changes .change-list li { margin: 3px 0; line-height: 1.45; overflow-wrap: anywhere; }
.changes .changes-more { margin-top: 12px; }
.changes .changes-more summary { cursor: pointer; color: var(--accent-dark); font-weight: 600; }



.models .models-line { margin: 2px 0 8px; color: var(--ink); font-size: .9rem; line-height: 1.45; }
.models .models-note { margin: 0 0 8px; color: var(--ink); font-size: .85rem; line-height: 1.45; }
.models .models-wrap { overflow-x: auto; }
.models .models-table td, .models .models-table th { white-space: nowrap; font-variant-numeric: tabular-nums; }
.models .models-table td:not(.run), .models .models-table th:not(:first-child) { text-align: right; }
.models .models-table tr:last-child td { border-bottom: 0; }
.models .quiet { margin: 6px 0 0; }
