
.nested-data-table th {
  color: #71809d;
  font-size: 9px;
  text-transform: uppercase;
}

.checkbox-stack {
  max-height: 145px;
  overflow-y: auto;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafd;
}

.master-delete-panel {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.disabled-field {
  opacity: 0.48;
}

.disabled-field input,
.disabled-field select,
.disabled-text {
  cursor: not-allowed;
  filter: grayscale(0.5);
}

.config-instruction {
  grid-column: 1 / -1;
  margin-top: 0;
}

#peopleControlsForm {
  grid-template-columns: repeat(5, minmax(145px, 1fr));
  align-items: end;
  gap: 10px;
}

#peopleControlsForm label {
  min-width: 0;
  gap: 5px;
  line-height: 1.15;
}

#peopleControlsForm input,
#peopleControlsForm select {
  width: 100%;
  min-width: 0;
}

#peopleControlsForm .form-row-break {
  grid-column: 1 / -1;
  height: 0;
}

#peopleControlsForm label:has(.fetch-convention-input) {
  grid-column: span 1;
}

#peopleControlsForm label:has(.fetch-convention-input) {
  min-width: 0;
}

#peopleControlsForm .fetch-convention-input {
  min-height: 34px;
  padding: 8px 9px;
  font-size: 12px;
}

.fetch-volume-card {
  align-self: start;
  padding: 14px;
  max-height: 220px;
}

.fetch-volume-card .entity-form {
  grid-template-columns: 220px auto auto auto;
  align-items: end;
  gap: 10px;
}

#fetchEntitySelect {
  width: 220px;
  max-width: 220px;
}

.volume-inline-switch {
  white-space: nowrap;
}

.fetch-volume-card .section-title {
  margin-bottom: 8px;
}

.leader-file-control-card {
  align-self: start;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 155px 170px;
  align-items: end;
  gap: 10px;
  padding: 12px 14px;
}

.leader-file-control-card .section-title {
  margin-bottom: 0;
}

.leader-file-control-card h3 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.leader-file-control-card #volumeFileDetailsButton {
  width: 170px;
  min-width: 170px;
}

.leader-file-control-card .leader-file-date-field {
  margin: 0;
  min-width: 0;
}

.boat-admin-grid-wrap {
  height: 255px;
  max-height: 255px;
  overflow-y: auto;
}

.admin-export-button {
  margin-bottom: 10px;
}

.compact-section-title {
  margin-bottom: 10px;
}

.duplicate-row td {
  background: #ff1f1f !important;
  color: #ffffff !important;
  font-weight: 900;
}

.duplicate-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #7f0000;
  color: #ffffff;
  font-size: 10px;
  text-transform: uppercase;
}

.ticket-detail-box {
  display: grid;
  gap: 6px;
  max-height: 180px;
  overflow-y: auto;
  padding: 10px;
  border-radius: 10px;
  background: #f8fafc;
}

.ticket-detail-box p {
  margin: 0 0 8px;
  white-space: pre-wrap;
}

.attachment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.attachment-list a {
  padding: 5px 8px;
  border: 1px solid #dbe6f5;
  border-radius: 8px;
  background: #ffffff;
  color: #1f64ff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.bug-dropzone {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px dashed #b7c8de;
  border-radius: 12px;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  color: #50617d;
}

.bug-dropzone span {
  color: var(--muted);
  font-weight: 600;
}

.master-confirm-card {
  max-width: 520px;
}

.delete-target-list {
  max-height: 220px;
  overflow-y: auto;
  margin: 0;
  padding: 10px 10px 10px 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
}
