[data-eva-audit-root] {
  width: 100%;
}

.eva-wp-audit-hero {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.eva-wp-audit-copy,
.eva-wp-audit-form-card {
  background: #ffffff;
  border: 1px solid #dce4f2;
  border-radius: 10px;
}

.eva-wp-audit-copy {
  padding: 28px;
  display: grid;
  gap: 16px;
}

.eva-wp-audit-eyebrow {
  margin: 0;
  width: fit-content;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid #c9dbff;
  background: #eaf2ff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 4px 12px;
}

body.page-id-123450 .eva-wp-audit-eyebrow {
  color: #6d3ee8 !important;
  font-weight: 700 !important;
}

.eva-wp-audit-copy h1 {
  margin: 0;
  color: #101b45;
  font-size: 54px;
  line-height: 1.03;
}

.eva-wp-audit-lead {
  margin: 0;
  color: #475569;
  font-size: 22px;
  line-height: 1.45;
}

.eva-wp-audit-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eva-wp-audit-points span {
  border: 1px solid #d3def1;
  border-radius: 999px;
  background: #f8fbff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
}

.eva-wp-audit-ai {
  border: 1px solid #bfdbfe;
  border-left: 4px solid #2563eb;
  border-radius: 8px;
  background: #f1f6ff;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
}

.eva-wp-audit-ai strong {
  color: #0f1a3d;
  font-size: 22px;
}

.eva-wp-audit-ai p {
  margin: 0;
  color: #334155;
  font-size: 18px;
  line-height: 1.5;
}

.eva-wp-audit-form-card {
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.eva-wp-audit-form-card h2 {
  margin: 0;
  color: #0f1a3d;
  font-size: 34px;
  line-height: 1.1;
}

.eva-wp-audit-form-card .eva-wp-audit-form-sub {
  margin: 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.2;
}

[data-eva-audit-form] {
  display: grid;
  gap: 12px;
}

/* Ensure login fields respect frame gutters in WordPress theme context. */
body.page-id-123450 [data-eva-audit-form],
body.page-id-123450 [data-eva-audit-form] *,
body.page-id-123450 .eva-wp-login-row,
body.page-id-123450 .eva-wp-login-row * {
  box-sizing: border-box !important;
}

.eva-wp-login-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.eva-wp-login-field {
  min-width: 0;
}

.eva-wp-login-email {
  width: 100%;
  min-width: 0;
}

[data-eva-audit-form] label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2a44;
}

[data-eva-audit-form] input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #b9c8f5;
  border-radius: 8px;
  padding: 0 16px;
  font: inherit;
  font-size: 16px;
  color: #1f2a44;
  background: #ffffff;
}

[data-eva-audit-form] select {
  width: 100%;
  min-height: 52px;
  border: 1px solid #b9c8f5;
  border-radius: 8px;
  padding: 0 16px;
  font: inherit;
  font-size: 16px;
  color: #1f2a44;
  background: #ffffff;
}

[data-eva-audit-form] input[readonly] {
  background: #f8fbff;
  color: #334155;
}

[data-eva-audit-form] button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #6f43e7 0%, #653ee3 100%);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

[data-eva-audit-form] button:hover {
  filter: brightness(0.98);
}

[data-eva-audit-form] button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

[data-eva-auth-state] {
  margin: 8px 0 0;
  color: #1f2a44;
  font-size: 14px;
  line-height: 1.4;
  word-break: break-word;
}

[data-eva-auth-state].is-signed-out {
  color: #475569;
}

[data-eva-auth-state] a {
  color: #2f61e6;
  text-decoration: none;
  font-weight: 600;
}

[data-eva-auth-state] a:hover {
  text-decoration: underline;
}

[data-eva-audit-status] {
  margin: 12px 0 0;
  min-height: 20px;
  color: #1f2a44;
  font-size: 14px;
}

[data-eva-audit-root].eva-wp-mode-login [data-eva-audit-links] {
  display: none !important;
}

[data-eva-audit-links] {
  margin-top: 14px;
  border-top: 1px solid #e3daff;
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

[data-eva-audit-links] a {
  color: #1b2347;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
}

[data-eva-audit-links] a:hover {
  color: #2f61e6;
}

.eva-wp-frame-section {
  display: grid;
  gap: 10px;
}

.eva-wp-frame-section h3 {
  margin: 0;
  color: #0f1a3d;
  font-size: 28px;
  line-height: 1.1;
}

.eva-wp-inline-status,
.eva-wp-muted {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.4;
}

.eva-wp-report-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-height: 420px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  scrollbar-gutter: stable;
}

.eva-wp-report-row {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  display: grid;
  gap: 8px;
}

.eva-wp-report-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.eva-wp-report-main strong {
  color: #0f1a3d;
  font-size: 16px;
}

.eva-wp-report-main a {
  color: #2f61e6;
  font-weight: 600;
  text-decoration: none;
}

.eva-wp-report-main a:hover {
  text-decoration: underline;
}

.eva-wp-report-meta {
  color: #334155;
  font-size: 13px;
}

.eva-wp-report-reason {
  margin: 0;
  color: #334155;
  font-size: 13px;
}

.eva-wp-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
}

.eva-wp-badge-success {
  background: #dcfce7;
  color: #166534;
  border-color: #86efac;
}

.eva-wp-badge-warning {
  background: #fef9c3;
  color: #854d0e;
  border-color: #fde68a;
}

.eva-wp-badge-danger {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}

.eva-wp-badge-info {
  background: #dbeafe;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.eva-wp-badge-muted {
  background: #e2e8f0;
  color: #334155;
  border-color: #cbd5e1;
}

.eva-wp-badge-refund {
  background: #ecfeff;
  color: #155e75;
  border-color: #a5f3fc;
}

.eva-wp-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.eva-wp-account-field {
  display: grid;
  gap: 6px;
}

.eva-wp-account-footer {
  display: grid;
  gap: 10px;
}

.eva-wp-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.eva-wp-row-actions a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 600;
}

.eva-wp-row-actions a:hover {
  color: #4338ca;
}

.eva-wp-pack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
}

.eva-wp-pack-card {
  position: relative;
  height: auto;
  min-height: 136px;
  display: grid;
  gap: 6px;
  align-content: start;
  text-align: left;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px;
}

.eva-wp-pack-card:hover {
  border-color: #334155;
}

.eva-wp-pack-card.recommended {
  border-color: #0f1a3d;
  box-shadow: inset 0 0 0 1px #0f1a3d;
}

.eva-wp-pack-badge {
  width: fit-content;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
  border-radius: 999px;
  padding: 2px 8px;
}

.eva-wp-pack-title {
  font-size: 16px;
  font-weight: 700;
}

.eva-wp-pack-price {
  font-size: 22px;
  font-weight: 700;
}

.eva-wp-pack-meta,
.eva-wp-pack-save {
  color: #334155;
  font-size: 13px;
}

.eva-wp-otp-stack {
  display: grid;
  gap: 12px;
}

.eva-wp-otp-field {
  display: grid;
  gap: 6px;
}

.eva-wp-processing-shell {
  gap: 12px;
}

.eva-wp-processing-estimate {
  margin: 0;
  color: #1f2a44;
  font-size: 14px;
  font-weight: 600;
}

.eva-wp-processing-bar-track {
  position: relative;
  width: 100%;
  min-height: 14px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #eef2ff;
  overflow: hidden;
}

.eva-wp-processing-bar-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #6f43e7 0%, #2563eb 100%);
  transition: width 0.35s ease;
}

.eva-wp-processing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.eva-wp-processing-percent,
.eva-wp-processing-eta {
  margin: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
}

.eva-wp-processing-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.eva-wp-processing-steps li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.eva-wp-step-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.eva-wp-step-label {
  color: #334155;
  font-size: 13px;
  line-height: 1.35;
}

.eva-wp-processing-steps li.is-done .eva-wp-step-marker {
  border-color: #86efac;
  background: #dcfce7;
  color: #166534;
}

.eva-wp-processing-steps li.is-current .eva-wp-step-marker {
  border-color: #a5b4fc;
  background: #e0e7ff;
  color: #3730a3;
}

.eva-wp-processing-steps li.is-error .eva-wp-step-marker {
  border-color: #fecaca;
  background: #fee2e2;
  color: #991b1b;
}

.eva-wp-processing-link {
  margin: 0;
}

.eva-wp-processing-link a {
  color: #2f61e6;
  font-weight: 700;
  text-decoration: none;
}

.eva-wp-processing-link a:hover {
  text-decoration: underline;
}

.eva-wp-processing-copy {
  margin: 0;
  color: #1f2a44;
  font-size: 16px;
}

.eva-wp-inline-stack {
  display: grid;
  gap: 10px;
}

.eva-wp-inline-stack p {
  margin: 0;
  color: #1f2a44;
}

[data-eva-marketplace-strip] {
  max-width: 1260px;
  margin: 14px auto 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(8, minmax(90px, 1fr));
  gap: 22px;
  align-items: center;
  background: #070625;
  border-top: 1px solid #2c2074;
  border-bottom: 1px solid #2c2074;
  border-radius: 10px;
  padding: 14px 18px;
}

[data-eva-marketplace-strip] img {
  width: 100%;
  max-height: 44px;
  object-fit: contain;
}

@media (max-width: 1120px) {
  .eva-wp-audit-hero {
    grid-template-columns: 1fr;
  }

  .eva-wp-audit-copy h1 {
    font-size: 42px;
  }

  .eva-wp-audit-lead {
    font-size: 18px;
  }

  .eva-wp-audit-ai strong {
    font-size: 20px;
  }

  .eva-wp-audit-ai p {
    font-size: 16px;
  }

  .eva-wp-audit-form-card h2 {
    font-size: 30px;
  }

  .eva-wp-audit-form-card .eva-wp-audit-form-sub {
    font-size: 16px;
  }

  [data-eva-audit-form] label {
    font-size: 14px;
  }

  [data-eva-audit-form] input {
    min-height: 58px;
    font-size: 16px;
  }

  [data-eva-audit-form] select {
    min-height: 58px;
    font-size: 16px;
  }

  [data-eva-audit-form] button {
    min-height: 60px;
    font-size: 20px;
  }

  [data-eva-audit-links] a {
    font-size: 16px;
  }

  [data-eva-audit-status] {
    font-size: 14px;
  }

  [data-eva-marketplace-strip] {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 16px;
  }

  [data-eva-marketplace-strip] img {
    max-height: 44px;
  }
}

@media (max-width: 640px) {
  .eva-wp-login-row {
    grid-template-columns: 1fr;
  }

  .eva-wp-audit-copy,
  .eva-wp-audit-form-card {
    padding: 14px;
  }

  .eva-wp-audit-copy h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .eva-wp-audit-lead {
    font-size: 17px;
    line-height: 1.35;
  }

  [data-eva-marketplace-strip] {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 14px;
  }

  [data-eva-marketplace-strip] img {
    max-height: 42px;
  }

  [data-eva-audit-links] a {
    font-size: 15px;
  }

  .eva-wp-account-grid,
  .eva-wp-pack-grid,
  .eva-wp-login-row {
    grid-template-columns: 1fr;
  }
}
