body.is-authenticated #appView.full-map-mode.network-compact-mode .table-card,
body.is-authenticated #appView.full-map-mode.network-compact-mode .table-wrap,
body.is-authenticated #appView.full-map-mode.network-compact-mode .table-wrap table,
body.is-authenticated #appView.full-map-mode.network-compact-mode .table-wrap tbody,
body.is-authenticated #appView.full-map-mode.network-compact-mode .table-wrap tr,
body.is-authenticated #appView.full-map-mode.network-compact-mode .table-wrap td.map-workspace-cell {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
body.is-authenticated #appView.full-map-mode.network-compact-mode .table-wrap table {
  table-layout: fixed !important;
  width: 100% !important;
}
body.is-authenticated #appView.full-map-mode.network-compact-mode .network-map-workspace:not(.connections-map-workspace),
body.is-authenticated #appView.full-map-mode.network-compact-mode .network-map-workspace:not(.connections-map-workspace) .network-map-toolbar,
body.is-authenticated #appView.full-map-mode.network-compact-mode .network-map-workspace:not(.connections-map-workspace) .network-tool-strip {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
/* Network editor only. Loaded after the historical inline responsive rules. */
body.is-authenticated #appView.full-map-mode .network-map-workspace:not(.connections-map-workspace) {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) !important;
}
body.is-authenticated #appView.full-map-mode .network-map-workspace:not(.connections-map-workspace) .network-map-toolbar,
body.is-authenticated #appView.full-map-mode .network-map-workspace:not(.connections-map-workspace) .network-map-shell {
  min-width: 0 !important;
  max-width: 100% !important;
}
body.is-authenticated #appView.full-map-mode.network-compact-mode .network-map-workspace:not(.connections-map-workspace) .network-tool-strip {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 8px !important;
  min-width: 0 !important;
}
body.is-authenticated #appView.full-map-mode.network-compact-mode .network-map-workspace:not(.connections-map-workspace) .map-layer-label {
  flex: 0 1 220px !important;
  width: auto !important;
  max-width: 100% !important;
}
body.is-authenticated #appView.full-map-mode.network-compact-mode .network-map-workspace:not(.connections-map-workspace) .network-tool-strip .stops-map-actions {
  display: flex !important;
  flex: 1 1 680px !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  min-width: 0 !important;
  width: auto !important;
}
body.is-authenticated #appView.full-map-mode.network-compact-mode .network-map-workspace:not(.connections-map-workspace) .network-tool-strip .stops-map-actions button {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 34px !important;
  max-width: none !important;
  min-height: 34px !important;
  white-space: nowrap !important;
}
body.is-authenticated #appView.full-map-mode .network-map-info {
  min-width: 0;
  overflow-wrap: anywhere;
  overscroll-behavior: contain;
}
body.is-authenticated #appView.full-map-mode .network-map-workspace .network-sign-toggle {
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 auto !important;
  gap: 6px;
  white-space: nowrap;
  padding: 5px 8px;
  font-size: 12px;
}
body.is-authenticated #appView.full-map-mode .network-map-workspace .check-row input[type="checkbox"],
body.is-authenticated #appView.full-map-mode .network-map-workspace .network-sign-toggle input {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px;
}
body.is-authenticated #appView.full-map-mode .network-form-section,
body.is-authenticated #appView.full-map-mode .network-form-grid,
body.is-authenticated #appView.full-map-mode .network-form-grid label {
  min-width: 0;
}
body.is-authenticated #appView.full-map-mode .network-form-grid input:not([type="checkbox"]),
body.is-authenticated #appView.full-map-mode .network-form-grid select,
body.is-authenticated #appView.full-map-mode .network-form-grid textarea {
  max-width: 100%;
  min-width: 0;
}
@media (max-width: 700px) {
  body.is-authenticated #appView.full-map-mode.network-compact-mode .network-map-workspace:not(.connections-map-workspace) .network-tool-strip .stops-map-actions {
    flex: 1 1 100% !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 5px !important;
    scrollbar-width: thin;
  }
  body.is-authenticated #appView.full-map-mode.network-compact-mode .network-map-workspace:not(.connections-map-workspace) .network-map-shell {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    height: auto !important;
  }
  body.is-authenticated #appView.full-map-mode.network-compact-mode .network-map-workspace:not(.connections-map-workspace) .network-map-viewport {
    min-height: 320px !important;
    height: clamp(320px, 55dvh, 520px) !important;
  }
}

/* Four infrastructure rows; numbering belongs to its own sign, on the same line. */
body.is-authenticated #appView.full-map-mode .network-sign-section .network-sign-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 88px !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}
body.is-authenticated #appView.full-map-mode .network-sign-section .check-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6px !important;
  min-width: 0 !important;
  min-height: 34px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
body.is-authenticated #appView.full-map-mode .network-sign-section .network-sign-row > input {
  width: 100% !important;
  min-width: 0 !important;
  height: 34px !important;
  box-sizing: border-box !important;
}
