.sig-panel {
  padding: 16px;
  max-width: 640px;
  font-size: 13px;
}

.sig-title {
  font-size: 16px;
  margin: 0 0 16px;
}

.sig-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;

  label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
  }

  select,
  input[type='text'],
  input[type='number'] {
    padding: 6px 8px;
    border: 1px solid #c6cbd2;
    border-radius: 4px;
    font-size: 13px;
    max-width: 320px;
  }
}

.sig-search {
  display: flex;
  gap: 8px;

  input {
    flex: 1;
  }
}

.sig-results {
  display: flex;
  flex-direction: column;
  border: 1px solid #eceff3;
  border-radius: 4px;
  margin-bottom: 12px;
  max-height: 200px;
  overflow-y: auto;
}

.sig-result-row {
  display: flex;
  gap: 12px;
  padding: 8px 12px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid #eceff3;

  &:hover {
    background: #fafbfc;
  }

  &:last-child {
    border-bottom: none;
  }
}

.sig-result-code {
  font-weight: 600;
}

.sig-entity-card {
  border: 1px dashed #c6cbd2;
  border-radius: 4px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
}

.sig-link {
  background: none;
  border: none;
  color: #2454ff;
  text-decoration: underline;
  cursor: pointer;
  font-size: 12px;
  padding: 0;
}

.sig-primary {
  padding: 7px 14px;
  border-radius: 4px;
  border: none;
  background: #2454ff;
  color: #fff;
  font-size: 13px;
  cursor: pointer;

  &:disabled {
    background: #a9bdf5;
    cursor: not-allowed;
  }
}

.sig-hint {
  font-size: 12px;
  color: #777;
  margin: 0 0 12px;
}

.sig-error {
  color: #a12b2b;
  background: #f3e3e3;
  border-radius: 4px;
  padding: 8px 12px;
  margin-bottom: 12px;
}

.sig-confirm {
  background: #eef4ff;
  border: 1px solid #cddcff;
  border-radius: 6px;
  padding: 12px 16px;
}

.sig-generated-list {
  margin: 8px 0 0;
  padding-left: 20px;
  max-height: 160px;
  overflow-y: auto;
}
