body.toplevel_page_shield-x #wpcontent,
body[class*="shield-x_page_"] #wpcontent {
  box-sizing: border-box;
  padding-right: 20px;
}

.shieldx-admin {
  --shieldx-font-stack: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: #101935;
  font-family: var(--shieldx-font-stack);
  max-width: 1480px;
}

.shieldx-admin button,
.shieldx-admin code,
.shieldx-admin input,
.shieldx-admin pre,
.shieldx-admin select,
.shieldx-admin textarea {
  font-family: var(--shieldx-font-stack);
}

.shieldx-admin [hidden] {
  display: none !important;
}

.shieldx-shell {
  margin-top: 14px;
  padding: 2px 2px 28px;
}

#wpadminbar #wp-admin-bar-shieldx-status > .ab-item {
  align-items: center;
  display: flex;
  gap: 6px;
}

#wpadminbar #wp-admin-bar-shieldx-status .ab-icon {
  height: 20px;
  line-height: 20px;
  margin: 0;
  position: static;
  width: 20px;
}

#wpadminbar #wp-admin-bar-shieldx-status .ab-label {
  line-height: 32px;
}

#wpadminbar #wp-admin-bar-shieldx-status .shieldx-adminbar-state {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  padding: 2px 6px;
}

#wpadminbar #wp-admin-bar-shieldx-status .shieldx-adminbar-state--is-active {
  border-color: rgba(65, 214, 126, 0.55);
  color: #8df5b1;
}

#wpadminbar #wp-admin-bar-shieldx-status .shieldx-adminbar-state--needs-attention {
  border-color: rgba(252, 191, 73, 0.6);
  color: #ffd166;
}

.shieldx-toast-stack {
  bottom: 24px;
  display: grid;
  gap: 10px;
  pointer-events: none;
  position: fixed;
  right: 24px;
  width: min(440px, calc(100vw - 48px));
  z-index: 100020;
}

.shieldx-toast-stack .notice {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
  color: #24324d;
  margin: 0;
  min-height: 48px;
  padding: 14px 44px 14px 16px;
  pointer-events: auto;
}

.shieldx-header .notice,
.shieldx-shell > .notice {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 8px;
  bottom: 24px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
  color: #24324d;
  margin: 0;
  min-height: 48px;
  padding: 14px 44px 14px 16px;
  position: fixed;
  right: 24px;
  width: min(440px, calc(100vw - 48px));
  z-index: 100020;
}

.shieldx-toast-stack .notice p {
  color: inherit;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.shieldx-header .notice p,
.shieldx-shell > .notice p {
  color: inherit;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.shieldx-toast-stack .notice-dismiss {
  height: 40px;
  right: 4px;
  top: 4px;
  width: 40px;
}

.shieldx-header .notice-dismiss,
.shieldx-shell > .notice .notice-dismiss {
  height: 40px;
  right: 4px;
  top: 4px;
  width: 40px;
}

.shieldx-header {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 8px 0 18px;
}

.shieldx-header h1 {
  color: #0d1b3e;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.shieldx-title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shieldx-title-back {
  align-items: center;
  background: #fff;
  border: 1px solid #dce7f5;
  border-radius: 999px;
  color: #14213f;
  display: inline-grid;
  flex: 0 0 36px;
  height: 36px;
  justify-content: center;
  line-height: 0;
  place-items: center;
  text-decoration: none;
  width: 36px;
}

.shieldx-title-back:focus,
.shieldx-title-back:hover {
  border-color: #b8cef8;
  color: #1959d1;
  outline: 0;
}

.shieldx-title-back-icon {
  height: 18px;
  width: 18px;
}

.shieldx-header p {
  color: #5f6b85;
  font-size: 15px;
  margin: 6px 0 0;
}

.shieldx-kicker {
  align-items: center;
  color: #68738c;
  display: flex;
  font-size: 13px;
  font-weight: 650;
  gap: 6px;
  margin-bottom: 4px;
}

.shieldx-kicker-version {
  background: #eaf3ff;
  border: 1px solid #d6e7ff;
  border-radius: 999px;
  color: #0d5fa6;
  display: inline-flex;
  font-size: 11px;
  line-height: 1;
  padding: 3px 6px;
}

.shieldx-header-meta {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.shieldx-header-button {
  align-items: center;
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  color: #14213f;
  display: inline-flex !important;
  font-weight: 700;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  text-decoration: none;
}

.shieldx-header-button--icon {
  justify-content: center;
  min-width: 42px;
  padding: 0;
  position: relative;
  width: 42px;
}

.shieldx-header-button--icon > .shieldx-header-icon,
.shieldx-header-button--icon > .dashicons {
  display: block;
  flex: 0 0 18px;
  height: 18px;
  line-height: 18px;
  width: 18px;
}

.shieldx-header-button--icon > .dashicons {
  font-size: 18px;
}

.shieldx-header-button--button {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
}

.shieldx-header-button:focus,
.shieldx-header-button:hover {
  border-color: #c7d7f5;
  color: #1959d1;
}

.shieldx-header-button.is-active {
  background: #edf4ff;
  border-color: #b8cef8;
  color: #1959d1;
}

.shieldx-header-button.has-warning {
  background: #fff5f5;
  border-color: #f4b7bb;
  box-shadow: 0 10px 22px rgba(180, 35, 42, 0.08);
  color: #7f1d1d;
}

.shieldx-header-button.has-warning:focus,
.shieldx-header-button.has-warning:hover,
.shieldx-header-button.has-warning.is-active {
  background: #feecef;
  border-color: #dc3232;
  color: #7f1d1d;
}

.shieldx-header-button.has-notice {
  background: #fffaf0;
  border-color: #f5d28b;
  box-shadow: 0 10px 22px rgba(180, 83, 9, 0.07);
  color: #6b3f00;
}

.shieldx-header-button.has-notice:focus,
.shieldx-header-button.has-notice:hover,
.shieldx-header-button.has-notice.is-active {
  background: #fff4d8;
  border-color: #f0b429;
  color: #6b3f00;
}

.shieldx-header-warning {
  align-items: center;
  background: #dc3232;
  border-radius: 999px;
  color: #fff;
  display: inline-grid;
  flex: 0 0 auto;
  height: 24px;
  justify-content: center;
  line-height: 0;
  margin-left: 3px;
  place-items: center;
  width: 24px;
}

.shieldx-header-button.has-notice .shieldx-header-warning {
  background: #f0b429;
  color: #3f2a00;
}

.shieldx-header-button.is-active,
.shieldx-header-button.has-warning.is-active,
.shieldx-header-button.has-notice.is-active,
.shieldx-header-button.is-active:focus,
.shieldx-header-button.is-active:hover,
.shieldx-header-button.has-warning.is-active:focus,
.shieldx-header-button.has-warning.is-active:hover,
.shieldx-header-button.has-notice.is-active:focus,
.shieldx-header-button.has-notice.is-active:hover {
  background: #05070d;
  border-color: #05070d;
  box-shadow: 0 12px 24px rgba(5, 7, 13, 0.18);
  color: #fff;
}

.shieldx-header-button.is-active .shieldx-header-warning {
  background: #fff;
  color: #05070d;
}

.shieldx-header-button--icon .shieldx-header-warning,
.shieldx-header-button--icon.has-notice .shieldx-header-warning,
.shieldx-header-button--icon.is-active .shieldx-header-warning {
  background: #dc3232;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(180, 35, 42, 0.22);
  color: transparent;
  height: 10px;
  margin-left: 0;
  position: absolute;
  right: 6px;
  top: 6px;
  width: 10px;
}

.shieldx-header-warning-icon {
  height: 15px;
  width: 15px;
}

.shieldx-header-button--primary {
  background: #2f6df6;
  border-color: #2f6df6;
  color: #fff;
}

.shieldx-header-button--primary:focus,
.shieldx-header-button--primary:hover {
  background: #1959d1;
  color: #fff;
}

.shieldx-icon {
  display: block;
  flex: 0 0 auto;
  height: 18px;
  margin: 0;
  stroke: currentColor;
  transform: translateZ(0);
  width: 18px;
}

.shieldx-header-icon {
  height: 18px;
  width: 18px;
}

.shieldx-license-badge {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid #d9e4f2;
  border-radius: 999px;
  color: #24324d;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 12px;
  font-weight: 750;
  gap: 6px;
  line-height: 1;
  min-height: 30px;
  padding: 0 11px;
  text-decoration: none;
}

.shieldx-license-badge:focus,
.shieldx-license-badge:hover {
  border-color: #9db9f4;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.14);
  color: #1959d1;
  outline: none;
}

.shieldx-license-badge--good {
  background: #eefdf5;
  border-color: #b9e8cc;
  color: #166033;
}

.shieldx-license-badge--warn {
  background: #fff8e8;
  border-color: #f2cf82;
  color: #714500;
}

.shieldx-license-badge--error {
  background: #fff1f2;
  border-color: #f4b7bb;
  color: #8a1f2b;
}

.shieldx-license-badge--idle {
  background: #f7f9fc;
  border-color: #d9e4f2;
  color: #40506c;
}

.shieldx-license-icon {
  height: 15px;
  width: 15px;
}

.shieldx-button-icon {
  height: 14px;
  margin-right: 4px;
  vertical-align: -2px;
  width: 14px;
}

.shieldx-subnav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  margin-top: 2px;
}

.shieldx-subnav a {
  align-items: center;
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  color: #293654;
  display: inline-flex !important;
  font-weight: 600;
  gap: 7px;
  justify-content: flex-start;
  line-height: 1;
  min-height: 34px;
  padding: 9px 12px;
  text-decoration: none;
}

.shieldx-subnav-icon {
  height: 17px;
  width: 17px;
}

.shieldx-subnav a:focus,
.shieldx-subnav a:hover,
.shieldx-subnav a.is-active {
  background: #edf4ff;
  border-color: #b8cef8;
  color: #1959d1;
}

.shieldx-subnav a.has-warning {
  background: #fff5f5;
  border-color: #f4b7bb;
  box-shadow: 0 10px 22px rgba(180, 35, 42, 0.08);
  color: #7f1d1d;
}

.shieldx-subnav a.has-warning:focus,
.shieldx-subnav a.has-warning:hover,
.shieldx-subnav a.has-warning.is-active {
  background: #feecef;
  border-color: #dc3232;
  color: #7f1d1d;
}

.shieldx-subnav a.has-notice {
  background: #fffaf0;
  border-color: #f5d28b;
  box-shadow: 0 10px 22px rgba(180, 83, 9, 0.07);
  color: #6b3f00;
}

.shieldx-subnav a.has-notice:focus,
.shieldx-subnav a.has-notice:hover,
.shieldx-subnav a.has-notice.is-active {
  background: #fff4d8;
  border-color: #f0b429;
  color: #6b3f00;
}

.shieldx-subnav-warning {
  align-items: center;
  background: #dc3232;
  border-radius: 999px;
  color: #fff;
  display: grid;
  flex: 0 0 auto;
  height: 26px;
  justify-content: center;
  line-height: 0;
  margin-left: 3px;
  place-items: center;
  width: 26px;
}

.shieldx-subnav a.has-notice .shieldx-subnav-warning {
  background: #f0b429;
  color: #3f2a00;
}

.shieldx-subnav a.is-active,
.shieldx-subnav a.has-warning.is-active,
.shieldx-subnav a.has-notice.is-active,
.shieldx-subnav a.is-active:focus,
.shieldx-subnav a.is-active:hover,
.shieldx-subnav a.has-warning.is-active:focus,
.shieldx-subnav a.has-warning.is-active:hover,
.shieldx-subnav a.has-notice.is-active:focus,
.shieldx-subnav a.has-notice.is-active:hover {
  background: #05070d;
  border-color: #05070d;
  box-shadow: 0 12px 24px rgba(5, 7, 13, 0.18);
  color: #fff;
}

.shieldx-subnav a.is-active .shieldx-subnav-warning {
  background: #fff;
  color: #05070d;
}

.shieldx-subnav-warning-icon {
  height: 16px;
  transform: translateY(0.5px);
  width: 16px;
}

.shieldx-version {
  color: #646970;
  font-family: var(--shieldx-font-stack);
  font-size: 12px;
}

.shieldx-alert {
  align-items: center;
  border: 1px solid;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding: 13px 16px;
}

.shieldx-alert--info {
  background: #eff6ff;
  border-color: #b7d5ff;
  color: #173b68;
}

.shieldx-alert--warning {
  background: #fff7ed;
  border-color: #f59e0b;
  color: #7c2d12;
}

.shieldx-alert--danger {
  background: #fcf0f1;
  border-color: #d63638;
  color: #5f1718;
}

.shieldx-human-challenge-warning {
  align-items: center;
  grid-column: 1 / -1;
  justify-content: space-between;
}

.shieldx-human-challenge-warning span {
  flex: 1;
}

.shieldx-metrics {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: 18px;
}

.shieldx-metrics--overview {
  align-items: stretch;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}

.shieldx-overview-attention--no-score {
  grid-template-columns: minmax(0, 1fr);
}

.shieldx-overview-score-slot {
  display: block;
  min-width: 0;
}

.shieldx-overview-score-slot[hidden] {
  display: none !important;
}

.shieldx-overview-score-slot .shieldx-metric {
  width: 100%;
}

.shieldx-overview-metric-grid {
  align-self: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
}

.shieldx-metric {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  min-height: 125px;
  overflow: hidden;
  padding: 16px 18px;
  position: relative;
}

.shieldx-metric--linked {
  color: inherit;
  display: block;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.shieldx-metric--linked:focus,
.shieldx-metric--linked:hover {
  border-color: #9db8f8;
  box-shadow: 0 22px 48px rgba(47, 109, 246, 0.16);
  color: inherit;
  outline: 0;
  transform: translateY(-1px);
}

.shieldx-metric-link-label {
  bottom: 14px;
  color: #2f6df6;
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  position: absolute;
  right: 18px;
  z-index: 1;
}

.shieldx-metrics--overview .shieldx-metric,
.shieldx-overview-disabled-grid .shieldx-metric {
  box-sizing: border-box;
  min-height: 86px;
  padding: 10px 12px;
}

.shieldx-metrics--overview .shieldx-metric:not(.shieldx-metric--score),
.shieldx-overview-disabled-grid .shieldx-metric:not(.shieldx-metric--score) {
  align-content: start;
  height: 100%;
  min-height: 168px;
  padding: 16px 18px 78px;
}

.shieldx-metric-head > span:not(.shieldx-metric-icon) {
  color: #273452;
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.shieldx-metric strong {
  color: #0d1b3e;
  display: block;
  font-size: 28px;
  font-weight: 750;
  line-height: 1.25;
  margin-top: 14px;
  overflow-wrap: anywhere;
  position: relative;
  z-index: 1;
}

.shieldx-metrics:not(.shieldx-metrics--overview) .shieldx-metric strong {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 6px;
}

.shieldx-metrics:not(.shieldx-metrics--overview) .shieldx-metric:not(.shieldx-metric--score) {
  height: 125px;
  min-height: 125px;
}

.shieldx-metrics--overview .shieldx-metric:not(.shieldx-metric--score) strong,
.shieldx-overview-disabled-grid .shieldx-metric:not(.shieldx-metric--score) strong {
  color: #111827;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.12;
  margin-top: 12px;
}

.shieldx-metric-detail {
  color: #6b7280;
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  margin-top: 6px;
}

.shieldx-overview-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  left: 18px;
  position: absolute;
  right: 18px;
  bottom: 52px;
  z-index: 2;
}

.shieldx-overview-card-stat {
  align-items: center;
  color: #2f496f;
  display: inline-flex;
  gap: 5px;
  min-width: 0;
  padding: 0;
  white-space: nowrap;
}

.shieldx-overview-card-stat-icon {
  color: #2f6df6;
  flex: 0 0 13px;
  height: 13px;
  width: 13px;
}

.shieldx-overview-card-stat-value {
  color: #0d1b3e;
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  max-width: 84px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shieldx-waf-activity-metrics {
  gap: 22px;
}

.shieldx-waf-activity-metrics .shieldx-metric {
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  border-color: #d8e2f2;
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.1);
  height: 125px;
  min-height: 125px;
  padding: 14px 22px;
}

.shieldx-waf-activity-metrics .shieldx-metric-head > span:not(.shieldx-metric-icon) {
  color: #101935;
  font-size: 14px;
  font-weight: 700;
}

.shieldx-waf-activity-metrics .shieldx-metric strong {
  color: #07152f;
  font-size: 30px !important;
  font-weight: 700 !important;
  letter-spacing: 0;
  margin-top: 8px !important;
}

.shieldx-waf-activity-metrics .shieldx-metric-icon {
  flex-basis: 38px;
  height: 38px;
  width: 38px;
}

.shieldx-waf-activity-metrics .shieldx-metric-icon .shieldx-icon {
  height: 19px;
  width: 19px;
}

.shieldx-metric-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.shieldx-metric-icon {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  color: #2f6df6;
  display: grid;
  flex: 0 0 38px;
  height: 38px;
  line-height: 0;
  place-items: center;
  width: 38px;
}

.shieldx-metrics--overview .shieldx-metric:not(.shieldx-metric--score) .shieldx-metric-icon,
.shieldx-overview-disabled-grid .shieldx-metric:not(.shieldx-metric--score) .shieldx-metric-icon {
  flex-basis: 32px;
  height: 32px;
  width: 32px;
}

.shieldx-metric-icon .shieldx-icon {
  height: 19px;
  width: 19px;
}

.shieldx-metrics--overview .shieldx-metric:not(.shieldx-metric--score) .shieldx-metric-icon .shieldx-icon,
.shieldx-overview-disabled-grid .shieldx-metric:not(.shieldx-metric--score) .shieldx-metric-icon .shieldx-icon {
  height: 16px;
  width: 16px;
}

.shieldx-metric--good {
  --shieldx-accent: #1ec76a;
}

.shieldx-metric--warn {
  --shieldx-accent: #f59e0b;
}

.shieldx-metric--info {
  --shieldx-accent: #2f6df6;
}

.shieldx-overview-attention-card.is-active {
  border-color: rgba(245, 158, 11, 0.38);
}

.shieldx-overview-attention-card.is-disabled {
  background: #f8fbff;
  box-shadow: none;
  opacity: 0.74;
}

.shieldx-metric--good .shieldx-metric-icon {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #16a34a;
}

.shieldx-metric--warn .shieldx-metric-icon {
  background: #fffbeb;
  border-color: #fde68a;
  color: #d97706;
}

.shieldx-metric--score {
  display: flex;
  flex-direction: column;
  min-height: 236px;
}

.shieldx-metrics--overview .shieldx-metric--score {
  min-height: 184px;
  padding: 14px 16px;
}

.shieldx-metrics--overview .shieldx-overview-attention-card--summary {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(260px, 1fr) minmax(120px, auto);
  min-height: 76px;
  padding: 14px 18px;
}

.shieldx-score-ring {
  align-items: center;
  align-self: center;
  background: conic-gradient(#1ec76a calc(var(--shieldx-score) * 1%), #e8edf6 0);
  border-radius: 999px;
  display: grid;
  height: 136px;
  justify-items: center;
  margin: 18px 0 16px;
  place-content: center;
  position: relative;
  width: 136px;
  z-index: 1;
}

.shieldx-metrics--overview .shieldx-score-ring {
  height: 106px;
  margin: 12px 0;
  width: 106px;
}

.shieldx-metrics--overview .shieldx-overview-attention-card--summary .shieldx-score-ring {
  height: 58px;
  margin: 0;
  width: 58px;
}

.shieldx-metrics--overview .shieldx-overview-attention-card--summary .shieldx-score-ring::before {
  inset: 6px;
}

.shieldx-score-ring::before {
  background: #fff;
  border-radius: inherit;
  content: "";
  inset: 10px;
  position: absolute;
}

.shieldx-score-ring strong {
  font-size: 38px;
  line-height: 1;
  margin: 0;
  position: relative;
  white-space: nowrap;
  z-index: 1;
}

.shieldx-metrics--overview .shieldx-score-ring strong {
  font-size: 30px;
}

.shieldx-metrics--overview .shieldx-overview-attention-card--summary .shieldx-score-ring strong {
  font-size: 22px;
}

.shieldx-score-ring small {
  color: #68738c;
  display: block;
  font-size: 12px;
  line-height: 1.12;
  margin-top: 4px;
  max-width: 76px;
  position: relative;
  text-align: center;
  white-space: normal;
  z-index: 1;
}

.shieldx-metrics--overview .shieldx-overview-attention-card--summary .shieldx-score-ring small {
  display: none;
}

.shieldx-overview-summary-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.shieldx-overview-summary-detail {
  color: #4b5f82;
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}

.shieldx-overview-summary-status {
  align-items: baseline;
  color: #163764;
  display: inline-flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px;
  line-height: 1.35;
  min-width: 0;
}

.shieldx-overview-summary-status strong {
  color: #102a56;
  display: inline;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
  margin: 0;
  white-space: nowrap;
}

.shieldx-overview-summary-status span {
  min-width: 0;
}

.shieldx-card-link {
  align-items: center;
  border-top: 1px solid #edf2fa;
  color: #2f6df6;
  display: flex;
  font-weight: 700;
  gap: 8px;
  justify-content: space-between;
  margin: auto -24px -22px;
  min-height: 52px;
  padding: 0 24px;
  position: relative;
  text-decoration: none;
  z-index: 1;
}

.shieldx-card-link:hover {
  color: #1959d1;
}

.shieldx-card-link-icon {
  height: 18px;
  width: 18px;
}

.shieldx-metrics--overview .shieldx-card-link,
.shieldx-overview-disabled-grid .shieldx-card-link {
  margin: auto -16px -14px;
  min-height: 40px;
  padding: 0 54px 0 16px;
}

.shieldx-metrics--overview .shieldx-overview-attention-card:not(.shieldx-metric--score) .shieldx-card-link,
.shieldx-overview-disabled-grid .shieldx-overview-attention-card:not(.shieldx-metric--score) .shieldx-card-link {
  bottom: 0;
  left: 0;
  margin: 0;
  min-height: 46px;
  padding: 0 68px 0 18px;
  position: absolute;
  right: 0;
}

.shieldx-metrics--overview .shieldx-overview-attention-card--summary .shieldx-card-link {
  align-self: center;
  border: 1px solid #edf2fa;
  border-radius: 999px;
  justify-content: center;
  justify-self: end;
  margin: 0;
  min-height: 42px;
  padding: 0 18px;
  width: max-content;
}

.shieldx-overview-card-toggle {
  align-items: center;
  appearance: none;
  background: #eef4ff;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  bottom: 10px;
  box-shadow: none;
  cursor: pointer;
  display: inline-flex;
  height: 20px;
  justify-content: flex-start;
  padding: 2px;
  position: absolute;
  right: 14px;
  width: 38px;
  z-index: 3;
}

.shieldx-metrics--overview .shieldx-overview-attention-card:not(.shieldx-metric--score) .shieldx-overview-card-toggle,
.shieldx-overview-disabled-grid .shieldx-overview-attention-card:not(.shieldx-metric--score) .shieldx-overview-card-toggle {
  bottom: 13px;
}

.shieldx-overview-card-toggle::before {
  background: #2f6df6;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(47, 109, 246, 0.28);
  content: "";
  display: block;
  height: 14px;
  transform: translateX(18px);
  transition: transform 0.16s ease, background 0.16s ease;
  width: 14px;
}

.shieldx-overview-card-toggle:hover,
.shieldx-overview-card-toggle:focus {
  background: #e4eeff;
  border-color: #9db8f8;
}

.shieldx-overview-attention-card.is-disabled .shieldx-overview-card-toggle {
  background: #fff;
  border-color: #d8e2f2;
  justify-content: flex-start;
}

.shieldx-overview-attention-card.is-disabled .shieldx-overview-card-toggle::before {
  background: #9aa8bd;
  box-shadow: none;
  transform: translateX(0);
}

.shieldx-overview-disabled {
  align-items: start;
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.shieldx-overview-disabled[hidden] {
  display: none !important;
}

.shieldx-overview-disabled-toggle {
  justify-self: end;
}

.shieldx-overview-disabled-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shieldx-overview-disabled-grid[hidden] {
  display: none !important;
}

.shieldx-overview-disabled-grid .shieldx-metric--score {
  min-height: 160px;
}

.shieldx-overview-disabled-grid .shieldx-score-ring {
  height: 92px;
  margin: 8px auto 12px;
  width: 92px;
}

.shieldx-overview-disabled-grid .shieldx-overview-summary-detail {
  display: none;
}

.shieldx-overview-attention .shieldx-overview-metric-grid .shieldx-metric:last-child {
  grid-column: auto;
}

.shieldx-overview-chart-panel {
  margin-top: 18px;
}

.shieldx-overview-chart-grid {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.shieldx-overview-chart-wrap {
  border: 1px solid #e7edf5;
  border-radius: 8px;
  min-width: 0;
  padding: 12px 14px 10px;
  text-align: left;
}

.shieldx-overview-chart {
  display: block;
  height: auto;
  margin: 0;
  width: 100%;
}

.shieldx-chart-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.shieldx-chart-control {
  position: relative;
}

.shieldx-chart-control-button {
  min-width: 128px;
}

.shieldx-chart-range-control {
  align-items: center;
  color: #52617c;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
}

.shieldx-chart-range-select {
  border: 1px solid #111827;
  border-radius: 8px;
  color: #111827;
  font-size: 13px;
  font-weight: 500;
  min-height: 40px;
  min-width: 150px;
}

.shieldx-chart-menu {
  background: #fff;
  border: 1px solid #dbe4f2;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  min-width: 260px;
  padding: 12px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
}

.shieldx-chart-menu strong,
.shieldx-chart-menu small {
  display: block;
}

.shieldx-chart-menu strong {
  color: #111827;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.shieldx-chart-menu small {
  color: #52617c;
  font-size: 12px;
  margin-bottom: 8px;
}

.shieldx-chart-menu label {
  align-items: center;
  border-radius: 8px;
  color: #111827;
  display: flex;
  font-size: 13px;
  font-weight: 500;
  gap: 8px;
  padding: 7px 6px;
}

.shieldx-chart-menu label:hover {
  background: #f6f8fb;
}

.shieldx-chart-menu label span {
  background: var(--shieldx-series-color, #111827);
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.shieldx-chart-menu input:disabled + span,
.shieldx-chart-menu input:disabled ~ * {
  opacity: 0.55;
}

.shieldx-chart-menu p {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #9a3412;
  font-size: 12px;
  font-weight: 600;
  margin: 8px 0 0;
  padding: 8px;
}

.shieldx-overview-chart-gridlines line {
  stroke: #e8edf5;
  stroke-width: 1;
}

.shieldx-overview-chart text {
  fill: #63708a;
  font-size: 12px;
  font-weight: 600;
}

.shieldx-overview-chart-range.is-hidden,
.shieldx-overview-signal-range.is-hidden,
.shieldx-overview-signal-card.is-hidden {
  display: none;
}

.shieldx-overview-line {
  fill: none;
  stroke: var(--shieldx-series-color, #111827);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.shieldx-overview-point {
  fill: #fff;
  stroke: var(--shieldx-series-color, #111827);
  stroke-width: 3;
}

.shieldx-overview-line.is-hidden,
.shieldx-overview-point.is-hidden,
.shieldx-overview-chart-legend .is-hidden {
  display: none;
}

.shieldx-overview-bar {
  filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.08));
}

.shieldx-overview-bar--scanner {
  fill: #111827;
}

.shieldx-overview-bar--waf {
  fill: #2f6df6;
}

.shieldx-overview-bar--login {
  fill: #16a34a;
}

.shieldx-overview-bar--empty {
  fill: #dbe3ef;
}

.shieldx-overview-chart-legend {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.shieldx-overview-chart-legend span {
  align-items: center;
  color: #52617c;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  gap: 6px;
}

.shieldx-overview-dot {
  background: var(--shieldx-series-color, #111827);
  border-radius: 999px;
  display: inline-block;
  height: 9px;
  width: 9px;
}

.shieldx-overview-dot--scanner {
  background: #111827;
}

.shieldx-overview-dot--waf {
  background: #2f6df6;
}

.shieldx-overview-dot--login {
  background: #16a34a;
}

.shieldx-overview-signal-list {
  display: block;
}

.shieldx-overview-signal-range {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.shieldx-overview-signal-card {
  background: #f8fbff;
  border: 1px solid #e0e8f5;
  border-radius: 8px;
  padding: 14px;
}

.shieldx-overview-signal-list span,
.shieldx-overview-signal-list small {
  color: #5c6a84;
  display: block;
  font-size: 12px;
  line-height: 1.35;
}

.shieldx-overview-signal-list span {
  font-weight: 600;
}

.shieldx-overview-signal-list small {
  font-weight: 400;
}

.shieldx-overview-signal-list strong {
  color: #111827;
  display: block;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  margin: 8px 0 4px;
}

#dashboard-widgets .shieldx-dashboard-widget {
  max-width: none;
}

#dashboard-widgets > .postbox-container.shieldx-dashboard-widget-container {
  clear: both;
  float: none !important;
  margin: 0 0 20px !important;
  min-width: 0;
  width: 100% !important;
}

#dashboard-widgets > .postbox-container.shieldx-dashboard-widget-container .meta-box-sortables {
  min-height: 0;
}

#dashboard-widgets > .postbox-container.shieldx-dashboard-widget-container #shieldx_security_trends {
  margin-bottom: 0;
}

#dashboard-widgets .shieldx-dashboard-widget .shieldx-overview-chart-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

#dashboard-widgets .shieldx-dashboard-widget .shieldx-section-head {
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 12px;
}

#dashboard-widgets .shieldx-dashboard-widget .shieldx-section-head h2 {
  font-size: 18px;
  line-height: 1.2;
}

#dashboard-widgets .shieldx-dashboard-widget .shieldx-section-head span {
  font-size: 12px;
}

#dashboard-widgets .shieldx-dashboard-widget .shieldx-chart-actions {
  gap: 8px;
}

#dashboard-widgets .shieldx-dashboard-widget .shieldx-chart-range-select {
  min-height: 36px;
  min-width: 116px;
}

#dashboard-widgets .shieldx-dashboard-widget .shieldx-chart-control-button {
  min-height: 36px;
  min-width: 108px;
}

#dashboard-widgets .shieldx-dashboard-widget .shieldx-overview-chart-grid {
  gap: 12px;
  margin-top: 0;
}

#dashboard-widgets .shieldx-dashboard-widget .shieldx-overview-chart-wrap {
  padding: 8px;
}

#dashboard-widgets .shieldx-dashboard-widget .shieldx-overview-chart text {
  font-size: 11px;
}

#dashboard-widgets .shieldx-dashboard-widget .shieldx-overview-chart-legend {
  gap: 8px;
}

#dashboard-widgets .shieldx-dashboard-widget .shieldx-overview-signal-range {
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

#dashboard-widgets .shieldx-dashboard-widget .shieldx-overview-signal-card {
  padding: 10px;
}

#dashboard-widgets .shieldx-dashboard-widget .shieldx-overview-signal-list strong {
  font-size: 22px;
}

.shieldx-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  margin-top: 18px;
}

.shieldx-layout--single {
  grid-template-columns: 1fr;
}

.shieldx-system-layout {
  grid-template-columns: minmax(0, 13fr) minmax(320px, 7fr);
}

.shieldx-system-layout > .shieldx-system-primary-panel {
  grid-column: 1;
  grid-row: 1;
}

.shieldx-system-side-stack {
  align-self: start;
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.shieldx-system-side-stack > .shieldx-system-side-panel {
  width: 100%;
}

.shieldx-system-full-layout > .shieldx-panel {
  grid-column: 1 / -1;
}

.shieldx-file-type-policy-grid {
  align-items: start;
}

.shieldx-file-type-column {
  border: 1px solid #e5edf7;
  border-radius: 8px;
  padding: 16px;
}

.shieldx-file-type-column-head h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.shieldx-file-type-column-head p {
  color: #53617a;
  margin: 0 0 14px;
}

.shieldx-file-type-group {
  border: 1px solid #e9eef6;
  border-radius: 8px;
  margin: 0 0 12px;
  padding: 12px;
}

.shieldx-file-type-group.is-media {
  background: #fbfdff;
}

.shieldx-file-type-group legend {
  padding: 0 6px;
}

.shieldx-file-type-group legend strong,
.shieldx-file-type-group legend small {
  display: block;
}

.shieldx-file-type-group legend small {
  color: #66738a;
  font-size: 12px;
  font-weight: 400;
  margin-top: 2px;
}

.shieldx-file-type-checks {
  display: grid;
  gap: 8px 12px;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
}

.shieldx-file-type-check {
  min-height: 28px;
}

.shieldx-hardening-layout {
  align-items: start;
  grid-template-columns: minmax(0, 13fr) minmax(320px, 7fr);
}

.shieldx-hardening-layout > .shieldx-panel--full {
  grid-column: 1;
}

.shieldx-hardening-layout > .shieldx-hardening-sidebar-panel {
  grid-column: 2;
  grid-row: 1 / span 8;
}

.shieldx-hardening-layout > .shieldx-form-actions {
  grid-column: 1 / -1;
}

.shieldx-lockdown-layout {
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shieldx-lockdown-layout > .shieldx-lockdown-policy-panel {
  grid-column: 1;
}

.shieldx-lockdown-layout > .shieldx-lockdown-preview-panel {
  grid-column: 2;
}

.shieldx-lockdown-layout > .shieldx-panel--full:not(.shieldx-lockdown-policy-panel):not(.shieldx-lockdown-preview-panel) {
  grid-column: 1 / -1;
}

.shieldx-lockdown-policy-panel .shieldx-settings-grid {
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shieldx-lockdown-policy-panel .shieldx-settings-grid + .shieldx-settings-grid {
  margin-top: 18px;
}

.shieldx-permission-fix-panel .shieldx-scope-grid {
  margin-top: 18px;
}

.shieldx-scope-grid--permission-fix {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.shieldx-settings-form {
  display: contents;
}

.shieldx-panel {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  min-width: 0;
  padding: 22px;
}

.shieldx-panel--wide {
  grid-column: span 1;
}

.shieldx-panel--full {
  grid-column: 1 / -1;
}

.shieldx-overview-loading {
  overflow: hidden;
  position: relative;
}

[data-shieldx-admin-page-content] > .shieldx-overview-loading:first-child {
  margin-top: 18px;
}

.shieldx-header-async-actions {
  display: contents;
}

.shieldx-skeleton-line,
.shieldx-skeleton-icon,
.shieldx-skeleton-ring,
.shieldx-skeleton-toggle,
.shieldx-skeleton-row,
.shieldx-skeleton-option-control,
.shieldx-skeleton-filter-field,
.shieldx-skeleton-chart-rule,
.shieldx-skeleton-chart-wave {
  animation: shieldx-skeleton-shimmer 1.35s ease-in-out infinite;
  background: linear-gradient(90deg, #eef3f9 0%, #f8fbff 45%, #e6edf7 72%);
  background-size: 240% 100%;
  display: block;
}

.shieldx-skeleton-line,
.shieldx-skeleton-row,
.shieldx-skeleton-chart-rule,
.shieldx-skeleton-chart-wave {
  border-radius: 999px;
}

.shieldx-skeleton-line--title {
  height: 18px;
  width: min(220px, 54vw);
}

.shieldx-skeleton-line--subtitle {
  height: 12px;
  margin-top: 9px;
  width: min(360px, 68vw);
}

.shieldx-skeleton-line--meta {
  height: 12px;
  width: 170px;
}

.shieldx-skeleton-line--button {
  border-radius: 8px;
  height: 34px;
  width: 118px;
}

.shieldx-skeleton-line--label,
.shieldx-skeleton-line--metric-label,
.shieldx-skeleton-line--metric-detail,
.shieldx-skeleton-line--metric-stats,
.shieldx-skeleton-line--summary-detail,
.shieldx-skeleton-line--summary-status,
.shieldx-skeleton-line--summary-action,
.shieldx-skeleton-line--action {
  height: 11px;
}

.shieldx-skeleton-line--label {
  width: 74%;
}

.shieldx-skeleton-line--metric-label {
  width: 62%;
}

.shieldx-skeleton-line--metric-value {
  height: 24px;
  margin-top: 14px;
  width: 48%;
}

.shieldx-skeleton-line--metric-detail {
  margin-top: 10px;
  width: 82%;
}

.shieldx-skeleton-line--metric-stats {
  bottom: 54px;
  left: 18px;
  position: absolute;
  width: 44%;
}

.shieldx-skeleton-line--summary-detail {
  height: 13px;
  width: min(210px, 42vw);
}

.shieldx-skeleton-line--summary-status {
  height: 13px;
  width: min(520px, 62vw);
}

.shieldx-skeleton-line--summary-action {
  border-radius: 999px;
  height: 42px;
  width: 168px;
}

.shieldx-skeleton-line--action {
  margin-top: auto;
  width: 46%;
}

.shieldx-skeleton-overview-shell {
  display: grid;
  gap: 12px;
}

.shieldx-skeleton-overview-metrics {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}

.shieldx-skeleton-summary-band,
.shieldx-skeleton-metric,
.shieldx-skeleton-signal-card {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
  min-width: 0;
}

.shieldx-skeleton-summary-band {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(260px, 1fr) minmax(120px, auto);
  min-height: 76px;
  padding: 14px 18px;
}

.shieldx-skeleton-summary-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.shieldx-skeleton-score {
  display: flex;
  flex-direction: column;
  min-height: 184px;
  padding: 16px;
}

.shieldx-skeleton-ring {
  align-self: center;
  border-radius: 999px;
  height: 106px;
  margin: 16px 0 14px;
  position: relative;
  width: 106px;
}

.shieldx-skeleton-ring::before {
  background: #fff;
  border-radius: inherit;
  content: "";
  inset: 12px;
  position: absolute;
}

.shieldx-skeleton-ring--summary {
  height: 58px;
  margin: 0;
  width: 58px;
}

.shieldx-skeleton-ring--summary::before {
  inset: 6px;
}

.shieldx-skeleton-metric-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: none;
}

.shieldx-skeleton-metric-grid .shieldx-skeleton-metric:last-child {
  grid-column: auto;
}

.shieldx-skeleton-metric {
  min-height: 168px;
  padding: 16px 18px 78px;
  position: relative;
}

.shieldx-skeleton-card-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.shieldx-skeleton-icon {
  border-radius: 999px;
  flex: 0 0 32px;
  height: 32px;
  margin-left: auto;
  width: 32px;
}

.shieldx-skeleton-card-footer {
  align-items: center;
  border-top: 1px solid #edf2fa;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 46px;
  padding: 0 18px;
  position: absolute;
  right: 0;
}

.shieldx-skeleton-card-footer .shieldx-skeleton-line--action {
  margin-top: 0;
}

.shieldx-skeleton-toggle {
  border-radius: 999px;
  height: 20px;
  width: 38px;
}

.shieldx-skeleton-chart-panel,
.shieldx-skeleton-lower {
  margin-top: 18px;
}

.shieldx-skeleton-lower + .shieldx-overview-loading {
  margin-top: 18px;
}

.shieldx-skeleton-page {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.shieldx-skeleton-summary-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.shieldx-skeleton-summary-card,
.shieldx-skeleton-tab-card,
.shieldx-skeleton-option-card,
.shieldx-skeleton-detail-card,
.shieldx-skeleton-step-card {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  box-sizing: border-box;
  min-width: 0;
}

.shieldx-skeleton-summary-card {
  min-height: 112px;
  padding: 16px 18px;
}

.shieldx-skeleton-tab-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.shieldx-skeleton-tab-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  min-height: 82px;
  padding: 14px 16px;
}

.shieldx-skeleton-tab-card .shieldx-skeleton-icon {
  grid-row: span 2;
  margin: 0;
}

.shieldx-skeleton-page-panel {
  margin: 0;
}

.shieldx-skeleton-panel-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shieldx-skeleton-panel-grid > .shieldx-panel {
  grid-column: auto;
}

.shieldx-skeleton-option-grid,
.shieldx-skeleton-detail-grid,
.shieldx-skeleton-step-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shieldx-skeleton-option-card,
.shieldx-skeleton-step-card {
  align-items: flex-start;
  display: grid;
  gap: 12px;
  grid-template-columns: 24px minmax(0, 1fr);
  min-height: 88px;
  padding: 15px;
}

.shieldx-skeleton-option-control {
  border-radius: 5px;
  height: 20px;
  width: 20px;
}

.shieldx-skeleton-detail-card {
  min-height: 210px;
  padding: 18px;
}

.shieldx-skeleton-detail-card .shieldx-skeleton-line--title {
  margin-bottom: 20px;
  width: 62%;
}

.shieldx-skeleton-event-row {
  align-items: center;
  border-top: 1px solid #edf1f6;
  display: grid;
  gap: 14px;
  grid-template-columns: 36px minmax(0, 1fr) 118px;
  padding: 16px 0;
}

.shieldx-skeleton-event-row .shieldx-skeleton-icon {
  margin: 0;
}

.shieldx-skeleton-table {
  border: 1px solid #e7edf5;
  border-radius: 8px;
  overflow: hidden;
}

.shieldx-skeleton-table-row {
  align-items: center;
  border-top: 1px solid #edf1f6;
  display: grid;
  gap: 18px;
  grid-template-columns: 0.65fr 1.5fr repeat(3, minmax(80px, 1fr));
  min-height: 52px;
  padding: 0 16px;
}

.shieldx-skeleton-table-row:first-child {
  border-top: 0;
}

.shieldx-skeleton-table-row.is-heading {
  background: #f7f9fc;
  min-height: 44px;
}

.shieldx-skeleton-table-row .shieldx-skeleton-line {
  height: 10px;
  width: 82%;
}

.shieldx-skeleton-filter-row {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(150px, 1fr)) 118px;
  margin-top: 20px;
}

.shieldx-skeleton-filter-field {
  border-radius: 6px;
  height: 40px;
}

.shieldx-skeleton-setup-hero {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 116px;
}

.shieldx-skeleton-setup-hero .shieldx-skeleton-ring {
  height: 96px;
  margin: 0;
  width: 96px;
}

.shieldx-skeleton-step-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shieldx-skeleton-step-card .shieldx-skeleton-icon {
  height: 28px;
  margin: 0;
  width: 28px;
}

@media (max-width: 960px) {
  .shieldx-skeleton-option-grid,
  .shieldx-skeleton-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shieldx-skeleton-filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .shieldx-skeleton-panel-grid,
  .shieldx-skeleton-option-grid,
  .shieldx-skeleton-detail-grid,
  .shieldx-skeleton-step-grid,
  .shieldx-skeleton-filter-row,
  .shieldx-skeleton-setup-hero {
    grid-template-columns: 1fr;
  }

  .shieldx-skeleton-event-row {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .shieldx-skeleton-event-row > .shieldx-skeleton-line--button {
    grid-column: 1 / -1;
  }

  .shieldx-skeleton-table {
    overflow-x: auto;
  }

  .shieldx-skeleton-table-row {
    min-width: 680px;
  }
}

.shieldx-skeleton-chart-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.shieldx-skeleton-chart {
  border: 1px solid #e7edf5;
  border-radius: 8px;
  min-height: 240px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.shieldx-skeleton-chart-rule {
  height: 1px;
  margin-top: 43px;
  opacity: 0.8;
  width: 100%;
}

.shieldx-skeleton-chart-rule:first-child {
  margin-top: 0;
}

.shieldx-skeleton-chart-wave {
  height: 4px;
  left: 32px;
  position: absolute;
  right: auto;
  transform: rotate(-4deg);
}

.shieldx-skeleton-chart-wave--one {
  top: 92px;
  width: 68%;
}

.shieldx-skeleton-chart-wave--two {
  bottom: 74px;
  left: auto;
  opacity: 0.75;
  right: 32px;
  transform: rotate(6deg);
  width: 58%;
}

.shieldx-skeleton-signal-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shieldx-skeleton-signal-card {
  min-height: 92px;
  padding: 14px;
}

.shieldx-skeleton-row {
  height: 14px;
  margin-top: 16px;
  width: 100%;
}

.shieldx-skeleton-row:nth-of-type(2n) {
  width: 78%;
}

.shieldx-skeleton-row:nth-of-type(3n) {
  width: 88%;
}

@keyframes shieldx-skeleton-shimmer {
  0% {
    background-position: 120% 0;
  }

  100% {
    background-position: -120% 0;
  }
}

.shieldx-updates-page .shieldx-shell {
  display: grid;
  gap: 10px;
  padding-bottom: 20px;
}

.shieldx-updates-page .shieldx-panel {
  padding: 18px 28px;
}

.shieldx-updates-metric-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: 14px;
}

.shieldx-updates-metric-grid .shieldx-metric {
  min-height: 104px;
  padding: 16px 18px;
}

.shieldx-updates-metric-grid .shieldx-metric span {
  color: #53617d;
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.shieldx-updates-metric-grid .shieldx-metric strong {
  color: #0d1b3e;
  font-size: 26px;
  font-weight: 750;
  line-height: 1.15;
  margin-top: 12px;
}

.shieldx-updates-settings-form {
  display: block;
  margin-top: 12px;
  max-width: 820px;
}

.shieldx-updates-check {
  align-items: center;
  display: flex;
  gap: 10px;
  line-height: 1.35;
  margin: 0 0 12px;
}

.shieldx-updates-check input[type="checkbox"] {
  margin: 0;
}

.shieldx-updates-feed-url {
  align-items: center;
  background: #f8fbff;
  border: 1px solid #e0e9f6;
  border-radius: 8px;
  display: inline-flex;
  margin: 4px 0 16px;
  max-width: 100%;
  padding: 10px 12px;
}

.shieldx-updates-feed-url code {
  background: transparent;
  color: #24324d;
  overflow-wrap: anywhere;
  padding: 0;
}

.shieldx-updates-settings-form .submit {
  margin: 0;
  padding: 0;
}

.shieldx-updates-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 12px;
}

.shieldx-updates-actions form {
  margin: 0;
}

.shieldx-pulse-page .shieldx-grid {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.shieldx-pulse-page .shieldx-panel {
  padding: 20px 22px;
}

.shieldx-pulse-page .shieldx-section-title {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin: 0 0 14px;
}

.shieldx-pulse-page .shieldx-section-title h2 {
  color: #18233e;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
  margin: 0;
}

.shieldx-pulse-page .shieldx-empty {
  margin: 0;
}

.shieldx-pulse-settings-form {
  display: block;
}

.shieldx-pulse-settings {
  display: grid;
}

.shieldx-pulse-settings-section {
  border-top: 1px solid #e7edf5;
  min-width: 0;
  padding: 20px 0;
}

.shieldx-pulse-settings > .shieldx-pulse-settings-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.shieldx-pulse-settings-section h3,
.shieldx-pulse-fieldset legend {
  color: #18233e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
}

.shieldx-pulse-settings-split {
  border-top: 1px solid #e7edf5;
  display: grid;
  grid-template-columns: minmax(280px, 4fr) minmax(360px, 6fr);
}

.shieldx-pulse-settings-split .shieldx-pulse-settings-section {
  border-top: 0;
}

.shieldx-pulse-settings-split .shieldx-pulse-settings-section + .shieldx-pulse-settings-section {
  border-left: 1px solid #e7edf5;
  padding-left: 22px;
}

.shieldx-pulse-settings-split .shieldx-pulse-settings-section:first-child {
  padding-right: 22px;
}

.shieldx-pulse-toggle-grid {
  display: grid;
  gap: 12px 20px;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
}

.shieldx-pulse-toggle {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  margin: 0;
  min-height: 32px;
  min-width: 0;
}

.shieldx-pulse-toggle span {
  color: #18233e;
  font-weight: 600;
}

.shieldx-pulse-cadence-control {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.shieldx-pulse-cadence-control > select {
  min-width: 150px;
}

.shieldx-pulse-field-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(150px, 180px));
  justify-content: start;
}

.shieldx-pulse-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.shieldx-pulse-field > span {
  color: #4b5f82;
  font-size: 13px;
  font-weight: 650;
}

.shieldx-pulse-field input[type="number"] {
  max-width: 180px;
  min-height: 40px;
  width: 100%;
}

.shieldx-pulse-field--full {
  margin-bottom: 18px;
}

.shieldx-pulse-website-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shieldx-pulse-website-grid .shieldx-pulse-field--full {
  margin-bottom: 0;
}

.shieldx-pulse-field--full textarea {
  box-sizing: border-box;
  min-height: 126px;
  resize: vertical;
  width: 100%;
}

.shieldx-pulse-fieldset {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.shieldx-pulse-fieldset legend {
  padding: 0;
}

.shieldx-pulse-settings-section > .description {
  color: #68738c;
  line-height: 1.45;
  margin: 10px 0 0;
}

.shieldx-pulse-runner-details {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

.shieldx-pulse-runner-details > div {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: 120px minmax(0, 1fr);
}

.shieldx-pulse-runner-details dt {
  color: #4b5f82;
  font-size: 13px;
  font-weight: 650;
  margin: 0;
}

.shieldx-pulse-runner-details dd {
  margin: 0;
  min-width: 0;
}

.shieldx-pulse-runner-details code {
  color: #18233e;
  overflow-wrap: anywhere;
}

.shieldx-pulse-token-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.shieldx-pulse-token-row code {
  min-width: 0;
}

.shieldx-admin .shieldx-pulse-token-rotate.button:not(.button-primary) {
  min-height: 30px;
  padding: 0 10px;
}

.shieldx-pulse-form-actions {
  align-items: center;
  border-top: 1px solid #e7edf5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
}

.shieldx-pulse-form-actions form {
  margin: 0;
}

.shieldx-pulse-anomaly-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shieldx-pulse-anomaly-actions form {
  margin: 0;
}

.shieldx-pulse-custom-cadence {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  margin: 0;
}

.shieldx-pulse-custom-cadence[hidden] {
  display: none;
}

.shieldx-pulse-custom-cadence input {
  width: 96px;
}

@media (max-width: 960px) {
  .shieldx-pulse-toggle-grid {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }

  .shieldx-pulse-settings-split {
    grid-template-columns: 1fr;
  }

  .shieldx-pulse-website-grid {
    grid-template-columns: 1fr;
  }

  .shieldx-pulse-settings-split .shieldx-pulse-settings-section:first-child {
    padding-right: 0;
  }

  .shieldx-pulse-settings-split .shieldx-pulse-settings-section + .shieldx-pulse-settings-section {
    border-left: 0;
    border-top: 1px solid #e7edf5;
    padding-left: 0;
  }
}

@media (max-width: 782px) {
  .shieldx-pulse-toggle-grid,
  .shieldx-pulse-field-grid {
    grid-template-columns: 1fr;
  }

  .shieldx-pulse-field input[type="number"] {
    max-width: none;
  }

  .shieldx-pulse-runner-details > div {
    gap: 4px;
    grid-template-columns: 1fr;
  }

  .shieldx-pulse-form-actions,
  .shieldx-pulse-form-actions form,
  .shieldx-pulse-form-actions .button {
    width: 100%;
  }

  .shieldx-pulse-form-actions {
    align-items: stretch;
  }

  .shieldx-pulse-form-actions .button {
    justify-content: center;
  }
}

.shieldx-recovery-page .shieldx-grid {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 16px;
}

.shieldx-recovery-page .shieldx-panel {
  padding: 18px 20px;
}

.shieldx-recovery-page .shieldx-section-title {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin: 0 0 12px;
}

.shieldx-recovery-page .shieldx-section-title h2 {
  color: #18233e;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
  margin: 0;
}

.shieldx-scheduler-shell {
  margin-top: 14px;
  padding: 2px 2px 28px;
}

.shieldx-scheduler-page .shieldx-metrics {
  gap: 12px;
  margin-top: 12px;
}

.shieldx-scheduler-page .shieldx-metric {
  min-height: 96px;
  padding: 14px 16px;
}

.shieldx-scheduler-page .shieldx-metrics:not(.shieldx-metrics--overview) .shieldx-metric:not(.shieldx-metric--score) {
  height: 96px;
  min-height: 96px;
}

.shieldx-scheduler-page .shieldx-metrics ~ .shieldx-scheduler-section,
.shieldx-scheduler-page .notice + .shieldx-metrics {
  margin-top: 12px;
}

.shieldx-scheduler-page .shieldx-panel {
  padding: 18px 20px;
}

.shieldx-scheduler-page .shieldx-scheduler-system-cron-active {
  margin-top: 14px;
  padding-top: 24px;
}

.shieldx-scheduler-page .shieldx-section-title {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin: 0 0 12px;
}

.shieldx-scheduler-page .shieldx-section-title h2 {
  color: #18233e;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
  margin: 0;
}

.shieldx-scheduler-table {
  margin: 0;
}

.shieldx-scheduler-task-form {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}

.shieldx-scheduler-task-form .shieldx-inline-check {
  flex: 0 0 auto;
  margin: 0;
}

.shieldx-scheduler-task-form select {
  flex: 0 0 132px;
  max-width: 132px;
  min-width: 132px;
}

.shieldx-scheduler-task-form input[type="number"] {
  flex: 0 0 108px;
  max-width: 108px;
  min-width: 108px;
}

.shieldx-scheduler-custom-cadence {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
}

.shieldx-scheduler-custom-cadence[hidden] {
  display: none;
}

.shieldx-notification-digest-custom[hidden] {
  display: none;
}

.shieldx-scheduler-task-form .description,
.shieldx-scheduler-task-form .button {
  flex: 0 0 auto;
}

.shieldx-recovery-installer-form {
  display: grid;
  gap: 6px;
  margin: 0;
}

.shieldx-recovery-page .shieldx-recovery-layer-option {
  align-items: center;
  gap: 8px;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  min-height: 40px;
  padding: 7px 10px;
}

.shieldx-recovery-page .shieldx-recovery-layer-option input[type="checkbox"] {
  margin: 0;
}

.shieldx-recovery-layer-option--installed {
  background: #f8fbff;
}

.shieldx-recovery-layer-state {
  color: #51617f;
  font-size: 12px;
  font-weight: 750;
  justify-self: end;
}

.shieldx-recovery-layer-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-self: end;
}

.shieldx-recovery-layer-option--installed .shieldx-recovery-layer-state {
  color: #0f7a3b;
}

.shieldx-recovery-install-actions {
  display: flex;
  justify-content: flex-start;
  margin: 14px 0 10px;
}

.shieldx-recovery-details {
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
  margin-top: 14px;
}

.shieldx-recovery-details dt,
.shieldx-recovery-details dd {
  line-height: 1.45;
  min-height: 42px;
  padding: 10px 12px;
}

.shieldx-recovery-details code {
  background: transparent;
  border: 0;
  color: #07142f;
  font-size: 13px;
  padding: 0;
  white-space: normal;
}

.shieldx-recovery-candidate-empty {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.shieldx-recovery-candidate-empty .shieldx-empty {
  margin: 0;
}

.shieldx-recovery-candidate-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shieldx-recovery-baseline {
  align-items: center;
  background: #fff8e8;
  border: 1px solid #f6c86d;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 18px 0;
  padding: 18px;
}

.shieldx-recovery-baseline.is-ready {
  background: #f2fbf6;
  border-color: #a8dfba;
}

.shieldx-recovery-baseline h2 {
  color: #07142f;
  font-size: 20px;
  line-height: 1.25;
  margin: 4px 0 6px;
}

.shieldx-recovery-baseline p {
  color: #4f5d75;
  margin: 0;
  max-width: 760px;
}

.shieldx-recovery-baseline code {
  background: #ffffff;
  border: 1px solid #d9e4f5;
  border-radius: 8px;
  color: #07142f;
  max-width: 420px;
  overflow-wrap: anywhere;
  padding: 10px 12px;
}

.shieldx-recovery-create-restore-form {
  display: flex;
  flex-shrink: 0;
}

.shieldx-metrics + .shieldx-addon-management,
.shieldx-subnav + .shieldx-addon-management,
.shieldx-addon-management + .shieldx-addon-install {
  margin-top: 18px;
}

.shieldx-addon-management .shieldx-section-head,
.shieldx-addon-install .shieldx-section-head {
  margin-bottom: 12px;
}

.shieldx-addon-management .shieldx-rule-table-wrap > table thead th {
  padding: 10px 14px;
}

.shieldx-addon-management .shieldx-rule-table-wrap > table tbody td {
  padding: 10px 14px;
  vertical-align: middle;
}

.shieldx-addon-management .shieldx-rule-table-wrap > table thead th:last-child,
.shieldx-addon-management .shieldx-rule-table-wrap > table tbody td:last-child {
  text-align: right;
}

.shieldx-addon-management .shieldx-inline-actions {
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 0;
}

.shieldx-addon-management .shieldx-inline-actions form {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  margin: 0;
}

.shieldx-addon-management .button.button-small {
  min-height: 36px;
  padding: 0 14px;
}

.shieldx-addon-management .shieldx-check-row--compact {
  display: inline-flex;
  gap: 6px;
  grid-template-columns: none;
  margin: 0;
  white-space: nowrap;
}

.shieldx-extension-catalog {
  display: grid;
  gap: 18px;
}

.shieldx-extension-intro {
  align-items: flex-start;
  background: #f8fbff;
  border: 1px solid #dce8f8;
  border-radius: 14px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px;
}

.shieldx-extension-intro h3,
.shieldx-extension-catalog-head h3 {
  margin: 0 0 6px;
}

.shieldx-extension-intro p {
  color: #52607a;
  margin: 0;
  max-width: 920px;
}

.shieldx-extension-card-grid {
  gap: 14px;
}

.shieldx-extension-card .shieldx-module-copy strong {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.shieldx-extension-card .shieldx-module-copy span {
  color: #52607a;
  font-size: 12px;
  line-height: 1.45;
}

.shieldx-extension-card-icon {
  flex: 0 0 auto;
  height: 18px;
  width: 18px;
}

.shieldx-accordion-panel {
  overflow: hidden;
  padding: 0;
}

.shieldx-accordion-panel[open] {
  box-shadow: none;
}

.shieldx-accordion-panel > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  list-style: none;
  padding: 18px 22px;
}

.shieldx-accordion-panel > summary::-webkit-details-marker {
  display: none;
}

.shieldx-accordion-panel > summary::after {
  border-bottom: 2px solid #4a5874;
  border-right: 2px solid #4a5874;
  content: "";
  flex: 0 0 auto;
  height: 8px;
  margin-left: 10px;
  transform: rotate(45deg);
  transition: transform 160ms ease;
  width: 8px;
}

.shieldx-accordion-panel[open] > summary {
  border-bottom: 1px solid #e7edf5;
}

.shieldx-accordion-panel[open] > summary::after {
  transform: rotate(225deg);
}

.shieldx-accordion-panel > summary span {
  color: #18233e;
  font-size: 18px;
  font-weight: 750;
}

.shieldx-accordion-panel > summary small {
  color: #68738c;
  font-size: 12px;
  font-weight: 600;
  margin-left: auto;
}

.shieldx-accordion-panel > summary:focus {
  box-shadow: none;
  outline: none;
}

.shieldx-accordion-panel > summary:focus-visible {
  box-shadow: none;
  outline: none;
}

.shieldx-accordion-panel > summary:focus-visible span {
  text-decoration: underline;
  text-decoration-color: #2f6df6;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.shieldx-accordion-body {
  padding: 18px 22px 22px;
}

.shieldx-accordion-panel--embedded {
  background: #f8fbff;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  box-shadow: none;
}

.shieldx-accordion-panel--embedded > summary {
  padding: 14px 16px;
}

.shieldx-accordion-panel--embedded > summary span {
  font-size: 16px;
  font-weight: 700;
}

.shieldx-accordion-panel--embedded .shieldx-accordion-body {
  padding: 16px;
}

.shieldx-js-accordion-panel {
  overflow: hidden;
  padding: 0;
}

.shieldx-js-accordion-panel.is-open {
  box-shadow: none;
}

.shieldx-js-accordion-panel > .shieldx-section-head {
  align-items: center;
  cursor: pointer;
  justify-content: flex-start;
  margin: 0;
  padding: 18px 22px;
}

.shieldx-js-accordion-panel > .shieldx-section-head > div {
  min-width: 0;
}

.shieldx-js-accordion-panel > .shieldx-section-head > .shieldx-section-head-actions {
  margin-left: auto;
}

.shieldx-js-accordion-panel > .shieldx-section-head h2 {
  font-size: 18px;
}

.shieldx-section-settings-link {
  align-items: center;
  background: #fff;
  border: 1px solid #d9e4f4;
  border-radius: 999px;
  color: #18233e;
  display: inline-flex;
  flex: 0 0 auto;
  height: 34px;
  justify-content: center;
  margin-left: auto;
  text-decoration: none;
  width: 34px;
}

.shieldx-section-settings-link:hover,
.shieldx-section-settings-link:focus {
  border-color: #101828;
  color: #101828;
}

.shieldx-section-settings-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(16, 24, 40, 0.16);
  outline: none;
}

.shieldx-section-settings-icon {
  height: 18px;
  width: 18px;
}

.shieldx-js-accordion-body {
  padding: 18px 22px 22px;
}

.shieldx-accordion-toggle {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  cursor: pointer;
  display: inline-grid;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
  margin-left: auto;
  padding: 0;
  width: 34px;
}

.shieldx-section-settings-link + .shieldx-accordion-toggle {
  margin-left: 4px;
}

.shieldx-section-head-actions + .shieldx-accordion-toggle {
  margin-left: 4px;
}

.shieldx-accordion-toggle::before {
  border-bottom: 2px solid #4a5874;
  border-right: 2px solid #4a5874;
  content: "";
  display: block;
  height: 8px;
  transform: rotate(45deg);
  transition: transform 160ms ease;
  width: 8px;
}

.shieldx-js-accordion-panel.is-open > .shieldx-section-head {
  border-bottom: 1px solid #e7edf5;
}

.shieldx-js-accordion-panel.is-open .shieldx-accordion-toggle::before {
  transform: rotate(225deg);
}

.shieldx-accordion-toggle:focus {
  box-shadow: none;
  outline: none;
}

.shieldx-accordion-toggle:focus-visible::before {
  border-color: #2f6df6;
}

.shieldx-setup-progress {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 18px;
}

.shieldx-setup-progress-main h2 {
  color: #101935;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.25;
  margin: 0;
}

.shieldx-setup-progress-main p {
  color: #5f6b85;
  margin: 6px 0 0;
}

.shieldx-setup-bar {
  background: #edf2fb;
  border-radius: 999px;
  height: 10px;
  margin-top: 14px;
  overflow: hidden;
}

.shieldx-setup-bar span {
  background: linear-gradient(90deg, #2f6df6, #1ec76a);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.shieldx-setup-progress-side {
  align-items: center;
  display: grid;
  gap: 4px;
  justify-items: end;
}

.shieldx-setup-progress-side strong {
  color: #0d1b3e;
  font-size: 32px;
  font-weight: 750;
  line-height: 1;
}

.shieldx-setup-progress-side span {
  color: #68738c;
  font-size: 12px;
  margin-bottom: 6px;
}

.shieldx-setup-remaining {
  align-items: center;
  border-top: 1px solid #edf2fa;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
  padding-top: 14px;
}

.shieldx-setup-remaining span {
  color: #68738c;
  font-size: 12px;
  font-weight: 700;
}

.shieldx-setup-remaining a {
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  color: #1959d1;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  text-decoration: none;
}

.shieldx-setup-hero {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 18px;
}

.shieldx-setup-hero p {
  color: #5f6b85;
  margin: 0;
  max-width: 760px;
}

.shieldx-setup-hero-title {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shieldx-section-head .shieldx-setup-count-label {
  align-items: center;
  background: #eef4ff;
  border: 1px solid #d7e4ff;
  border-radius: 999px;
  color: #2d5fd1;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 5px 9px;
}

.shieldx-setup-advanced {
  margin-top: 18px;
}

.shieldx-setup-modes {
  background: #101935;
  margin-top: 18px;
}

.shieldx-waf-mode-band {
  background: #fff;
  border-color: #f1a45b;
  border-left: 5px solid #c95e00;
  box-shadow: 0 8px 20px rgba(183, 82, 0, 0.12);
  margin-top: 18px;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.shieldx-waf-mode-band[data-shieldx-waf-mode="temporary"] {
  background: #fff;
  border-color: #e1bb2f;
  border-left-color: #a87500;
  box-shadow: 0 8px 20px rgba(151, 108, 0, 0.12);
}

.shieldx-waf-mode-band[data-shieldx-waf-mode="enforce"] {
  background: #fff;
  border-color: #55c98c;
  border-left-color: #087443;
  box-shadow: 0 8px 20px rgba(8, 116, 67, 0.12);
}

.shieldx-setup-progress + .shieldx-addon-status,
.shieldx-setup-modes ~ .shieldx-addon-status {
  margin-top: 18px;
}

.shieldx-addon-status .shieldx-rule-table-wrap {
  border-radius: 8px;
}

.shieldx-addon-status-table {
  table-layout: fixed;
}

.shieldx-addon-status-table thead th,
.shieldx-addon-status-table tbody td {
  line-height: 1.3;
  padding: 8px 12px;
  vertical-align: middle;
}

.shieldx-addon-status-table thead th:first-child,
.shieldx-addon-status-table tbody td:first-child {
  width: 36%;
}

.shieldx-addon-status-table thead th:nth-child(2),
.shieldx-addon-status-table tbody td:nth-child(2) {
  width: 13%;
}

.shieldx-addon-status-table thead th:nth-child(3),
.shieldx-addon-status-table tbody td:nth-child(3) {
  width: 21%;
}

.shieldx-addon-status-table thead th:nth-child(4),
.shieldx-addon-status-table tbody td:nth-child(4) {
  width: 18%;
}

.shieldx-addon-status-table thead th:last-child,
.shieldx-addon-status-table tbody td:last-child {
  text-align: right;
  width: 12%;
}

.shieldx-addon-status-table .button.button-small {
  min-height: 32px;
  padding: 0 12px;
}

.shieldx-setup-modes > .shieldx-section-head h2,
.shieldx-setup-modes > .shieldx-section-head span {
  color: #fff;
}

.shieldx-waf-mode-band .shieldx-waf-mode-band-trigger h2,
.shieldx-waf-mode-band .shieldx-waf-mode-band-trigger > div > span,
.shieldx-waf-mode-band .shieldx-waf-mode-band-state {
  color: #16213b;
}

.shieldx-waf-mode-band[data-shieldx-waf-mode="log_only"] .shieldx-waf-mode-band-state {
  background: #c95e00;
  border-color: #a84e00;
  color: #fff;
}

.shieldx-waf-mode-band[data-shieldx-waf-mode="temporary"] .shieldx-waf-mode-band-state {
  background: #a87500;
  border-color: #815900;
  color: #fff;
}

.shieldx-waf-mode-band[data-shieldx-waf-mode="enforce"] .shieldx-waf-mode-band-state {
  background: #087443;
  border-color: #065b34;
  color: #fff;
}

.shieldx-waf-mode-band-state [data-shieldx-waf-mode-label],
.shieldx-waf-mode-band-state .shieldx-waf-mode-band-caret {
  color: #fff;
}

.shieldx-waf-mode-disclosure > summary {
  cursor: pointer;
  list-style: none;
}

.shieldx-waf-mode-disclosure > summary::-webkit-details-marker {
  display: none;
}

.shieldx-waf-mode-band .shieldx-waf-mode-band-trigger {
  align-items: center;
  border-radius: 6px;
  margin-bottom: 0;
}

.shieldx-waf-mode-band-trigger:focus-visible {
  outline: 2px solid #2f6cf6;
  outline-offset: 4px;
}

.shieldx-waf-mode-band-state {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  box-sizing: border-box;
  display: inline-flex;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.2;
  min-height: 48px;
  padding: 12px 18px;
  text-align: center;
  vertical-align: middle;
}

.shieldx-waf-mode-band-caret {
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  display: inline-block;
  height: 7px;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
  width: 7px;
}

.shieldx-waf-mode-disclosure[open] .shieldx-waf-mode-band-caret {
  transform: rotate(-135deg) translateY(-2px);
}

.shieldx-setup-mode-grid,
.shieldx-waf-mode-band-grid {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
}

.shieldx-waf-mode-band-grid {
  padding-top: 18px;
}

.shieldx-setup-mode-card {
  align-content: start;
  background: #fff;
  border: 1px solid #dfe8f5;
  border-radius: 8px;
  box-sizing: border-box;
  display: grid;
  gap: 10px;
  height: 100%;
  min-height: 0;
  min-width: 0;
  padding: 18px;
}

.shieldx-setup-mode-card--good {
  border-color: #bdebd0;
}

.shieldx-setup-mode-card--warn {
  border-color: #f5cf85;
}

.shieldx-setup-mode-card--danger {
  border-color: #ffb4ae;
}

.shieldx-waf-mode-band-option {
  align-content: start;
  align-items: start;
  background: #fff;
  border: 1px solid #dfe8f5;
  border-radius: 8px;
  box-sizing: border-box;
  cursor: pointer;
  display: grid;
  gap: 16px;
  grid-template-columns: 22px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  min-width: 0;
  padding: 18px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.shieldx-waf-mode-band-option--good {
  border-color: #bdebd0;
}

.shieldx-waf-mode-band-option--warn {
  border-color: #f5cf85;
}

.shieldx-waf-mode-band-option--danger {
  border-color: #ffb4ae;
}

.shieldx-waf-mode-band-option:hover,
.shieldx-waf-mode-band-option:focus-within {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.shieldx-waf-mode-band-option:has(input:checked) {
  background: #f4f8ff;
  border-color: #8bbcff;
  box-shadow: 0 0 0 1px rgba(47, 109, 246, 0.12);
}

.shieldx-waf-mode-band-option > input[type="radio"] {
  align-self: start;
  justify-self: center;
  margin: 3px 0 0;
}

.shieldx-waf-mode-band-option > span {
  min-width: 0;
}

.shieldx-waf-mode-band-option strong,
.shieldx-waf-mode-band-option small {
  display: block;
}

.shieldx-waf-mode-band-option strong {
  color: #0f1b3d;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.shieldx-waf-mode-band-option small {
  color: #56637d;
  line-height: 1.5;
  margin-top: 6px;
}

.shieldx-setup-mode-kicker {
  color: #53627e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.shieldx-setup-mode-card h3 {
  color: #0f1b3d;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.shieldx-setup-mode-card p {
  color: #56637d;
  margin: 0;
}

.shieldx-setup-mode-card .button {
  align-self: end;
  justify-content: center;
  justify-self: start;
}

.shieldx-setup-mode-preview {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.shieldx-setup-mode-preview section {
  background: #f8fbff;
  border: 1px solid #dfe8f5;
  border-radius: 8px;
  padding: 14px;
}

.shieldx-setup-mode-preview h3 {
  color: #101935;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
}

.shieldx-setup-mode-preview ul {
  display: grid;
  gap: 6px;
  list-style: disc;
  margin: 0;
  padding-left: 18px;
}

.shieldx-setup-mode-preview li {
  color: #53627e;
  line-height: 1.45;
}

.shieldx-setup-mode-preview-group {
  color: #101935;
  font-size: 13px;
  font-weight: 700;
  margin: 14px 0 6px;
}

.shieldx-setup-mode-preview-group:first-of-type {
  margin-top: 0;
}

.shieldx-setup-mode-warnings {
  background: #fff4f2;
  border: 1px solid #f2b7ae;
  border-left: 4px solid #d6362e;
  border-radius: 6px;
  color: #8a1f18;
  display: grid;
  gap: 6px;
  margin: 14px 0 0;
  padding: 12px 14px 12px 30px;
}

.shieldx-check-row {
  align-items: flex-start;
  background: #f8fbff;
  border: 1px solid #dfe8f5;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 28px minmax(0, 1fr);
  padding: 12px;
}

.shieldx-check-row--danger {
  background: #fff7f6;
  border-color: #ffd4cf;
}

.shieldx-check-row--compact {
  align-items: center;
  background: transparent;
  border: 0;
  display: inline-grid;
  gap: 6px;
  grid-template-columns: 16px auto;
  padding: 0;
}

.shieldx-setup-score {
  align-content: center;
  background: conic-gradient(#1ec76a calc(var(--shieldx-setup) * 1%), #e8edf6 0);
  border-radius: 999px;
  display: grid;
  height: 87px;
  justify-items: center;
  place-content: center;
  position: relative;
  width: 87px;
}

.shieldx-setup-score::before {
  background: #fff;
  border-radius: inherit;
  content: "";
  inset: 7px;
  position: absolute;
}

.shieldx-setup-score strong {
  position: relative;
  z-index: 1;
}

.shieldx-setup-score strong {
  color: #0d1b3e;
  font-size: 23px;
  font-weight: 750;
  line-height: 1;
}

.shieldx-setup-steps,
.shieldx-setup-optional-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.shieldx-setup-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shieldx-setup-optional-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.shieldx-setup-recovery-callout {
  align-items: center;
  background: #fff;
  border: 1px solid #dce7f7;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px;
}

.shieldx-setup-recovery-callout h2 {
  color: #101935;
  font-size: 15px;
  font-weight: 750;
  margin: 0 0 6px;
}

.shieldx-setup-recovery-callout p {
  color: #5f6b85;
  margin: 0;
}

.shieldx-disclosure-button {
  align-items: center;
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
}

.shieldx-disclosure-button.is-active {
  background: #edf4ff;
  border-color: #9fc2ff;
  color: #1959d1;
}

.shieldx-setup-recovery-panel {
  margin: 0;
}

.shieldx-setup-recovery-panel[hidden] {
  display: none;
}

.shieldx-setup-recovery-panel .shieldx-lost-authenticator {
  margin: 0;
}

.shieldx-login-recovery-panel {
  margin-top: 22px;
}

.shieldx-login-recovery-panel[hidden] {
  display: none;
}

.shieldx-login-recovery-panel .shieldx-lost-authenticator {
  margin: 0;
}

.shieldx-setup-step {
  align-items: stretch;
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  min-width: 0;
  padding: 14px;
}

.shieldx-setup-step.is-current {
  background: #f8fbff;
  border-color: #9fc2ff;
}

.shieldx-setup-step-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.shieldx-setup-step-title {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shieldx-setup-step h3 {
  color: #101935;
  font-size: 15px;
  font-weight: 750;
  margin: 0;
}

.shieldx-setup-step p {
  color: #5f6b85;
  margin: 0;
}

.shieldx-setup-step small {
  color: #4a5874;
  font-weight: 650;
}

.shieldx-setup-step > .button {
  align-self: end;
  justify-content: center;
  justify-self: start;
}

.shieldx-section-head {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.shieldx-section-head h2 {
  color: #18233e;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
  margin: 0;
}

.shieldx-section-head span {
  color: #68738c;
  font-size: 12px;
}

.shieldx-section-head-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.shieldx-inline-action-form {
  margin: 0;
}

.shieldx-shadow-progress,
.shieldx-scan-progress {
  align-items: center;
  color: #4a5874;
  display: grid;
  flex-basis: 100%;
  gap: 6px;
  max-width: 360px;
  min-width: 240px;
}

.shieldx-shadow-progress[hidden],
.shieldx-scan-progress[hidden] {
  display: none;
}

.shieldx-shadow-progress small,
.shieldx-scan-progress small {
  color: #4a5874;
  font-size: 12px;
  font-weight: 600;
}

.shieldx-shadow-progress-track,
.shieldx-scan-progress-track {
  background: #edf4ff;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  display: block;
  height: 8px;
  overflow: hidden;
  position: relative;
}

.shieldx-shadow-progress-track span,
.shieldx-scan-progress-track span {
  animation: shieldx-shadow-progress 1.1s ease-in-out infinite;
  background: linear-gradient(90deg, #2f6df6, #79a8ff);
  border-radius: inherit;
  display: block;
  height: 100%;
  left: -45%;
  position: absolute;
  top: 0;
  width: 45%;
}

.shieldx-shadow-session-card {
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  border: 1px solid #dbe8ff;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(38, 80, 160, 0.08);
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
}

.shieldx-shadow-history {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.shieldx-shadow-history-head {
  align-items: center;
  border-top: 1px solid #e7edf8;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding-top: 16px;
}

.shieldx-shadow-history-head h3 {
  color: #101a33;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.shieldx-shadow-history-head span {
  color: #566583;
  font-size: 13px;
}

.shieldx-shadow-history-item[hidden] {
  display: none !important;
}

.shieldx-shadow-history-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 2px;
}

.shieldx-shadow-history-more {
  min-width: 112px;
}

.shieldx-shadow-session-head {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.shieldx-shadow-session-icon {
  align-items: center;
  background: #eef5ff;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  color: #245eea;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.shieldx-shadow-session-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.shieldx-shadow-session-title {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shieldx-shadow-session-title h3 {
  color: #101a33;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.25;
  margin: 0;
}

.shieldx-shadow-session-title span {
  background: #fff7e6;
  border: 1px solid #fbd38d;
  border-radius: 999px;
  color: #8a5200;
  font-size: 12px;
  font-weight: 750;
  padding: 5px 9px;
}

.shieldx-shadow-session-copy p {
  color: #5f6b85;
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
  overflow-wrap: anywhere;
}

.shieldx-shadow-session-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.shieldx-shadow-session-review {
  border-top: 1px solid #e7edf8;
  padding-top: 12px;
}

.shieldx-shadow-session-review summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: space-between;
  list-style: none;
}

.shieldx-shadow-session-review summary::-webkit-details-marker {
  display: none;
}

.shieldx-shadow-session-review summary span {
  color: #101a33;
  font-size: 14px;
  font-weight: 750;
}

.shieldx-shadow-session-review summary small {
  color: #68738c;
  font-size: 12px;
  font-weight: 600;
}

.shieldx-shadow-session-review .shieldx-remediation-list {
  margin-top: 12px;
}

@keyframes shieldx-shadow-progress {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(320%);
  }
}

.shieldx-module-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shieldx-module-card {
  align-items: flex-start;
  background: #f8fbff;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 74px;
  padding: 12px;
}

.shieldx-module-card--good {
  background: #fbfffc;
}

.shieldx-module-card--warn {
  background: #fffdf4;
}

.shieldx-module-card--danger {
  background: #fff8f8;
}

.shieldx-module-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.shieldx-module-copy strong {
  color: #101935;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.shieldx-module-copy em {
  color: #5f6b85;
  font-size: 12px;
  font-style: normal;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.shieldx-pill {
  align-items: center;
  border: 1px solid;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  justify-content: center;
  line-height: 1;
  min-height: 24px;
  padding: 0 9px;
  white-space: nowrap;
}

.shieldx-status-pill {
  align-items: center;
  border: 1px solid;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 650;
  justify-content: center;
  line-height: 1;
  min-height: 24px;
  padding: 0 9px;
  white-space: nowrap;
}

.shieldx-pill--good {
  background: #edfaef;
  border-color: #68de7c;
  color: #005c12;
}

.shieldx-status-pill--good {
  background: #edfaef;
  border-color: #68de7c;
  color: #005c12;
}

.shieldx-pill--info {
  background: #eef5ff;
  border-color: #b9d5ff;
  color: #143f78;
}

.shieldx-status-pill--info {
  background: #eef5ff;
  border-color: #b9d5ff;
  color: #143f78;
}

.shieldx-pill--warn {
  background: #fcf9e8;
  border-color: #f0c33c;
  color: #5d4500;
}

.shieldx-status-pill--warn {
  background: #fcf9e8;
  border-color: #f0c33c;
  color: #5d4500;
}

.shieldx-pill--danger {
  background: #fcf0f1;
  border-color: #d63638;
  color: #5f1718;
}

.shieldx-pill--error {
  background: #fcf0f1;
  border-color: #d63638;
  color: #5f1718;
}

.shieldx-status-pill--error {
  background: #fcf0f1;
  border-color: #d63638;
  color: #5f1718;
}

.shieldx-pill--idle {
  background: #f7f9fc;
  border-color: #d9e4f2;
  color: #40506c;
}

.shieldx-check-list {
  margin: 0;
}

.shieldx-check-list li {
  align-items: center;
  border-top: 1px solid #f0f0f1;
  display: grid;
  gap: 10px;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  margin: 0;
  min-height: 44px;
  padding: 8px 0;
}

.shieldx-check-list li:first-child {
  border-top: 0;
}

.shieldx-check-list strong {
  font-size: 12px;
}

.shieldx-dot {
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.shieldx-dot--good {
  background: #00a32a;
}

.shieldx-dot--danger {
  background: #d63638;
}

.shieldx-detail-list {
  display: grid;
  background: #fff;
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  gap: 0;
  grid-template-columns: minmax(110px, 0.45fr) minmax(0, 1fr);
  margin: 0;
  overflow: hidden;
}

.shieldx-detail-list dt,
.shieldx-detail-list dd {
  align-items: center;
  border: 0;
  border-bottom: 1px solid #e1e9f5;
  border-radius: 0;
  box-sizing: border-box;
  display: flex;
  margin: 0;
  min-height: 48px;
  padding: 12px 14px;
}

.shieldx-detail-list dt {
  background: #f6f9fd;
  border-right: 1px solid #e1e9f5;
  color: #4a5874;
  font-weight: 600;
}

.shieldx-detail-list dd {
  background: #fff;
  min-width: 0;
  overflow-wrap: anywhere;
}

.shieldx-detail-list dt:last-of-type,
.shieldx-detail-list dt:last-of-type + dd {
  border-bottom: 0;
}

.shieldx-detail-list--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.shieldx-detail-list--compact dt,
.shieldx-detail-list--compact dd {
  min-height: 44px;
  padding: 10px 14px;
}

.shieldx-detail-list--compact dt {
  border-right: 0;
}

.shieldx-detail-list--compact dd {
  border-left: 1px solid #e1e9f5;
  font-weight: 700;
}

.shieldx-detail-list--compact dt:last-of-type:nth-child(4n+1) + dd {
  grid-column: 2 / -1;
}

.shieldx-direct-access-summary {
  margin-top: 14px;
}

.shieldx-direct-access-summary dt,
.shieldx-direct-access-summary dd {
  align-items: flex-start;
  box-sizing: border-box;
  line-height: 1.45;
  min-height: 50px;
  padding: 13px 14px;
}

.shieldx-system-code-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.shieldx-system-code-card {
  background: #fff;
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
}

.shieldx-system-code-card strong {
  color: #293654;
  font-size: 13px;
  font-weight: 750;
}

.shieldx-system-code-card pre {
  background: #101935;
  border-radius: 7px;
  color: #f8fbff;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  min-height: 44px;
  overflow: auto;
  padding: 10px;
  white-space: pre-wrap;
  word-break: break-word;
}

.shieldx-admin-users-panel {
  margin-top: 0;
}

.shieldx-admin-users-wrap {
  border: 1px solid #e1e9f5;
  border-radius: 8px;
}

.shieldx-admin-users-table {
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 860px;
}

.shieldx-admin-users-table th {
  background: #f8fbff;
  border-bottom: 1px solid #e1e9f5;
  color: #52617d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 12px 14px;
  text-transform: uppercase;
}

.shieldx-admin-users-table td {
  border-bottom: 1px solid #edf2f8;
  color: #16213c;
  padding: 13px 14px;
  vertical-align: middle;
}

.shieldx-admin-users-table tbody tr:hover {
  background: #fbfdff;
}

.shieldx-admin-users-table tbody tr:last-child td {
  border-bottom: 0;
}

.shieldx-admin-users-table td small {
  color: #68738c;
  display: block;
  font-size: 12px;
  margin-top: 6px;
}

.shieldx-admin-users-actions {
  min-width: 120px;
  white-space: nowrap;
}

.shieldx-admin-user {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.shieldx-admin-user strong,
.shieldx-admin-user span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.shieldx-admin-user strong {
  color: #111a33;
  font-weight: 700;
}

.shieldx-admin-user span {
  color: #5f6b85;
  font-size: 13px;
}

.shieldx-admin-user em {
  background: #edf4ff;
  border: 1px solid #c7dcff;
  border-radius: 999px;
  color: #1959d1;
  display: inline-flex;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  justify-self: start;
  line-height: 1;
  padding: 4px 7px;
}

.shieldx-profiler-shell {
  display: grid;
  gap: 14px;
}

.shieldx-user-list-wrap {
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  overflow-x: auto;
}

.shieldx-user-list-table {
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 860px;
}

.shieldx-user-list-table th {
  background: #f8fbff;
  border-bottom: 1px solid #e1e9f5;
  color: #52617d;
  font-size: 11px;
  letter-spacing: 0;
  padding: 12px 14px;
  text-transform: uppercase;
}

.shieldx-user-list-table td {
  border-bottom: 1px solid #edf2f8;
  padding: 12px 14px;
  vertical-align: middle;
}

.shieldx-user-list-table tbody tr {
  cursor: pointer;
  transition: background 140ms ease, box-shadow 140ms ease;
}

.shieldx-user-list-table tbody tr:hover,
.shieldx-user-list-table tbody tr:focus-within {
  background: #fbfdff;
  outline: 0;
}

.shieldx-user-list-table tbody tr.is-selected {
  background: #eef6ff;
  box-shadow: inset 3px 0 0 #2f6df6;
}

.shieldx-user-list-table tbody tr:last-child td,
.shieldx-user-detail-row td {
  border-bottom: 0;
}

.shieldx-user-detail-row {
  background: #f7fbff;
}

.shieldx-user-detail-row[hidden] {
  display: none;
}

.shieldx-user-detail-row > td {
  padding: 0 14px 16px;
}

.shieldx-user-identity {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.shieldx-user-identity--compact {
  gap: 9px;
}

.shieldx-user-identity strong,
.shieldx-user-identity span {
  display: block;
  min-width: 0;
}

.shieldx-user-identity strong {
  color: #111a33;
}

.shieldx-user-identity span {
  color: #5f6b85;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.shieldx-country-flag {
  align-items: center;
  background: #f2f7ff;
  border: 1px solid #d8e7ff;
  border-radius: 999px;
  box-sizing: border-box;
  color: #2f4774;
  display: inline-grid;
  flex: 0 0 38px;
  font-size: 12px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  line-height: 1;
  overflow-wrap: normal;
  padding: 0;
  place-items: center;
  text-align: center;
  white-space: nowrap;
  width: 38px;
}

.shieldx-user-identity .shieldx-country-flag {
  display: inline-grid;
  font-size: 12px;
  overflow-wrap: normal;
}

.shieldx-user-status {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 7px 10px;
}

.shieldx-user-status--active {
  background: #e9fbef;
  color: #007017;
}

.shieldx-user-status--seen {
  background: #eef3fb;
  color: #4a5a73;
}

.shieldx-user-status--unknown {
  background: #fff5df;
  color: #8a5a00;
}

.shieldx-profile-view {
  color: #2f6df6;
  font-weight: 700;
  text-decoration: none;
}

.shieldx-profile-show-all {
  color: #2f6df6;
  font-weight: 700;
  margin-left: 12px;
  text-decoration: none;
}

.shieldx-profile-panel {
  background: #fff;
  border: 1px solid #dbe8f8;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
  display: grid;
  gap: 14px;
  padding: 16px;
}

.shieldx-profile-panel[hidden] {
  display: none;
}

.shieldx-profile-panel-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.shieldx-profile-panel-head span {
  color: #52617d;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.shieldx-profile-panel-head code,
.shieldx-profile-trail code,
.shieldx-profile-trail small,
.shieldx-profiler-table code {
  overflow-wrap: anywhere;
  white-space: normal;
}

.shieldx-profile-stats {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.shieldx-profile-stats > div {
  background: #f8fbff;
  border: 1px solid #e7edf5;
  border-radius: 7px;
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px 12px;
}

.shieldx-profile-stats span {
  color: #5f6b85;
  font-size: 12px;
  font-weight: 700;
}

.shieldx-profile-stats strong {
  color: #111a33;
  font-weight: 800;
  min-width: 0;
  overflow-wrap: anywhere;
}

.shieldx-profile-panel h3 {
  color: #111a33;
  font-size: 15px;
  margin: 0;
}

.shieldx-profile-trail {
  display: grid;
  gap: 8px;
}

.shieldx-profile-trail > div {
  background: #f8fbff;
  border: 1px solid #e7edf5;
  border-radius: 6px;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px 10px;
}

.shieldx-profile-trail span,
.shieldx-profile-trail small,
.shieldx-profile-agent span {
  color: #5f6b85;
  display: block;
  font-size: 12px;
}

.shieldx-profile-agent p {
  color: #5f6b85;
  font-size: 12px;
  line-height: 1.45;
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.shieldx-help-text {
  color: #5f6b85;
  margin: 12px 0 0;
}

.shieldx-profiler-settings {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 14px;
}

.shieldx-profiler-settings .button {
  align-self: center;
}

.shieldx-profiler-table th,
.shieldx-profiler-table td {
  vertical-align: top;
}

.shieldx-profiler-table td:last-child {
  min-width: 118px;
  vertical-align: middle;
}

.shieldx-profiler-table code {
  background: transparent;
  border: 0;
  color: inherit;
  display: inline;
  font-size: inherit;
  padding: 0;
}

.shieldx-profiler-table td:nth-child(4) small {
  color: #007017;
  display: block;
  margin-top: 4px;
}

.shieldx-row-action-form {
  margin: 0;
}

.shieldx-row-action-button.button {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid #d8e4f4;
  border-radius: 8px;
  box-shadow: none;
  color: #245eea;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  min-height: 32px;
  padding: 0 11px;
  text-shadow: none;
  white-space: nowrap;
}

.shieldx-row-action-button.shieldx-button-danger {
  border-color: #ffd3cc;
  color: #b42318;
}

.shieldx-row-action-button.shieldx-button-danger:focus,
.shieldx-row-action-button.shieldx-button-danger:hover {
  background: #fff7f5;
  border-color: #ff9d8f;
  box-shadow: 0 8px 18px rgba(180, 35, 24, 0.1);
  color: #9f1f14;
}

.shieldx-row-action-button.shieldx-button-warning {
  border-color: #fbd38d;
  color: #9a5b00;
}

.shieldx-row-action-button.shieldx-button-warning:focus,
.shieldx-row-action-button.shieldx-button-warning:hover {
  background: #fff8e8;
  border-color: #f59e0b;
  box-shadow: 0 8px 18px rgba(181, 107, 0, 0.1);
  color: #7a4500;
}

.shieldx-row-action-button.is-active {
  background: #edf4ff;
  border-color: #9bbcf7;
  color: #1959d1;
}

.shieldx-table-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shieldx-table-cloud code {
  background: #f6f7f7;
  border: 1px solid #dcdcde;
  border-radius: 4px;
  color: #1d2327;
  display: inline-block;
  padding: 5px 7px;
  white-space: normal;
}

.shieldx-compat-table-wrap {
  background: #fff;
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  overflow: auto;
}

.shieldx-admin .shieldx-admin-users-wrap,
.shieldx-admin .shieldx-user-list-wrap,
.shieldx-admin .shieldx-rule-table-wrap,
.shieldx-admin .shieldx-table-wrap {
  background: #fff;
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  overflow: auto;
}

.shieldx-system-audit-table-wrap {
  max-height: 560px;
}

.shieldx-component-provenance-actions {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: flex-end;
  gap: 6px;
  min-width: 108px;
}

.shieldx-component-provenance-actions form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
}

.shieldx-component-provenance-file-input {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.shieldx-component-provenance-choose {
  margin: 0;
}

.shieldx-component-provenance-icon-button {
  align-items: center;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  line-height: 0;
  margin: 0;
  min-width: 32px;
  padding: 0;
  width: 32px;
}

.shieldx-component-provenance-action-icon {
  height: 16px;
  width: 16px;
}

.shieldx-admin .shieldx-compat-table-wrap > table,
.shieldx-admin .shieldx-rule-table-wrap > table,
.shieldx-admin .shieldx-table,
.shieldx-admin .shieldx-admin-users-table,
.shieldx-admin .shieldx-user-list-table {
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  width: 100%;
}

.shieldx-admin .shieldx-compat-table-wrap > table thead th,
.shieldx-admin .shieldx-rule-table-wrap > table thead th,
.shieldx-admin .shieldx-table thead th,
.shieldx-admin .shieldx-admin-users-table thead th,
.shieldx-admin .shieldx-user-list-table thead th {
  background: #f6f9fd;
  border: 0;
  border-bottom: 1px solid #e1e9f5;
  color: #4a5874;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 12px 14px;
  text-transform: uppercase;
  vertical-align: middle;
}

.shieldx-admin .shieldx-compat-table-wrap > table tbody td,
.shieldx-admin .shieldx-rule-table-wrap > table tbody td,
.shieldx-admin .shieldx-table tbody td,
.shieldx-admin .shieldx-admin-users-table tbody td,
.shieldx-admin .shieldx-user-list-table tbody td {
  background: #fff;
  border: 0;
  border-bottom: 1px solid #edf2f8;
  color: #111a33;
  padding: 13px 14px;
}

.shieldx-admin .shieldx-compat-table-wrap > table tbody tr:nth-child(even) td,
.shieldx-admin .shieldx-rule-table-wrap > table tbody tr:nth-child(even) td,
.shieldx-admin .shieldx-table tbody tr:nth-child(even) td,
.shieldx-admin .shieldx-admin-users-table tbody tr:nth-child(even) td,
.shieldx-admin .shieldx-user-list-table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.shieldx-admin .shieldx-compat-table-wrap > table tbody tr:hover td,
.shieldx-admin .shieldx-rule-table-wrap > table tbody tr:hover td,
.shieldx-admin .shieldx-table tbody tr:hover td,
.shieldx-admin .shieldx-admin-users-table tbody tr:hover td,
.shieldx-admin .shieldx-user-list-table tbody tr:hover td {
  background: #f6f9ff;
}

.shieldx-admin .shieldx-compat-table-wrap > table tbody tr:last-child td,
.shieldx-admin .shieldx-rule-table-wrap > table tbody tr:last-child td,
.shieldx-admin .shieldx-table tbody tr:last-child td,
.shieldx-admin .shieldx-admin-users-table tbody tr:last-child td,
.shieldx-admin .shieldx-user-list-table tbody tr:last-child td {
  border-bottom: 0;
}

.shieldx-table--compact thead th,
.shieldx-table--compact tbody td {
  padding: 10px 12px;
}

.shieldx-inline-alert {
  border: 1px solid #dbe7f5;
  border-radius: 8px;
  margin-top: 18px;
  padding: 16px;
}

.shieldx-inline-alert--warning {
  background: #fff9ed;
  border-color: #f7c66d;
}

.shieldx-compat-table th,
.shieldx-compat-table td {
  vertical-align: top;
}

.shieldx-compat-table td {
  min-width: 120px;
}

.shieldx-compat-table td:last-child {
  min-width: 260px;
}

.shieldx-waf-access-panel {
  margin-top: 10px;
  padding: 16px 22px 18px;
  scroll-margin-top: 40px;
}

.shieldx-waf-access-panel .shieldx-section-head {
  align-items: center;
  margin-bottom: 10px;
}

.shieldx-waf-access-panel .shieldx-empty {
  margin: 0;
}

.shieldx-waf-access-page {
  margin-top: 8px;
  padding-bottom: 18px;
  padding-top: 18px;
}

.shieldx-waf-access-summary-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0;
}

.shieldx-waf-access-summary {
  background: #f8fbff;
  border: 1px solid #dbe7f5;
  border-radius: 8px;
  padding: 14px 16px;
}

.shieldx-waf-access-summary span {
  color: #53617d;
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.shieldx-waf-access-summary strong {
  color: #0d1b3e;
  display: block;
  font-size: 24px;
  line-height: 1.15;
  margin-top: 8px;
}

.shieldx-waf-access-summary--blocked {
  background: #fff7ed;
  border-color: #fed7aa;
}

.shieldx-waf-access-summary--allowed {
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.shieldx-waf-access-summary--recent {
  background: #f8fafc;
  border-color: #dbe3ef;
}

.shieldx-waf-access-filters {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, 1.6fr) minmax(170px, 0.7fr) minmax(190px, 0.8fr) auto;
}

.shieldx-waf-access-search input[type="search"] {
  min-height: 42px;
}

.shieldx-waf-access-filter-actions {
  display: flex;
  gap: 8px;
  padding-bottom: 1px;
}

.shieldx-waf-access-filter-count {
  color: #53617d;
  font-size: 13px;
  font-weight: 600;
  grid-column: 1 / -1;
  margin: -4px 0 0;
}

.shieldx-waf-access-table td {
  vertical-align: middle;
}

.shieldx-waf-access-table .shieldx-row-number {
  color: #64748b;
  font-weight: 700;
  min-width: 44px;
  text-align: right;
  width: 44px;
}

.shieldx-waf-access-table td:nth-child(4) {
  line-height: 1.45;
  max-width: 640px;
  min-width: 280px;
}

.shieldx-waf-access-table code {
  background: #f6f9fd;
  border: 1px solid #e1e9f5;
  border-radius: 5px;
  color: #111a33;
  display: inline-block;
  max-width: 340px;
  overflow-wrap: anywhere;
  padding: 4px 7px;
  white-space: normal;
}

.shieldx-access-status {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 9px;
  white-space: nowrap;
}

.shieldx-access-status--allowed {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #047857;
}

.shieldx-access-status--blocked {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c2410c;
}

.shieldx-access-status--temporary {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.shieldx-access-status--would_block {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

.shieldx-access-status--waf_hit {
  background: #f8fafc;
  border-color: #dbe3ef;
  color: #334155;
}

.shieldx-access-status--recent {
  background: #f8fafc;
  border-color: #dbe3ef;
  color: #475569;
}

.shieldx-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 230px;
}

.shieldx-access-actions form {
  display: inline-flex;
  margin: 0;
}

.shieldx-access-actions .shieldx-button-danger {
  border-color: #ef4444;
  color: #b91c1c;
}

.shieldx-access-actions .shieldx-button-danger:focus,
.shieldx-access-actions .shieldx-button-danger:hover {
  background: #fff1f2;
  border-color: #dc2626;
  color: #991b1b;
}

.shieldx-db-size-table td:first-child {
  min-width: 220px;
}

.shieldx-log-rotation-summary {
  margin-top: 14px;
}

.shieldx-subsection-title {
  color: #101a33;
  font-size: 16px;
  font-weight: 700;
  margin: 18px 0 10px;
}

.shieldx-rotation-target-grid {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shieldx-rotation-target {
  box-sizing: border-box;
  height: 100%;
  min-height: 0;
}

.shieldx-rotation-target em {
  color: #1959d1;
  display: block;
  font-style: normal;
  font-weight: 700;
  margin-top: 8px;
}

.shieldx-log-file-exclusions {
  background: #f8fbff;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  margin-top: 14px;
  padding: 14px;
}

.shieldx-log-file-exclusions .shieldx-field {
  margin: 0;
}

.shieldx-compact-list {
  border: 1px solid #e5edf7;
  border-radius: 8px;
  margin-top: 14px;
  overflow: hidden;
}

.shieldx-compact-list--logs [data-shieldx-log-file][hidden] {
  display: none !important;
}

.shieldx-compact-list > div {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto minmax(72px, auto) auto;
  padding: 10px 12px;
}

.shieldx-compact-list > .shieldx-log-files-actions {
  display: flex;
  justify-content: flex-start;
}

.shieldx-log-files-more {
  min-width: 112px;
}

.shieldx-compact-list > div:nth-child(odd) {
  background: #f7faff;
}

.shieldx-cleanup-preview,
.shieldx-cleanup-result-title {
  margin-top: 16px;
}

.shieldx-cleanup-preview .shieldx-section-title--compact,
.shieldx-cleanup-result-title {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.shieldx-cleanup-preview .shieldx-section-title--compact h3,
.shieldx-cleanup-result-title h3 {
  color: #101935;
  font-size: 16px;
  line-height: 1.3;
  margin: 0;
}

.shieldx-cleanup-preview .shieldx-compact-list > div,
.shieldx-cleanup-result-title + .shieldx-compact-list > div {
  grid-template-columns: minmax(0, 1fr) auto minmax(72px, auto);
}

.shieldx-log-name {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  min-width: 0;
}

.shieldx-log-name code {
  min-width: 0;
}

.shieldx-icon-link {
  align-items: center;
  border: 1px solid #dbe7f7;
  border-radius: 999px;
  color: #111827;
  display: inline-flex;
  flex: 0 0 auto;
  height: 28px;
  justify-content: center;
  text-decoration: none;
  width: 28px;
}

.shieldx-icon-link:hover,
.shieldx-icon-link:focus {
  border-color: #111827;
  color: #111827;
  outline: none;
}

.shieldx-icon-link .shieldx-icon {
  height: 16px;
  width: 16px;
}

.shieldx-status-badge {
  border: 1px solid;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 5px 8px;
  white-space: nowrap;
}

.shieldx-status-badge--ready {
  background: #edfaef;
  border-color: #68de7c;
  color: #005c12;
}

.shieldx-status-badge--warning {
  background: #fcf9e8;
  border-color: #f0c33c;
  color: #5d4500;
}

.shieldx-status-badge--missing {
  background: #fcf0f1;
  border-color: #d63638;
  color: #5f1718;
}

.shieldx-status-badge--optional {
  background: #f6f7f7;
  border-color: #c3c4c7;
  color: #50575e;
}

.shieldx-empty {
  color: #646970;
  margin: 0;
}

.shieldx-incident-panel {
  overflow: hidden;
}

.shieldx-incident-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.shieldx-incident-summary div {
  background: #f8fbff;
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  min-height: 54px;
  padding: 10px 12px;
}

.shieldx-incident-summary span {
  color: #52617d;
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.shieldx-incident-summary strong {
  color: #09173a;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.shieldx-incident-timeline {
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  display: grid;
  gap: 0;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 0;
  position: relative;
  scrollbar-color: #c8d5e8 transparent;
  scrollbar-width: thin;
}

.shieldx-incident-timeline::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

.shieldx-incident-timeline::-webkit-scrollbar-thumb {
  background: #c8d5e8;
  border-radius: 999px;
}

.shieldx-incident-timeline::-webkit-scrollbar-track {
  background: transparent;
}

.shieldx-incident-grid-head,
.shieldx-incident {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-columns: 112px 132px minmax(260px, 1fr) minmax(240px, 0.75fr) 132px;
  min-width: 960px;
  padding: 7px 10px;
}

.shieldx-incident-grid-head {
  background: #f8fbff;
  border-bottom: 1px solid #e1e9f5;
  color: #52617d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  position: sticky;
  text-transform: uppercase;
  top: 0;
  z-index: 1;
}

.shieldx-incident {
  background: #fff;
  border-bottom: 1px solid #edf2f8;
  min-height: 56px;
}

.shieldx-incident:nth-child(even) {
  background: #fbfdff;
}

.shieldx-incident:last-child {
  border-bottom: 0;
}

.shieldx-incident-time time {
  color: #5f6b85;
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.shieldx-incident-kind,
.shieldx-incident-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.shieldx-incident-category,
.shieldx-incident-state,
.shieldx-incident-meta span {
  background: #f6f8fb;
  border: 1px solid #e1e9f5;
  border-radius: 999px;
  color: #52617d;
  display: inline-flex;
  font-size: 11px;
  gap: 4px;
  line-height: 1;
  padding: 4px 7px;
}

.shieldx-incident-category {
  max-width: 78px;
}

.shieldx-incident-state {
  background: #eef6ff;
  border-color: #cfe1ff;
  color: #1959d1;
}

.shieldx-incident-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.shieldx-incident-main strong {
  color: #111a33;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shieldx-incident-main > span {
  color: #52617d;
  display: block;
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shieldx-incident-subject code {
  background: #f2f4f7;
  border-radius: 4px;
  color: #374151;
  display: block;
  font-size: 12px;
  line-height: 1.45;
  max-height: none;
  overflow: visible;
  overflow-wrap: anywhere;
  padding: 3px 5px;
  white-space: normal;
}

.shieldx-incident-meta {
  display: none;
}

.shieldx-incident--waf .shieldx-incident-meta,
.shieldx-incident--blocking .shieldx-incident-meta {
  display: flex;
  margin-top: 3px;
}

.shieldx-incident-meta span {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shieldx-incident--waf .shieldx-incident-meta span,
.shieldx-incident--blocking .shieldx-incident-meta span {
  max-width: 220px;
}

.shieldx-incident-action .button {
  font-size: 12px;
  min-height: 28px;
  padding: 2px 8px;
  width: 100%;
}

.shieldx-incident-action {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.shieldx-activity-log-panel {
  overflow: hidden;
}

.shieldx-activity-log-table-wrap {
  max-height: 420px;
}

.shieldx-activity-log-table {
  min-width: 1180px;
}

.shieldx-activity-log-table th,
.shieldx-activity-log-table td {
  vertical-align: top;
}

.shieldx-activity-log-table th:nth-child(1),
.shieldx-activity-log-table td:nth-child(1) {
  width: 130px;
}

.shieldx-activity-log-table th:nth-child(2),
.shieldx-activity-log-table td:nth-child(2) {
  width: 180px;
}

.shieldx-activity-log-table th:nth-child(3),
.shieldx-activity-log-table td:nth-child(3) {
  width: 190px;
}

.shieldx-activity-log-table th:nth-child(4),
.shieldx-activity-log-table td:nth-child(4) {
  width: 250px;
}

.shieldx-activity-log-table th:nth-child(6),
.shieldx-activity-log-table td:nth-child(6) {
  width: 170px;
}

.shieldx-activity-log-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.shieldx-activity-log-summary div {
  background: #f8fbff;
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  min-height: 54px;
  padding: 10px 12px;
}

.shieldx-activity-log-summary span {
  color: #52617d;
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.shieldx-activity-log-summary strong {
  color: #09173a;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.shieldx-activity-log-list {
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  display: grid;
  max-height: 360px;
  overflow: auto;
  scrollbar-color: #c8d5e8 transparent;
  scrollbar-width: thin;
}

.shieldx-activity-log-list::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

.shieldx-activity-log-list::-webkit-scrollbar-thumb {
  background: #c8d5e8;
  border-radius: 999px;
}

.shieldx-activity-log-head,
.shieldx-activity-log-item {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 112px minmax(150px, 0.5fr) minmax(180px, 0.55fr) minmax(220px, 0.75fr) minmax(300px, 1fr);
  min-width: 1080px;
  padding: 9px 10px;
}

.shieldx-activity-log-head {
  background: #f8fbff;
  border-bottom: 1px solid #e1e9f5;
  color: #52617d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  position: sticky;
  text-transform: uppercase;
  top: 0;
  z-index: 1;
}

.shieldx-activity-log-item {
  background: #fff;
  border-bottom: 1px solid #edf2f8;
}

.shieldx-activity-log-item:nth-child(even) {
  background: #fbfdff;
}

.shieldx-activity-log-item:last-child {
  border-bottom: 0;
}

.shieldx-activity-log-time time {
  color: #5f6b85;
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.shieldx-activity-log-empty {
  padding: 6px 0;
}

.shieldx-activity-log-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.shieldx-activity-log-actor {
  min-width: 0;
}

.shieldx-activity-log-actor strong,
.shieldx-activity-log-title,
.shieldx-activity-log-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.shieldx-activity-log-actor strong,
.shieldx-activity-log-title strong {
  color: #111a33;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shieldx-activity-log-actor strong {
  margin-bottom: 4px;
}

.shieldx-activity-log-actor small,
.shieldx-activity-log-action-cell small,
.shieldx-activity-log-target small,
.shieldx-activity-log-source small,
.shieldx-activity-log-detail > span {
  color: #52617d;
  display: block;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.shieldx-activity-log-category,
.shieldx-activity-log-meta span {
  background: #f6f8fb;
  border: 1px solid #e1e9f5;
  border-radius: 999px;
  color: #52617d;
  display: inline-flex;
  font-size: 11px;
  gap: 4px;
  line-height: 1;
  max-width: 180px;
  overflow: hidden;
  padding: 4px 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shieldx-activity-log-meta span strong {
  color: #374151;
  font-weight: 700;
}

.shieldx-activity-log-target code,
.shieldx-activity-log-source code {
  background: #f2f4f7;
  border-radius: 4px;
  color: #374151;
  display: block;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  padding: 3px 5px;
  white-space: normal;
}

.shieldx-activity-log-source code {
  display: inline-block;
  margin-bottom: 4px;
}

.shieldx-activity-log-detail {
  min-width: 0;
}

.shieldx-activity-log-detail > * + * {
  margin-top: 6px;
}

.shieldx-activity-log-detail .button {
  font-size: 12px;
  justify-self: start;
  min-height: 28px;
  padding: 2px 8px;
}

.shieldx-event-list {
  display: grid;
  gap: 12px;
}

.shieldx-waf-activity .shieldx-event-list,
.shieldx-waf-activity .shieldx-empty {
  margin-top: 18px;
}

.shieldx-waf-activity-empty,
.shieldx-waf-activity-events {
  margin: 14px 4px 18px;
}

.shieldx-waf-latest-hits-layout {
  margin-top: 18px;
}

.shieldx-waf-latest-hits-head-actions {
  align-items: center;
  align-self: center;
}

.shieldx-icon-button {
  align-items: center;
  display: inline-flex !important;
  justify-content: center;
  min-width: 44px;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 44px;
}

.shieldx-icon-button .shieldx-icon {
  height: 18px;
  width: 18px;
}

.shieldx-waf-hit-filter {
  position: relative;
}

.shieldx-waf-latest-hits-card.shieldx-js-accordion-panel {
  overflow: visible;
  position: relative;
  z-index: 1;
}

.shieldx-waf-hit-filter-toggle[aria-expanded="true"] {
  border-color: #8ab4ff;
  box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.12);
  color: #1d4ed8;
}

.shieldx-waf-hit-filter-menu {
  background: #fff;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  box-sizing: border-box;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
  display: grid;
  gap: 8px;
  min-width: 250px;
  padding: 12px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
}

.shieldx-waf-hit-filter.is-filter-menu-above .shieldx-waf-hit-filter-menu {
  bottom: calc(100% + 8px);
  top: auto;
}

.shieldx-waf-hit-filter-menu[hidden] {
  display: none !important;
}

.shieldx-waf-hit-filter-menu > strong {
  color: #18233e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  padding: 0 2px 2px;
}

.shieldx-waf-hit-filter-option {
  align-items: center;
  border: 1px solid #edf2f9;
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin: 0;
  min-height: 42px;
  padding: 8px 10px;
}

.shieldx-waf-hit-filter-option:hover {
  background: #f8fbff;
  border-color: #dbeafe;
}

.shieldx-waf-hit-filter-option span {
  color: #18233e;
  font-size: 13px;
  font-weight: 600;
}

.shieldx-waf-hit-filter-option small {
  align-items: center;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  justify-content: center;
  min-width: 24px;
  padding: 3px 7px;
}

.shieldx-waf-latest-hits-card .shieldx-event-list,
.shieldx-waf-latest-hits-card .shieldx-empty {
  margin-top: 16px;
}

.shieldx-waf-latest-hits-list {
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
}

.shieldx-waf-latest-hits-list [data-shieldx-waf-latest-hit],
.shieldx-waf-latest-hits-list .shieldx-event {
  height: 100%;
}

.shieldx-waf-latest-hits-list .shieldx-event {
  border-left: 1px solid #dfe7f3;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 168px;
}

.shieldx-waf-latest-hits-list .shieldx-event-topline {
  padding: 14px 18px;
}

.shieldx-waf-latest-hits-list .shieldx-event-client-time {
  margin-top: 0;
}

.shieldx-waf-latest-hits-list .shieldx-event-card-head {
  display: block;
}

.shieldx-waf-latest-hits-list .shieldx-event-card-title {
  gap: 8px;
}

.shieldx-waf-latest-hits-list .shieldx-event-card-title strong {
  font-size: 14px;
}

.shieldx-waf-latest-hits-list .shieldx-event-main {
  padding: 16px 18px 14px;
}

.shieldx-waf-latest-hits-list .shieldx-event-rule-score {
  margin-top: 0;
}

.shieldx-waf-latest-hits-list .shieldx-event-request-strip {
  display: none;
}

.shieldx-waf-latest-hits-list .shieldx-event:hover .shieldx-event-request-strip,
.shieldx-waf-latest-hits-list .shieldx-event:focus-within .shieldx-event-request-strip {
  display: flex;
}

@media (hover: none) {
  .shieldx-waf-latest-hits-list .shieldx-event-request-strip {
    display: flex;
  }
}

.shieldx-waf-latest-hits-list .shieldx-event-footer {
  padding: 0;
}

.shieldx-waf-latest-hits-list [data-shieldx-waf-latest-hit][hidden] {
  display: none !important;
}

.shieldx-waf-latest-hits-actions {
  display: flex;
  grid-column: 1 / -1;
  justify-content: flex-start;
  margin-top: 2px;
}

.shieldx-waf-latest-hits-more {
  min-width: 112px;
}

.shieldx-event {
  background: #fff;
  border: 1px solid #dfe7f3;
  border-left: 4px solid #101935;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  padding: 0;
}

.shieldx-event--danger {
  border-left-color: #dc2626;
}

.shieldx-event--warn {
  border-left-color: #d97706;
}

.shieldx-event--info {
  border-left-color: #2563eb;
}

.shieldx-event-topline {
  align-items: flex-start;
  border-bottom: 1px solid #edf2f9;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  min-width: 0;
}

.shieldx-event-identity {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 0;
}

.shieldx-event-identity > strong {
  color: #081431;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shieldx-event-identity > .shieldx-event-pill {
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  min-height: 30px;
  padding: 6px 10px;
  text-transform: uppercase;
}

.shieldx-event-client {
  align-content: start;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.shieldx-event-client strong {
  color: #081431;
  font-weight: 600;
}

.shieldx-event-client span {
  color: #44546f;
}

.shieldx-event-client-browser {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.shieldx-event-agent-tip {
  align-items: center;
  border: 1px solid #dbe7ff;
  border-radius: 999px;
  color: #2563eb;
  cursor: help;
  display: inline-flex;
  flex: 0 0 auto;
  height: 18px;
  justify-content: center;
  position: relative;
  width: 18px;
}

.shieldx-event-agent-tip::after {
  background: #081431;
  border-radius: 8px;
  bottom: calc(100% + 8px);
  box-shadow: 0 14px 30px rgba(8, 20, 49, 0.18);
  color: #ffffff;
  content: attr(data-shieldx-tooltip);
  font-size: 12px;
  font-weight: 500;
  left: 0;
  line-height: 1.4;
  max-width: 360px;
  min-width: 220px;
  opacity: 0;
  overflow-wrap: anywhere;
  padding: 8px 10px;
  pointer-events: none;
  position: absolute;
  text-transform: none;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  visibility: hidden;
  white-space: normal;
  z-index: 20;
}

.shieldx-event-agent-tip:hover::after,
.shieldx-event-agent-tip:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.shieldx-event-agent-tip:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

.shieldx-event-agent-icon {
  height: 12px;
  width: 12px;
}

.shieldx-event-client-time {
  display: grid;
  gap: 2px;
  justify-items: end;
  margin-top: 0;
  text-align: right;
}

.shieldx-event-client-time span {
  color: #5c6a85;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.shieldx-event-client strong,
.shieldx-event-client span,
.shieldx-event-client-time,
.shieldx-event-main {
  overflow-wrap: anywhere;
}

.shieldx-event-main {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.shieldx-event-card-head {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}

.shieldx-event-card-title {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.shieldx-event-title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.shieldx-event-card-title strong {
  color: #081431;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.shieldx-event-category-row {
  align-items: center;
  color: #314463;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 7px;
  line-height: 1.35;
  min-width: 0;
}

.shieldx-event-category-row > span {
  align-items: center;
  display: inline-flex;
  gap: 5px;
  min-width: 0;
}

.shieldx-event-category-row strong {
  color: #243757;
  display: inline;
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shieldx-event-score-badge {
  align-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  justify-content: center;
  line-height: 1;
  min-height: 22px;
  min-width: 22px;
  padding: 3px 6px;
}

.shieldx-event-score-badge--danger {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #9f1239;
}

.shieldx-event-score-badge--warn {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.shieldx-event-score-badge--info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.shieldx-event-card-subtitle {
  align-items: center;
  color: #5c6a85;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 6px;
  line-height: 1.35;
}

.shieldx-event-card-subtitle span {
  white-space: nowrap;
}

.shieldx-event-separator {
  color: #a1adbf;
}

.shieldx-event-rule-score {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0;
  min-width: 0;
}

.shieldx-event-request-strip {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dce5f2;
  border-radius: 6px;
  color: #334563;
  display: flex;
  gap: 10px;
  min-height: 34px;
  min-width: 0;
  overflow: hidden;
  padding: 8px 10px;
}

.shieldx-event-request-strip > span:last-child {
  display: block;
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
  line-height: 1.35;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shieldx-event-method {
  background: #e7eef8;
  border-radius: 5px;
  color: #2e3f5e;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 5px 8px;
  text-transform: uppercase;
}

.shieldx-event-pill {
  align-items: center;
  border: 1px solid #dbe7f6;
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  min-height: 22px;
  padding: 4px 8px;
  white-space: nowrap;
}

.shieldx-event-pill--danger {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #9f1239;
}

.shieldx-event-pill--warn {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.shieldx-event-pill--info,
.shieldx-event-pill--rule {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

a.shieldx-event-pill {
  text-decoration: none;
}

a.shieldx-event-pill:focus,
a.shieldx-event-pill:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #0f3ea8;
}

.shieldx-rule-table tr:target {
  outline: 2px solid #2f6df6;
  outline-offset: -2px;
  scroll-margin-top: 96px;
}

.shieldx-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shieldx-event-meta span {
  background: #f6f8fb;
  border: 1px solid #e3eaf5;
  border-radius: 8px;
  color: #4a5872;
  display: inline-flex;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  padding: 6px 9px;
}

.shieldx-event-agent {
  color: #646970;
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
  overflow-wrap: anywhere;
}

.shieldx-event-footer {
  align-items: center;
  border-top: 1px solid #edf2f9;
  display: flex;
  grid-column: 1 / -1;
  gap: 10px;
  justify-content: space-between;
  margin-top: 0;
  padding-top: 0;
}

.shieldx-event-footer-rules {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  min-width: 0;
  order: 2;
  padding-right: 16px;
}

.shieldx-event-access-link {
  flex: 0 0 auto;
  justify-content: flex-start;
  margin: 0 auto 0 0;
  min-height: 46px;
  order: 1;
  padding: 0 16px;
  text-align: left;
  width: auto;
}

.shieldx-rule-table-wrap {
  overflow-x: auto;
}

.shieldx-rule-summary {
  border: 1px solid #f0f0f1;
  border-radius: 6px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
  padding: 12px;
}

.shieldx-count-group {
  min-width: 0;
}

.shieldx-count-group strong {
  display: block;
  font-size: 12px;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.shieldx-count-group span {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shieldx-count-pill {
  background: #f6f7f7;
  border: 1px solid #dcdcde;
  border-radius: 999px;
  color: #1d2327;
  font-size: 12px;
  font-style: normal;
  line-height: 1;
  padding: 5px 8px;
  white-space: nowrap;
}

.shieldx-count-pill--critical {
  background: #fcf0f1;
  border-color: #d63638;
  color: #5f1718;
}

.shieldx-count-pill--high {
  background: #fff2eb;
  border-color: #f0883e;
  color: #663000;
}

.shieldx-rule-table th,
.shieldx-rule-table td {
  vertical-align: top;
}

.shieldx-rule-table td:nth-child(2) span,
.shieldx-rule-table small {
  color: #646970;
  display: block;
  margin-top: 3px;
}

.shieldx-rule-disabled {
  opacity: 0.72;
}

.shieldx-rule-toggle {
  min-width: 92px;
}

.shieldx-rule-toggle label {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  white-space: nowrap;
}

.shieldx-plugin-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.shieldx-plugin-item {
  align-items: flex-start;
  border: 1px solid #dcdcde;
  border-radius: 6px;
  display: grid;
  gap: 12px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  margin: 0;
  padding: 12px;
}

.shieldx-plugin-item input {
  margin-top: 2px;
}

.shieldx-plugin-item span,
.shieldx-plugin-item strong,
.shieldx-plugin-item small {
  display: block;
  min-width: 0;
}

.shieldx-plugin-item code,
.shieldx-plugin-item small {
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.shieldx-plugin-item small {
  color: #646970;
}

.shieldx-plugin-state {
  color: #646970;
  font-size: 12px;
  font-style: normal;
}

.shieldx-plugin-state--active {
  color: #007017;
  font-weight: 600;
}

.shieldx-form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}

.shieldx-form-status {
  color: #4a5874;
  font-size: 13px;
  font-weight: 600;
  margin: 0 auto 0 0;
  order: -1;
}

.shieldx-form-status--error {
  color: #b42318;
}

.shieldx-updates-page .shieldx-form-actions.shieldx-updates-actions {
  justify-content: flex-start;
  margin-top: 12px;
}

.shieldx-updates-version-head {
  align-items: center;
}

.shieldx-updates-page .shieldx-form-actions.shieldx-updates-version-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.shieldx-updates-version-actions form,
.shieldx-updates-row-action {
  margin: 0;
}

.shieldx-updates-table th:last-child,
.shieldx-updates-table td:last-child {
  text-align: right;
  width: 150px;
}

.shieldx-updates-table td:last-child .button {
  min-width: 88px;
  text-align: center;
}

.shieldx-hidden-form {
  display: none;
}

.shieldx-form-actions--split {
  border-top: 1px solid #eef3f9;
  justify-content: space-between;
  padding-top: 16px;
}

.shieldx-form-actions__left,
.shieldx-form-actions__right {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shieldx-form-actions__left {
  justify-content: flex-start;
}

.shieldx-form-actions__right {
  justify-content: flex-end;
}

.shieldx-log-today-check {
  color: #293654;
  font-weight: 500;
  margin-right: 4px;
}

.shieldx-admin .button:not(.button-primary) {
  align-items: center;
  background: #fff;
  border: 1px solid #d8e4f4;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.055);
  color: #1959d1;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  text-decoration: none;
}

.shieldx-admin .button:not(.button-primary):focus,
.shieldx-admin .button:not(.button-primary):hover {
  background: #f6f9ff;
  border-color: #9bbcf7;
  box-shadow: 0 12px 24px rgba(47, 109, 246, 0.12);
  color: #1959d1;
}

.shieldx-admin .button.button-primary {
  align-items: center;
  background: #2f6df6;
  border-color: #2f6df6;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(47, 109, 246, 0.2);
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  text-shadow: none;
}

.shieldx-admin .button.button-primary:focus,
.shieldx-admin .button.button-primary:hover {
  background: #1959d1;
  border-color: #1959d1;
  box-shadow: 0 16px 32px rgba(25, 89, 209, 0.24);
  color: #fff;
}

.shieldx-admin .shieldx-incident-action .button {
  background: #fff;
  border: 1px solid #d8e4f4;
  border-radius: 8px;
  box-shadow: none;
  color: #245eea;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  min-height: 30px;
  min-width: 108px;
  padding: 0 10px;
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.shieldx-admin .shieldx-incident-action .button:focus,
.shieldx-admin .shieldx-incident-action .button:hover {
  background: #f6f9ff;
  border-color: #9bbcf7;
  box-shadow: 0 8px 18px rgba(47, 109, 246, 0.1);
  color: #1959d1;
}

.shieldx-lockdown-actions {
  border-top: 1px solid #eef3f9;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
}

.shieldx-auth-actions {
  gap: 12px;
  margin-top: 18px;
}

.shieldx-auth-actions .shieldx-sensitive-action-form {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shieldx-auth-actions .shieldx-sensitive-action-form .description {
  color: #5f6b85;
  flex-basis: 100%;
  font-size: 13px;
  margin: -2px 0 0;
}

.shieldx-auth-actions .button,
.shieldx-lockdown-actions .button {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid #d8e4f4;
  border-radius: 8px;
  box-shadow: none;
  color: #245eea;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  line-height: 1;
  min-height: 42px;
  min-width: 112px;
  padding: 0 18px;
  text-shadow: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.shieldx-auth-actions .button:focus,
.shieldx-auth-actions .button:hover,
.shieldx-lockdown-actions .button:focus,
.shieldx-lockdown-actions .button:hover {
  background: #f6f9ff;
  border-color: #9bbcf7;
  box-shadow: 0 10px 20px rgba(47, 109, 246, 0.12);
  color: #1959d1;
  transform: translateY(-1px);
}

.shieldx-lockdown-actions .button.button-primary {
  background: #2f6df6;
  border-color: #2f6df6;
  box-shadow: 0 14px 28px rgba(47, 109, 246, 0.2);
  color: #fff;
  min-width: 150px;
}

.shieldx-lockdown-actions .button.button-primary:focus,
.shieldx-lockdown-actions .button.button-primary:hover {
  background: #1959d1;
  border-color: #1959d1;
  box-shadow: 0 16px 32px rgba(25, 89, 209, 0.24);
  color: #fff;
}

.shieldx-auth-actions .shieldx-button-danger,
.shieldx-lockdown-actions .shieldx-button-danger {
  border-color: #ffd3cc;
  color: #b42318;
}

.shieldx-auth-actions .shieldx-button-danger:focus,
.shieldx-auth-actions .shieldx-button-danger:hover,
.shieldx-lockdown-actions .shieldx-button-danger:focus,
.shieldx-lockdown-actions .shieldx-button-danger:hover {
  background: #fff7f5;
  border-color: #ff9d8f;
  box-shadow: 0 10px 20px rgba(180, 35, 24, 0.1);
  color: #9f1f14;
}

.shieldx-inline-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.shieldx-inline-actions form {
  margin: 0;
}

.shieldx-scan-selector {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0 16px;
}

.shieldx-scan-selector[data-shieldx-system-selector] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shieldx-scan-selector-card {
  align-items: center;
  background: #fff;
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  color: #111a33;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  min-height: 82px;
  padding: 14px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.shieldx-scan-selector-card:focus,
.shieldx-scan-selector-card:hover {
  background: #f9fbff;
  border-color: #b9cff8;
  box-shadow: 0 16px 34px rgba(47, 109, 246, 0.12);
  color: #111a33;
  transform: translateY(-1px);
}

.shieldx-scan-selector-card.is-active {
  background: #fff;
  border-color: #05070d;
  box-shadow: 0 16px 34px rgba(5, 7, 13, 0.1);
}

.shieldx-scan-selector-card.has-warning {
  background: #fff5f5;
  border-color: #f4b7bb;
  box-shadow: 0 12px 30px rgba(180, 35, 42, 0.08);
  color: #7f1d1d;
}

.shieldx-scan-selector-card.has-warning:focus,
.shieldx-scan-selector-card.has-warning:hover,
.shieldx-scan-selector-card.has-warning.is-active {
  background: #feecef;
  border-color: #dc3232;
  box-shadow: 0 16px 34px rgba(180, 35, 42, 0.14);
  color: #7f1d1d;
}

.shieldx-scan-selector-card.has-notice {
  background: #fffaf0;
  border-color: #f5d28b;
  box-shadow: 0 12px 30px rgba(180, 83, 9, 0.07);
  color: #6b3f00;
}

.shieldx-scan-selector-card.has-notice:focus,
.shieldx-scan-selector-card.has-notice:hover,
.shieldx-scan-selector-card.has-notice.is-active {
  background: #fff4d8;
  border-color: #f0b429;
  box-shadow: 0 16px 34px rgba(180, 83, 9, 0.12);
  color: #6b3f00;
}

.shieldx-scan-selector-icon {
  align-items: center;
  background: #edf5ff;
  border: 1px solid #d5e7ff;
  border-radius: 999px;
  color: #245eea;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.shieldx-scan-selector-card.has-warning .shieldx-scan-selector-icon {
  background: #fff;
  border-color: #f4b7bb;
  color: #dc3232;
}

.shieldx-scan-selector-card.has-notice .shieldx-scan-selector-icon {
  background: #fff;
  border-color: #f5d28b;
  color: #b45309;
}

.shieldx-scan-selector-icon .shieldx-icon {
  height: 20px;
  width: 20px;
}

.shieldx-scan-selector-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.shieldx-scan-selector-copy strong,
.shieldx-scan-selector-copy em,
.shieldx-scan-selector-copy small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.shieldx-scan-selector-copy strong {
  font-size: 14px;
  font-weight: 700;
}

.shieldx-scan-selector-copy em {
  color: #071638;
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
}

.shieldx-scan-selector-card.has-warning .shieldx-scan-selector-copy em {
  color: #7f1d1d;
}

.shieldx-scan-selector-card.has-notice .shieldx-scan-selector-copy em {
  color: #6b3f00;
}

.shieldx-scan-selector-copy small {
  color: #66728a;
  font-size: 12px;
}

.shieldx-scan-selector-card.has-warning .shieldx-scan-selector-copy small {
  color: #8a4b4b;
}

.shieldx-scan-selector-card.has-notice .shieldx-scan-selector-copy small {
  color: #755118;
}

.shieldx-scan-selector-warning {
  align-items: center;
  align-self: center;
  background: #dc3232;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.shieldx-scan-selector-card.has-notice .shieldx-scan-selector-warning {
  background: #f0b429;
  color: #3f2a00;
}

.shieldx-scan-selector-warning-icon {
  height: 14px;
  width: 14px;
}

.shieldx-scan-selector-step {
  align-items: center;
  align-self: start;
  background: #f2f5f9;
  border: 1.5px solid #d8e4f4;
  border-radius: 999px;
  color: #101935;
  display: inline-flex;
  font-size: 16px;
  font-weight: 600;
  height: 38px;
  justify-content: center;
  line-height: 1;
  min-width: 38px;
}

.shieldx-scan-selector-card.is-active .shieldx-scan-selector-step {
  background: #05070d;
  border-color: #05070d;
  color: #fff;
}

.shieldx-scan-actions {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.shieldx-scan-summary-grid {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
}

#shieldx-file-scanner .shieldx-scan-summary-grid {
  display: grid !important;
  grid-template-columns: minmax(380px, 1fr) minmax(340px, 0.85fr) minmax(340px, 0.85fr) !important;
}

#shieldx-file-scanner .shieldx-scan-summary-grid > .shieldx-detail-list {
  align-self: stretch;
  margin: 0;
}

#shieldx-file-scanner .shieldx-file-scan-status-card {
  min-width: 0;
}

.shieldx-core-summary-card {
  background: #f8fbff;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
}

.shieldx-scan-form {
  align-items: stretch;
  display: grid;
  gap: 10px;
  min-width: 0;
}

.shieldx-scan-form--schedule {
  gap: 14px;
}

.shieldx-settings-grid--vulnerability {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.shieldx-muted--warning {
  background: #fff8e5;
  border: 1px solid #f1d38a;
  border-radius: 8px;
  color: #6f4e00;
  padding: 10px 12px;
}

.shieldx-inline-schedule {
  background: #f8fbff;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  box-sizing: border-box;
  clear: both;
  display: block;
  padding: 16px;
  width: 100%;
}

.shieldx-inline-schedule.shieldx-accordion-panel {
  padding: 0;
}

#shieldx-restore-points .shieldx-remediation-grid + .shieldx-inline-schedule,
#shieldx-database-backups .shieldx-remediation-grid + .shieldx-inline-schedule {
  margin-top: 16px;
}

.shieldx-section-head--compact {
  margin-bottom: 12px;
}

.shieldx-section-head--compact h3 {
  color: #101a33;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.shieldx-scope-grid {
  align-items: stretch;
  display: grid;
  gap: 14px;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.shieldx-scope-grid--database {
  grid-template-columns: minmax(240px, 420px);
}

.shieldx-scope-grid--schedule .shieldx-scope-card {
  min-height: 112px;
}

.shieldx-scope-card {
  align-items: flex-start;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  border: 1px solid #e7edf5;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
  display: grid;
  gap: 14px;
  grid-template-columns: 24px minmax(0, 1fr);
  height: 100%;
  margin: 0;
  min-height: 138px;
  padding: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.shieldx-scope-card:hover {
  border-color: #c7d7f5;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
  transform: translateY(-1px);
}

.shieldx-scope-card.is-selected {
  background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
  border-color: #6aa7ff;
  box-shadow: 0 16px 36px rgba(47, 109, 246, 0.12);
}

.shieldx-scope-card input {
  margin-top: 2px;
}

.shieldx-scope-card strong,
.shieldx-scope-card em,
.shieldx-scope-card code,
.shieldx-scope-card small {
  display: block;
  min-width: 0;
}

.shieldx-scope-card em {
  background: #eaf3ff;
  border: 1px solid #d6e7ff;
  border-radius: 999px;
  color: #0d5fa6;
  display: inline-flex;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
  margin-top: 4px;
  padding: 5px 8px;
}

.shieldx-scope-card em.is-pending {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #5f6b85;
  display: block;
  line-height: 1.35;
  padding: 0;
}

.shieldx-scope-card code {
  background: #f1f5fb;
  border: 1px solid #dfe8f3;
  border-radius: 6px;
  color: #12203d;
  display: inline-block;
  margin-top: 5px;
  max-width: none;
  overflow-wrap: anywhere;
  padding: 6px 8px;
  white-space: normal;
}

.shieldx-scope-card small {
  color: #5f6b85;
  line-height: 1.55;
  margin-top: 8px;
}

.shieldx-scan-form > .button {
  justify-self: end;
  min-height: 44px;
  white-space: nowrap;
}

.shieldx-scan-form .shieldx-scan-progress {
  justify-self: end;
  width: min(100%, 420px);
}

.shieldx-scan-form.is-running > .button,
.shieldx-scan-form.is-running .shieldx-form-actions .button {
  cursor: progress;
}

.shieldx-core-tools {
  display: grid;
  gap: 14px;
}

.shieldx-core-summary-card .shieldx-core-tools {
  gap: 12px;
}

.shieldx-core-summary-card .shieldx-detail-list {
  grid-template-columns: minmax(120px, 0.5fr) minmax(0, 1fr);
}

.shieldx-core-summary-card .shieldx-core-tools form {
  justify-content: flex-start;
}

.shieldx-core-tools--plugin {
  gap: 10px;
}

.shieldx-plugin-compare-stats {
  grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1fr);
  margin: 0;
  width: 100%;
}

.shieldx-plugin-compare-note {
  margin-top: 0;
}

.shieldx-core-tools form,
.shieldx-core-compare-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.shieldx-core-compare-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shieldx-core-tools .button,
.shieldx-core-compare-actions .button,
.shieldx-file-review-head .button,
.shieldx-protected-actions .button {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid #d8e4f4;
  border-radius: 8px;
  box-shadow: none;
  color: #245eea;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  justify-content: center;
  line-height: 1;
  min-height: 34px;
  padding: 0 14px;
  text-decoration: none;
  text-shadow: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.shieldx-core-tools .button:focus,
.shieldx-core-tools .button:hover,
.shieldx-core-compare-actions .button:focus,
.shieldx-core-compare-actions .button:hover,
.shieldx-file-review-head .button:focus,
.shieldx-file-review-head .button:hover,
.shieldx-protected-actions .button:focus,
.shieldx-protected-actions .button:hover {
  background: #f6f9ff;
  border-color: #9bbcf7;
  box-shadow: 0 10px 20px rgba(47, 109, 246, 0.12);
  color: #1959d1;
  transform: translateY(-1px);
}

.shieldx-core-compare-actions .button.button-primary,
.shieldx-protected-actions .button.button-primary {
  background: #2f6df6;
  border-color: #2f6df6;
  box-shadow: 0 12px 24px rgba(47, 109, 246, 0.2);
  color: #fff;
}

.shieldx-core-compare-actions .button.button-primary:focus,
.shieldx-core-compare-actions .button.button-primary:hover,
.shieldx-protected-actions .button.button-primary:focus,
.shieldx-protected-actions .button.button-primary:hover {
  background: #1959d1;
  border-color: #1959d1;
  box-shadow: 0 14px 28px rgba(25, 89, 209, 0.24);
  color: #fff;
}

.shieldx-core-compare-actions form,
.shieldx-protected-actions form {
  margin: 0;
}

.shieldx-core-compare {
  border-top: 1px solid #dcdcde;
  margin-top: 16px;
  padding-top: 16px;
}

.shieldx-core-compare--error {
  border-left: 4px solid #d63638;
  padding-left: 12px;
}

.shieldx-file-review {
  border-top: 1px solid #eef3f9;
  margin-top: 4px;
  padding-top: 16px;
}

.shieldx-file-review--error {
  border-left: 4px solid #d63638;
  padding-left: 12px;
}

.shieldx-protected-repair {
  border-top: 1px solid #eef3f9;
  margin-top: 4px;
  padding-top: 16px;
}

.shieldx-protected-repair--error {
  border-left: 4px solid #d63638;
  padding-left: 12px;
}

.shieldx-protected-summary {
  margin: 14px 0;
}

.shieldx-protected-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.shieldx-protected-note {
  background: #fff8e5;
  border: 1px solid #f0d98c;
  border-radius: 8px;
  color: #5c4813;
  margin: 12px 0;
  padding: 10px 12px;
}

.shieldx-protected-preview {
  margin-top: 14px;
}

.shieldx-protected-preview h4 {
  margin: 0 0 8px;
}

.shieldx-protected-preview pre {
  background: #101517;
  border-radius: 8px;
  color: #f4f7f8;
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
  max-height: 360px;
  overflow: auto;
  padding: 14px;
  white-space: pre;
}

.shieldx-config-cleanup {
  background: #f8fbff;
  border: 1px solid #dfe8f3;
  border-radius: 10px;
  margin: 14px 0;
  padding: 14px;
}

.shieldx-config-cleanup--error {
  border-color: #f4b8bb;
}

.shieldx-section-head--compact {
  margin-bottom: 10px;
}

.shieldx-section-head--compact h4 {
  margin: 0;
}

.shieldx-config-cleanup-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.shieldx-config-cleanup-item {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #d8e4f4;
  border-radius: 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: 22px minmax(0, 1fr);
  padding: 12px;
}

.shieldx-config-cleanup-item input {
  margin-top: 2px;
}

.shieldx-config-cleanup-item span {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.shieldx-config-cleanup-item strong {
  color: #111c3a;
  font-size: 13px;
  font-weight: 700;
}

.shieldx-config-cleanup-item em {
  color: #5d6d89;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.shieldx-config-cleanup-item code {
  background: #eef3f9;
  border-radius: 6px;
  color: #283246;
  display: block;
  font-size: 12px;
  line-height: 1.4;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 8px;
  white-space: normal;
}

.shieldx-file-review-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.shieldx-file-review h3 {
  margin: 0;
}

.shieldx-file-review h4 {
  margin: 0;
}

.shieldx-file-review p {
  color: #646970;
  margin: 4px 0 0;
}

.shieldx-review-title {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.shieldx-review-findings {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.shieldx-review-finding {
  background: #fbfdff;
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  padding: 14px;
}

.shieldx-review-finding-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.shieldx-review-finding-head strong,
.shieldx-review-finding-head span {
  display: block;
}

.shieldx-review-finding > code {
  background: #eef4ff;
  border-radius: 6px;
  display: block;
  margin: 10px 0;
  overflow-wrap: anywhere;
  padding: 8px 10px;
  white-space: pre-wrap;
}

.shieldx-review-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.shieldx-review-actions .shieldx-row-action-form {
  margin: 0;
}

.shieldx-file-review-meta {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 14px 0;
}

.shieldx-file-review-meta span {
  background: #f8fbff;
  border: 1px solid #dfe8f3;
  border-radius: 8px;
  color: #47536a;
  display: block;
  min-width: 0;
  padding: 10px;
}

.shieldx-file-review-meta strong,
.shieldx-file-review-meta code {
  color: #12203d;
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.shieldx-file-review pre {
  background: #101517;
  border-radius: 8px;
  color: #f4f7f8;
  font-size: 12px;
  line-height: 1.45;
  margin: 10px 0 0;
  max-height: 520px;
  overflow: auto;
  padding: 14px;
  white-space: pre;
}

.shieldx-restore-file-preview {
  border-top: 1px solid #e1e9f5;
  margin-top: 12px;
  padding-top: 14px;
}

.shieldx-file-side-by-side {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  margin-top: 14px;
}

.shieldx-file-review-column {
  background: #fbfdff;
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  min-width: 0;
  padding: 14px;
}

.shieldx-file-review-column h4,
.shieldx-file-review-column h5 {
  color: #18233e;
  margin: 0 0 10px;
}

.shieldx-file-review-column h4 {
  font-size: 15px;
  font-weight: 700;
}

.shieldx-file-review-column h5 {
  font-size: 13px;
  font-weight: 700;
}

.shieldx-file-review-column--context {
  display: grid;
  gap: 12px;
  align-content: start;
}

.shieldx-file-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shieldx-file-review-actions .button.button-small,
.shieldx-bulk-toolbar .button {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid #d8e4f4;
  border-radius: 8px;
  box-shadow: none;
  color: #245eea;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  justify-content: center;
  line-height: 1;
  min-height: 34px;
  padding: 0 12px;
  text-decoration: none;
  text-shadow: none;
  white-space: nowrap;
}

.shieldx-file-review-actions .button.button-small:focus,
.shieldx-file-review-actions .button.button-small:hover,
.shieldx-bulk-toolbar .button:focus,
.shieldx-bulk-toolbar .button:hover {
  background: #f6f9ff;
  border-color: #9bbcf7;
  box-shadow: 0 10px 20px rgba(47, 109, 246, 0.12);
  color: #1959d1;
}

.shieldx-file-context-block {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  padding: 12px;
}

.shieldx-file-context-list {
  display: grid;
  gap: 8px;
}

.shieldx-file-context-item {
  background: #f8fbff;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 10px;
}

.shieldx-file-context-item > div {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.shieldx-file-context-item strong {
  color: #111a33;
  font-size: 13px;
}

.shieldx-file-context-item p,
.shieldx-file-context-item small {
  color: #5f6b85;
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.shieldx-file-context-item code {
  background: #edf4ff;
  border-radius: 5px;
  color: #263653;
  display: block;
  overflow-wrap: anywhere;
  padding: 5px 6px;
  white-space: normal;
}

.shieldx-mini-detail-list {
  background: #fff;
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(110px, 0.45fr) minmax(0, 1fr);
  margin: 0;
  overflow: hidden;
}

.shieldx-mini-detail-list dt,
.shieldx-mini-detail-list dd {
  border-top: 0;
  border-bottom: 1px solid #e1e9f5;
  margin: 0;
  min-width: 0;
  padding: 9px 12px;
}

.shieldx-mini-detail-list dt {
  background: #f6f9fd;
  border-right: 1px solid #e1e9f5;
  color: #52617d;
  font-size: 12px;
  font-weight: 700;
}

.shieldx-mini-detail-list dd {
  color: #111a33;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.shieldx-mini-detail-list dt:last-of-type,
.shieldx-mini-detail-list dt:last-of-type + dd {
  border-bottom: 0;
}

.shieldx-core-compare h3,
.shieldx-core-compare h4 {
  margin: 0;
}

.shieldx-core-compare p {
  color: #646970;
  margin: 4px 0 0;
}

.shieldx-core-hashes {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 14px 0;
}

.shieldx-core-hashes span {
  background: #f6f7f7;
  border: 1px solid #dcdcde;
  border-radius: 6px;
  display: block;
  min-width: 0;
  padding: 10px;
}

.shieldx-core-hashes strong,
.shieldx-core-hashes code {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.shieldx-diff-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shieldx-diff-grid > div {
  min-width: 0;
}

.shieldx-diff-grid pre {
  background: #101517;
  border-radius: 6px;
  color: #f4f7f8;
  font-size: 12px;
  line-height: 1.45;
  margin: 8px 0 0;
  max-height: 460px;
  overflow: auto;
  padding: 12px;
  white-space: pre;
}

.shieldx-compare-editor {
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  margin-top: 16px;
  padding: 16px;
}

.shieldx-compare-editor p {
  max-width: 860px;
}

.shieldx-compare-editor-input {
  box-sizing: border-box;
  font-family: Consolas, Monaco, monospace;
  line-height: 1.45;
  margin-top: 10px;
  min-height: 320px;
  resize: vertical;
  width: 100%;
}

.shieldx-compare-editor-actions {
  margin-top: 14px;
}

.shieldx-muted {
  color: #646970;
}

.shieldx-issue-table th,
.shieldx-issue-table td,
.shieldx-scan-table th,
.shieldx-scan-table td {
  vertical-align: top;
}

.shieldx-bulk-scan-form {
  display: grid;
  gap: 12px;
}

.shieldx-bulk-toolbar {
  align-items: center;
  background: #fbfdff;
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 12px;
}

.shieldx-bulk-toolbar label {
  align-items: center;
  display: flex;
  gap: 8px;
  margin: 0;
}

.shieldx-bulk-toolbar label span,
.shieldx-bulk-toolbar > span {
  color: #5f6b85;
  font-size: 12px;
  font-weight: 700;
}

.shieldx-bulk-toolbar select {
  border-color: #d8e4f4;
  border-radius: 8px;
  min-height: 34px;
  min-width: 220px;
}

.shieldx-bulk-check-column {
  text-align: center;
  vertical-align: middle !important;
  width: 42px;
}

.shieldx-bulk-check-column input[type="checkbox"] {
  margin: 0;
}

.shieldx-issue-table th:last-child,
.shieldx-issue-table td:last-child,
.shieldx-scan-table th:last-child,
.shieldx-scan-table td:last-child {
  text-align: center;
  vertical-align: middle;
  width: 142px;
}

.shieldx-row-actions {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shieldx-row-actions .shieldx-muted {
  font-size: 12px;
}

.shieldx-issue-table .button.button-small,
.shieldx-scan-table .button.button-small {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid #d8e4f4;
  border-radius: 8px;
  box-shadow: none;
  color: #245eea;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  justify-content: center;
  line-height: 1;
  min-height: 34px;
  min-width: 104px;
  padding: 0 12px;
  text-decoration: none;
  text-shadow: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.shieldx-issue-table .shieldx-row-action-button.button-small {
  min-width: 104px;
}

.shieldx-issue-table .button.button-small:focus,
.shieldx-issue-table .button.button-small:hover,
.shieldx-scan-table .button.button-small:focus,
.shieldx-scan-table .button.button-small:hover {
  background: #f6f9ff;
  border-color: #9bbcf7;
  box-shadow: 0 10px 20px rgba(47, 109, 246, 0.12);
  color: #1959d1;
  transform: translateY(-1px);
}

.shieldx-issue-table td:nth-child(2) span,
.shieldx-issue-table td:nth-child(2) small {
  color: #646970;
  display: block;
  margin-top: 4px;
}

.shieldx-issue-table code,
.shieldx-scan-table code {
  overflow-wrap: anywhere;
  white-space: normal;
}

.shieldx-remediation-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shieldx-remediation-grid--scanner {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shieldx-remediation-grid--restore {
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
}

.shieldx-remediation-box {
  background: #fbfdff;
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  min-width: 0;
  padding: 16px;
}

.shieldx-remediation-box h3 {
  color: #18233e;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
}

.shieldx-restore-point-create-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}

.shieldx-restore-point-create-actions .shieldx-form-actions {
  margin-top: 0;
}

.shieldx-database-backup-cleanup {
  border-top: 1px solid #e1e9f5;
  margin-top: 24px;
  padding-top: 20px;
}

.shieldx-database-backup-cleanup-form.shieldx-form-actions {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: start;
  margin-top: 14px;
}

.shieldx-database-backup-cleanup-date {
  display: grid;
  gap: 7px;
  min-width: 210px;
}

.shieldx-database-backup-cleanup-label {
  color: #4a5874;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
}

.shieldx-database-backup-cleanup-date input[type="date"] {
  background-color: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
  color: #101935;
  min-height: 44px;
  padding: 0 12px;
  width: 210px;
}

.shieldx-database-backup-cleanup-form .button {
  min-height: 42px;
  padding-left: 18px;
  padding-right: 18px;
}

.shieldx-storage-section-title {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shieldx-section-head .shieldx-storage-status {
  background: #eef6ff;
  border: 1px solid #d7e6ff;
  border-radius: 999px;
  color: #2d5fd1;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 5px 9px;
}

.shieldx-storage-mode-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.shieldx-storage-mode-card {
  align-items: flex-start;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  box-sizing: border-box;
  display: grid;
  gap: 12px;
  grid-template-columns: 22px minmax(0, 1fr);
  margin: 0;
  min-height: 96px;
  padding: 14px;
}

.shieldx-storage-mode-card > input {
  margin-top: 2px;
}

.shieldx-storage-mode-card-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.shieldx-storage-mode-card-title {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.shieldx-storage-mode-card-title label,
.shieldx-storage-mode-card-desc {
  cursor: pointer;
}

.shieldx-storage-mode-card-title strong {
  line-height: 1.2;
}

.shieldx-storage-mode-card-body small {
  color: #52617a;
  line-height: 1.45;
}

.shieldx-storage-title-action.button.button-small {
  align-items: center;
  background: #eef6ff;
  border-color: #bdd4fb;
  border-radius: 6px;
  box-shadow: none;
  color: #245eea;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  min-height: 24px;
  padding: 0 8px;
}

.shieldx-storage-title-action.button.button-small:focus,
.shieldx-storage-title-action.button.button-small:hover {
  background: #e4f0ff;
  border-color: #91b8f4;
  color: #174ec1;
}

.shieldx-storage-mode-card:has(input:checked) {
  background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
  border-color: #8bbcff;
}

.shieldx-storage-mode-card.is-disabled {
  cursor: default;
}

.shieldx-storage-mode-card.is-disabled > input {
  cursor: not-allowed;
  opacity: 0.62;
}

.shieldx-storage-mode-card.is-disabled .shieldx-storage-mode-card-title > label,
.shieldx-storage-mode-card.is-disabled .shieldx-storage-mode-card-desc {
  opacity: 0.62;
}

.shieldx-storage-card-extra {
  display: grid;
  gap: 8px;
  grid-column: 2;
  min-width: 0;
}

.shieldx-storage-card-extra p {
  margin: 0;
}

.shieldx-storage-card-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shieldx-storage-card-actions .button {
  min-height: 30px;
  padding: 0 10px;
}

.shieldx-google-oauth-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  max-width: 720px;
}

.shieldx-google-oauth-form .button {
  justify-self: start;
}

.shieldx-google-drive-heading {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.shieldx-google-drive-heading h3 {
  margin: 0;
}

.shieldx-google-drive-heading-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shieldx-google-drive-heading-actions .button {
  min-height: 30px;
  padding: 0 10px;
}

.shieldx-google-oauth-guide {
  background: #f8fbff;
  border: 1px solid #dce8f8;
  border-radius: 8px;
  color: #33415f;
  display: grid;
  gap: 8px;
  padding: 12px 14px;
}

.shieldx-google-oauth-guide strong {
  color: #0f1b3d;
  font-size: 14px;
}

.shieldx-google-oauth-guide ol {
  margin: 0;
  padding-left: 20px;
}

.shieldx-google-oauth-guide li {
  font-size: 13px;
  line-height: 1.45;
  margin: 3px 0;
}

.shieldx-google-oauth-guide a {
  color: #245eea;
  font-weight: 700;
  text-decoration: none;
}

.shieldx-google-oauth-guide a:focus,
.shieldx-google-oauth-guide a:hover {
  color: #174ec1;
  text-decoration: underline;
}

.shieldx-google-oauth-status {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.shieldx-google-oauth-status p {
  margin: 0;
}

.shieldx-google-oauth-edit {
  display: inline-block;
}

.shieldx-google-oauth-edit summary {
  align-items: center;
  background: #fff;
  border: 1px solid #0f172a;
  border-radius: 6px;
  color: #0f172a;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  min-height: 32px;
  padding: 0 12px;
}

.shieldx-google-oauth-edit summary::-webkit-details-marker {
  display: none;
}

.shieldx-google-oauth-edit[open] {
  display: block;
  flex-basis: 100%;
}

.shieldx-google-oauth-edit[open] summary {
  margin-bottom: 10px;
}

.shieldx-google-oauth-edit .shieldx-google-oauth-form {
  margin-top: 0;
}

.shieldx-google-auth-modal .shieldx-form-modal-card {
  max-width: 560px;
  width: min(560px, 100%);
}

.shieldx-google-howto-modal .shieldx-form-modal-card {
  max-width: 560px;
  width: min(560px, 100%);
}

.shieldx-google-howto-modal .shieldx-google-oauth-guide {
  margin-top: 14px;
}

.shieldx-google-oauth-modal .shieldx-form-modal-card {
  max-width: 532px;
  width: min(532px, 100%);
}

.shieldx-google-oauth-modal .shieldx-google-oauth-form {
  max-width: none;
}

.shieldx-google-oauth-modal .shieldx-field input:not([type="checkbox"]):not([type="radio"]) {
  box-sizing: border-box;
  max-width: none;
  width: 100%;
}

.shieldx-google-oauth-modal .shieldx-field input::placeholder {
  color: #101935;
  opacity: 1;
}

.shieldx-google-device-code {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shieldx-google-device-code--modal {
  background: #f8fbff;
  border: 1px solid #dce8f8;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
}

.shieldx-google-device-code-value {
  display: grid;
  gap: 6px;
}

.shieldx-google-device-code-value span {
  color: #44536f;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.shieldx-google-device-code code {
  background: #fff;
  border: 1px solid #cfdcf0;
  border-radius: 8px;
  color: #0f1b3d;
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  padding: 10px 12px;
  word-break: break-word;
}

.shieldx-google-device-code--modal .button {
  justify-self: start;
}

.shieldx-remediation-list {
  display: grid;
  gap: 10px;
}

.shieldx-manual-backups-list [data-shieldx-manual-backup-item][hidden],
.shieldx-restore-points-list [data-shieldx-restore-point-item][hidden] {
  display: none !important;
}

.shieldx-manual-backups-actions,
.shieldx-restore-points-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 2px;
}

.shieldx-manual-backups-more,
.shieldx-restore-points-more {
  min-width: 112px;
}

.shieldx-remediation-item {
  align-items: center;
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-width: 0;
  padding: 12px;
}

.shieldx-remediation-item > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.shieldx-remediation-item strong,
.shieldx-remediation-item span {
  color: #111a33;
}

.shieldx-remediation-item span {
  color: #68738c;
  font-size: 12px;
}

.shieldx-remediation-item code {
  background: #f6f7f7;
  border-radius: 4px;
  display: inline-block;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 3px 5px;
}

.shieldx-remediation-item--db {
  align-items: flex-start;
}

.shieldx-remediation-item--restore {
  align-items: flex-start;
}

.shieldx-remediation-item--restore form {
  flex: 0 0 auto;
}

.shieldx-remediation-actions {
  align-items: flex-start;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.shieldx-remediation-actions form {
  margin: 0;
}

.shieldx-restore-point-primary-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) 40px;
  width: 100%;
}

.shieldx-restore-point-primary-actions .shieldx-row-action-button {
  width: 100%;
}

.shieldx-restore-point-delete-button.button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-width: 40px;
  padding: 0;
}

.shieldx-restore-point-delete-button .shieldx-icon {
  height: 17px;
  width: 17px;
}

.shieldx-restore-point-detail {
  background: #fff;
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
}

.shieldx-restore-point-detail h3,
.shieldx-restore-point-detail h4 {
  color: #18233e;
  margin: 0;
}

.shieldx-restore-point-detail h4 {
  font-size: 14px;
  font-weight: 700;
}

.shieldx-restore-detail-block {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.shieldx-restore-file-browser {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: space-between;
  overflow-x: auto;
  padding: 0 0 4px;
}

.shieldx-restore-detail-block .shieldx-restore-file-browser {
  border-radius: 0;
}

.shieldx-restore-file-browser + .shieldx-compat-table-wrap {
  margin-top: -6px;
}

.shieldx-restore-file-search {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 6px;
}

.shieldx-restore-file-search-field {
  align-items: center;
  background: #fff;
  border: 1px solid #dce6f4;
  border-radius: 6px;
  color: #8a96ad;
  display: inline-flex;
  gap: 6px;
  min-height: 32px;
  padding: 0 8px;
  width: 240px;
}

.shieldx-restore-file-search-field:focus-within {
  border-color: #9bbcf7;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.12);
}

.shieldx-restore-file-search-icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
}

.shieldx-restore-file-search-icon .shieldx-icon {
  height: 16px;
  width: 16px;
}

.shieldx-restore-file-search input[type="search"] {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #17213a;
  flex: 1 1 auto;
  font-size: 12px;
  line-height: 1.2;
  min-height: 30px;
  min-width: 0;
  padding: 0;
}

.shieldx-restore-file-search input[type="search"]:focus {
  border: 0;
  box-shadow: none;
  outline: none;
}

.shieldx-restore-file-pager {
  align-items: center;
  color: #5f6b85;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px;
  justify-content: flex-end;
}

.shieldx-restore-selection-tools {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 6px;
  white-space: nowrap;
}

.shieldx-restore-file-count {
  background: #fff;
  border: 1px solid #dce6f4;
  border-radius: 6px;
  color: #40506d;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  min-height: 32px;
  padding: 0 10px;
  align-items: center;
  white-space: nowrap;
}

.shieldx-pagination {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
}

.shieldx-restore-toolbar-button.button {
  border-radius: 6px;
  min-height: 32px;
  padding: 0 10px;
}

.shieldx-admin .button.shieldx-restore-toolbar-button {
  font-size: 12px;
  line-height: 1;
  min-height: 32px;
  padding: 0 10px;
}

.shieldx-pagination .disabled {
  opacity: 0.45;
  pointer-events: none;
}

.shieldx-page-count {
  align-items: center;
  background: #fff;
  border: 1px solid #dce6f4;
  border-radius: 6px;
  color: #40506d;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  min-height: 32px;
  padding: 0 10px;
  white-space: nowrap;
}

.shieldx-restore-selection-form {
  display: grid;
  gap: 14px;
}

.shieldx-restore-selection-form--hidden {
  display: none;
}

.shieldx-restore-select-head,
.shieldx-restore-database-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.shieldx-restore-select-head p {
  margin: 4px 0 0;
}

.shieldx-restore-source-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.shieldx-restore-source-actions .button {
  min-height: 38px;
}

.shieldx-restore-master-option {
  align-items: center;
  color: #40506d;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
}

.shieldx-restore-check-column,
.shieldx-restore-check-cell {
  text-align: center;
  width: 64px;
}

.shieldx-restore-check-cell input[type="checkbox"] {
  margin: 0 auto;
}

.shieldx-restore-table td,
.shieldx-restore-table th {
  font-size: 12px;
  vertical-align: top;
}

.shieldx-restore-table code {
  max-width: 520px;
  overflow-wrap: anywhere;
  white-space: normal;
}

.shieldx-ignore-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shieldx-ignore-pill {
  align-items: center;
  background: #edf4ff;
  border: 1px solid #c7dcff;
  border-radius: 999px;
  color: #254a87;
  display: inline-flex;
  gap: 7px;
  max-width: 100%;
  padding: 5px 7px 5px 9px;
}

.shieldx-ignore-pill code {
  background: transparent;
  border: 0;
  color: inherit;
  display: inline;
  font-size: 13px;
  line-height: 1.4;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 0;
  white-space: normal;
}

.shieldx-ignore-pill button {
  align-items: center;
  appearance: none;
  background: #ffffff;
  border: 1px solid #b8cff7;
  border-radius: 999px;
  color: #254a87;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  height: 20px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 20px;
}

.shieldx-ignore-pill button:hover,
.shieldx-ignore-pill button:focus {
  background: #dfeaff;
  border-color: #7ea8f5;
  color: #0f3b82;
}

.shieldx-db-review {
  background: #fbfdff;
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  padding: 16px;
}

.shieldx-db-review--error {
  background: #fff7f5;
  border-color: #ffd3cc;
}

.shieldx-db-review-details {
  margin: 14px 0;
}

.shieldx-db-action-strip {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.shieldx-db-review-json {
  background: #0f172a;
  border-radius: 8px;
  color: #e5edf8;
  font-family: var(--shieldx-font-stack);
  font-size: 12px;
  line-height: 1.6;
  max-height: 360px;
  overflow: auto;
  padding: 14px;
  white-space: pre-wrap;
}

.shieldx-db-history {
  border-top: 1px solid #e1e9f5;
  margin-top: 16px;
  padding-top: 14px;
}

.shieldx-db-history h4 {
  color: #18233e;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px;
}

.shieldx-db-history-list {
  display: grid;
  gap: 8px;
}

.shieldx-db-history-item {
  align-items: center;
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(120px, 0.7fr) minmax(130px, 0.8fr) minmax(120px, 0.8fr) minmax(0, 1fr);
  padding: 10px 12px;
}

.shieldx-db-history-item strong {
  color: #111a33;
}

.shieldx-db-history-item span,
.shieldx-db-history-item em {
  color: #68738c;
  font-size: 12px;
  font-style: normal;
}

.shieldx-db-history-item code {
  background: #edf4ff;
  border-radius: 4px;
  color: #254a87;
  overflow-wrap: anywhere;
  padding: 3px 5px;
}

.shieldx-hardening-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shieldx-cloudflare-control-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1320px) {
  .shieldx-cloudflare-control-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.shieldx-settings-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.shieldx-settings-grid > .shieldx-detail-list {
  grid-column: 1 / -1;
  justify-self: stretch;
  width: 100%;
}

.shieldx-settings-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shieldx-waf-temporary-control {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  margin-top: 10px;
}

.shieldx-waf-temporary-control input[type="number"] {
  min-height: 34px;
  width: 82px;
}

.shieldx-waf-temporary-control em {
  color: #53617d;
  font-style: normal;
  font-weight: 600;
}

.shieldx-toggle-fields {
  display: contents;
}

.shieldx-toggle-fields[hidden] {
  display: none;
}

#shieldx-settings-portability .shieldx-alert {
  margin: 0 0 16px;
}

#shieldx-settings-portability .shieldx-alert p {
  margin: 0;
}

.shieldx-portability-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.shieldx-portability-card {
  align-content: start;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  border: 1px solid #e7edf5;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
}

.shieldx-portability-card h3,
.shieldx-portability-card p {
  margin: 0;
}

.shieldx-portability-card > .button {
  align-items: center;
  align-self: start;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  justify-self: start;
  line-height: 1;
  min-height: 42px;
  padding: 0 18px;
  width: auto;
}

.shieldx-field--plain {
  background: transparent;
  border: 0;
  box-shadow: none;
  min-height: 0;
  padding: 0;
}

.shieldx-field--plain:focus-within {
  box-shadow: none;
}

.shieldx-login-policy-grid {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(260px, 0.6fr) minmax(360px, 1fr);
  margin-top: 14px;
}

.shieldx-login-policy-grid .shieldx-hardening-option,
.shieldx-login-policy-grid .shieldx-detail-list {
  align-self: start;
  min-width: 0;
  width: 100%;
}

.shieldx-login-policy-grid > .shieldx-detail-list {
  grid-column: 1 / -1;
}

.shieldx-login-policy-grid .shieldx-hardening-option {
  min-height: 0;
}

.shieldx-lost-authenticator {
  border-color: #cfe0ff;
}

.shieldx-recovery-guide-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.shieldx-recovery-guide-card {
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  border: 1px solid #e0e9f8;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 16px;
}

.shieldx-recovery-guide-card .button {
  align-items: center;
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  justify-self: start;
  min-height: 38px;
  padding: 0 16px;
}

.shieldx-recovery-guide-card span {
  color: #5d6b86;
  font-size: 12px;
  font-weight: 700;
}

.shieldx-recovery-guide-card strong {
  color: #0f1b3d;
  font-size: 16px;
  line-height: 1.3;
}

.shieldx-recovery-guide-card p {
  color: #56637a;
  line-height: 1.5;
  margin: 0;
}

.shieldx-recovery-guide-card em {
  color: #234987;
  font-style: normal;
  font-weight: 700;
}

.shieldx-recovery-command {
  background: #fff;
  border: 1px solid #dce7f7;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin-top: 2px;
  padding: 10px;
}

.shieldx-recovery-command code {
  background: #101828;
  border-radius: 6px;
  color: #f8fbff;
  display: block;
  font-size: 12px;
  line-height: 1.5;
  max-height: 116px;
  overflow: auto;
  padding: 10px;
  white-space: pre-wrap;
  word-break: break-word;
}

.shieldx-recovery-command-user {
  display: grid;
  gap: 6px;
}

.shieldx-recovery-command-user span {
  color: #405073;
  font-size: 12px;
  font-weight: 700;
}

.shieldx-recovery-command-user select {
  appearance: none;
  background: #fff;
  border: 1px solid #d7e3f4;
  border-radius: 8px;
  color: #0f1b3d;
  font-weight: 600;
  min-height: 40px;
  padding: 0 12px;
  width: 100%;
}

.shieldx-recovery-command-user select:focus {
  border-color: #2f6df6;
  box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.14);
  outline: none;
}

.shieldx-recovery-command small {
  color: #5d6b86;
  line-height: 1.45;
}

.shieldx-manual-restore-modal .shieldx-form-modal-card {
  max-width: 720px;
  width: min(720px, 100%);
}

.shieldx-manual-restore-id {
  margin: 16px 0;
}

.shieldx-manual-restore-id code {
  display: inline-block;
  margin-left: 6px;
  max-width: 100%;
  overflow-wrap: anywhere;
  vertical-align: middle;
}

.shieldx-manual-restore-options {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.shieldx-manual-restore-option {
  background: #f8fbff;
  border: 1px solid #dce7f7;
  border-radius: 8px;
  padding: 16px;
}

.shieldx-manual-restore-option--primary {
  background: #f2f7ff;
  border-color: #b9d2ff;
}

.shieldx-manual-restore-option h3 {
  color: #102044;
  font-size: 15px;
  line-height: 1.35;
  margin: 0 0 7px;
}

.shieldx-manual-restore-option p {
  color: #405073;
  line-height: 1.5;
  margin: 0 0 14px;
}

.shieldx-manual-restore-option p:last-child {
  margin-bottom: 0;
}

.shieldx-manual-restore-option-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shieldx-manual-restore-option-actions form {
  margin: 0;
}

.shieldx-manual-restore-advanced {
  background: #fff;
  border: 1px solid #dce7f7;
  border-radius: 8px;
  margin: 18px 0;
  padding: 14px 16px;
}

.shieldx-manual-restore-advanced summary {
  color: #102044;
  cursor: pointer;
  font-weight: 700;
}

.shieldx-manual-restore-advanced > p {
  color: #405073;
  line-height: 1.5;
  margin: 14px 0 0;
}

.shieldx-manual-restore-advanced[open] summary {
  margin-bottom: 2px;
}

.shieldx-manual-restore-steps {
  display: grid;
  gap: 14px;
  margin: 18px 0;
  padding-left: 22px;
}

.shieldx-manual-restore-steps li {
  padding-left: 4px;
}

.shieldx-manual-restore-steps li > span {
  color: #2f3f62;
  display: block;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 7px;
}

.shieldx-manual-restore-command {
  margin-top: 0;
}

.shieldx-lost-auth-actions {
  margin-top: 16px;
}

.shieldx-reset-2fa-card {
  background: #f8fbff;
  border: 1px solid #dce7f7;
  border-radius: 8px;
  margin-top: 18px;
  padding: 16px;
}

.shieldx-reset-2fa-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.shieldx-reset-2fa-grid .shieldx-sensitive-action-form {
  align-items: end;
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(220px, 1fr) auto;
  padding: 12px;
}

.shieldx-reset-2fa-grid .button {
  min-height: 40px;
}

.shieldx-modal[hidden] {
  display: none;
}

.shieldx-scan-modal[hidden] {
  display: none;
}

.shieldx-scan-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 100001;
}

.shieldx-scan-modal-backdrop {
  background: rgba(15, 23, 42, 0.42);
  inset: 0;
  position: absolute;
}

.shieldx-scan-modal-card {
  background: #fff;
  border: 1px solid #dce8f8;
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
  display: grid;
  gap: 18px;
  max-height: min(680px, calc(100vh - 48px));
  max-width: 820px;
  overflow: auto;
  padding: 32px;
  position: relative;
  width: min(820px, 100%);
}

.shieldx-scan-modal-card h2 {
  color: #0f1b3d;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 48px 0 0;
}

.shieldx-scan-modal-card p {
  margin-bottom: 0;
}

.shieldx-scan-modal-stage {
  color: #245eea;
  font-size: 13px;
  font-weight: 700;
  margin: -4px 0 0;
}

.shieldx-scan-modal-stage[hidden] {
  display: none;
}

.shieldx-scan-modal-bar {
  background: #e9eef7;
  border-radius: 999px;
  height: 14px;
  overflow: hidden;
}

.shieldx-scan-modal-bar span {
  background: #2f6df6;
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 0.25s ease;
  width: 0;
}

.shieldx-scan-modal-bar.is-indeterminate span {
  animation: shieldx-scan-modal-upload 1.15s ease-in-out infinite;
  transition: none;
  width: 38%;
}

.shieldx-scan-modal-meta {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shieldx-scan-modal-meta span {
  background: #f8fbff;
  border: 1px solid #dfe7f4;
  border-radius: 8px;
  color: #53627e;
  display: block;
  padding: 14px 18px;
}

.shieldx-scan-modal-meta small {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.shieldx-scan-modal-meta strong {
  color: #101936;
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-top: 4px;
}

.shieldx-scan-modal-scope {
  color: #53627e;
  font-size: 14px;
}

.shieldx-scan-modal-details {
  background: #fff8e8;
  border: 1px solid #f2c46d;
  border-radius: 8px;
  color: #3c2b0b;
  padding: 12px 14px;
}

.shieldx-scan-modal-details[hidden] {
  display: none;
}

.shieldx-scan-modal-details > strong {
  display: block;
  margin-bottom: 8px;
}

.shieldx-scan-modal-details ul,
.shieldx-package-failures ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shieldx-scan-modal-details li,
.shieldx-package-failures li {
  display: grid;
  gap: 6px;
  padding: 7px 0;
}

.shieldx-scan-modal-details li + li,
.shieldx-package-failures li + li {
  border-top: 1px solid rgba(127, 90, 20, 0.18);
}

.shieldx-scan-modal-details span,
.shieldx-package-failures span {
  color: #101936;
  font-weight: 600;
}

.shieldx-package-failure-head {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

.shieldx-package-failure-head span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.shieldx-package-upload-form,
.shieldx-package-trust-form {
  flex: 0 0 auto;
  margin: 0;
}

.shieldx-package-upload-button,
.shieldx-package-trust-button {
  align-items: center;
  display: inline-flex !important;
  min-height: 30px !important;
  padding: 0 9px !important;
}

.shieldx-package-trust-button {
  border-color: #f2c46d !important;
}

.shieldx-scan-modal-details small,
.shieldx-package-failures small {
  color: #66516a;
  font-size: 12px;
  line-height: 1.45;
}

.shieldx-scan-modal-error {
  background: #fff4f2;
  border: 1px solid #ffd3cc;
  border-radius: 8px;
  color: #9f1f14;
  font-weight: 600;
  padding: 12px 14px;
}

.shieldx-scan-modal-error[hidden] {
  display: none;
}

@keyframes shieldx-scan-modal-upload {
  0% {
    transform: translateX(-110%);
  }

  55% {
    transform: translateX(85%);
  }

  100% {
    transform: translateX(260%);
  }
}

.shieldx-package-failures {
  background: #fff8e8;
  border: 1px solid #f2c46d;
  border-radius: 8px;
  grid-column: 1 / -1;
  margin-top: 12px;
  padding: 12px 14px;
}

.shieldx-package-failures > strong {
  color: #101936;
  display: block;
  margin-bottom: 8px;
}

.shieldx-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 100000;
}

.shieldx-modal-backdrop {
  background: rgba(15, 23, 42, 0.42);
  inset: 0;
  position: absolute;
}

.shieldx-modal-card {
  background: #fff;
  border: 1px solid #dce8f8;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
  max-height: min(680px, calc(100vh - 48px));
  max-width: 720px;
  overflow: auto;
  padding: 28px;
  position: relative;
  width: min(720px, 100%);
}

.shieldx-modal-close {
  align-items: center;
  background: #f5f8ff;
  border: 1px solid #d6e4f8;
  border-radius: 999px;
  color: #0f1b3d;
  cursor: pointer;
  display: inline-flex;
  font-size: 22px;
  height: 38px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
}

.shieldx-modal-close:focus,
.shieldx-modal-close:hover {
  border-color: #2f6fed;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.16);
  outline: none;
}

.shieldx-modal-kicker {
  color: #2f6fed;
  font-size: 12px;
  font-weight: 700;
  margin: 0 48px 8px 0;
}

.shieldx-modal-card h2 {
  color: #0f1b3d;
  font-size: 24px;
  line-height: 1.25;
  margin: 0 48px 10px 0;
}

.shieldx-scheduler-cron-card {
  display: grid;
  gap: 14px;
  max-width: 820px;
  width: min(820px, 100%);
}

.shieldx-scheduler-cron-card p {
  color: #33415f;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.shieldx-scheduler-cron-command {
  display: grid;
  gap: 8px;
}

.shieldx-scheduler-cron-command label {
  color: #0f1b3d;
  font-weight: 600;
}

.shieldx-scheduler-cron-copy {
  background: linear-gradient(180deg, #fbfdff 0%, #f6f9ff 100%);
  border: 1px solid #d8e4f4;
  border-radius: 10px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.035);
  box-sizing: border-box;
  min-height: 72px;
  padding: 16px 58px 16px 16px;
  position: relative;
  transition: border-color 160ms, box-shadow 160ms, background-color 160ms;
}

.shieldx-scheduler-cron-copy:hover,
.shieldx-scheduler-cron-copy:focus,
.shieldx-scheduler-cron-copy:focus-within {
  background: #fff;
  border-color: #9bbcf7;
  box-shadow: 0 14px 28px rgba(47, 109, 246, 0.1), inset 0 1px 2px rgba(15, 23, 42, 0.035);
  outline: none;
}

.shieldx-scheduler-cron-copy code {
  background: transparent !important;
  color: #101935;
  display: block;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  padding: 0 !important;
  white-space: pre-wrap;
}

.shieldx-scheduler-copy-button {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid #d8e4f4;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
  color: #245eea;
  cursor: pointer;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  opacity: 0;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 12px;
  transform: translateY(-3px);
  transition: opacity 160ms, transform 160ms, background-color 160ms, border-color 160ms, color 160ms, box-shadow 160ms;
  width: 36px;
}

.shieldx-scheduler-cron-copy:hover .shieldx-scheduler-copy-button,
.shieldx-scheduler-cron-copy:focus .shieldx-scheduler-copy-button,
.shieldx-scheduler-cron-copy:focus-within .shieldx-scheduler-copy-button,
.shieldx-scheduler-copy-button:focus,
.shieldx-scheduler-copy-button[data-copied="true"] {
  opacity: 1;
  transform: translateY(0);
}

.shieldx-scheduler-copy-button:focus,
.shieldx-scheduler-copy-button:hover {
  background: #f6f9ff;
  border-color: #9bbcf7;
  box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.14), 0 12px 24px rgba(47, 109, 246, 0.12);
  color: #1959d1;
  outline: none;
}

.shieldx-scheduler-copy-button[data-copied="true"] {
  background: #effaf3;
  border-color: #b7e2c2;
  color: #14813b;
}

.shieldx-scheduler-copy-button svg {
  height: 18px;
  width: 18px;
}

@media (hover: none) {
  .shieldx-scheduler-copy-button {
    opacity: 1;
    transform: translateY(0);
  }
}

.shieldx-scheduler-cron-details th:first-child {
  width: 210px;
}

.shieldx-scheduler-cron-details code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.shieldx-scheduler-cron-actions {
  align-items: center;
}

.shieldx-form-modal[hidden] {
  display: none;
}

.shieldx-form-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 100000;
}

.shieldx-form-modal-backdrop {
  background: rgba(15, 23, 42, 0.42);
  inset: 0;
  position: absolute;
}

.shieldx-form-modal-card {
  background: #fff;
  border: 1px solid #dce8f8;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
  max-height: min(640px, calc(100vh - 48px));
  max-width: 620px;
  overflow: auto;
  padding: 28px;
  position: relative;
  width: min(620px, 100%);
}

.shieldx-form-modal-card h2 {
  color: #0f1b3d;
  font-size: 24px;
  line-height: 1.25;
  margin: 0 48px 10px 0;
}

.shieldx-modal-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.shieldx-modal-form .description {
  color: #5f6b85;
  font-size: 13px;
  margin: -4px 0 0;
}

.shieldx-restore-delete-alert {
  align-items: start;
  background: #fff6f5;
  border: 1px solid #ffc9c2;
  border-radius: 8px;
  color: #6f1d16;
  display: grid;
  gap: 12px;
  grid-template-columns: 40px minmax(0, 1fr);
  margin-top: 18px;
  padding: 14px;
}

.shieldx-restore-delete-alert-icon {
  align-items: center;
  background: #fee4e2;
  border-radius: 50%;
  color: #b42318;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.shieldx-restore-delete-alert-icon .shieldx-icon {
  height: 20px;
  width: 20px;
}

.shieldx-restore-delete-alert strong,
.shieldx-restore-delete-alert > span:last-child > span {
  display: block;
}

.shieldx-restore-delete-alert > span:last-child > span {
  line-height: 1.5;
  margin-top: 4px;
}

.shieldx-restore-delete-id {
  overflow-wrap: anywhere;
}

.shieldx-restore-delete-modal .shieldx-field input {
  max-width: none;
}

.shieldx-admin .shieldx-modal-actions .shieldx-destructive-submit.button {
  background: #b42318;
  border-color: #b42318;
  color: #fff;
}

.shieldx-admin .shieldx-modal-actions .shieldx-destructive-submit.button:focus,
.shieldx-admin .shieldx-modal-actions .shieldx-destructive-submit.button:hover {
  background: #8f1c13;
  border-color: #8f1c13;
  color: #fff;
}

.shieldx-notification-modal .shieldx-form-modal-card {
  max-width: 980px;
  width: min(980px, 100%);
}

.shieldx-license-modal .shieldx-form-modal-card {
  max-width: 680px;
  width: min(680px, 100%);
}

.shieldx-license-modal .shieldx-license-support-card {
  max-height: none;
  max-width: 980px;
  overflow: visible;
  width: min(980px, 100%);
}

.shieldx-license-summary {
  margin-top: 16px;
}

.shieldx-license-summary code {
  white-space: normal;
  word-break: break-word;
}

.shieldx-license-status-cell {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shieldx-license-status-action-form {
  margin: 0;
}

.shieldx-license-icon-button {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid #d9e4f2;
  border-radius: 999px;
  color: #14213f;
  cursor: pointer;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  line-height: 0;
  padding: 0;
  width: 30px;
}

.shieldx-license-icon-button:focus,
.shieldx-license-icon-button:hover {
  background: #f7f9fc;
  border-color: #9db9f4;
  color: #1959d1;
  outline: none;
}

.shieldx-license-action-icon {
  height: 15px;
  width: 15px;
}

.shieldx-license-step {
  display: grid;
  gap: 12px;
}

.shieldx-license-step[hidden] {
  display: none;
}

.shieldx-license-support {
  gap: 16px;
  padding-right: 26px;
}

.shieldx-license-support-copy {
  display: grid;
  gap: 12px;
}

.shieldx-license-support-copy p {
  color: #33415f;
  font-size: 15px;
  line-height: 1.62;
  margin: 0;
}

.shieldx-license-support-groups {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2px 0;
}

.shieldx-license-support-groups > section {
  background: #f6f9fd;
  border: 1px solid #dce8f8;
  border-radius: 8px;
  min-width: 0;
  padding: 16px;
}

.shieldx-license-support-group-heading {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 8px;
}

.shieldx-license-support-group-heading h3 {
  color: #14213f;
  font-size: 16px;
  margin: 0;
}

.shieldx-license-support-group-heading span {
  color: #68738c;
  font-size: 12px;
  font-weight: 600;
}

.shieldx-license-support-features {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shieldx-license-support-features li {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  color: #33415f;
  display: grid;
  gap: 4px;
  grid-template-columns: minmax(0, 1fr);
  line-height: 1.45;
  margin: 0;
  min-width: 0;
  padding: 12px 14px;
}

.shieldx-license-support-features strong {
  color: #14213f;
  font-size: 14px;
}

.shieldx-license-support-features li > span {
  color: #53617a;
  font-size: 13px;
}

.shieldx-license-support-actions {
  margin-top: 6px;
}

@media (max-width: 782px), (max-height: 720px) {
  .shieldx-license-modal .shieldx-license-support-card {
    max-height: calc(100vh - 32px);
    overflow: auto;
  }

  .shieldx-license-support-groups {
    grid-template-columns: minmax(0, 1fr);
  }

}

.shieldx-license-actions {
  align-items: center;
  border-top: 1px solid #edf2f8;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
}

.shieldx-license-actions form {
  margin: 0;
}

.shieldx-license-buy-link {
  margin-right: auto !important;
}

.shieldx-notification-profiles {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shieldx-notification-profile {
  appearance: none;
  background: #fff;
  border: 1px solid #d8e4f4;
  border-radius: 8px;
  box-shadow: none;
  color: #0f1b3d;
  cursor: pointer;
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 16px;
  text-align: left;
}

.shieldx-notification-profile:focus,
.shieldx-notification-profile:hover {
  border-color: #05070d;
  outline: none;
}

.shieldx-notification-profile.is-active {
  border-color: #05070d;
  box-shadow: inset 0 0 0 1px #05070d;
}

.shieldx-notification-profile strong {
  font-size: 18px;
  font-weight: 600;
}

.shieldx-notification-profile small,
.shieldx-notification-profile span {
  color: #5f6b85;
  font-size: 13px;
  line-height: 1.45;
}

.shieldx-notification-groups {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shieldx-notification-group {
  border: 1px solid #dce8f8;
  border-radius: 8px;
  margin: 0;
  padding: 14px;
}

.shieldx-notification-group legend {
  color: #0f1b3d;
  font-weight: 600;
  padding: 0 6px;
}

.shieldx-notification-events {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.shieldx-notification-event {
  align-items: flex-start;
  display: grid;
  gap: 12px;
  grid-template-columns: 28px minmax(0, 1fr);
  margin: 0;
}

.shieldx-notification-event input {
  margin-top: 1px;
}

.shieldx-notification-event strong {
  color: #0f1b3d;
  display: block;
  font-weight: 600;
}

.shieldx-notification-event small {
  color: #5f6b85;
  display: block;
  line-height: 1.45;
  margin-top: 3px;
}

.shieldx-modal-form .button {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid #d8e4f4;
  border-radius: 8px;
  box-shadow: none;
  color: #245eea;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  line-height: 1;
  min-height: 42px;
  padding: 0 18px;
  text-shadow: none;
}

.shieldx-modal-form .button:focus,
.shieldx-modal-form .button:hover {
  background: #f6f9ff;
  border-color: #9bbcf7;
  box-shadow: 0 10px 20px rgba(47, 109, 246, 0.12);
  color: #1959d1;
  outline: none;
}

.shieldx-modal-form .shieldx-button-danger {
  border-color: #ffd3cc;
  color: #b42318;
}

.shieldx-modal-form .shieldx-button-danger:focus,
.shieldx-modal-form .shieldx-button-danger:hover {
  background: #fff7f5;
  border-color: #ff9d8f;
  box-shadow: 0 10px 20px rgba(180, 35, 24, 0.1);
  color: #9f1f14;
}

.shieldx-modal-steps {
  counter-reset: shieldx-modal-step;
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.shieldx-modal-steps li {
  align-items: flex-start;
  background: #f8fbff;
  border: 1px solid #e1eaf8;
  border-radius: 8px;
  color: #29364f;
  display: grid;
  gap: 12px;
  grid-template-columns: 32px minmax(0, 1fr);
  line-height: 1.5;
  padding: 12px;
}

.shieldx-modal-steps li::before {
  align-items: center;
  background: #eaf2ff;
  border: 1px solid #cbdcf7;
  border-radius: 999px;
  color: #1f5fde;
  content: counter(shieldx-modal-step);
  counter-increment: shieldx-modal-step;
  display: inline-flex;
  font-weight: 700;
  height: 30px;
  justify-content: center;
  line-height: 1;
  width: 30px;
}

.shieldx-modal-commands {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.shieldx-modal-commands[hidden] {
  display: none;
}

.shieldx-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 22px;
}

.shieldx-modal-actions form {
  margin: 0;
}

.shieldx-modal-open {
  overflow: hidden;
}

.shieldx-hardening-option {
  align-items: flex-start;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  border: 1px solid #e7edf5;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
  display: grid;
  gap: 14px;
  grid-template-columns: 24px minmax(0, 1fr);
  margin: 0;
  min-height: 86px;
  padding: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.shieldx-hardening-option:hover,
.shieldx-hardening-option:focus-within {
  border-color: #c7d7f5;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.shieldx-hardening-option:has(input:checked) {
  background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
  border-color: #8bbcff;
}

.shieldx-hardening-option input {
  margin-top: 2px;
}

.shieldx-admin-gate-card {
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
}

.shieldx-option-toggle {
  align-items: flex-start;
  display: grid;
  gap: 14px;
  grid-template-columns: 24px minmax(0, 1fr);
  margin: 0;
}

.shieldx-admin-gate-controls {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
  padding-left: 38px;
}

.shieldx-admin-gate-controls .shieldx-keyword-field,
.shieldx-admin-gate-controls .shieldx-entry-url {
  min-width: 0;
}

.shieldx-admin-gate-controls .shieldx-entry-url code {
  box-sizing: border-box;
  display: block;
  line-height: 1.45;
  min-height: 48px;
  overflow-wrap: anywhere;
  padding: 10px 12px;
  width: 100%;
}

.shieldx-hardening-option strong,
.shieldx-hardening-option small,
.shieldx-keyword-field span,
.shieldx-entry-url span {
  display: block;
}

.shieldx-hardening-option small {
  color: #5f6b85;
  line-height: 1.55;
  margin-top: 4px;
}

.shieldx-hardening-option .shieldx-cloudflare-control-status {
  margin-top: 10px;
}

.shieldx-measure-list {
  border: 1px solid #e7edf5;
  border-radius: 8px;
  overflow: hidden;
}

.shieldx-measure-row {
  align-items: center;
  background: #fff;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto minmax(100px, auto);
  min-height: 54px;
  padding: 12px 16px;
}

.shieldx-measure-row:nth-child(odd) {
  background: #f8fbff;
}

.shieldx-measure-row + .shieldx-measure-row {
  border-top: 1px solid #e7edf5;
}

.shieldx-measure-row strong,
.shieldx-measure-row small {
  display: block;
}

.shieldx-measure-row small {
  color: #5f6b85;
  line-height: 1.45;
  margin-top: 3px;
}

.shieldx-measure-row em {
  color: #5f6b85;
  font-style: normal;
  text-align: right;
}

.shieldx-keyword-field,
.shieldx-entry-url,
.shieldx-field {
  min-width: 0;
}

.shieldx-field {
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  border: 1px solid #e7edf5;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
  display: block;
  margin: 0;
  min-height: 86px;
  padding: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.shieldx-field:focus-within {
  border-color: #8bbcff;
  box-shadow: 0 16px 34px rgba(47, 109, 246, 0.1);
}

.shieldx-field span {
  color: #4a5874;
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 9px;
}

.shieldx-field input:not([type="checkbox"]):not([type="radio"]),
.shieldx-field select {
  background-color: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
  color: #101935;
  min-height: 44px;
  max-width: 280px;
  padding: 0 12px;
  width: 100% !important;
}

.shieldx-field.shieldx-field--compact {
  box-shadow: none;
  min-height: 0;
  padding: 10px;
}

.shieldx-field.shieldx-field--compact span {
  margin-bottom: 6px;
}

.shieldx-field.shieldx-field--compact input:not([type="checkbox"]):not([type="radio"]) {
  min-height: 40px;
}

.shieldx-admin input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  border: 1.5px solid #c8d6eb;
  border-radius: 7px;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03), inset 0 1px 2px rgba(15, 23, 42, 0.02);
  color: #fff;
  cursor: pointer;
  display: grid;
  flex: 0 0 auto;
  height: 1.375rem;
  max-width: none;
  min-width: 1.375rem;
  place-content: center;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
  width: 1.375rem;
}

.shieldx-admin input[type="checkbox"]::before {
  background: currentColor;
  clip-path: polygon(14% 46%, 0 61%, 38% 100%, 100% 18%, 84% 0, 36% 66%);
  content: "";
  display: block;
  float: none;
  height: 9px;
  margin: 0;
  transform: scale(0);
  transform-origin: center;
  transition: transform 120ms ease;
  width: 12px;
}

.shieldx-admin input[type="checkbox"]:checked {
  background: #2f6df6;
  border-color: #2f6df6;
  box-shadow: 0 3px 8px rgba(47, 109, 246, 0.1);
}

.shieldx-admin input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.shieldx-admin input[type="checkbox"]:focus {
  border-color: #1959d1;
  box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.18);
  outline: 0;
}

.shieldx-admin input[type="checkbox"]:active {
  transform: scale(0.94);
}

.shieldx-admin input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.shieldx-admin input[type="radio"] {
  accent-color: #2f6df6;
  border-color: #c8d6eb;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  flex: 0 0 auto;
  height: 1.1rem;
  max-width: none;
  min-width: 1.1rem;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
  width: 1.1rem;
}

.shieldx-field input:not([type="checkbox"]):not([type="radio"]):focus,
.shieldx-field select:focus,
.shieldx-field textarea:focus {
  border-color: #2f6df6;
  box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.14);
  outline: 0;
}

.shieldx-field textarea {
  background-color: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
  color: #101935;
  min-height: 110px;
  padding: 12px;
  resize: vertical;
  width: 100%;
}

.shieldx-field--textarea {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shieldx-field--textarea > span {
  margin-bottom: 0;
}

.shieldx-field--textarea small {
  color: #5f6b85;
  display: block;
  margin-top: 6px;
}

.shieldx-token-source--enhanced {
  display: none;
}

.shieldx-field--token {
  overflow: visible;
}

.shieldx-token-control {
  align-items: center;
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  min-height: 44px;
  padding: 6px 46px 6px 12px;
  position: relative;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.shieldx-token-control:focus-within,
.shieldx-token-control.is-open {
  border-color: #2f6df6;
  box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.14);
}

.shieldx-token-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
  min-width: 0;
}

.shieldx-token-list:empty {
  display: none;
}

.shieldx-token-list--static {
  margin-top: 0;
}

.shieldx-token-chip {
  align-items: center;
  background: #edf4ff;
  border: 1px solid #c7d7f5;
  border-radius: 999px;
  box-sizing: border-box;
  box-shadow: none;
  color: #1959d1;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  gap: 6px;
  line-height: 1.1;
  max-width: calc(100% - 8px);
  min-height: 26px;
  padding: 5px 8px;
}

.shieldx-token-chip span {
  color: inherit;
  display: inline-block;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shieldx-token-chip button,
.shieldx-token-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.shieldx-token-chip button {
  align-items: center;
  color: #5f6b85;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  height: 16px;
  justify-content: center;
  width: 16px;
}

.shieldx-token-input {
  background: transparent;
  border: 0;
  box-shadow: none;
  box-sizing: border-box;
  color: #101935;
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  max-width: none;
  min-height: 30px;
  min-width: 0;
  order: 1;
  outline: 0;
  padding: 4px 2px;
  width: 100% !important;
}

.shieldx-field .shieldx-token-control .shieldx-token-input {
  background: transparent;
  border: 0;
  box-shadow: none;
  max-width: none;
  min-height: 30px;
  padding: 4px 2px;
  width: 100% !important;
}

.shieldx-field .shieldx-token-control input.shieldx-token-input:not([type="checkbox"]):not([type="radio"]) {
  background: transparent;
  border: 0;
  box-shadow: none;
  height: 30px !important;
  line-height: 1.4;
  max-width: none;
  min-height: 30px !important;
  padding: 4px 2px;
  width: 100% !important;
}

.shieldx-token-toggle {
  align-items: center;
  border-radius: 8px;
  color: #293654;
  display: inline-flex;
  font-size: 20px;
  font-weight: 400;
  height: 30px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 8px;
  top: 7px;
  width: 30px;
}

.shieldx-token-toggle:focus,
.shieldx-token-toggle:hover {
  background: #edf4ff;
  color: #1959d1;
  outline: 0;
}

.shieldx-token-menu {
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
  left: 10px;
  margin-top: 6px;
  max-height: 230px;
  overflow: auto;
  padding: 6px;
  position: absolute;
  right: 10px;
  top: calc(100% + 6px);
  z-index: 40;
}

.shieldx-token-option {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: #101935;
  cursor: pointer;
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  text-align: left;
  width: 100%;
}

.shieldx-token-option:focus,
.shieldx-token-option:hover {
  background: #edf4ff;
  outline: 0;
}

.shieldx-token-option.is-active {
  background: #edf4ff;
  box-shadow: inset 3px 0 0 #2f6df6;
}

.shieldx-token-option strong,
.shieldx-token-option small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.shieldx-token-option strong {
  font-size: 13px;
  font-weight: 600;
}

.shieldx-token-option small,
.shieldx-token-empty {
  color: #5f6b85;
  font-size: 12px;
}

.shieldx-token-empty {
  display: block;
  padding: 10px;
}

.shieldx-rule-action select {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23101935' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 13px center;
  background-repeat: no-repeat;
  background-size: 17px;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
  color: #101935;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  max-width: 168px;
  min-height: 40px;
  min-width: 142px;
  padding: 0 42px 0 13px;
  width: 100%;
}

.shieldx-rule-action select:hover {
  border-color: #b8c9e4;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.shieldx-rule-action select:focus {
  border-color: #2f6df6;
  box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.14);
  outline: 0;
}

.shieldx-temp-blocks {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.shieldx-client-actions {
  border-top: 1px solid #f0f0f1;
  margin-top: 16px;
  padding-top: 16px;
}

.shieldx-section-head--compact {
  margin-bottom: 10px;
}

.shieldx-section-head--compact h3 {
  font-size: 15px;
  margin: 0;
}

.shieldx-client-list {
  display: grid;
  gap: 10px;
}

.shieldx-client-row {
  border: 1px solid #dcdcde;
  border-radius: 6px;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.shieldx-client-row--current {
  background: #f0f6fc;
  border-color: #72aee6;
}

.shieldx-client-main {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shieldx-client-main strong,
.shieldx-client-main span,
.shieldx-client-row p {
  overflow-wrap: anywhere;
}

.shieldx-client-main em {
  background: #e7f7ed;
  border-radius: 999px;
  color: #007017;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  padding: 3px 8px;
}

.shieldx-client-meta,
.shieldx-client-actions-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shieldx-client-actions-row {
  gap: 10px;
}

.shieldx-client-actions-row .button {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid #d8e4f4;
  border-radius: 8px;
  box-shadow: none;
  color: #245eea;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  justify-content: center;
  line-height: 1;
  min-height: 34px;
  padding: 0 12px;
  text-shadow: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.shieldx-client-actions-row .button:focus,
.shieldx-client-actions-row .button:hover {
  background: #f6f9ff;
  border-color: #9bbcf7;
  box-shadow: 0 8px 18px rgba(47, 109, 246, 0.12);
  color: #1959d1;
  transform: translateY(-1px);
}

.shieldx-client-actions-row .shieldx-button-danger {
  border-color: #ffd3cc;
  color: #b42318;
}

.shieldx-client-actions-row .shieldx-button-danger:focus,
.shieldx-client-actions-row .shieldx-button-danger:hover {
  background: #fff7f5;
  border-color: #ff9d8f;
  box-shadow: 0 8px 18px rgba(180, 35, 24, 0.1);
  color: #9f1f14;
}

.shieldx-client-meta {
  color: #646970;
}

.shieldx-client-meta code {
  background: #f6f7f7;
  border-radius: 4px;
  overflow-wrap: anywhere;
  padding: 3px 6px;
}

.shieldx-client-row p {
  color: #646970;
  margin: 0;
}

.shieldx-temp-block-form {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shieldx-inline-check {
  align-items: center;
  display: inline-flex;
  gap: 9px;
  min-height: 26px;
  white-space: nowrap;
}

.shieldx-lockdown-confirm {
  align-items: flex-start;
  border-top: 1px solid #eef3f9;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  margin-top: 24px;
  padding-top: 16px;
  width: 100%;
  white-space: normal;
}

.shieldx-lockdown-confirm input[type="checkbox"] {
  margin-top: 0;
}

.shieldx-field .shieldx-inline-check span {
  color: #293654;
  display: inline;
  font-size: 14px;
  margin: 0;
}

.shieldx-lockdown-confirm span {
  color: #101935;
  line-height: 1.45;
}

.shieldx-keyword-field input {
  background-color: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
  color: #101935;
  margin-top: 6px;
  max-width: 260px;
  min-height: 38px;
  padding: 0 10px;
  width: 100%;
}

.shieldx-entry-url code {
  background: #f6f7f7;
  border: 1px solid #dcdcde;
  border-radius: 4px;
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
  padding: 7px 8px;
}

.shieldx-copy-url {
  background: #f8fbff;
  border: 1px solid #d9e2ef;
  border-radius: 6px;
  box-sizing: border-box;
  color: #0d1b3e;
  display: block;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 4px;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 12px;
  white-space: normal;
  word-break: break-word;
}

.shieldx-recovery-url-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
}

.shieldx-button-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shieldx-button-row form {
  margin: 0;
}

.shieldx-detail-list--boxed {
  align-content: start;
  margin: 0;
  padding: 0;
}

.shieldx-setup-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr) minmax(260px, 0.7fr);
}

.shieldx-qr-card,
.shieldx-secret-card,
.shieldx-verify-card,
.shieldx-recovery-codes {
  min-width: 0;
}

.shieldx-qr-card {
  border: 1px solid #dcdcde;
  border-radius: 6px;
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 14px;
}

.shieldx-qr-card span {
  color: #50575e;
  font-weight: 600;
  justify-self: start;
}

.shieldx-qr-wrap {
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 6px;
  padding: 10px;
}

.shieldx-qr {
  display: block;
  height: auto;
  max-width: 100%;
}

.shieldx-secret-card {
  align-content: start;
  border: 1px solid #dcdcde;
  border-radius: 6px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.shieldx-secret-card span {
  color: #50575e;
  font-weight: 600;
}

.shieldx-secret-card code {
  background: #101517;
  border-radius: 6px;
  color: #f4f7f8;
  display: block;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
  padding: 12px;
  white-space: normal;
}

.shieldx-admin .shieldx-secret-card .shieldx-setup-key-value {
  background: #0b1220 !important;
  border: 1px solid #172554;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: #ffffff !important;
  display: block !important;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.45;
  margin: 0;
  min-height: 0;
  opacity: 1 !important;
  padding: 14px 16px;
  text-shadow: none !important;
  -webkit-text-fill-color: #ffffff;
}

.shieldx-secret-card .button {
  justify-self: start;
}

.shieldx-secret-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shieldx-verify-card {
  align-content: start;
  display: grid;
  gap: 10px;
}

.shieldx-verify-card .button {
  justify-self: start;
}

.shieldx-code-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.shieldx-code-grid code {
  background: #f6f7f7;
  border: 1px solid #dcdcde;
  border-radius: 6px;
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
  padding: 9px 10px;
  text-align: center;
}

.shieldx-severity {
  border-radius: 999px;
  border: 1px solid transparent;
  box-sizing: border-box;
  color: #1f2937;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  min-height: 26px;
  min-width: 64px;
  padding: 5px 10px;
  text-align: center;
  white-space: nowrap;
}

.shieldx-severity *,
.shieldx-severity a {
  color: inherit !important;
}

.shieldx-severity--high {
  background: #fff1e8;
  border-color: #f2b58b;
  color: #753000 !important;
}

.shieldx-severity--critical {
  background: #b4232a;
  border-color: #b4232a;
  color: #fff !important;
}

.shieldx-severity--medium {
  background: #fcf9e8;
  border-color: #eadf98;
  color: #674d00 !important;
}

.shieldx-severity--low {
  background: #f0f6fc;
  border-color: #bfdbfe;
  color: #1d3f5f !important;
}

.shieldx-severity--info {
  background: #eef6ff;
  border-color: #bfdbfe;
  color: #1959d1 !important;
}

/* Keep action buttons consistent across page-specific toolbars and modals. */
.shieldx-admin .button.button-primary,
.shieldx-admin .button-primary,
.shieldx-admin .shieldx-header-button--primary {
  background: #05070d;
  border-color: #05070d;
  box-shadow: 0 14px 28px rgba(5, 7, 13, 0.2);
  color: #fff;
  text-shadow: none;
}

.shieldx-admin .button.button-primary:focus,
.shieldx-admin .button.button-primary:hover,
.shieldx-admin .button-primary:focus,
.shieldx-admin .button-primary:hover,
.shieldx-admin .shieldx-header-button--primary:focus,
.shieldx-admin .shieldx-header-button--primary:hover {
  background: #1a1d24;
  border-color: #1a1d24;
  box-shadow: 0 16px 32px rgba(5, 7, 13, 0.24);
  color: #fff;
}

.shieldx-admin .button:not(.button-primary),
.shieldx-admin .shieldx-header-button:not(.shieldx-header-button--primary):not(.has-warning):not(.has-notice):not(.is-active) {
  background: #fff;
  border-color: #05070d;
  box-shadow: none;
  color: #05070d;
  text-shadow: none;
}

.shieldx-admin .button:not(.button-primary):focus,
.shieldx-admin .button:not(.button-primary):hover,
.shieldx-admin .shieldx-header-button:not(.shieldx-header-button--primary):not(.has-warning):not(.has-notice):not(.is-active):focus,
.shieldx-admin .shieldx-header-button:not(.shieldx-header-button--primary):not(.has-warning):not(.has-notice):not(.is-active):hover {
  background: #f6f7f7;
  border-color: #05070d;
  box-shadow: 0 10px 22px rgba(5, 7, 13, 0.08);
  color: #05070d;
}

.shieldx-cloudflare-connection-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shieldx-cloudflare-connection-panel {
  align-self: start;
}

.shieldx-cloudflare-page > .shieldx-grid {
  margin-top: 18px;
}

.shieldx-cloudflare-page > .shieldx-header + .shieldx-grid {
  margin-top: 0;
}

.shieldx-cloudflare-page .shieldx-section-title {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin: 0 0 12px;
}

.shieldx-cloudflare-page .shieldx-section-title h2 {
  color: #18233e;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
  margin: 0;
}

.shieldx-cloudflare-controls-form,
.shieldx-cloudflare-controls-form fieldset,
.shieldx-cloudflare-control-grid {
  min-width: 0;
}

.shieldx-cloudflare-controls-form {
  display: grid;
  gap: 12px;
}

.shieldx-cloudflare-controls-form > p,
.shieldx-cloudflare-controls-form fieldset {
  margin: 0;
}

.shieldx-cloudflare-controls-form fieldset {
  border: 0;
  padding: 0;
}

.shieldx-cloudflare-controls-form fieldset > legend {
  margin-bottom: 10px;
  padding: 0;
}

.shieldx-cloudflare-title-row {
  align-items: center;
  display: grid;
  gap: 4px;
  grid-template-columns: minmax(0, max-content) auto;
}

.shieldx-cloudflare-header-disconnect-form {
  margin: 0;
}

.shieldx-admin .shieldx-header-button.shieldx-cloudflare-header-disconnect:not(.shieldx-header-button--primary):not(.has-warning):not(.has-notice):not(.is-active) {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #b42318;
  cursor: pointer;
  flex: 0 0 24px;
  height: 24px;
  min-height: 0;
  padding: 2px;
  width: 24px;
}

.shieldx-admin .shieldx-header-button.shieldx-cloudflare-header-disconnect:not(.shieldx-header-button--primary):not(.has-warning):not(.has-notice):not(.is-active):focus,
.shieldx-admin .shieldx-header-button.shieldx-cloudflare-header-disconnect:not(.shieldx-header-button--primary):not(.has-warning):not(.has-notice):not(.is-active):hover {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #8f1d14;
}

.shieldx-cloudflare-disconnect-icon {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 20px;
}

.shieldx-cloudflare-history-more {
  margin-top: 14px;
}

.shieldx-cloudflare-history-more > summary {
  color: #175cd3;
  cursor: pointer;
  font-weight: 700;
  width: fit-content;
}

.shieldx-cloudflare-history-more[open] > summary {
  margin-bottom: 12px;
}

@media (max-width: 782px) {
  .shieldx-cloudflare-connection-grid {
    grid-template-columns: 1fr;
  }

  .shieldx-cloudflare-title-row {
    grid-template-columns: 1fr auto;
  }
}

.shieldx-admin.wp-core-ui .button-group.button-small .button,
.shieldx-admin.wp-core-ui .button.button-small,
.wp-core-ui .shieldx-admin .button-group.button-small .button,
.wp-core-ui .shieldx-admin .button.button-small {
  font-size: 12px;
}

/* Keep SHIELD-X form controls soft and consistent without restyling WordPress globally. */
.shieldx-admin input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="hidden"]),
.shieldx-admin select,
.shieldx-admin textarea,
.shieldx-admin input[type="file"] {
  background-color: #fff;
  border: 1px solid #d5dfed;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.025), inset 0 1px 1px rgba(255, 255, 255, 0.55);
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.shieldx-admin input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="hidden"]):hover,
.shieldx-admin select:hover,
.shieldx-admin textarea:hover,
.shieldx-admin input[type="file"]:hover {
  border-color: #b9c8dc;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.62);
}

.shieldx-admin input[type="file"] {
  padding: 4px;
}

.shieldx-admin input[type="file"]::file-selector-button {
  border: 1px solid #d5dfed;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 10px;
  padding: 7px 10px;
}

/* Keep clickable controls and menu-style choices at the same medium weight. */
.shieldx-admin button,
.shieldx-admin .button,
.shieldx-admin input[type="button"],
.shieldx-admin input[type="reset"],
.shieldx-admin input[type="submit"],
.shieldx-admin select,
.shieldx-admin option,
.shieldx-admin [role="button"],
.shieldx-admin [role="menuitem"],
.shieldx-admin .shieldx-header-button,
.shieldx-admin .shieldx-subnav a,
.shieldx-admin .shieldx-scan-selector-card,
.shieldx-admin .shieldx-scan-selector-copy strong,
.shieldx-admin .shieldx-scan-selector-copy em,
.shieldx-admin .shieldx-token-chip,
.shieldx-admin .shieldx-token-chip button,
.shieldx-admin .shieldx-token-toggle,
.shieldx-admin .shieldx-token-option,
.shieldx-admin .shieldx-token-option strong,
.shieldx-admin .shieldx-rule-action select,
.shieldx-admin .shieldx-recovery-command-user select {
  font-weight: 500 !important;
}

.shieldx-screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.shieldx-screen-reader-text:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  margin: 0;
  overflow: visible;
  white-space: normal;
  width: auto;
}

.shieldx-admin a:focus-visible,
.shieldx-admin button:focus-visible,
.shieldx-admin input:focus-visible,
.shieldx-admin select:focus-visible,
.shieldx-admin textarea:focus-visible,
.shieldx-admin [tabindex]:focus-visible {
  box-shadow: 0 0 0 3px rgba(25, 89, 209, 0.22);
  outline: 3px solid #8bbcff;
  outline-offset: 2px;
}

.shieldx-scan-selector-card[aria-selected="true"],
.shieldx-token-control:focus-within {
  border-color: #05070d;
}

.shieldx-token-chip button:focus-visible {
  background: #dfeaff;
  border-radius: 999px;
  color: #0f3b82;
}

/* Inline paths and IDs should read as text, not as grey highlight chips. */
.shieldx-admin :not(pre) > code {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .shieldx-admin *,
  .shieldx-admin *::before,
  .shieldx-admin *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .shieldx-skeleton-line,
  .shieldx-skeleton-icon,
  .shieldx-skeleton-ring,
  .shieldx-skeleton-toggle,
  .shieldx-skeleton-row,
  .shieldx-skeleton-chart-rule,
  .shieldx-skeleton-chart-wave {
    animation: none !important;
    background-position: 0 0;
  }
}

@media (forced-colors: active) {
  .shieldx-admin .button,
  .shieldx-admin input,
  .shieldx-admin select,
  .shieldx-admin textarea,
  .shieldx-panel,
  .shieldx-scan-selector-card,
  .shieldx-token-control,
  .shieldx-token-menu {
    border-color: ButtonText;
  }

  .shieldx-admin a:focus-visible,
  .shieldx-admin button:focus-visible,
  .shieldx-admin input:focus-visible,
  .shieldx-admin select:focus-visible,
  .shieldx-admin textarea:focus-visible,
  .shieldx-admin [tabindex]:focus-visible {
    outline: 2px solid Highlight;
  }
}

@media (max-width: 1320px) and (min-width: 961px) {
  #shieldx-file-scanner .shieldx-scan-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #shieldx-file-scanner .shieldx-file-scan-status-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .shieldx-hardening-layout {
    grid-template-columns: 1fr;
  }

  .shieldx-lockdown-layout {
    grid-template-columns: 1fr;
  }

  .shieldx-hardening-layout > .shieldx-panel--full,
  .shieldx-hardening-layout > .shieldx-hardening-sidebar-panel,
  .shieldx-hardening-layout > .shieldx-form-actions,
  .shieldx-lockdown-layout > .shieldx-lockdown-policy-panel,
  .shieldx-lockdown-layout > .shieldx-lockdown-preview-panel,
  .shieldx-lockdown-layout > .shieldx-panel--full:not(.shieldx-lockdown-policy-panel):not(.shieldx-lockdown-preview-panel) {
    grid-column: 1;
    grid-row: auto;
  }

  .shieldx-metrics--overview {
    grid-template-columns: minmax(0, 1fr);
  }

  .shieldx-skeleton-overview-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .shieldx-incident-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shieldx-activity-log-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shieldx-waf-access-filters {
    grid-template-columns: minmax(260px, 1fr) minmax(170px, 0.5fr);
  }

  .shieldx-waf-access-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shieldx-waf-latest-hits-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shieldx-overview-metric-grid,
  .shieldx-overview-disabled-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .shieldx-skeleton-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .shieldx-overview-chart-grid {
    grid-template-columns: 1fr;
  }

  .shieldx-overview-signal-range {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shieldx-setup-steps,
  .shieldx-setup-optional-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shieldx-overview-metric-grid .shieldx-metric:last-child {
    grid-column: 1 / -1;
  }

  .shieldx-overview-attention .shieldx-overview-metric-grid .shieldx-metric:last-child {
    grid-column: auto;
  }

  .shieldx-skeleton-metric-grid .shieldx-skeleton-metric:last-child {
    grid-column: auto;
  }

  .shieldx-layout {
    grid-template-columns: 1fr 1fr;
  }

  .shieldx-remediation-grid--scanner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shieldx-panel--wide {
    grid-column: span 2;
  }
}

@media (max-width: 782px) {
  .shieldx-toast-stack,
  .shieldx-header .notice,
  .shieldx-shell > .notice {
    bottom: 16px;
    left: 16px;
    right: 16px;
    width: auto;
  }

  .shieldx-alert,
  .shieldx-header,
  .shieldx-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .shieldx-header-meta {
    align-items: flex-start;
  }

  .shieldx-metrics,
  .shieldx-skeleton-overview-metrics,
  .shieldx-scan-selector,
  .shieldx-setup-hero,
  .shieldx-setup-progress,
  .shieldx-waf-access-filters,
  .shieldx-waf-access-summary-grid,
  .shieldx-waf-latest-hits-list,
  .shieldx-layout {
    grid-template-columns: 1fr;
  }

  .shieldx-setup-progress-side {
    justify-items: start;
  }

  .shieldx-setup-steps,
  .shieldx-setup-optional-grid,
  .shieldx-setup-step {
    grid-template-columns: 1fr;
  }

  .shieldx-setup-recovery-callout {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .shieldx-setup-recovery-callout .button {
    justify-content: center;
    width: 100%;
  }

  .shieldx-setup-step > .button {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
  }

  .shieldx-overview-metric-grid,
  .shieldx-overview-disabled-grid {
    grid-template-columns: 1fr;
  }

  .shieldx-metrics--overview .shieldx-overview-attention-card--summary {
    grid-template-columns: 1fr auto;
    padding-right: 18px;
  }

  .shieldx-skeleton-summary-band {
    grid-template-columns: 1fr auto;
  }

  .shieldx-skeleton-summary-copy,
  .shieldx-skeleton-line--summary-action {
    grid-column: 1 / -1;
  }

  .shieldx-skeleton-line--summary-action {
    width: 100%;
  }

  .shieldx-metrics--overview .shieldx-overview-attention-card--summary .shieldx-overview-summary-copy,
  .shieldx-metrics--overview .shieldx-overview-attention-card--summary .shieldx-card-link {
    grid-column: 1 / -1;
  }

  .shieldx-skeleton-metric-grid,
  .shieldx-skeleton-signal-grid {
    grid-template-columns: 1fr;
  }

  .shieldx-activity-log-summary {
    grid-template-columns: 1fr;
  }

  .shieldx-overview-chart-grid {
    grid-template-columns: 1fr;
  }

  .shieldx-overview-signal-range {
    grid-template-columns: 1fr;
  }

  .shieldx-overview-metric-grid .shieldx-metric:last-child {
    grid-column: auto;
  }

  .shieldx-skeleton-metric-grid .shieldx-skeleton-metric:last-child {
    grid-column: auto;
  }

  .shieldx-panel--wide {
    grid-column: auto;
  }

  .shieldx-module-grid {
    grid-template-columns: 1fr;
  }

  .shieldx-extension-intro {
    flex-direction: column;
  }

  .shieldx-detail-list {
    grid-template-columns: 1fr;
  }

  .shieldx-detail-list dt {
    border-right: 0;
    border-radius: 0;
    border-bottom: 0;
    padding-bottom: 6px;
  }

  .shieldx-detail-list dd {
    border-left: 0;
    border-radius: 0;
    margin-bottom: 0;
    padding-top: 6px;
  }

  .shieldx-detail-list dd:last-child {
    border-bottom: 0;
  }

  .shieldx-detail-list--compact dt:last-of-type:nth-child(4n+1) + dd {
    grid-column: auto;
  }

  .shieldx-recovery-url-grid {
    grid-template-columns: 1fr;
  }

  .shieldx-reset-2fa-grid,
  .shieldx-reset-2fa-grid .shieldx-sensitive-action-form {
    grid-template-columns: 1fr;
  }

  .shieldx-setup-mode-grid,
  .shieldx-waf-mode-band-grid,
  .shieldx-notification-groups,
  .shieldx-notification-profiles,
  .shieldx-setup-mode-preview {
    grid-template-columns: 1fr;
  }

  .shieldx-reset-2fa-grid .button {
    justify-content: center;
    width: 100%;
  }

  .shieldx-restore-file-browser,
  .shieldx-restore-file-pager {
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow-x: visible;
  }

  .shieldx-restore-selection-tools {
    flex-wrap: wrap;
    white-space: normal;
  }

  .shieldx-restore-file-search,
  .shieldx-restore-file-search-field {
    width: 100%;
  }

  .shieldx-admin-gate-controls {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .shieldx-event {
    grid-template-columns: 1fr;
  }

  .shieldx-rule-summary {
    grid-template-columns: 1fr;
  }

  .shieldx-hardening-grid,
  .shieldx-core-hashes,
  .shieldx-diff-grid,
  .shieldx-file-side-by-side,
  .shieldx-file-review-meta,
  .shieldx-login-policy-grid,
  .shieldx-portability-grid,
  .shieldx-recovery-guide-grid,
  .shieldx-remediation-grid,
  .shieldx-rotation-target-grid,
  .shieldx-setup-grid,
  .shieldx-scan-actions,
  .shieldx-scan-form,
  .shieldx-scan-summary-grid,
  .shieldx-scope-grid,
  .shieldx-temp-block-form,
  .shieldx-settings-grid {
    grid-template-columns: 1fr;
  }

  #shieldx-file-scanner .shieldx-scan-summary-grid {
    grid-template-columns: 1fr !important;
  }

  .shieldx-scan-form > .button {
    justify-self: stretch;
    text-align: center;
    width: 100%;
  }

  .shieldx-profiler-settings {
    grid-template-columns: 1fr;
  }

  .shieldx-profiler-settings .button {
    justify-self: stretch;
    width: 100%;
  }

  .shieldx-field input:not([type="checkbox"]):not([type="radio"]),
  .shieldx-field select {
    max-width: none;
  }

  .shieldx-database-backup-cleanup-date,
  .shieldx-database-backup-cleanup-date input[type="date"],
  .shieldx-database-backup-cleanup-form .button {
    width: 100%;
  }

  .shieldx-database-backup-cleanup-form .button {
    justify-content: center;
  }

  .shieldx-db-history-item {
    grid-template-columns: 1fr;
  }

  .shieldx-inline-check {
    white-space: normal;
  }

  .shieldx-shadow-session-head {
    align-items: flex-start;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .shieldx-shadow-session-head .shieldx-shadow-session-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
    width: 100%;
  }

  .shieldx-shadow-session-head .shieldx-inline-action-form {
    grid-column: 1 / -1;
    flex: 1 1 100%;
    width: 100%;
  }

  .shieldx-shadow-session-head .button {
    justify-content: center;
    width: 100%;
  }

  .shieldx-modal {
    align-items: stretch;
    padding: 14px;
  }

  .shieldx-scan-modal {
    align-items: stretch;
    padding: 14px;
  }

  .shieldx-scan-modal-card {
    max-height: calc(100vh - 28px);
    padding: 22px;
  }

  .shieldx-scan-modal-meta {
    grid-template-columns: 1fr;
  }

  .shieldx-modal-card {
    max-height: calc(100vh - 28px);
    padding: 22px;
  }

  .shieldx-modal-actions {
    justify-content: stretch;
  }

  .shieldx-modal-actions .button {
    justify-content: center;
    width: 100%;
  }
}
