.station-lead h1 { color: var(--report-heading); font-size: 28px; line-height: 36px; margin: 0; }
.station-panel {
  padding: 20px 24px;
  border: 0;
  border-radius: 16px;
  box-shadow: var(--report-shadow-panel);
}
.station-filters { display: flex; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.station-filters label, .station-form label { display: grid; gap: 4px; font-weight: 500; min-width: 0; }
.station-filters input, .station-filters select, .station-form input:not([type=checkbox]), .station-form select, .station-form textarea {
  width: 100%; min-height: 36px; padding-block: 8px; border: 1px solid var(--report-control-edge);
  border-radius: 8px; background: var(--report-canvas); color: var(--report-ink); font: inherit;
}
.station-filters input, .station-form input:not([type=checkbox]), .station-form textarea { padding-inline: 12px; }
.station-filters input { width: min(100%,288px); }
.station-form .report-filter { display: block; }
.station-filters > [role=status] { margin-inline-start: auto; color: var(--report-muted); padding-bottom: 8px; }
.station-scroll { overflow-x: auto; }
.station-table { width: 100%; min-width: 836px; border-collapse: collapse; }
.station-table th, .station-table td { padding: 12px; text-align: start; vertical-align: top; }
.station-table thead { color: var(--report-muted); background: var(--report-chart-surface); }
.station-table th:nth-child(2) { width: 27%; }
.station-tags { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.station-tags[hidden] { display: none; }
.station-tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px;
  background: var(--report-review-bg); color: var(--report-review); font-size: 12px; line-height: 20px;
}
.station-tag.is-primary { background: var(--report-selection); color: var(--report-action); font-weight: 600; }
.station-tag button {
  display: grid; place-items: center; min-width: 24px; min-height: 24px; padding: 0; border: 0;
  border-radius: 4px; background: transparent; color: inherit; cursor: pointer;
}
.station-tag button:hover { background: var(--report-surface); }
.station-types { min-inline-size: 0; display: grid; gap: 8px; padding: 0; margin: 0; border: 0; }
.station-types legend { margin-bottom: 4px; padding: 0; font-weight: 600; }
.station-table tbody tr:hover { background: var(--report-chart-surface); }
.station-table small { display: block; margin-top: 4px; color: var(--report-muted); font-weight: 400; overflow-wrap: anywhere; }
.station-coordinates { font-variant-numeric: tabular-nums; }
.station-switch { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 4px; background: transparent; color: var(--report-ink); cursor: pointer; white-space: nowrap; }
.station-switch span { display: inline-flex; align-items: center; width: 36px; height: 20px; border-radius: 12px; padding: 4px; background: var(--report-control-edge); }
.station-switch span::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: white; }
.station-switch[aria-checked=true] span { justify-content: end; background: var(--report-action); }
.station-switch b { font-size: 12px; font-weight: 500; }
dialog.station-editor { min-width: 0; width: min(544px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 24px; border: 0; border-radius: 12px; box-shadow: var(--report-shadow-panel); }
.station-form { display: grid; gap: 16px; }
.station-form h2, .station-form p, .station-form dl { margin: 0; }
.station-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.station-form label.station-check { display: flex; align-items: center; gap: 8px; }
.station-form textarea { resize: vertical; }
.station-form small { color: var(--report-muted); }
.station-lookup:not([hidden]) { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 12px; border-radius: 8px; background: var(--report-review-bg); }
.station-lookup dd { margin: 0; }
.station-error { color: var(--report-error); }
@media (max-width: 640px) {
  .station-panel, dialog.station-editor { padding: 16px; }
  .station-filters > [role=status] { margin: 0; }
}
@media (max-width: 460px) {
  .station-fields { grid-template-columns: 1fr; }
}

.station-actions { display: flex; gap: 8px; }
.station-actions .station-delete { color: var(--report-error); }
.station-actions .station-delete:hover { background: var(--report-error-bg); }
button.station-danger { background: var(--report-error); border-color: var(--report-error); color: var(--report-surface); }
button.station-danger:not(:disabled):hover { background: var(--report-error); color: var(--report-surface); }

.station-pagination:not([hidden]) {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 12px;
}
.station-pagination span { color: var(--report-muted); font-variant-numeric: tabular-nums; }
