#status-dialog {
  width: min(920px, calc(100vw - 32px));
}

.status-dialog-content h2,
.status-dialog-content p {
  margin: 0;
}

.status-dialog-content h2 {
  margin-bottom: 4px;
}

.status-dialog-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.dialog-head,
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dialog-head {
  margin-bottom: 16px;
}

.dialog-actions {
  margin-top: 18px;
  justify-content: flex-end;
}

.icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--field-bg);
  color: var(--field-ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: #3d4858;
  font-size: 13px;
}

.wide {
  grid-column: 1 / -1;
}

.vehicle-edit-section {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.vehicle-edit-section summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.vehicle-transponders-form {
  display: block;
}

.vehicle-transponders-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 10px;
}

.vehicle-transponders-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.vehicle-transponders-head button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--field-bg);
  color: var(--field-ink);
  cursor: pointer;
  padding: 8px 10px;
}

.vehicle-transponders-list {
  display: grid;
  gap: 8px;
}

.vehicle-transponder-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

body[data-theme="dark"] .vehicle-detail-map .leaflet-tile {
  filter: brightness(.58) contrast(1.18) saturate(1.35) hue-rotate(-8deg);
}

.fleet-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.muted {
  color: var(--muted);
}

.segment-control {
  display: inline-flex;
  border: 1px solid var(--field-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--field-bg);
}

.segment {
  border: 0;
  border-right: 1px solid var(--field-border);
  padding: 10px 14px;
  color: var(--field-ink);
  background: transparent;
  cursor: pointer;
}

.segment:last-child {
  border-right: 0;
}

.segment.active {
  color: #fff;
  background: var(--accent);
}

.transponders-table {
  min-width: 720px;
}

.transponders-table th:first-child,
.transponders-table td:first-child {
  width: 64px;
}

.transponders-table th:last-child,
.transponders-table td:last-child {
  width: 120px;
}

