.next-step-card {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin: 18px 0;
  padding: 18px 20px;
  color: #17253a;
  background: #fff;
  border: 1px solid #dfe5eb;
  border-radius: 15px;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 10px 35px rgba(24,45,72,.06);
  transition: .2s ease;
}
.next-step-card:hover { transform: translateY(-2px); border-color: #9eb1ff; }
.next-step-card > span { padding: 7px 10px; color: #315cf5; background: #eef2ff; border-radius: 999px; font-size: 11px; font-weight: 800; }
.next-step-card strong { display: block; font-size: 15px; }
.next-step-card p { margin: 3px 0 0; color: #778291; font-size: 12px; }
.next-step-card em { color: #315cf5; font-size: 12px; font-style: normal; font-weight: 800; }

.editor-tip {
  display: flex;
  gap: 14px;
  margin: 0 0 18px;
  padding: 16px 18px;
  color: #344155;
  background: #eef3ff;
  border: 1px solid #dbe4ff;
  border-radius: 13px;
}
.editor-tip.compact { margin-top: -4px; }
.editor-tip > i { flex: none; align-self: flex-start; padding: 5px 8px; color: #315cf5; background: #fff; border-radius: 7px; font-size: 10px; font-style: normal; font-weight: 850; }
.editor-tip b { font-size: 13px; }
.editor-tip p { margin: 5px 0 0; color: #6f7a89; font-size: 12px; line-height: 1.65; }

.gallery-limit { color: #7a8593; font-size: 12px; }
.gallery-limit b { color: #315cf5; font-size: 18px; }
.gallery-settings { margin-bottom: 16px; }
.multi-upload-zone {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
  padding: 28px;
  color: #637083;
  background: #fff;
  border: 2px dashed #cfd8e3;
  border-radius: 16px;
  cursor: pointer;
  text-align: center;
  transition: .2s ease;
}
.multi-upload-zone:hover, .multi-upload-zone.uploading { color: #315cf5; background: #f7f9ff; border-color: #315cf5; }
.multi-upload-zone.uploading { cursor: wait; }
.multi-upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.multi-upload-zone > span { display: grid; place-items: center; width: 45px; height: 45px; color: #fff; background: #315cf5; border-radius: 13px; font-size: 24px; }
.multi-upload-zone strong { color: #253247; font-size: 16px; }
.multi-upload-zone p { margin: 0; font-size: 12px; }
.multi-upload-zone em { color: #315cf5; font-size: 11px; font-style: normal; font-weight: 750; }

.gallery-editor-list { display: grid; gap: 14px; }
.gallery-editor-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0e5eb;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(24,45,72,.05);
}
.gallery-editor-image { position: relative; min-height: 180px; background: #e9edf2; }
.gallery-editor-image img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.gallery-editor-image span { position: absolute; top: 10px; left: 10px; display: grid; place-items: center; width: 28px; height: 28px; color: #fff; background: rgba(15,28,45,.72); border-radius: 8px; font-size: 11px; font-weight: 800; backdrop-filter: blur(8px); }
.gallery-editor-body { display: grid; gap: 12px; padding: 17px 18px; }
.gallery-editor-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery-editor-fields label { display: grid; gap: 7px; color: #445066; font-size: 11px; font-weight: 750; }
.gallery-editor-fields input { width: 100%; padding: 11px 12px; color: #17253a; background: #fff; border: 1px solid #dce2e8; border-radius: 9px; outline: none; }
.gallery-editor-fields input:focus { border-color: #315cf5; box-shadow: 0 0 0 3px rgba(49,92,245,.1); }
.gallery-editor-actions { display: flex; align-items: center; gap: 8px; padding-top: 2px; }
.gallery-editor-actions button { min-height: 34px; padding: 0 11px; color: #586579; background: #f4f6f8; border: 0; border-radius: 8px; cursor: pointer; font-size: 11px; font-weight: 750; }
.gallery-editor-actions button:hover { color: #315cf5; background: #edf1ff; }
.gallery-editor-actions button:disabled { opacity: .4; cursor: not-allowed; }
.gallery-editor-actions button.danger { margin-left: auto; color: #bc444d; background: #fff1f2; }
.gallery-visible { display: flex; align-items: center; gap: 7px; color: #536075; font-size: 11px; }
.gallery-visible input { width: 15px; height: 15px; }
.gallery-editor-list .empty-state { border: 1px solid #e0e5eb; border-radius: 15px; background: #fff; }

@media (max-width: 760px) {
  .next-step-card { grid-template-columns: 1fr; gap: 8px; }
  .next-step-card > span { width: max-content; }
  .next-step-card em { display: none; }
  .gallery-editor-card { grid-template-columns: 1fr; }
  .gallery-editor-image, .gallery-editor-image img { min-height: 220px; max-height: 300px; }
  .gallery-editor-fields { grid-template-columns: 1fr; }
  .gallery-editor-actions { flex-wrap: wrap; }
  .gallery-editor-actions button.danger { margin-left: 0; }
}
