.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 760px) {
  .nav-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
    padding-bottom: 0;
  }

  .nav-list button {
    min-width: 0;
    padding: 9px 4px;
    text-align: center;
    white-space: normal;
  }

  .segmented {
    width: 100%;
    max-width: 100%;
  }

  .table-scroll .data-table {
    display: table;
    min-width: 720px;
  }
}

.protocol-field {
  min-width: 0;
  margin: 0;
  border: 1px solid #cbd4d0;
  border-radius: 5px;
  padding: 9px 12px 11px;
}

.protocol-field legend {
  padding: 0 4px;
  font-size: 13px;
  font-weight: 650;
}

.protocol-options {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 24px;
}

.secret-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.secret-input {
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  background: #f2f5f4;
}

dialog {
  max-height: calc(100vh - 28px);
  overflow: hidden;
}

.modal-shell {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 28px);
}

.modal-shell > header {
  flex: 0 0 auto;
}

.modal-body {
  overflow-y: auto;
}

.section-head > .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
