
.searchable-select-options {
  max-height: 150px;
  overflow-y: auto;
}

.searchable-select-option {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 5px 8px;
  color: #334155;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

button.searchable-select-option {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  text-align: left;
}

.searchable-select-option:hover {
  background: #f2f7ff;
}

.searchable-select-option input {
  width: 14px;
  height: 14px;
  min-height: 14px;
}

.report-entity-menu input[type="search"] {
  width: 100%;
  min-height: 36px;
  margin-bottom: 8px;
}

.report-entity-options {
  max-height: 180px;
  overflow-y: auto;
}

.report-entity-option {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 5px 6px;
  border-radius: 8px;
  color: #334155;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.report-entity-option:hover {
  background: #f2f7ff;
}

.report-entity-option input {
  width: 14px;
  height: 14px;
  min-height: 14px;
}

#reportsView .field-help-button {
  width: 14px !important;
  min-width: 14px !important;
  height: 14px !important;
  min-height: 14px !important;
  margin-left: 6px !important;
  border-radius: 50% !important;
  font-size: 9px !important;
  line-height: 1;
}

.field-help-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.template-download-row {
  grid-column: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-height: 30px;
  padding: 0;
  margin-left: auto;
  border: 0;
  background: transparent;
}

.entity-template-row {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 10px 12px;
  gap: 10px;
  align-self: stretch;
  min-height: 46px;
  box-shadow: 0 8px 18px rgba(7, 27, 52, 0.04);
}

#entitiesView > .entity-template-row {
  grid-column: 1 / -1;
  grid-row: 1;
}

.entity-template-row .template-download-button {
  flex: 0 0 auto;
}

.template-download-button {
  min-height: 28px;
  padding: 0 9px;
  border-radius: 8px;
  color: #1f64ff;
  font-size: 9px;
}

.template-progress {
  flex: 0 0 70px;
  min-width: 70px;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4edf8;
  display: none;
}

.template-progress.active {
  display: block;
}

.template-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #1f64ff, #13c8dc);
  transition: width 160ms ease;
}

.template-status-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 50;
  width: min(280px, 70vw);
  padding: 8px 10px;
  border: 1px solid #dbe6f5;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(7, 27, 52, 0.14);
  margin: 0;
  color: #61708a;
  font-size: 12px;
  font-weight: 750;
  display: none;
}

.template-status-popover.success,
.template-status-popover.failed {
  padding: 7px 9px;
  border-radius: 9px;
}

.template-status-popover.success {
  color: #065f46;
  background: #dcfce7;
  display: block;
}

.template-status-popover.failed {
  color: #9f1239;
  background: #ffe4e6;
  display: block;
}

#editorsView {
  grid-template-rows: auto minmax(0, 1fr) !important;
  gap: 8px !important;
  align-content: stretch !important;
}

#editorsView > .execution-panel:first-child {
  min-height: 0 !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
}
