/* Batch article creation page. */
.user-app:has(.batch-page-head) {
  background: #f6f8fc;
}

.user-app:has(.batch-page-head) .u-main {
  max-width: 1180px;
  padding-top: 26px;
}

.user-app:has(.batch-page-head) .batch-page-head {
  align-items: center;
  margin-bottom: 18px;
  padding: 22px 24px;
  border: 1px solid #dce4ee;
  border-radius: 8px;
  background:
    linear-gradient(rgba(41, 73, 216, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 73, 216, 0.03) 1px, transparent 1px),
    #fff;
  background-size: 36px 36px;
  box-shadow: 0 10px 30px rgba(19, 45, 89, 0.045);
}

.user-app:has(.batch-page-head) .batch-page-kicker {
  color: #1f3fbd;
  font-size: 11.5px;
}

.user-app:has(.batch-page-head) .batch-page-head h2 {
  color: #0a1d3b;
  font-size: 28px;
  font-weight: 900;
}

.user-app:has(.batch-page-head) .batch-page-head p {
  color: #61708a;
  font-size: 13.5px;
}

.user-app:has(.batch-page-head) .batch-layout {
  grid-template-columns: minmax(350px, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
}

.user-app:has(.batch-page-head) .batch-form-card {
  overflow: hidden;
  padding: 0;
  border-color: #dce4ee;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(19, 45, 89, 0.06);
}

.user-app:has(.batch-page-head) .batch-form-head {
  align-items: center;
  margin: 0;
  padding: 19px 22px;
  border-bottom: 1px solid #e7edf5;
  background: #fff;
}

.user-app:has(.batch-page-head) .batch-form-head b {
  color: #0a1d3b;
  font-size: 16px;
  font-weight: 900;
}

.user-app:has(.batch-page-head) .batch-form-head span {
  color: #66758e;
}

.user-app:has(.batch-page-head) .batch-form-section {
  padding: 20px 22px 4px;
  border-bottom: 1px solid #e7edf5;
  background: #fff;
}

.user-app:has(.batch-page-head) .batch-form-section:last-of-type {
  padding-bottom: 18px;
}

.user-app:has(.batch-page-head) .batch-form-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.user-app:has(.batch-page-head) .batch-form-section-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid #dbe4ff;
  border-radius: 8px;
  color: #2949d8;
  background: #f3f6ff;
}

.user-app:has(.batch-page-head) .batch-form-section-head b,
.user-app:has(.batch-page-head) .batch-form-section-head small {
  display: block;
}

.user-app:has(.batch-page-head) .batch-form-section-head b {
  color: #0a1d3b;
  font-size: 14px;
  font-weight: 850;
}

.user-app:has(.batch-page-head) .batch-form-section-head small {
  margin-top: 2px;
  color: #66758e;
  font-size: 10.5px;
}

.user-app:has(.batch-page-head) .field label {
  color: #344764;
  font-weight: 750;
}

.user-app:has(.batch-page-head) .batch-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.user-app:has(.batch-page-head) .batch-link-row .btn {
  min-width: 110px;
  justify-content: center;
}

.user-app:has(.batch-page-head) .batch-link-result {
  min-height: 34px;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid #e7edf5;
  border-radius: 7px;
  background: #f8fafc;
  color: #66758e;
}

.user-app:has(.batch-page-head) .batch-link-summary {
  display: flex;
  align-items: center;
  gap: 7px;
}

.user-app:has(.batch-page-head) .batch-link-summary .badge {
  flex: 0 0 auto;
  white-space: nowrap;
}

.user-app:has(.batch-page-head) .batch-link-result b {
  min-width: 0;
  overflow: hidden;
  color: #0a1d3b;
  font-size: 11.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-app:has(.batch-page-head) .batch-link-result small {
  flex-shrink: 0;
  color: #66758e;
  font-size: 10.5px;
}

.user-app:has(.batch-page-head) .batch-link-image-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid #e4eaf3;
  color: #53627b;
  font-size: 11px;
  font-weight: 800;
}

.user-app:has(.batch-page-head) .batch-link-image-head span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.user-app:has(.batch-page-head) .batch-link-image-head em {
  color: #7a879b;
  font-style: normal;
  font-weight: 700;
}

.user-app:has(.batch-page-head) .batch-link-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 7px;
  max-height: 220px;
  margin-top: 8px;
  padding-right: 2px;
  overflow-y: auto;
}

.user-app:has(.batch-page-head) .batch-link-image-item {
  position: relative;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dfe6f0;
  border-radius: 7px;
  background: #fff;
}

.user-app:has(.batch-page-head) .batch-link-image-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.user-app:has(.batch-page-head) .batch-link-image-item.removed img {
  opacity: 0.28;
  filter: grayscale(1);
}

.user-app:has(.batch-page-head) .batch-link-image-item figcaption {
  position: absolute;
  top: 5px;
  left: 5px;
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(10, 29, 59, 0.74);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.user-app:has(.batch-page-head) .batch-link-image-toggle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: rgba(10, 29, 59, 0.78);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.user-app:has(.batch-page-head) .batch-link-image-item.removed .batch-link-image-toggle {
  background: #2949d8;
}

.user-app:has(.batch-page-head) .batch-link-image-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 7px;
}

.user-app:has(.batch-page-head) .batch-link-no-images {
  margin: 9px 0 2px;
  color: #7a879b;
  font-size: 11px;
}

.user-app:has(.batch-page-head) .batch-count-step {
  border-color: #dce4ee;
  color: #53627b;
}

.user-app:has(.batch-page-head) .batch-count-step:hover:not(:disabled) {
  border-color: #bccbe3;
  color: #1f3fbd;
  background: #f3f6ff;
}

.user-app:has(.batch-page-head) .batch-count-input {
  height: 48px;
  border-color: #dce4ee;
  box-shadow: inset 0 1px 0 rgba(19, 45, 89, 0.02);
}

.user-app:has(.batch-page-head) .batch-count-input:focus-within {
  border-color: #8fa8e8;
  box-shadow: 0 0 0 3px rgba(41, 73, 216, 0.08);
}

.user-app:has(.batch-page-head) .batch-count-input .input {
  color: #0a1d3b;
}

.user-app:has(.batch-page-head) .batch-count-quick button {
  border-radius: 6px;
  color: #53627b;
  background: #fff;
}

.user-app:has(.batch-page-head) .batch-count-quick button:hover {
  border-color: #bccbe3;
  color: #1f3fbd;
  background: #f3f6ff;
}

.user-app:has(.batch-page-head) .batch-count-quick button.active {
  border-color: #8fa8e8;
  color: #1f3fbd;
  background: #eef3ff;
}

.user-app:has(.batch-page-head) .batch-generate-btn {
  width: calc(100% - 44px);
  min-height: 50px;
  margin: 20px 22px 22px;
  border-radius: 7px;
  background: #2949d8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 24px rgba(41, 73, 216, 0.2);
}

.user-app:has(.batch-page-head) .batch-generate-btn:hover {
  background: #1f3fbd;
}

.user-app:has(.batch-page-head) .batch-results-panel {
  position: sticky;
  top: 88px;
}

.user-app:has(.batch-page-head) .batch-empty {
  min-height: 430px;
  border-color: #d5dfec;
  border-radius: 8px;
  background:
    linear-gradient(rgba(41, 73, 216, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 73, 216, 0.03) 1px, transparent 1px),
    #fff;
  background-size: 36px 36px;
  box-shadow: 0 14px 38px rgba(19, 45, 89, 0.045);
}

.user-app:has(.batch-page-head) .batch-empty > span {
  width: 58px;
  height: 58px;
  color: #2949d8;
  border: 1px solid #dbe4ff;
  background: #f3f6ff;
  box-shadow: none;
}

.user-app:has(.batch-page-head) .batch-empty b {
  color: #0a1d3b;
  font-size: 17px;
  font-weight: 900;
}

.user-app:has(.batch-page-head) .batch-progress {
  border-color: #dce4ee;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(19, 45, 89, 0.045);
}

.user-app:has(.batch-page-head) .batch-progress-track i {
  background: #2949d8;
}

@media (max-width: 860px) {
  .user-app:has(.batch-page-head) .u-main {
    padding: 18px 16px 92px;
  }

  .user-app:has(.batch-page-head) .batch-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .user-app:has(.batch-page-head) .batch-results-panel {
    position: static;
  }
}

@media (max-width: 560px) {
  .user-app:has(.batch-page-head) .batch-page-head {
    padding: 18px;
  }

  .user-app:has(.batch-page-head) .batch-page-head h2 {
    font-size: 23px;
  }

  .user-app:has(.batch-page-head) .batch-form-head,
  .user-app:has(.batch-page-head) .batch-form-section {
    padding-left: 17px;
    padding-right: 17px;
  }

  .user-app:has(.batch-page-head) .batch-link-row {
    grid-template-columns: 1fr;
  }

  .user-app:has(.batch-page-head) .batch-link-row .btn {
    width: 100%;
  }

  .user-app:has(.batch-page-head) .batch-generate-btn {
    width: calc(100% - 34px);
    margin-left: 17px;
    margin-right: 17px;
  }

  .user-app:has(.batch-page-head) .batch-empty {
    min-height: 310px;
  }
}
