.smf-app,
.smf-dashboard {
  --smf-bg: #f6f8fc;
  --smf-surface: #ffffff;
  --smf-surface-soft: #f8fafc;
  --smf-surface-tint: #f2f6ff;
  --smf-border: #e2e8f0;
  --smf-border-strong: #cbd5e1;
  --smf-text: #111827;
  --smf-muted: #64748b;
  --smf-primary: #4f46e5;
  --smf-primary-hover: #4338ca;
  --smf-primary-soft: #eef2ff;
  --smf-success: #15803d;
  --smf-success-soft: #f0fdf4;
  --smf-warning: #a16207;
  --smf-warning-soft: #fffbeb;
  --smf-danger: #be123c;
  --smf-danger-soft: #fff1f2;
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 28px auto;
  padding: clamp(18px, 3vw, 34px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--smf-border);
  border-radius: 28px;
  background: var(--smf-surface);
  box-shadow: 0 22px 65px rgba(15, 23, 42, 0.09);
  color: var(--smf-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

.smf-app::before,
.smf-dashboard::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -220px;
  right: -170px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.11), rgba(79, 70, 229, 0) 70%);
  pointer-events: none;
}

.smf-app *,
.smf-dashboard * {
  box-sizing: border-box;
}

.smf-app button,
.smf-app input,
.smf-app select,
.smf-dashboard button,
.smf-dashboard input,
.smf-dashboard select {
  font: inherit;
}

.smf-flow-panel {
  animation: smfFadeUp 220ms ease both;
}

.smf-hidden {
  display: none !important;
}

.smf-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding: 4px 0 26px;
}

.smf-hero-copy {
  max-width: 760px;
}

.smf-hero h2,
.smf-panel-head h3,
.smf-progress-top h3,
.smf-dashboard-card h3,
.smf-membership-card h3 {
  margin: 9px 0 10px;
  color: var(--smf-text);
  line-height: 1.12;
}

.smf-hero h2 {
  max-width: 760px;
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.smf-hero p,
.smf-panel-head p,
.smf-dashboard-card p,
.smf-muted,
.smf-results-head p,
.smf-membership-card p {
  margin: 0;
  color: var(--smf-muted);
}

.smf-hero p {
  max-width: 700px;
  font-size: clamp(14px, 1.7vw, 17px);
}

.smf-eyebrow,
.smf-platform-pill,
.smf-badge,
.smf-status,
.smf-best-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  gap: 6px;
  border: 1px solid var(--smf-border);
  border-radius: 999px;
  background: var(--smf-surface);
  color: var(--smf-text);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1;
  padding: 6px 9px;
  text-transform: uppercase;
}

.smf-eyebrow {
  border-color: #c7d2fe;
  background: var(--smf-primary-soft);
  color: #4338ca;
}

.smf-platform-cloud {
  display: grid;
  grid-template-columns: repeat(3, 46px);
  justify-content: end;
  gap: 8px;
  min-width: 170px;
  padding: 16px;
  border: 1px solid var(--smf-border);
  border-radius: 22px;
  background: rgba(248, 250, 252, 0.82);
}

.smf-platform-cloud small {
  grid-column: 1 / -1;
  margin-top: 4px;
  color: var(--smf-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-align: center;
  text-transform: uppercase;
}

.smf-platform-orb,
.smf-provider-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  line-height: 1;
}

.smf-platform-orb {
  width: 46px;
  height: 46px;
  font-size: 19px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.smf-platform-orb-facebook,
.smf-provider-mark-facebook {
  background: #1877f2;
}

.smf-platform-orb-instagram,
.smf-provider-mark-instagram {
  background: linear-gradient(145deg, #833ab4, #fd1d1d 58%, #fcb045);
}

.smf-platform-orb-linkedin,
.smf-provider-mark-linkedin {
  background: #0a66c2;
}

.smf-search-form,
.smf-progress-panel,
.smf-checkout-panel,
.smf-dashboard-card,
.smf-membership-card,
.smf-loading-card,
.smf-skeleton-card,
.smf-empty,
.smf-alert {
  border: 1px solid var(--smf-border);
  border-radius: 20px;
  background: var(--smf-surface);
}

.smf-search-form {
  padding: clamp(14px, 2.4vw, 22px);
  background: var(--smf-surface-soft);
}

.smf-search-grid {
  display: grid;
  grid-template-columns: 175px minmax(280px, 1fr) 132px;
  gap: 11px;
  align-items: end;
}

.smf-search-grid label,
.smf-email-label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.smf-input {
  width: 100%;
  min-height: 48px;
  margin: 0 !important;
  border: 1px solid var(--smf-border-strong) !important;
  border-radius: 14px !important;
  outline: none !important;
  background: var(--smf-surface) !important;
  box-shadow: none !important;
  color: var(--smf-text) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  padding: 0 14px !important;
  text-transform: none !important;
}

.smf-input::placeholder {
  color: #94a3b8;
}

select.smf-input {
  padding-right: 34px !important;
}

.smf-input:focus {
  border-color: var(--smf-primary) !important;
  outline: 4px solid rgba(79, 70, 229, 0.11) !important;
  outline-offset: 0 !important;
}

.smf-search-assist {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.smf-search-assist span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--smf-border);
  border-radius: 999px;
  background: var(--smf-surface);
  color: var(--smf-muted);
  font-size: 11px;
  font-weight: 650;
  padding: 5px 10px;
}

.smf-search-assist span::before {
  content: "✓";
  margin-right: 6px;
  color: var(--smf-success);
  font-size: 10px;
  font-weight: 900;
}

.smf-button,
.smf-package,
.smf-result-action {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.smf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 14px;
  box-shadow: none;
  padding: 0 17px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}

.smf-button:hover,
.smf-package:hover,
.smf-result-action:hover {
  transform: translateY(-1px);
}

.smf-button:focus-visible,
.smf-package:focus-visible,
.smf-result-action:focus-visible {
  outline: 4px solid rgba(79, 70, 229, 0.14);
  outline-offset: 2px;
}

.smf-button:disabled,
.smf-button.smf-is-busy {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.smf-button-primary {
  border-color: var(--smf-primary);
  background: var(--smf-primary);
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.2);
}

.smf-button-primary:hover {
  border-color: var(--smf-primary-hover);
  background: var(--smf-primary-hover);
  color: #ffffff !important;
}

.smf-button-secondary {
  border-color: var(--smf-border-strong);
  background: var(--smf-surface);
  color: var(--smf-text) !important;
}

.smf-button-secondary:hover {
  border-color: #a5b4fc;
  background: var(--smf-primary-soft);
}

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

.smf-results-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 2px 2px;
}

.smf-results-head h3 {
  margin: 7px 0 0;
  color: var(--smf-text);
  font-size: clamp(20px, 2.5vw, 27px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.smf-results-head p {
  max-width: 440px;
  text-align: right;
}

.smf-results-head p strong {
  color: var(--smf-text);
}

.smf-result-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 188px;
  border: 1px solid var(--smf-border);
  border-radius: 20px;
  background: var(--smf-surface);
  color: var(--smf-text);
  padding: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.smf-result-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.smf-result-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}

.smf-provider-mark {
  position: absolute;
  top: 10px;
  left: 48px;
  z-index: 2;
  width: 22px;
  height: 22px;
  border: 2px solid #ffffff;
  border-radius: 8px;
  font-size: 9px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
}

.smf-result-selected,
.smf-package-selected {
  border-color: var(--smf-primary) !important;
  background: #fafaff !important;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
}

.smf-result-best {
  border-color: #c7d2fe;
  background: #fcfcff;
}

.smf-result-exact {
  border-color: #86efac;
  background: #fbfffc;
}

.smf-result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 23px;
  margin-bottom: 2px;
}

.smf-best-tag {
  border-color: #c7d2fe;
  background: var(--smf-primary-soft);
  color: #4338ca;
  padding: 5px 7px;
}

.smf-exact-tag {
  border-color: #bbf7d0;
  background: var(--smf-success-soft);
  color: var(--smf-success);
}

.smf-platform-pill {
  background: var(--smf-surface-soft);
  color: #475569;
  padding: 5px 7px;
}

.smf-result-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.smf-result-info strong {
  max-width: 100%;
  overflow: hidden;
  color: var(--smf-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.smf-result-info em,
.smf-result-info small {
  overflow: hidden;
  color: var(--smf-muted);
  font-style: normal;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.smf-result-info em {
  font-size: 13px;
  font-weight: 650;
}

.smf-result-info small {
  font-size: 11px;
}

.smf-result-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
}

.smf-result-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 0;
  border: 1px solid var(--smf-border);
  border-radius: 11px;
  box-shadow: none;
  background: var(--smf-surface-soft);
  color: #475569 !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 0 12px;
  text-decoration: none !important;
}

.smf-result-action:hover {
  border-color: #a5b4fc;
  background: var(--smf-primary-soft);
  color: #4338ca !important;
}

.smf-result-action {
  width: 100%;
  border-color: var(--smf-primary);
  background: var(--smf-primary);
  color: #ffffff !important;
}

.smf-result-action:hover {
  border-color: var(--smf-primary-hover);
  background: var(--smf-primary-hover);
  color: #ffffff !important;
}

.smf-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: var(--smf-primary);
  background-position: center;
  background-size: cover;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.035em;
}

.smf-avatar img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.smf-avatar-image {
  background: #eef2f7;
}

.smf-avatar-image::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(110deg, #eef2f7 22%, #f8fafc 42%, #eef2f7 62%);
  background-size: 220% 100%;
  animation: smf-avatar-loading 1.15s linear infinite;
}

.smf-avatar-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #64748b;
  padding: 5px;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

/* When a real image URL exists, initials stay hidden while it loads. They are
   revealed only after both the proxy and direct image URL have failed. */
.smf-avatar-image .smf-avatar-fallback {
  opacity: 0;
  visibility: hidden;
}

.smf-avatar-loaded::after,
.smf-avatar-load-failed::after {
  display: none;
}

.smf-avatar-load-failed .smf-avatar-fallback {
  opacity: 1;
  visibility: visible;
}

.smf-avatar-load-failed img {
  display: none;
}

.smf-avatar-unavailable {
  border-style: dashed;
  background: #f8fafc;
}

@keyframes smf-avatar-loading {
  to {
    background-position: -220% 0;
  }
}

.smf-loading-card,
.smf-skeleton-card,
.smf-empty,
.smf-alert {
  grid-column: 1 / -1;
  padding: 18px;
  color: var(--smf-text);
}

.smf-loading-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
}

.smf-loading-card strong {
  font-size: 14px;
}

.smf-loading-card small {
  grid-column: 2;
  color: var(--smf-muted);
}

.smf-loading-spinner {
  grid-row: 1 / span 2;
  width: 25px;
  height: 25px;
  border: 3px solid #e0e7ff;
  border-top-color: var(--smf-primary);
  border-radius: 50%;
  animation: smfSpin 0.8s linear infinite;
}

.smf-skeleton-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: center;
  min-height: 100px;
  overflow: hidden;
}

.smf-skeleton-avatar,
.smf-skeleton-lines i {
  display: block;
  background: linear-gradient(90deg, #edf1f6 25%, #f8fafc 50%, #edf1f6 75%);
  background-size: 200% 100%;
  animation: smfShimmer 1.2s infinite;
}

.smf-skeleton-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.smf-skeleton-lines {
  display: grid;
  gap: 8px;
}

.smf-skeleton-lines i {
  height: 9px;
  border-radius: 999px;
}

.smf-skeleton-lines i:nth-child(1) { width: 42%; }
.smf-skeleton-lines i:nth-child(2) { width: 67%; }
.smf-skeleton-lines i:nth-child(3) { width: 28%; }

.smf-empty {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: 180px;
  align-content: center;
  text-align: center;
}

.smf-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 3px;
  border-radius: 14px;
  background: var(--smf-primary-soft);
  color: var(--smf-primary);
  font-size: 24px;
}

.smf-empty strong {
  max-width: 620px;
  font-size: 15px;
}

.smf-empty small {
  color: var(--smf-muted);
}

.smf-alert-warning {
  border-color: #f6d365;
  background: var(--smf-warning-soft);
  color: #854d0e;
}

.smf-alert-success {
  border-color: #86efac;
  background: var(--smf-success-soft);
  color: #166534;
}

.smf-progress-panel,
.smf-checkout-panel {
  margin-top: 8px;
  padding: clamp(18px, 3vw, 28px);
}

.smf-progress-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.smf-progress-top strong {
  color: var(--smf-primary);
  font-size: 26px;
  line-height: 1;
}

.smf-progress-track {
  width: 100%;
  height: 10px;
  overflow: hidden;
  margin: 17px 0;
  border: 1px solid var(--smf-border);
  border-radius: 999px;
  background: var(--smf-surface-soft);
}

.smf-progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--smf-primary), #7c3aed);
  transition: width 220ms ease;
}

.smf-progress-steps {
  display: grid;
  gap: 9px;
  margin: 0 0 13px !important;
  padding: 0 !important;
  list-style: none;
}

.smf-progress-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--smf-muted);
  font-size: 13px;
}

.smf-progress-steps li span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1px solid var(--smf-border-strong);
  border-radius: 999px;
  background: var(--smf-surface);
}

.smf-progress-steps li.active,
.smf-progress-steps li.done {
  color: var(--smf-text);
}

.smf-progress-steps li.active span {
  border-color: var(--smf-primary);
  background: var(--smf-primary);
  box-shadow: 0 0 0 5px rgba(79, 70, 229, 0.12);
}

.smf-progress-steps li.done span {
  border-color: var(--smf-success);
  background: var(--smf-success);
}

.smf-checkout-panel {
  display: grid;
  gap: 17px;
}

.smf-email-label {
  max-width: 580px;
}

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

.smf-package {
  position: relative;
  display: flex;
  min-height: 165px;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  border: 1px solid var(--smf-border);
  border-radius: 20px;
  background: var(--smf-surface);
  box-shadow: none;
  color: var(--smf-text);
  padding: 17px;
  text-align: left;
}

.smf-package:hover {
  border-color: #a5b4fc;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.smf-package-featured {
  border-color: #c7d2fe;
  background: #fcfcff;
}

.smf-package strong {
  color: var(--smf-text);
  font-size: 16px;
}

.smf-package span:not(.smf-badge) {
  color: var(--smf-muted);
}

.smf-package em {
  margin-top: auto;
  color: var(--smf-text);
  font-size: 26px;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
}

.smf-badge {
  position: absolute;
  top: 13px;
  right: 13px;
  border-color: #bbf7d0;
  background: var(--smf-success-soft);
  color: var(--smf-success);
}

.smf-renew-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--smf-border);
  border-radius: 15px;
  background: var(--smf-surface-soft);
  color: var(--smf-muted);
  font-size: 13px;
  padding: 13px;
}

.smf-renew-row input {
  margin-top: 3px;
}

.smf-message {
  min-height: 20px;
  color: var(--smf-muted);
  font-size: 13px;
}

.smf-message-error {
  color: var(--smf-danger);
}

.smf-selected-profile {
  margin-bottom: 18px;
}

.smf-mini-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  border: 1px solid var(--smf-border);
  border-radius: 18px;
  background: var(--smf-surface-soft);
  padding: 13px;
}

.smf-mini-profile > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.smf-mini-profile small,
.smf-review-grid small {
  color: var(--smf-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.smf-mini-profile strong {
  overflow: hidden;
  color: var(--smf-text);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.smf-mini-profile em {
  color: var(--smf-muted);
  font-style: normal;
}

.smf-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.smf-step-actions .smf-button-primary {
  min-width: 170px;
}

.smf-review-box {
  display: grid;
  gap: 13px;
  border: 1px solid var(--smf-border);
  border-radius: 20px;
  background: var(--smf-surface-soft);
  padding: 16px;
}

.smf-review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.smf-review-grid span {
  min-width: 0;
  border: 1px solid var(--smf-border);
  border-radius: 14px;
  background: var(--smf-surface);
  padding: 11px;
}

.smf-review-grid strong {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: var(--smf-text);
}

.smf-dashboard-hero {
  padding-bottom: 20px;
}

.smf-account-overview {
  margin-bottom: 22px;
  border: 1px solid var(--smf-border);
  border-radius: 20px;
  background: #ffffff;
  padding: clamp(17px, 2.5vw, 24px);
}

.smf-account-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.smf-account-heading h3 {
  margin: 7px 0 3px;
}

.smf-account-heading p,
.smf-profile-summary {
  color: var(--smf-muted);
}

.smf-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.smf-dashboard-stats > div,
.smf-membership-details > div {
  min-width: 0;
  border: 1px solid var(--smf-border);
  border-radius: 14px;
  background: var(--smf-surface-soft);
  padding: 13px;
}

.smf-dashboard-stats strong,
.smf-dashboard-stats span,
.smf-membership-details strong,
.smf-membership-details span {
  display: block;
}

.smf-dashboard-stats strong {
  color: var(--smf-primary);
  font-size: 22px;
}

.smf-dashboard-stats span,
.smf-membership-details span {
  margin-top: 4px;
  color: var(--smf-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.smf-dashboard-section-head {
  margin: 22px 0 14px;
}

.smf-dashboard-section-head h3 {
  margin: 7px 0 0;
}

.smf-membership-list {
  display: grid;
  gap: 16px;
}

.smf-dashboard-card,
.smf-membership-card {
  padding: clamp(17px, 2.5vw, 24px);
}

.smf-membership-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 17px;
}

.smf-membership-header h3 {
  margin: 7px 0 3px;
}

.smf-status-active,
.smf-status-trialing {
  border-color: #86efac;
  background: var(--smf-success-soft);
  color: var(--smf-success);
}

.smf-status-past_due,
.smf-status-canceled,
.smf-status-incomplete {
  border-color: #fecdd3;
  background: var(--smf-danger-soft);
  color: var(--smf-danger);
}

.smf-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.smf-report-item {
  min-width: 0;
  border: 1px solid var(--smf-border);
  border-radius: 15px;
  background: var(--smf-surface-soft);
  padding: 13px;
}

.smf-report-item strong,
.smf-report-item span {
  display: block;
}

.smf-report-item strong {
  margin-bottom: 6px;
  color: var(--smf-text);
  font-size: 11px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.smf-report-item span,
.smf-report-item a {
  overflow-wrap: anywhere;
  color: var(--smf-muted);
}

.smf-membership-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 17px;
}

.smf-profile-summary {
  margin: 0 0 15px;
  border-left: 3px solid var(--smf-primary);
  padding-left: 12px;
  line-height: 1.65;
}

.smf-membership-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.smf-membership-details strong {
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: var(--smf-text);
}

.smf-google-embed {
  width: 100%;
}

.smf-cse-bridge-results {
  position: absolute !important;
  top: auto !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@keyframes smfFadeUp {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes smfSpin {
  to { transform: rotate(360deg); }
}

@keyframes smfShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Member workspace — compact dashboard layout. */
body.page-id-141 .page-header,
body:has(.smf-dashboard) .page-header {
  display: none !important;
}

body.page-id-141 header.site-header,
body.page-id-141 .site-header,
body.page-id-141 header#masthead,
body.page-id-141 header[role="banner"],
body.page-id-141 .elementor-location-header {
  display: none !important;
}

body.page-id-141 .site-main,
body:has(.smf-dashboard) .site-main {
  width: 100% !important;
  max-width: none !important;
  padding-top: 24px !important;
}

body.page-id-141 .site-main > *,
body.page-id-141 .page-content,
body.page-id-141 .entry-content {
  width: 100% !important;
  max-width: none !important;
}

html body .smf-dashboard {
  --smf-primary: #128c7e;
  --smf-primary-hover: #0e6f64;
  --smf-primary-soft: #eaf8f5;
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin: 24px auto 60px;
  padding: 0 0 28px;
  overflow: visible;
  border: 1px solid #e5e7eb !important;
  border-radius: 26px;
  background: #f8fafc !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.09);
}

html body .smf-dashboard::before {
  display: none;
}

html body .smf-dashboard > .smf-alert,
html body .smf-dashboard > .smf-dashboard-card,
html body .smf-dashboard > .smf-account-overview,
html body .smf-dashboard > .smf-dashboard-section-head,
html body .smf-dashboard > .smf-membership-list {
  margin-left: 26px;
  margin-right: 26px;
}

html body .smf-dashboard .smf-dashboard-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 24px;
  padding: 28px 30px;
  border-radius: 25px 25px 0 0;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.18), transparent 31%),
    linear-gradient(135deg, #0d766c 0%, #128c7e 58%, #075e54 100%);
  color: #fff;
}

html body .smf-dashboard .smf-dashboard-banner h2 {
  margin: 7px 0 5px;
  color: #fff !important;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

html body .smf-dashboard .smf-dashboard-banner p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 14px;
}

html body .smf-dashboard .smf-dashboard-banner .smf-eyebrow {
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}

html body .smf-dashboard .smf-dashboard-banner .smf-button {
  flex: 0 0 auto;
  border-color: #fff !important;
  background: #fff !important;
  color: #075e54 !important;
  box-shadow: 0 10px 28px rgba(1, 53, 48, 0.22) !important;
}

html body .smf-dashboard .smf-account-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 22px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

html body .smf-dashboard .smf-account-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
}

html body .smf-dashboard .smf-account-heading h3 {
  margin: 4px 0 1px;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .smf-dashboard .smf-account-heading > div {
  min-width: 0;
}

html body .smf-dashboard .smf-account-heading p {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .smf-dashboard .smf-account-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, #16a394, #075e54);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

html body .smf-dashboard .smf-account-heading .smf-button {
  min-height: 36px !important;
  padding: 0 12px !important;
  font-size: 11px !important;
}

html body .smf-dashboard .smf-dashboard-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
}

html body .smf-dashboard .smf-dashboard-stats > div {
  min-height: 76px;
  padding: 12px 13px;
  border-color: #e5e7eb;
  background: #f8fafc;
}

html body .smf-dashboard .smf-private-dashboard-note {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  border: 1px solid #bfe7df;
  border-radius: 11px;
  background: #effaf7;
  color: #075e54 !important;
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 700;
}

html body .smf-dashboard .smf-dashboard-stats strong {
  font-size: 20px;
}

html body .smf-dashboard .smf-dashboard-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 0;
  margin-bottom: 13px;
}

html body .smf-dashboard .smf-dashboard-section-head h3 {
  margin: 5px 0 0;
  font-size: 21px;
  letter-spacing: -0.02em;
}

html body .smf-dashboard .smf-report-count {
  flex: 0 0 auto;
  border: 1px solid #bfe7df;
  border-radius: 999px;
  background: #eaf8f5;
  color: #075e54;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 800;
}

html body .smf-dashboard .smf-membership-list {
  gap: 12px;
}

html body .smf-dashboard .smf-membership-card {
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04);
}

html body .smf-dashboard .smf-membership-header {
  margin-bottom: 12px;
}

html body .smf-dashboard .smf-membership-header .smf-avatar {
  width: 62px !important;
  height: 62px !important;
  min-width: 62px !important;
  min-height: 62px !important;
  border-radius: 17px !important;
}

html body .smf-dashboard .smf-membership-header h3 {
  margin: 5px 0 1px;
  font-size: 19px;
}

html body .smf-dashboard .smf-profile-summary {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 12px;
  padding: 9px 12px;
  border-left: 3px solid #128c7e;
  border-radius: 0 10px 10px 0;
  background: #f8fafc;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

html body .smf-dashboard .smf-membership-details {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

html body .smf-dashboard .smf-membership-details > div {
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 11px;
}

html body .smf-dashboard .smf-membership-details strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

html body .smf-dashboard .smf-membership-actions {
  margin-top: 13px;
}

@media (max-width: 820px) {
  html body .smf-dashboard .smf-dashboard-banner,
  html body .smf-dashboard .smf-account-heading,
  html body .smf-dashboard .smf-dashboard-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  html body .smf-dashboard .smf-dashboard-banner {
    padding: 23px 20px;
  }

  html body .smf-dashboard .smf-dashboard-banner .smf-button {
    width: 100%;
  }

  html body .smf-dashboard .smf-account-overview {
    grid-template-columns: 1fr;
  }

  html body .smf-dashboard .smf-account-heading {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
  }

  html body .smf-dashboard .smf-account-heading .smf-button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 1050px) {
  html body .smf-dashboard .smf-account-overview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  html body .smf-dashboard {
    width: min(100% - 18px, 1180px);
    margin-top: 10px;
    border-radius: 20px;
  }

  html body .smf-dashboard > .smf-alert,
  html body .smf-dashboard > .smf-dashboard-card,
  html body .smf-dashboard > .smf-account-overview,
  html body .smf-dashboard > .smf-dashboard-section-head,
  html body .smf-dashboard > .smf-membership-list {
    margin-left: 12px;
    margin-right: 12px;
  }

  html body .smf-dashboard .smf-dashboard-banner {
    border-radius: 19px 19px 0 0;
  }

  html body .smf-dashboard .smf-dashboard-stats,
  html body .smf-dashboard .smf-membership-details {
    grid-template-columns: 1fr;
  }

  html body .smf-dashboard .smf-membership-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  html body .smf-dashboard .smf-membership-header .smf-status {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .smf-flow-panel,
  .smf-loading-spinner,
  .smf-skeleton-avatar,
  .smf-skeleton-lines i,
  .smf-avatar-image::after {
    animation: none !important;
  }

  .smf-button,
  .smf-package,
  .smf-result-card,
  .smf-result-action,
  .smf-progress-bar {
    transition: none !important;
  }
}

@media (max-width: 860px) {
  .smf-app,
  .smf-dashboard {
    margin: 18px auto;
    border-radius: 24px;
  }

  .smf-hero {
    grid-template-columns: 1fr;
  }

  .smf-platform-cloud {
    grid-template-columns: repeat(3, 42px) minmax(120px, auto);
    justify-content: start;
    align-items: center;
    width: fit-content;
    min-width: 0;
    padding: 12px;
  }

  .smf-platform-orb {
    width: 42px;
    height: 42px;
  }

  .smf-platform-cloud small {
    grid-column: auto;
    margin: 0 0 0 4px;
    text-align: left;
  }

  .smf-search-grid {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .smf-search-grid .smf-button {
    grid-column: 1 / -1;
  }

  .smf-results,
  .smf-packages,
  .smf-report-grid {
    grid-template-columns: 1fr;
  }

  .smf-results-head {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .smf-results-head p {
    max-width: none;
    text-align: left;
  }

  .smf-membership-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .smf-status {
    grid-column: 1 / -1;
  }

  .smf-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .smf-app,
  .smf-dashboard {
    margin: 12px auto;
    padding: 16px;
    border-radius: 20px;
  }

  .smf-hero {
    gap: 17px;
    padding-bottom: 20px;
  }

  .smf-hero h2 {
    font-size: 32px;
  }

  .smf-platform-cloud {
    grid-template-columns: repeat(3, 40px);
  }

  .smf-platform-orb {
    width: 40px;
    height: 40px;
  }

  .smf-platform-cloud small {
    grid-column: 1 / -1;
    margin: 3px 0 0;
    text-align: center;
  }

  .smf-search-grid,
  .smf-review-grid {
    grid-template-columns: 1fr;
  }

  .smf-search-grid .smf-button {
    grid-column: auto;
  }

  .smf-search-assist {
    align-items: stretch;
    flex-direction: column;
  }

  .smf-search-assist span {
    border-radius: 11px;
  }

  .smf-result-card {
    min-height: 0;
  }

  .smf-result-actions {
    grid-template-columns: 1fr;
  }


  .smf-step-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .smf-step-actions .smf-button {
    width: 100%;
  }

  .smf-progress-top {
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
   Theme isolation layer — v1.6.3
   Keep WordPress themes/builders from replacing the plugin's interactive
   colors, backgrounds, borders, typography, hover, focus or active states.
   -------------------------------------------------------------------------- */
html body .smf-app[data-smf-app="1"],
html body .smf-dashboard {
  color: var(--smf-text) !important;
  background-color: var(--smf-surface) !important;
  border-color: var(--smf-border) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  letter-spacing: normal !important;
  text-align: left !important;
  text-transform: none !important;
}

html body .smf-app[data-smf-app="1"] *,
html body .smf-app[data-smf-app="1"] *::before,
html body .smf-app[data-smf-app="1"] *::after,
html body .smf-dashboard *,
html body .smf-dashboard *::before,
html body .smf-dashboard *::after {
  box-sizing: border-box !important;
}

html body .smf-app[data-smf-app="1"] button,
html body .smf-app[data-smf-app="1"] input,
html body .smf-app[data-smf-app="1"] select,
html body .smf-app[data-smf-app="1"] textarea,
html body .smf-dashboard button,
html body .smf-dashboard input,
html body .smf-dashboard select,
html body .smf-dashboard textarea {
  font-family: inherit !important;
  font-style: normal !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

html body .smf-app[data-smf-app="1"] .smf-input,
html body .smf-dashboard .smf-input {
  width: 100% !important;
  min-width: 0 !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  border: 1px solid var(--smf-border-strong) !important;
  border-radius: 14px !important;
  outline: 0 solid transparent !important;
  background-color: var(--smf-surface) !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--smf-text) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 46px !important;
  padding: 0 14px !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

html body .smf-app[data-smf-app="1"] select.smf-input,
html body .smf-dashboard select.smf-input {
  padding-right: 36px !important;
}

html body .smf-app[data-smf-app="1"] .smf-input:hover,
html body .smf-dashboard .smf-input:hover {
  border-color: #aeb9c8 !important;
  background-color: var(--smf-surface) !important;
  color: var(--smf-text) !important;
}

html body .smf-app[data-smf-app="1"] .smf-input:focus,
html body .smf-app[data-smf-app="1"] .smf-input:focus-visible,
html body .smf-dashboard .smf-input:focus,
html body .smf-dashboard .smf-input:focus-visible {
  border-color: var(--smf-primary) !important;
  outline: 4px solid rgba(79, 70, 229, 0.11) !important;
  outline-offset: 0 !important;
  background-color: var(--smf-surface) !important;
  box-shadow: none !important;
  color: var(--smf-text) !important;
}

html body .smf-app[data-smf-app="1"] .smf-input::placeholder,
html body .smf-dashboard .smf-input::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

html body .smf-app[data-smf-app="1"] .smf-button,
html body .smf-app[data-smf-app="1"] .smf-result-action,
html body .smf-app[data-smf-app="1"] .smf-package,
html body .smf-dashboard .smf-button,
html body .smf-dashboard .smf-result-action,
html body .smf-dashboard .smf-package {
  margin: 0 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

html body .smf-app[data-smf-app="1"] .smf-result-action,
html body .smf-app[data-smf-app="1"] .smf-result-action:link,
html body .smf-app[data-smf-app="1"] .smf-result-action:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 38px !important;
  border: 1px solid var(--smf-primary) !important;
  border-radius: 11px !important;
  outline: 0 solid transparent !important;
  background: var(--smf-primary) !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  padding: 0 12px !important;
}

html body .smf-app[data-smf-app="1"] .smf-result-action:hover,
html body .smf-app[data-smf-app="1"] .smf-result-action:active {
  border-color: var(--smf-primary-hover) !important;
  background: var(--smf-primary-hover) !important;
  box-shadow: none !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

html body .smf-app[data-smf-app="1"] .smf-result-action:focus,
html body .smf-app[data-smf-app="1"] .smf-result-action:focus-visible {
  border-color: var(--smf-primary) !important;
  outline: 4px solid rgba(79, 70, 229, 0.14) !important;
  outline-offset: 2px !important;
  background: var(--smf-primary) !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

html body .smf-app[data-smf-app="1"] .smf-button-primary,
html body .smf-dashboard .smf-button-primary {
  border-color: var(--smf-primary) !important;
  background: var(--smf-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.2) !important;
}

html body .smf-app[data-smf-app="1"] .smf-button-primary:hover,
html body .smf-app[data-smf-app="1"] .smf-button-primary:active,
html body .smf-dashboard .smf-button-primary:hover,
html body .smf-dashboard .smf-button-primary:active {
  border-color: var(--smf-primary-hover) !important;
  background: var(--smf-primary-hover) !important;
  color: #ffffff !important;
}

html body .smf-app[data-smf-app="1"] .smf-button-secondary,
html body .smf-dashboard .smf-button-secondary {
  border-color: var(--smf-border-strong) !important;
  background: var(--smf-surface) !important;
  color: var(--smf-text) !important;
  box-shadow: none !important;
}

html body .smf-app[data-smf-app="1"] .smf-button-secondary:hover,
html body .smf-app[data-smf-app="1"] .smf-button-secondary:active,
html body .smf-dashboard .smf-button-secondary:hover,
html body .smf-dashboard .smf-button-secondary:active {
  border-color: #a5b4fc !important;
  background: var(--smf-primary-soft) !important;
  color: #3730a3 !important;
}

html body .smf-app[data-smf-app="1"] .smf-button:focus,
html body .smf-app[data-smf-app="1"] .smf-button:focus-visible,
html body .smf-app[data-smf-app="1"] .smf-package:focus,
html body .smf-app[data-smf-app="1"] .smf-package:focus-visible,
html body .smf-dashboard .smf-button:focus,
html body .smf-dashboard .smf-button:focus-visible,
html body .smf-dashboard .smf-package:focus,
html body .smf-dashboard .smf-package:focus-visible {
  outline: 4px solid rgba(79, 70, 229, 0.14) !important;
  outline-offset: 2px !important;
}

html body .smf-app[data-smf-app="1"] .smf-result-card,
html body .smf-dashboard .smf-result-card {
  border: 1px solid var(--smf-border) !important;
  border-radius: 20px !important;
  background: var(--smf-surface) !important;
  box-shadow: none !important;
  color: var(--smf-text) !important;
}

html body .smf-app[data-smf-app="1"] .smf-result-card:hover {
  border-color: #c7d2fe !important;
  background: var(--smf-surface) !important;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08) !important;
}

html body .smf-app[data-smf-app="1"] .smf-result-card.smf-result-best {
  border-color: #c7d2fe !important;
  background: #fcfcff !important;
}

html body .smf-app[data-smf-app="1"] .smf-result-card.smf-result-exact {
  border-color: #86efac !important;
  background: #fbfffc !important;
}

html body .smf-app[data-smf-app="1"] .smf-result-card.smf-result-selected,
html body .smf-app[data-smf-app="1"] .smf-package.smf-package-selected {
  border-color: var(--smf-primary) !important;
  background: #fafaff !important;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
}

html body .smf-app[data-smf-app="1"] .smf-eyebrow,
html body .smf-app[data-smf-app="1"] .smf-platform-pill,
html body .smf-app[data-smf-app="1"] .smf-best-tag,
html body .smf-dashboard .smf-eyebrow,
html body .smf-dashboard .smf-platform-pill,
html body .smf-dashboard .smf-best-tag {
  text-decoration: none !important;
  text-transform: uppercase !important;
}

html body .smf-app[data-smf-app="1"] .smf-platform-pill,
html body .smf-dashboard .smf-platform-pill {
  border-color: var(--smf-border) !important;
  background: var(--smf-surface-soft) !important;
  color: #475569 !important;
}

html body .smf-app[data-smf-app="1"] .smf-best-tag {
  border-color: #c7d2fe !important;
  background: var(--smf-primary-soft) !important;
  color: #4338ca !important;
}

html body .smf-app[data-smf-app="1"] .smf-exact-tag {
  border-color: #bbf7d0 !important;
  background: var(--smf-success-soft) !important;
  color: var(--smf-success) !important;
}

html body .smf-app[data-smf-app="1"] .smf-result-info strong,
html body .smf-app[data-smf-app="1"] .smf-results-head h3,
html body .smf-dashboard h2,
html body .smf-dashboard h3 {
  color: var(--smf-text) !important;
  text-decoration: none !important;
}

html body .smf-app[data-smf-app="1"] .smf-result-info em,
html body .smf-app[data-smf-app="1"] .smf-result-info small,
html body .smf-app[data-smf-app="1"] .smf-results-head p,
html body .smf-dashboard p {
  color: var(--smf-muted) !important;
}

html body .smf-app[data-smf-app="1"] .smf-avatar,
html body .smf-dashboard .smf-avatar {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 16px !important;
  background-color: var(--smf-primary) !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

html body .smf-app[data-smf-app="1"] .smf-avatar img,
html body .smf-dashboard .smf-avatar img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

html body .smf-app[data-smf-app="1"] .smf-avatar-load-failed img,
html body .smf-dashboard .smf-avatar-load-failed img {
  display: none !important;
}

html body .smf-app[data-smf-app="1"] .smf-provider-mark-facebook,
html body .smf-dashboard .smf-provider-mark-facebook {
  background: #1877f2 !important;
  color: #ffffff !important;
}

html body .smf-app[data-smf-app="1"] .smf-provider-mark-instagram,
html body .smf-dashboard .smf-provider-mark-instagram {
  background: linear-gradient(145deg, #833ab4, #fd1d1d 58%, #fcb045) !important;
  color: #ffffff !important;
}

html body .smf-app[data-smf-app="1"] .smf-provider-mark-linkedin,
html body .smf-dashboard .smf-provider-mark-linkedin {
  background: #0a66c2 !important;
  color: #ffffff !important;
}

.smf-avatar-credit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-top: -2px;
  padding: 0 3px;
  font-size: 10px;
  line-height: 1.4;
}

html body .smf-app[data-smf-app="1"] .smf-avatar-credit a,
html body .smf-app[data-smf-app="1"] .smf-avatar-credit a:visited {
  color: var(--smf-muted) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

html body .smf-app[data-smf-app="1"] .smf-avatar-credit a:hover,
html body .smf-app[data-smf-app="1"] .smf-avatar-credit a:focus {
  color: var(--smf-primary) !important;
  text-decoration: underline !important;
}

html body .smf-app[data-smf-app="1"] button::before,
html body .smf-app[data-smf-app="1"] button::after,
html body .smf-dashboard button::before,
html body .smf-dashboard button::after {
  display: none !important;
  content: none !important;
}

html body .smf-app[data-smf-app="1"] .smf-package,
html body .smf-dashboard .smf-package {
  display: flex !important;
  min-height: 165px !important;
  flex-direction: column !important;
  gap: 8px !important;
  border: 1px solid var(--smf-border) !important;
  border-radius: 20px !important;
  background: var(--smf-surface) !important;
  box-shadow: none !important;
  color: var(--smf-text) !important;
  padding: 17px !important;
  text-align: left !important;
}

html body .smf-app[data-smf-app="1"] .smf-package:hover,
html body .smf-dashboard .smf-package:hover {
  border-color: #a5b4fc !important;
  background: var(--smf-surface) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07) !important;
  color: var(--smf-text) !important;
}

html body .smf-app[data-smf-app="1"] .smf-package-featured,
html body .smf-dashboard .smf-package-featured {
  border-color: #c7d2fe !important;
  background: #fcfcff !important;
}

html body .smf-app[data-smf-app="1"] .smf-package strong,
html body .smf-app[data-smf-app="1"] .smf-package em,
html body .smf-dashboard .smf-package strong,
html body .smf-dashboard .smf-package em {
  color: var(--smf-text) !important;
}

html body .smf-app[data-smf-app="1"] .smf-package span:not(.smf-badge),
html body .smf-dashboard .smf-package span:not(.smf-badge) {
  color: var(--smf-muted) !important;
}

html body .smf-app[data-smf-app="1"] input[type="checkbox"],
html body .smf-dashboard input[type="checkbox"] {
  accent-color: var(--smf-primary) !important;
}

/* --------------------------------------------------------------------------
   Search intelligence experience - v1.8.3
   Compact hero search, list-style matches, staged source scan and test report.
   -------------------------------------------------------------------------- */
html body .smf-app[data-smf-app="1"] {
  --smf-primary: #128c7e;
  --smf-primary-hover: #0e6f64;
  --smf-primary-soft: #eaf8f5;
  --smf-border: #e4e8ec;
  --smf-border-strong: #cfd6dc;
  max-width: 1120px;
  padding: clamp(22px, 4vw, 48px);
  border-color: #e5e7eb !important;
  border-radius: 32px;
  background:
    radial-gradient(circle at 92% 4%, rgba(18, 140, 126, 0.12), transparent 30%),
    linear-gradient(180deg, #fbfdfd 0%, #ffffff 48%) !important;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.1);
}

html body .smf-app[data-smf-app="1"]::before {
  right: -120px;
  background: radial-gradient(circle, rgba(18, 140, 126, 0.15), rgba(18, 140, 126, 0) 70%);
}

.smf-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

html body .smf-app[data-smf-app="1"] .smf-hero {
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(28px, 6vw, 72px);
  padding: 8px 0 34px;
}

html body .smf-app[data-smf-app="1"] .smf-hero-copy {
  max-width: 770px;
}

html body .smf-app[data-smf-app="1"] .smf-hero h2 {
  max-width: 760px;
  margin: 13px 0 14px;
  color: #0b1220 !important;
  font-size: clamp(38px, 5.2vw, 66px);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

html body .smf-app[data-smf-app="1"] .smf-hero p {
  max-width: 690px;
  color: #52606d !important;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.7;
}

html body .smf-app[data-smf-app="1"] .smf-eyebrow {
  border-color: #b8e4dc !important;
  background: #ecf9f6 !important;
  color: #0e6f64 !important;
}

.smf-hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.smf-hero-signals span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #334155;
  font-size: 12px;
  font-weight: 750;
}

.smf-hero-signals span::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #dff5ef;
  color: #0e6f64;
  content: "✓";
  font-size: 10px;
  font-weight: 900;
}

.smf-intelligence-card {
  position: relative;
  display: flex;
  min-height: 238px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #d8e5e2;
  border-radius: 28px;
  background: linear-gradient(155deg, #ffffff 0%, #effaf7 100%);
  box-shadow: 0 22px 55px rgba(18, 140, 126, 0.13);
  text-align: center;
}

.smf-intelligence-card::before,
.smf-intelligence-card::after {
  position: absolute;
  border: 1px solid rgba(18, 140, 126, 0.14);
  border-radius: 50%;
  content: "";
}

.smf-intelligence-card::before {
  width: 180px;
  height: 180px;
}

.smf-intelligence-card::after {
  width: 230px;
  height: 230px;
}

.smf-intelligence-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-bottom: 15px;
  border-radius: 21px;
  background: #128c7e;
  box-shadow: 0 14px 30px rgba(18, 140, 126, 0.25);
  color: #ffffff;
  font-size: 36px;
  line-height: 1;
}

.smf-intelligence-card strong,
.smf-intelligence-card small,
.smf-network-row {
  position: relative;
  z-index: 1;
}

.smf-intelligence-card strong {
  color: #102a27;
  font-size: 15px;
}

.smf-intelligence-card small {
  margin-top: 3px;
  color: #60736f;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.smf-network-row {
  display: flex;
  align-items: center;
  margin-top: 17px;
}

.smf-network-row .smf-platform-orb {
  width: 34px;
  height: 34px;
  border: 3px solid #ffffff;
  border-radius: 12px;
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.13);
}

.smf-network-row i {
  width: 18px;
  height: 1px;
  background: #9fcfc6;
}

html body .smf-app[data-smf-app="1"] .smf-search-form {
  padding: 11px;
  border-color: #dce3e7 !important;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.09);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

html body .smf-app[data-smf-app="1"] .smf-search-form:focus-within {
  border-color: #128c7e !important;
  box-shadow: 0 24px 65px rgba(18, 140, 126, 0.15);
}

.smf-search-shell {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

.smf-platform-select-wrap,
.smf-query-shell {
  position: relative;
  display: block;
  min-width: 0;
}

html body .smf-app[data-smf-app="1"] .smf-search-shell .smf-input {
  height: 54px !important;
  min-height: 54px !important;
  border-color: transparent !important;
  border-radius: 16px !important;
  background-color: #f6f8f9 !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 52px !important;
}

html body .smf-app[data-smf-app="1"] .smf-search-shell .smf-input:hover {
  border-color: #d7dfe3 !important;
  background-color: #f8fafb !important;
}

html body .smf-app[data-smf-app="1"] .smf-search-shell .smf-input:focus {
  border-color: #8fd0c4 !important;
  outline: 0 solid transparent !important;
  background-color: #ffffff !important;
}

html body .smf-app[data-smf-app="1"] .smf-query-shell .smf-input {
  padding-left: 48px !important;
}

.smf-search-icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 17px;
  color: #128c7e;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-52%);
  pointer-events: none;
}

html body .smf-app[data-smf-app="1"] .smf-search-shell .smf-button {
  min-width: 150px;
  min-height: 54px;
  border-radius: 16px;
  padding: 0 22px;
  font-size: 14px;
}

html body .smf-app[data-smf-app="1"] .smf-button-primary,
html body .smf-app[data-smf-app="1"] .smf-result-action {
  border-color: #128c7e !important;
  background: #128c7e !important;
  box-shadow: 0 10px 22px rgba(18, 140, 126, 0.2) !important;
}

html body .smf-app[data-smf-app="1"] .smf-button-primary:hover,
html body .smf-app[data-smf-app="1"] .smf-button-primary:active,
html body .smf-app[data-smf-app="1"] .smf-result-action:hover,
html body .smf-app[data-smf-app="1"] .smf-result-action:active {
  border-color: #0e6f64 !important;
  background: #0e6f64 !important;
}

.smf-search-assist {
  justify-content: center;
  margin: 10px 4px 1px;
}

.smf-search-assist span {
  min-height: 25px;
  border: 0;
  background: transparent;
  color: #68747f;
  padding: 3px 8px;
}

html body .smf-app[data-smf-app="1"] .smf-results {
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 24px;
}

html body .smf-app[data-smf-app="1"] .smf-result-card {
  min-height: 0;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  border-radius: 16px !important;
  padding: 14px 15px;
  cursor: pointer;
}

html body .smf-app[data-smf-app="1"] .smf-result-main {
  width: 100%;
  flex: 1 1 auto;
}

html body .smf-app[data-smf-app="1"] .smf-result-actions {
  width: 118px;
  flex: 0 0 118px;
  margin: 0;
  padding: 0;
}

html body .smf-app[data-smf-app="1"] .smf-result-action {
  min-height: 40px !important;
  border-radius: 11px !important;
}

html body .smf-app[data-smf-app="1"] .smf-result-card:hover {
  border-color: #9ed7cc !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07) !important;
  transform: translateY(-1px);
}

html body .smf-app[data-smf-app="1"] .smf-result-card.smf-result-best,
html body .smf-app[data-smf-app="1"] .smf-result-card.smf-result-selected {
  border-color: #7dcbbb !important;
  background: #f8fffd !important;
}

.smf-source-status {
  margin: 20px 0 4px;
}

.smf-source-status > strong {
  display: block;
  margin-bottom: 10px;
  color: #334155;
  font-size: 12px;
  text-align: center;
}

.smf-source-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.smf-source-grid > span {
  display: flex;
  min-width: 0;
  min-height: 74px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  background: #f8fafc;
  color: #64748b;
  font-size: 10px;
  font-weight: 750;
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.smf-source-grid > span b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: #e8edf2;
  color: #52606d;
  font-size: 11px;
}

.smf-source-grid > span.is-active {
  border-color: #9ed7cc;
  background: #effaf7;
  color: #0e6f64;
  transform: translateY(-2px);
}

.smf-source-grid > span.is-active b {
  background: #128c7e;
  color: #ffffff;
  animation: smf-source-pulse 1s ease-in-out infinite;
}

.smf-source-grid > span.is-complete {
  border-color: #bee5dd;
  background: #f4fcfa;
  color: #0e6f64;
}

.smf-source-grid > span.is-complete b {
  background: #d7f3ed;
  color: #0e6f64;
}

.smf-alert-test {
  border-color: #9ed7cc;
  background: #effaf7;
  color: #0e6258;
}

.smf-success-panel {
  text-align: center;
}

.smf-success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 6px;
  border-radius: 22px;
  background: #128c7e;
  box-shadow: 0 14px 30px rgba(18, 140, 126, 0.22);
  color: #ffffff;
  font-size: 30px;
  font-weight: 900;
}

.smf-success-panel .smf-panel-head {
  text-align: center;
}

.smf-success-panel .smf-panel-head .smf-eyebrow {
  margin-inline: auto;
}

.smf-success-panel .smf-mini-profile {
  max-width: 620px;
  margin: 22px auto;
  text-align: left;
}

.smf-test-report-grid {
  margin: 20px 0;
  text-align: left;
}

.smf-success-panel .smf-step-actions {
  justify-content: center;
}

@keyframes smf-source-pulse {
  50% {
    transform: scale(0.92);
    box-shadow: 0 0 0 7px rgba(18, 140, 126, 0.1);
  }
}

@media (max-width: 860px) {
  html body .smf-app[data-smf-app="1"] .smf-hero {
    grid-template-columns: 1fr;
  }

  .smf-intelligence-card {
    min-height: 190px;
  }

  .smf-search-shell {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  html body .smf-app[data-smf-app="1"] .smf-search-shell .smf-button {
    grid-column: 1 / -1;
  }

  .smf-source-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  html body .smf-app[data-smf-app="1"] {
    padding: 18px;
    border-radius: 22px;
  }

  html body .smf-app[data-smf-app="1"] .smf-hero h2 {
    font-size: 38px;
  }

  .smf-search-shell {
    grid-template-columns: 1fr;
  }

  html body .smf-app[data-smf-app="1"] .smf-search-shell .smf-button {
    grid-column: auto;
  }

  .smf-search-assist {
    align-items: flex-start;
  }

  .smf-search-assist span {
    width: 100%;
  }

  html body .smf-app[data-smf-app="1"] .smf-result-card {
    flex-direction: column;
    align-items: stretch;
  }

  html body .smf-app[data-smf-app="1"] .smf-result-actions {
    width: 100%;
    flex-basis: auto;
  }

  .smf-source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .smf-account-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .smf-dashboard-stats,
  .smf-membership-details {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .smf-source-grid > span.is-active b {
    animation: none;
  }
}
