
/* Final editor console alignment overrides */
#editorProductionUploadForm #editorProcedureRequestPicker {
  width: 220px !important;
  max-width: 220px !important;
}

#editorProductionUploadForm #editorProcedureRequestTrigger.searchable-select-trigger {
  width: 220px !important;
  min-height: 36px !important;
  justify-content: flex-start !important;
  background: #f8fafd !important;
  border: 1px solid #d8e1ef !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  text-align: left !important;
}

#editorProductionUploadForm .verify-title-row {
  display: block !important;
  width: 100% !important;
  padding-right: 190px !important;
}

#editorProductionUploadForm .verify-title-row .verify-action-stack {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  align-items: end !important;
  text-align: right !important;
  width: max-content !important;
}

#saveEditorVerifyCorrectionsButton {
  justify-self: end !important;
}

.editor-break-controls {
  order: initial;
}

.editor-break-widget:has(.editor-break-controls:not(.hidden)) {
  bottom: 20px;
}

.hidden-native-select {
  display: none !important;
}

/* Focused control cleanup pass */
.compact-download-button {
  width: auto !important;
  min-width: 136px !important;
  max-width: 178px !important;
  padding-inline: 12px !important;
  white-space: nowrap !important;
}

#downloadTodayVolumeButton {
  width: 174px !important;
  min-width: 174px !important;
  max-width: 174px !important;
  padding-inline: 10px !important;
  text-align: center !important;
}

#downloadDistributionButton {
  width: 188px !important;
  min-width: 188px !important;
  max-width: 188px !important;
  padding-inline: 10px !important;
  text-align: center !important;
}

#fetchVolumeForm {
  grid-template-columns: 230px 112px 174px 118px !important;
  column-gap: 14px !important;
  row-gap: 8px !important;
  align-items: end !important;
  overflow: visible !important;
}

#fetchVolumeForm label:has(#fetchEntitySelect) {
  width: 230px !important;
  max-width: 230px !important;
}

#fetchEntitySelect {
  width: 230px !important;
  max-width: 230px !important;
}

#fetchVolumeForm button[type="submit"] {
  width: 112px !important;
  min-width: 112px !important;
  padding-inline: 10px !important;
  white-space: nowrap !important;
}

#distributionForm {
  grid-template-columns: minmax(190px, 260px) 126px 188px minmax(120px, 1fr) !important;
}

#distributionForm button[type="submit"] {
  width: 126px !important;
  min-width: 126px !important;
  padding-inline: 10px !important;
  white-space: nowrap !important;
}

.searchable-select-trigger {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 34px 0 12px !important;
  border-radius: 10px !important;
  background: #f8fafd !important;
  border: 1px solid #d8e1ef !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

@media (max-width: 1180px) {
  .workspace.volume-fixed-view #fetchVolumePanel {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto minmax(0, 1fr);
  }

  .workspace.volume-fixed-view #fetchVolumePanel .volume-result-panel {
    grid-column: 1;
  }

  #fetchVolumeForm {
    grid-template-columns: 230px 112px 174px 118px !important;
  }
}
