/* AutoBoostSEO — SEO Audit page. Scoped under #abp-audit so it can't leak into
   wp-admin, and resets wp-admin defaults that would otherwise bleed in. */

#abp-audit {
  --canvas-grad: linear-gradient(
    135deg,
    #f5e6ff 0%,
    #fde7f3 25%,
    #e9d5ff 50%,
    #fce7f3 75%,
    #f5e6ff 100%
  );
  --indigo: #4f46e5;
  --indigo-700: #4338ca;
  --cta: #f43f5e;
  --cta-hover: #e11d48;
  --card-pink: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 50%, #f9a8d4 100%);
  --card-purple: linear-gradient(135deg, #f5d0fe 0%, #e9d5ff 30%, #d8b4fe 60%, #c084fc 100%);
  --card-indigo: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 50%, #a5b4fc 100%);
  --card-violet: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 50%, #c4b5fd 100%);
  --glass: rgba(255, 255, 255, 0.72);
  --label-pink: #be185d;
  --label-purple: #7e22ce;
  --label-indigo: #4338ca;
  --badge-bg: #fee2e2;
  --badge-tx: #b91c1c;
  --chip-bg: #dbeafe;
  --chip-tx: #1e40af;
  --border: #e5e7eb;
  --divider: #f3f4f6;
  --head-bg: #f9fafb;
  --strong: #111827;
  --body: #374151;
  --muted: #6b7280;
  --faint: #9ca3af;
  --link: #2563eb;
  --positive: #059669;
  --negative: #e11d48;
  --amber: #fbbf24;
  --font:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  font-family: var(--font);
  color: var(--body);
  margin: 18px 20px 0 0;
  max-width: 1240px;
}
#abp-audit * {
  box-sizing: border-box;
}
#abp-audit h1 {
  margin: 0;
  padding: 0;
  font-size: 26px;
  font-weight: 700;
  color: var(--strong);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
#abp-audit p {
  margin: 0;
}
#abp-audit b {
  font-weight: 700;
}
#abp-audit a {
  text-decoration: none;
  box-shadow: none;
}
#abp-audit a:focus {
  box-shadow: none;
  outline: 2px solid rgba(79, 70, 229, 0.4);
  outline-offset: 2px;
  border-radius: 6px;
}
#abp-audit table {
  border-collapse: collapse;
  border: 0;
  margin: 0;
  width: 100%;
  background: transparent;
}
#abp-audit svg {
  display: block;
}

#abp-audit .ab-app {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--canvas-grad);
  border: 1px solid rgba(168, 85, 247, 0.18);
  box-shadow: 0 1px 3px rgba(80, 30, 120, 0.08);
}
#abp-audit .glow {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
  z-index: 0;
  display: block;
}
#abp-audit .glow.g1 {
  width: 440px;
  height: 440px;
  top: -120px;
  right: 8%;
  background: rgba(192, 132, 252, 0.16);
  filter: blur(80px);
}
#abp-audit .glow.g2 {
  width: 440px;
  height: 440px;
  bottom: -160px;
  left: 12%;
  background: rgba(244, 114, 182, 0.13);
  filter: blur(80px);
}
#abp-audit .ab-inner {
  position: relative;
  z-index: 1;
  padding: 22px 28px 32px;
}

#abp-audit .ab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.18);
  margin-bottom: 22px;
}
#abp-audit .ab-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
#abp-audit .ab-brand .mk {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--indigo), #7c73f0);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
#abp-audit .ab-brand .mk svg {
  width: 19px;
  height: 19px;
  color: #fff;
}
#abp-audit .ab-brand .bt {
  display: flex;
  flex-direction: column;
}
#abp-audit .ab-brand b {
  font-size: 18px;
  font-weight: 700;
  color: var(--strong);
  letter-spacing: -0.01em;
}
#abp-audit .ab-brand b span {
  color: var(--indigo);
}
#abp-audit .ab-brand .v {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}
#abp-audit .freefix {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #9d174d;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(244, 63, 94, 0.25);
  padding: 7px 13px;
  border-radius: 9999px;
}
#abp-audit .freefix svg {
  width: 14px;
  height: 14px;
  color: var(--cta);
}

#abp-audit .titlerow {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
#abp-audit .sub {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 5px;
  max-width: 60ch;
}
#abp-audit .scanned {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--positive);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 6px 12px;
  border-radius: 9999px;
  white-space: nowrap;
}
#abp-audit .scanned .d {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--positive);
}
#abp-audit .scanned.scanning {
  color: #9333ea;
  border-color: rgba(147, 51, 234, 0.25);
}
#abp-audit .scanned.scanning .d {
  background: #9333ea;
  animation: abp-pulse 1s ease-in-out infinite;
}
@keyframes abp-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

#abp-audit .abp-error {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 13.5px;
}

#abp-audit .seclbl {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin: 22px 0 13px;
  display: flex;
  align-items: center;
}
#abp-audit .seclbl .ref {
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
#abp-audit .seclbl .ref svg {
  width: 14px;
  height: 14px;
}

#abp-audit .grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}
@media (max-width: 1100px) {
  #abp-audit .grid {
    grid-template-columns: 1fr;
  }
}

#abp-audit .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
@media (max-width: 640px) {
  #abp-audit .stats {
    grid-template-columns: 1fr;
  }
}
#abp-audit .stat {
  position: relative;
  border-radius: 16px;
  padding: 20px;
  min-height: 130px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#abp-audit .stat.pink {
  background: var(--card-pink);
}
#abp-audit .stat.purple {
  background: var(--card-purple);
}
#abp-audit .stat.indigo {
  background: var(--card-indigo);
}
#abp-audit .stat .ic {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}
#abp-audit .stat .ic svg {
  width: 18px;
  height: 18px;
}
#abp-audit .stat.pink .ic svg {
  color: #ec4899;
}
#abp-audit .stat.purple .ic svg {
  color: #a855f7;
}
#abp-audit .stat.indigo .ic svg {
  color: #6366f1;
}
#abp-audit .stat .lbl {
  font-size: 12px;
  font-weight: 500;
  margin-top: 16px;
}
#abp-audit .stat.pink .lbl {
  color: var(--label-pink);
}
#abp-audit .stat.purple .lbl {
  color: var(--label-purple);
}
#abp-audit .stat.indigo .lbl {
  color: var(--label-indigo);
}
#abp-audit .stat .num {
  font-size: 31px;
  font-weight: 700;
  color: var(--strong);
  letter-spacing: -0.02em;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
#abp-audit .stat .num small {
  font-size: 16px;
  font-weight: 600;
}
#abp-audit .stat.purple .num small {
  color: #9333ea;
}
#abp-audit .stat.indigo .num small {
  color: var(--indigo);
}
#abp-audit .stat .tag {
  position: absolute;
  top: 15px;
  right: 15px;
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 600;
}
#abp-audit .stat .tag.warn {
  background: #fef2f2;
  color: #dc2626;
}
#abp-audit .stat .tag.ok {
  background: #ecfdf5;
  color: #059669;
}

#abp-audit .glasscard {
  background: var(--glass);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
}
#abp-audit .rec {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 18px;
  border-left: 4px solid var(--amber);
  margin-bottom: 18px;
}
#abp-audit .rec .ri {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fffbeb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#abp-audit .rec .ri svg {
  width: 19px;
  height: 19px;
  color: #d97706;
}
#abp-audit .rec .rt {
  display: flex;
  flex-direction: column;
}
#abp-audit .rec .rt b {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--strong);
}
#abp-audit .rec .rt span {
  font-size: 12.5px;
  color: var(--muted);
}
#abp-audit .rec .btn {
  margin-left: auto;
  white-space: nowrap;
}

#abp-audit .issues {
  margin-bottom: 18px;
  overflow: hidden;
}
#abp-audit .issues .ih {
  padding: 15px 18px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
  display: flex;
  align-items: baseline;
  gap: 9px;
}
#abp-audit .issues .ih b {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--strong);
  font-variant-numeric: tabular-nums;
}
#abp-audit .issues .ih span {
  font-size: 12.5px;
  color: var(--muted);
}
#abp-audit .irow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(243, 244, 246, 0.8);
  cursor: pointer;
}
#abp-audit .irow:last-child {
  border-bottom: none;
}
#abp-audit .irow:hover {
  background: rgba(255, 255, 255, 0.45);
}
#abp-audit .irow .ii {
  width: 31px;
  height: 31px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#abp-audit .irow .ii svg {
  width: 15px;
  height: 15px;
}
#abp-audit .irow.red .ii {
  background: #fee2e2;
}
#abp-audit .irow.red .ii svg {
  color: #dc2626;
}
#abp-audit .irow.amber .ii {
  background: #fef3c7;
}
#abp-audit .irow.amber .ii svg {
  color: #d97706;
}
#abp-audit .irow.indigo .ii {
  background: #e0e7ff;
}
#abp-audit .irow.indigo .ii svg {
  color: #4f46e5;
}
#abp-audit .irow .it {
  font-size: 13.5px;
  color: var(--body);
}
#abp-audit .irow .it b {
  color: var(--strong);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
#abp-audit .irow .chev {
  margin-left: auto;
  color: var(--faint);
  display: flex;
}
#abp-audit .irow .chev svg {
  width: 16px;
  height: 16px;
}

#abp-audit .tablecard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
#abp-audit .th-row {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#abp-audit .th-row b {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--strong);
}
#abp-audit .th-row span {
  font-size: 12px;
  color: var(--muted);
}
#abp-audit th {
  text-align: left;
  background: var(--head-bg);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 9px 18px;
  border-bottom: 1px solid var(--border);
}
#abp-audit td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--divider);
  font-size: 13.5px;
  vertical-align: middle;
  color: var(--body);
}
#abp-audit tbody tr:last-child td {
  border-bottom: none;
}
#abp-audit tbody tr:hover {
  background: rgba(249, 250, 251, 0.6);
}
#abp-audit .ta-r {
  text-align: right;
}
#abp-audit .abp-empty {
  text-align: center;
  color: var(--muted);
  padding: 24px;
}
#abp-audit .chip {
  display: inline-flex;
  align-items: center;
  background: var(--chip-bg);
  color: var(--chip-tx);
  font-size: 11.5px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 9999px;
  font-variant-numeric: tabular-nums;
}
#abp-audit .chip.low {
  background: #fee2e2;
  color: #b91c1c;
}
#abp-audit .chip.mid {
  background: #fef3c7;
  color: #92400e;
}
#abp-audit .ttl {
  color: var(--link);
  font-weight: 500;
}
#abp-audit .badges {
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
#abp-audit .badge {
  background: var(--badge-bg);
  color: var(--badge-tx);
  font-size: 11.5px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 9999px;
}
#abp-audit .status-pub {
  color: var(--positive);
  font-weight: 500;
}
#abp-audit .status-draft {
  color: var(--muted);
  font-weight: 500;
}

#abp-audit .btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 9999px;
  padding: 8px 16px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s;
}
#abp-audit .btn svg {
  width: 15px;
  height: 15px;
}
#abp-audit .btn-cta {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.25);
}
#abp-audit .btn-cta:hover {
  background: var(--cta-hover);
  color: #fff;
}
#abp-audit .btn-cta.sm {
  font-size: 12.5px;
  padding: 6px 12px;
}

#abp-audit .side {
  border-radius: 16px;
  padding: 20px;
  background: var(--card-violet);
  border: 1px solid rgba(168, 85, 247, 0.25);
}
#abp-audit .side .sh {
  display: flex;
  align-items: center;
  gap: 10px;
}
#abp-audit .side .sh .ci {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
}
#abp-audit .side .sh .ci svg {
  width: 17px;
  height: 17px;
  color: var(--indigo);
}
#abp-audit .side .sh b {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--strong);
}
#abp-audit .side .big {
  font-size: 28px;
  font-weight: 700;
  color: var(--strong);
  letter-spacing: -0.02em;
  margin: 14px 0 2px;
  font-variant-numeric: tabular-nums;
}
#abp-audit .side .bigsub {
  font-size: 12.5px;
  color: #6b21a8;
  font-weight: 500;
}
#abp-audit .side .srows {
  margin: 16px 0 14px;
}
#abp-audit .side .srow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}
#abp-audit .side .srow span {
  font-size: 13.5px;
  color: #4b5563;
}
#abp-audit .side .srow b {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--strong);
  font-variant-numeric: tabular-nums;
}
#abp-audit .side .srow b.neg {
  color: var(--negative);
}
#abp-audit .side .btn-cta {
  width: 100%;
  justify-content: center;
}
#abp-audit .side .note {
  text-align: center;
  font-size: 11.5px;
  color: #7e22ce;
  margin-top: 9px;
}
#abp-audit .helpcard {
  margin-top: 16px;
  padding: 16px 18px;
}
#abp-audit .helpcard b {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--strong);
}
#abp-audit .helpcard p {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.5;
}
