.st-imagekit .st-drop em {
  min-height: 120px;
}

.st-image-out {
  padding-top: 4px;
  border-top: 1px dashed #d3dce4;
}

.st-hint {
  color: #66778a;
  font-size: 13px;
}

.st-btn-sm {
  padding: 9px 16px;
  font-size: 14px;
}

.st-image-preview {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 12px;
  background-color: #eef2f5;
  background-image: linear-gradient(45deg, #dde4ea 25%, transparent 25%), linear-gradient(-45deg, #dde4ea 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #dde4ea 75%), linear-gradient(-45deg, transparent 75%, #dde4ea 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
}

.st-out-canvas {
  display: block;
  max-width: 100%;
  max-height: 520px;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(30, 39, 51, .15);
}

.st-image-crop .st-out-canvas {
  cursor: crosshair;
  touch-action: none;
  user-select: none;
}

.st-image-text {
  display: grid;
  gap: 8px;
  justify-items: start;
  margin-top: 4px;
}

.st-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 12px;
}

.st-file-list .st-chip {
  text-decoration: none;
}

.st-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.st-swatch-item {
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid #d3dce4;
  border-radius: 12px;
  background: #fff;
  color: #1e2733;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}

.st-swatch-item:hover {
  border-color: #52b5b2;
  transform: translateY(-1px);
}

.st-swatch-chip {
  display: block;
  height: 64px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.st-swatch-item strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
}

.st-swatch-item small {
  color: #6a7b8e;
  font-size: 12px;
}

.st-gradient-preview {
  height: 180px;
  margin-bottom: 12px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

[data-st-extra] table {
  width: 100%;
  margin-bottom: 12px;
  border-collapse: collapse;
}

[data-st-extra] th,
[data-st-extra] td {
  padding: 8px 10px;
  border-bottom: 1px solid #e3e9ee;
  text-align: left;
  font-size: 14px;
}

[data-st-extra] th {
  width: 40%;
  color: #4f6072;
  font-weight: 700;
}

@media (max-width: 600px) {
  .st-image-preview {
    padding: 6px;
  }

  .st-out-canvas {
    max-height: 380px;
  }

  .st-swatches {
    grid-template-columns: repeat(2, 1fr);
  }
}
