/*
 * WP SEO Next – Global AJAX UI guard
 *
 * When AJAX live mode is disabled globally (Diagnostics → Modes), we hide
 * optional “live mode / AJAX mode” UI blocks to avoid confusing buttons
 * that would not work without scripts / admin-ajax.
 */

.wpsn-ajax-disabled .wpsn-ajax-optional {
  display: none !important;
}

/*
 * Generic “Advanced” collapsible blocks
 */
details.wpsn-advanced {
  margin-top: 6px;
}

details.wpsn-advanced > summary {
  cursor: pointer;
  color: #2271b1;
  user-select: none;
}

details.wpsn-advanced > summary:hover {
  text-decoration: underline;
}

details.wpsn-advanced[open] > summary {
  margin-bottom: 6px;
}
