
.break-type-menu button {
  width: 100%;
  min-height: 30px;
  justify-content: flex-start;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  background: #fff !important;
  color: var(--ink) !important;
  box-shadow: none;
  text-align: left;
}

.break-type-menu button:hover {
  background: #eff6ff !important;
}

/* Final volume alignment guard */
.workspace.volume-fixed-view #fetchVolumePanel,
#fetchVolumePanel {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  gap: 4px !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
}

.workspace.volume-fixed-view #fetchVolumePanel .fetch-volume-card,
#fetchVolumePanel .fetch-volume-card {
  order: 1 !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding-bottom: 6px !important;
  align-self: stretch !important;
}

.workspace.volume-fixed-view #fetchVolumePanel .leader-file-control-card,
#fetchVolumePanel .leader-file-control-card {
  order: 2 !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  align-self: stretch !important;
  transform: none !important;
}

.workspace.volume-fixed-view #fetchVolumePanel .volume-result-panel,
#fetchVolumePanel .volume-result-panel {
  order: 3 !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  margin: 4px 0 0 !important;
  align-self: stretch !important;
}

.workspace.volume-fixed-view #fetchVolumePanel .volume-inline-status:empty,
#fetchVolumePanel .volume-inline-status:empty {
  display: none !important;
}

/* Final LMS assessment alignment */
#lmsConfigForm {
  display: grid !important;
  grid-template-columns: 210px 230px 124px 118px 124px 96px 126px 138px !important;
  column-gap: 12px !important;
  row-gap: 8px !important;
  align-items: end !important;
}

#lmsConfigForm label,
#lmsConfigForm label:has(select),
#lmsConfigForm label:has(input),
#lmsConfigForm .searchable-select {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

#lmsConfigForm select,
#lmsConfigForm input,
#lmsConfigForm button {
  min-height: 38px !important;
  height: 38px !important;
  max-height: 38px !important;
}

#lmsConfigForm button {
  padding-inline: 10px !important;
  white-space: nowrap !important;
}

#lmsConfigForm .message {
  grid-column: 1 / -1 !important;
}

/* Global control sizing standardization */
:root {
  --boat-standard-control-width: 220px;
  --boat-standard-control-height: 38px;
}

label:has(select[id*="Entity"]),
label:has(select[name="entityId"]),
label:has(select[id*="Procedure"]),
label:has(select[name="procedureName"]),
label:has(input[type="file"]),
.searchable-select {
  width: var(--boat-standard-control-width) !important;
  max-width: var(--boat-standard-control-width) !important;
}

label:has(select[id*="Entity"]) select,
label:has(select[name="entityId"]) select,
label:has(select[id*="Procedure"]) select,
label:has(select[name="procedureName"]) select,
label:has(input[type="file"]) input[type="file"],
.searchable-select,
.searchable-select-trigger {
  min-height: var(--boat-standard-control-height) !important;
  height: var(--boat-standard-control-height) !important;
  max-height: var(--boat-standard-control-height) !important;
}

label:has(input[type="file"]) input[type="file"],
label:has(select[id*="Entity"]) select,
label:has(select[name="entityId"]) select,
label:has(select[id*="Procedure"]) select,
label:has(select[name="procedureName"]) select {
  width: 100% !important;
  max-width: 100% !important;
}
