.wpsn-sv-controls {
  margin-top: 12px;
}

.wpsn-sv-fieldset {
  border: 1px solid #c3c4c7;
  padding: 10px 12px;
  margin: 10px 0;
  background: #fff;
}

.wpsn-sv-fieldset legend {
  font-weight: 600;
  padding: 0 6px;
}

.wpsn-sv-check {
  display: inline-block;
  margin: 4px 14px 4px 0;
}

.wpsn-sv-taxonomies {
  margin-top: 8px;
}

.wpsn-sv-actions {
  margin: 12px 0 6px;
}

.wpsn-sv-progress {
  margin-top: 10px;
}

.wpsn-sv-bar {
  height: 10px;
  background: #f0f0f1;
  border: 1px solid #c3c4c7;
  border-radius: 2px;
  overflow: hidden;
}

.wpsn-sv-bar span {
  display: block;
  height: 10px;
  width: 0;
  background: #2271b1;
}

.wpsn-sv-status {
  margin-top: 8px;
  color: #50575e;
}

.wpsn-sv-sev {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.wpsn-sv-sev.high {
  background: #fbeaea;
  color: #b32d2e;
}

.wpsn-sv-sev.medium {
  background: #fff8e5;
  color: #8a6d3b;
}

.wpsn-sv-sev.low {
  background: #eef7ef;
  color: #2a7a2a;
}

.wpsn-sv-sub {
  margin-top: 3px;
  font-size: 12px;
  color: #646970;
}

.wpsn-sv-filters {
  margin: 10px 0 14px;
}

.wpsn-sv-filters label {
  margin-right: 10px;
}

.wpsn-sv-modal {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99999;
}

.wpsn-sv-modal-inner {
  background: #fff;
  max-width: 900px;
  margin: 60px auto;
  padding: 16px;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.wpsn-sv-modal-pre {
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 60vh;
  overflow: auto;
  background: #f6f7f7;
  padding: 12px;
  border: 1px solid #dcdcde;
}

/* Safe fix counters + tooltips */
.wpsn-sv-counters {
  margin: 10px 0 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #c3c4c7;
}

.wpsn-sv-counter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 6px 0;
}

.wpsn-sv-counter-row-sub {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #dcdcde;
}

.wpsn-sv-counter-title {
  min-width: 160px;
  font-weight: 600;
  color: #1d2327;
}

.wpsn-sv-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border: 1px solid #dcdcde;
  background: #f6f7f7;
  border-radius: 999px;
  font-size: 12px;
  color: #1d2327;
}

/* Chip states (used for "Left" counters) */
.wpsn-sv-chip.wpsn-sv-chip-ok {
  background: #eef7ef;
  border-color: #b7dfb7;
  color: #1e6b1e;
}

.wpsn-sv-chip.wpsn-sv-chip-warn {
  background: #fff8e5;
  border-color: #f0d28b;
  color: #7a5f24;
}

.wpsn-sv-chip.wpsn-sv-chip-bad {
  background: #fbeaea;
  border-color: #f1b9b9;
  color: #b32d2e;
}

.wpsn-sv-num {
  font-weight: 700;
}

.wpsn-sv-tip {
  display: inline-block;
  margin-left: 2px;
  color: #646970;
  cursor: help;
  line-height: 1;
}
