.sj-wrap {
  width: 100%;
  padding: 4px 0 28px;
  box-sizing: border-box;
}

.sj-hint {
  margin: 0 0 16px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 6px;
}

.sj-hint code,
.sj-intro code {
  font-size: 13px;
  background: #fff;
  padding: 1px 5px;
  border-radius: 3px;
}

.sj-opts,
.sj-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 12px;
}

.sj-field {
  flex: 1 1 220px;
  min-width: 0;
  margin-bottom: 12px;
}

.sj-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.sj-opts .sj-label {
  margin: 0;
}

.sj-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}

.sj-input,
.sj-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
}

.sj-textarea {
  min-height: 240px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.sj-input:focus,
.sj-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15);
}

.sj-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.sj-count {
  font-weight: 400;
  color: #6b7280;
}

.sj-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 16px;
}

.sj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.4;
}

.sj-btn-primary {
  background: #10b981;
  color: #fff;
}

.sj-btn-primary:hover {
  background: #059669;
}

.sj-btn-secondary {
  background: #e5e7eb;
  color: #374151;
}

.sj-btn-secondary:hover {
  background: #d1d5db;
}

.sj-error {
  margin: 10px 0 0;
  font-size: 14px;
  color: #dc2626;
}

.sj-intro {
  margin-top: 28px;
  padding: 20px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.sj-intro h2 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: #111827;
}

.sj-intro h2:not(:first-child) {
  margin-top: 20px;
}

.sj-intro h3 {
  margin: 12px 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
}

.sj-intro p,
.sj-intro li {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.7;
  color: #374151;
}

.sj-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 6px;
  background: #111827;
  color: #fff;
  font-size: 13px;
  z-index: 40;
}

@media (max-width: 800px) {
  .sj-grid {
    grid-template-columns: 1fr;
  }
}
