.carly-signature-editor {
  overflow: hidden;
  border: 1px solid #d1d5db;
  border-radius: 7px;
  background: #fff;
}

.carly-signature-toolbar {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px 7px;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}

.carly-signature-toolbar button {
  min-width: 28px;
  height: 27px;
  margin: 0;
  padding: 2px 7px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #374151;
  font: 600 0.78rem/1 inherit;
  cursor: pointer;
}

.carly-signature-toolbar button:hover,
.carly-signature-toolbar button:focus-visible {
  border-color: #cbd5e1;
  background: #fff;
  outline: none;
}

.carly-signature-toolbar .signature-link-button {
  min-width: auto;
  color: #2563eb;
  font-weight: 600;
}

.carly-signature-content {
  min-height: 88px;
  padding: 9px 10px;
  color: #1f2937;
  font: 400 0.88rem/1.45 inherit;
  overflow-wrap: anywhere;
  outline: none;
}

.carly-signature-content:focus {
  box-shadow: inset 0 0 0 1px #93c5fd;
}

.carly-signature-content:empty::before {
  content: attr(data-placeholder);
  color: #9ca3af;
  pointer-events: none;
  white-space: pre-line;
}
