body { background: #f7f8fa; }
.card { border-radius: 8px; }
.login-box { max-width: 380px; }
.preview { max-width: 100%; height: auto; border: 1px solid #dee2e6; border-radius: 8px; background: #fff; }
.preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
textarea[readonly] { background: #fff; }
.js-upload-form {
  border: 1px solid transparent;
  border-radius: 8px;
}
.js-upload-form.is-dragging {
  border-color: #0d6efd;
  background: #eef5ff;
}
.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.upload-preview:empty,
.upload-preview[hidden] {
  display: none;
}
.upload-preview-item {
  width: 136px;
  min-height: 118px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 12px;
  color: #495057;
}
.upload-preview-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}
.upload-preview-item img.js-focus-preview {
  cursor: crosshair;
}
.upload-preview-item i {
  font-size: 32px;
  color: #6c757d;
}
.upload-preview-item span {
  width: 100%;
  overflow-wrap: anywhere;
}
.color-swatch {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  vertical-align: middle;
}
.asset-thumb {
  height: 190px;
  object-fit: cover;
  background: #fff;
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.compare-grid img {
  width: 100%;
  height: auto;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: #fff;
}
