/* Alpha sitemap SEO · shared visual system */
:root {
  color-scheme: light;
  --alpha-bg: #f5f7fb;
  --alpha-surface: #ffffff;
  --alpha-ink: #18233b;
  --alpha-muted: #5f6d85;
  --alpha-line: #e5e9f2;
  --alpha-accent: #4f46e5;
  --alpha-accent-ink: #4f46e5;
  --alpha-accent-hover: #4038ca;
  --alpha-accent-soft: #eeedff;
  --alpha-accent-line: #d9d6fe;
  --alpha-focus: #a5a0f5;
  --alpha-radius: 16px;
  --alpha-shadow: 0 4px 18px rgba(24, 35, 59, .035), 0 1px 3px rgba(24, 35, 59, .025);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
[data-provider="google"] {
  --alpha-accent: #2563eb;
  --alpha-accent-ink: #2563eb;
  --alpha-accent-hover: #1d4fc5;
  --alpha-accent-soft: #edf4ff;
  --alpha-accent-line: #d4e3ff;
  --alpha-focus: #8db4ff;
}
[data-provider="bing"] {
  --alpha-accent: #087f8c;
  --alpha-accent-ink: #076d78;
  --alpha-accent-hover: #056772;
  --alpha-accent-soft: #eaf7f8;
  --alpha-accent-line: #cce9ec;
  --alpha-focus: #77c5ce;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--alpha-bg); color: var(--alpha-ink); }
body, button, input, select, textarea { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select, textarea { font-size: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a { color: var(--alpha-accent-ink); text-underline-offset: 3px; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--alpha-focus);
  outline-offset: 3px;
}
:where(button, a, input, select, textarea, summary) { touch-action: manipulation; }

/* Page hierarchy */
.alpha-page {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 30px 32px 40px;
  display: grid;
  gap: 24px;
  color: var(--alpha-ink);
}
.alpha-page > * { min-width: 0; }
.alpha-page h1 { margin: 0 0 6px; font-size: 29px; font-weight: 700; letter-spacing: -.035em; line-height: 1.2; }
.alpha-page h2 { margin: 0 0 10px; font-size: 18px; font-weight: 650; letter-spacing: -.02em; line-height: 1.4; }
.alpha-page h3 { margin: 0 0 7px; font-size: 15px; font-weight: 650; letter-spacing: -.012em; line-height: 1.45; }
.alpha-page p { margin: 8px 0; }
.alpha-header, .alpha-page-head, .alpha-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.alpha-page-head { padding: 2px 0 1px; min-height: 66px; }
.alpha-page-head > .alpha-actions { flex-shrink: 0; }
.alpha-header > div, .alpha-page-head > div, .alpha-section-heading > div { min-width: 0; }
.alpha-title-group, .alpha-provider-identity { display: flex; align-items: center; gap: 15px; min-width: 0; }
.alpha-title-group > div, .alpha-provider-identity > div { min-width: 0; }
.alpha-title-group .alpha-muted { margin: 6px 0 0; }
.alpha-section-heading { align-items: end; }
.alpha-section-heading h2 { margin: 0; }
.alpha-section-heading .alpha-muted { margin: 0; }
.alpha-eyebrow, .alpha-section-kicker {
  margin: 0 0 7px !important;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #5f6d85;
}
.alpha-muted { color: var(--alpha-muted); font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.alpha-caption { font-size: 11px; }
.alpha-site-url { font-size: 13px; overflow-wrap: anywhere; padding: 8px 0; }
.alpha-stack { display: grid; gap: 22px; min-width: 0; }

/* Surfaces and flexible grids */
.alpha-card {
  min-width: 0;
  padding: 24px;
  background: var(--alpha-surface);
  border: 1px solid var(--alpha-line);
  border-radius: var(--alpha-radius);
  box-shadow: var(--alpha-shadow);
}
.alpha-card > :first-child { margin-top: 0; }
.alpha-card > :last-child { margin-bottom: 0; }
.alpha-card .alpha-card { box-shadow: none; }
.alpha-columns { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: 22px; }
.alpha-provider-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.alpha-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 16px; }
.alpha-metrics > .alpha-card { padding: 20px; }
.alpha-metric-link { color: inherit; text-decoration: none; transition: border-color 140ms ease, box-shadow 140ms ease; }
.alpha-metric-link:hover { border-color: var(--alpha-accent-line); box-shadow: 0 6px 22px rgba(24, 35, 59, .06); }
.alpha-metric-value {
  display: block;
  padding: 3px 0;
  color: var(--alpha-ink);
  font-size: 31px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.alpha-metric-link .alpha-muted:last-child { font-size: 12px; }

/* Icons and provider identity */
.alpha-icon { display: block; width: 24px; height: 24px; flex: 0 0 auto; }
.alpha-provider-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid var(--alpha-line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--alpha-accent-ink);
  box-shadow: 0 3px 9px rgba(24, 35, 59, .055);
}
.alpha-provider-symbol > svg { display: block; width: 28px; height: 28px; }
.alpha-provider-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  margin-bottom: 12px;
  border: 1px solid var(--alpha-accent-line);
  border-radius: 12px;
  color: var(--alpha-accent-ink);
  background: var(--alpha-accent-soft);
  font-size: 21px;
  font-weight: 650;
}

/* Actions and navigation */
.alpha-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--alpha-accent);
  border-radius: 10px;
  background: var(--alpha-accent);
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
  box-shadow: 0 2px 4px rgba(24, 35, 59, .05);
}
.alpha-button:hover { background: var(--alpha-accent-hover); border-color: var(--alpha-accent-hover); }
.alpha-button .alpha-icon { width: 18px; height: 18px; }
.alpha-button-secondary { color: #34415b; background: #ffffff; border-color: #dce2ed; box-shadow: 0 1px 2px rgba(24, 35, 59, .025); }
.alpha-button-secondary:hover { color: var(--alpha-accent-ink); background: var(--alpha-accent-soft); border-color: var(--alpha-accent-line); }
.alpha-button:disabled, .alpha-button[aria-disabled="true"] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.alpha-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.alpha-actions form { margin: 0; }
.alpha-text-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--alpha-accent-ink); text-decoration: none; }
.alpha-text-link:hover { text-decoration: underline; }
.alpha-text-link .alpha-icon { width: 17px; height: 17px; }
.alpha-provider-navigation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  padding: 6px;
  border: 1px solid var(--alpha-line);
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(24, 35, 59, .025);
}
.alpha-provider-navigation a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 13px;
  min-height: 40px;
  border-radius: 8px;
  color: #64718a;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 550;
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease;
}
.alpha-provider-navigation a > span { min-width: 0; overflow-wrap: anywhere; }
.alpha-provider-navigation a:hover { color: var(--alpha-ink); background: #f4f6fa; }
.alpha-provider-navigation a[aria-current="page"] { color: var(--alpha-accent-ink); background: var(--alpha-accent-soft); font-weight: 650; }
.alpha-provider-navigation .alpha-icon { width: 18px; height: 18px; }
.alpha-tabs, .alpha-sitemap-tabs { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 0 12px; border-bottom: 1px solid var(--alpha-line); }
.alpha-tabs a, .alpha-sitemap-tabs a { display: inline-flex; gap: 7px; align-items: center; min-height: 36px; padding: 8px 12px; border-radius: 8px; color: var(--alpha-muted); font-size: 12px; font-weight: 550; text-decoration: none; }
.alpha-tabs a:hover, .alpha-sitemap-tabs a:hover { color: var(--alpha-ink); background: #eef1f7; }
.alpha-tabs a[aria-current="page"], .alpha-sitemap-tabs a[aria-current="page"] { color: var(--alpha-accent-ink); background: var(--alpha-accent-soft); }

/* Status and helpful context */
.alpha-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 7px; background: #f0f3f8; color: #5f6d85; font-size: 11px; font-weight: 600; line-height: 1.5; }
.alpha-badge .alpha-icon { width: 14px; height: 14px; }
.alpha-badge[data-tone="success"] { background: #eaf6ef; color: #287449; }
.alpha-badge[data-tone="warning"] { background: #fff4df; color: #916218; }
.alpha-badge[data-tone="critical"] { background: #fff0ec; color: #a53e30; }
.alpha-badge[data-tone="info"] { background: #edf2fc; color: #4d6897; }
.alpha-card[data-tone="critical"] { border-color: #efcec6; background: #fffafa; }
.alpha-card[data-tone="success"] { border-color: #cce3d5; background: #fbfefc; }
.alpha-callout { padding: 16px 18px; margin-top: 20px; border: 1px solid #e1e7f1; border-radius: 12px; color: #42506b; background: #f6f8fc; font-size: 13px; }
.alpha-soft-note { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border: 1px solid #e3e9f3; border-radius: 12px; color: #5f6d85; background: #f0f4fa; font-size: 13px; line-height: 1.6; }
.alpha-soft-note > .alpha-icon { width: 18px; height: 18px; margin-top: 2px; color: #7585a2; }
.alpha-soft-note > p, .alpha-soft-note .alpha-muted { margin: 0; font-size: 12px; }
.alpha-empty { padding: 24px 22px; margin: 12px 0; border: 1px dashed #d8deea; border-radius: 14px; background: #fafbfe; text-align: center; }
.alpha-empty h3 { font-size: 17px; }
.alpha-empty p { max-width: 560px; margin: 8px auto 16px; }
.alpha-empty-visual { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin: 0 auto 12px; border: 1px solid var(--alpha-accent-line); border-radius: 17px; color: var(--alpha-accent-ink); background: var(--alpha-accent-soft); }
.alpha-empty-visual > .alpha-icon { width: 27px; height: 27px; }
.alpha-empty > .alpha-icon { margin: 0 auto 14px; color: #8a97b0; }
.alpha-error-panel { width: 100%; max-width: 680px; margin: 36px auto; }

/* Home: two independent, clear entry points */
.alpha-home { max-width: 1160px; }
.alpha-engine-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.alpha-engine-card { display: flex; flex-direction: column; padding: 28px; border-top: 3px solid var(--alpha-accent); }
.alpha-engine-card > .alpha-header { align-items: flex-start; }
.alpha-provider-identity h2 { margin: 0; font-size: 23px; letter-spacing: -.025em; }
.alpha-provider-identity .alpha-muted { margin: 3px 0 0; font-size: 12px; }
.alpha-engine-card > h2 { margin: 4px 0 0; font-size: 24px; }
.alpha-engine-card > .alpha-muted { margin-top: 4px; }
.alpha-engine-state { display: grid; gap: 12px; padding: 21px 0; margin: 20px 0 0; border-top: 1px solid var(--alpha-line); }
.alpha-engine-state > div { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.alpha-engine-state dt { display: flex; align-items: center; gap: 7px; color: #5f6d85; font-size: 12px; }
.alpha-engine-state dt .alpha-icon { width: 16px; height: 16px; }
.alpha-engine-state dd { margin: 0; color: #34425c; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.alpha-next-step { flex-grow: 1; padding: 18px 19px; margin: 0 0 21px; border: 1px solid var(--alpha-accent-line); border-radius: 12px; background: var(--alpha-accent-soft); }
.alpha-next-step .alpha-eyebrow, .alpha-next-step .alpha-section-kicker { color: var(--alpha-accent-ink); font-size: 9px; }
.alpha-next-step h3 { color: var(--alpha-ink); font-size: 14px; }
.alpha-next-step .alpha-muted { margin-bottom: 0; font-size: 12px; }
.alpha-engine-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 19px; border-top: 1px solid var(--alpha-line); }
.alpha-engine-card-footer .alpha-icon { width: 18px; height: 18px; }
.alpha-home .alpha-section-heading { margin-bottom: 18px; }
.alpha-home-note { max-width: 850px; margin: 0 !important; }

/* Provider overview: connection, workflow, and destination cards */
.alpha-connection { border-left: 3px solid var(--alpha-accent); padding-left: 23px; }
.alpha-workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.alpha-connection .alpha-workflow { margin: 18px 0; }
.alpha-workflow > li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 18px; border: 1px solid var(--alpha-line); border-radius: 13px; background: #ffffff; box-shadow: 0 2px 5px rgba(24, 35, 59, .018); }
.alpha-workflow > li > div { min-width: 0; }
.alpha-workflow strong { display: block; color: #34425b; font-size: 13px; font-weight: 600; line-height: 1.4; margin: 1px 0 5px; }
.alpha-workflow small { display: block; color: #5f6d85; font-size: 11px; line-height: 1.55; }
.alpha-workflow .alpha-muted { margin: 5px 0 0; font-size: 12px; }
.alpha-workflow > li[data-state="current"] { border-color: var(--alpha-accent-line); background: var(--alpha-accent-soft); }
.alpha-workflow > li[data-state="current"] strong { color: var(--alpha-accent-ink); }
.alpha-workflow > li[data-state="current"] small { color: #5f6d85; }
.alpha-step-chip { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; background: #eff2f8; color: #5f6d85; font-size: 11px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.alpha-step-chip .alpha-icon { width: 16px; height: 16px; }
.alpha-workflow > li[data-state="current"] .alpha-step-chip { color: #ffffff; background: var(--alpha-accent); }
.alpha-workflow > li[data-state="complete"] .alpha-step-chip { color: #287449; background: #eaf6ef; }
.alpha-step-heading { display: flex; gap: 11px; align-items: center; margin-bottom: 16px !important; }
.alpha-step-heading > .alpha-step-chip { color: var(--alpha-accent-ink); background: var(--alpha-accent-soft); }
.alpha-feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 214px;
  padding: 23px;
  color: var(--alpha-ink);
  text-decoration: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
.alpha-feature-card:hover { color: var(--alpha-ink); border-color: var(--alpha-accent-line); box-shadow: 0 8px 26px rgba(24, 35, 59, .065); transform: translateY(-2px); }
.alpha-feature-card h3 { margin: 0; font-size: 16px; }
.alpha-feature-card p { margin: 0; color: var(--alpha-muted); font-size: 12px; line-height: 1.65; }
.alpha-feature-icon { display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; flex: 0 0 44px; margin-bottom: 1px; border-radius: 12px; color: var(--alpha-accent-ink); background: var(--alpha-accent-soft); }
.alpha-feature-icon > .alpha-icon { width: 23px; height: 23px; }
.alpha-feature-icon[data-feature="analysis"] { color: #7855bf; background: #f1ecfd; }
.alpha-feature-icon[data-feature="keywords"] { color: #8c5b19; background: #fff3e4; }
.alpha-feature-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: auto; padding-top: 13px; color: var(--alpha-accent-ink); font-size: 12px; font-weight: 600; }
.alpha-feature-footer > .alpha-icon { width: 18px; height: 18px; }
.alpha-settings-card { padding: 25px; }
.alpha-settings-card > form { display: grid; gap: 16px; }
.alpha-settings-card .alpha-step-heading { margin-bottom: 18px !important; }

/* Report context and download groups */
.alpha-report-meta { display: grid; grid-template-columns: minmax(190px, 1.5fr) repeat(3, minmax(120px, 1fr)); gap: 18px; padding: 17px 19px; margin: 18px 0; border: 1px solid var(--alpha-line); border-radius: 12px; background: #f8fafe; }
.alpha-report-meta > div { min-width: 0; }
.alpha-report-meta dt { margin-bottom: 6px; color: #5f6d85; font-size: 11px; font-weight: 550; }
.alpha-report-meta dd { margin: 0; color: #34425b; font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.alpha-report-meta dd small { display: block; margin-top: 4px; color: #5f6d85; font-size: 11px; font-weight: 400; line-height: 1.5; }
.alpha-download-group > .alpha-eyebrow { color: var(--alpha-accent-ink); }
.alpha-download-group .alpha-actions { margin-top: 14px; }

/* Filters and tables */
.alpha-filters { display: flex; flex-wrap: wrap; gap: 13px; align-items: flex-end; padding: 16px; margin-top: 20px; border: 1px solid #e8ecf4; border-radius: 12px; background: #f8fafe; }
.alpha-filters label { display: grid; gap: 7px; min-width: 130px; flex: 1 1 130px; color: #4b5a73; font-size: 12px; font-weight: 550; }
.alpha-filters label:first-child { flex: 2 1 200px; }
.alpha-filters input, .alpha-filters select, .alpha-page .alpha-input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #d8dfeb;
  border-radius: 9px;
  color: var(--alpha-ink);
  background: #ffffff;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 1px 2px rgba(24, 35, 59, .018);
}
.alpha-filters input::placeholder, .alpha-page .alpha-input::placeholder { color: #63718a; }
.alpha-filters input:hover, .alpha-filters select:hover, .alpha-page .alpha-input:hover { border-color: #bfcade; }
.alpha-page textarea.alpha-input { min-height: 100px; resize: vertical; }
.alpha-table-wrap { width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; margin-top: 18px; border: 1px solid var(--alpha-line); border-radius: 12px; background: #ffffff; }
.alpha-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; line-height: 1.55; font-variant-numeric: tabular-nums; }
.alpha-table th { padding: 12px 15px; border-bottom: 1px solid var(--alpha-line); background: #f7f9fd; color: #5f6d85; font-size: 11px; line-height: 1.45; font-weight: 650; white-space: nowrap; }
.alpha-table td { min-width: 115px; padding: 15px; border-bottom: 1px solid #edf0f6; vertical-align: top; color: #35435d; }
.alpha-table th.alpha-table-numeric, .alpha-table td.alpha-table-numeric { min-width: 90px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.alpha-table tbody tr:last-child td { border-bottom: 0; }
.alpha-table tbody tr:hover { background: #fbfcff; }
.alpha-table td:first-child { min-width: 230px; max-width: 410px; }
.alpha-table td:nth-child(4) { min-width: 180px; max-width: 360px; overflow-wrap: anywhere; }
.alpha-table a { text-decoration-thickness: 1px; }
.alpha-table .alpha-muted { font-size: 11px; line-height: 1.6; }
.alpha-table .alpha-button { min-height: 42px; padding: 9px 12px; font-size: 12px; }
.alpha-table-wrap > .alpha-muted { padding: 0 15px; }
.alpha-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 20px; color: #5f6d85; font-size: 12px; }
.alpha-page progress { display: block; width: 100%; height: 8px; border: 0; border-radius: 99px; overflow: hidden; accent-color: var(--alpha-accent) !important; background: #e7ecf4; }
.alpha-page progress::-webkit-progress-bar { border-radius: 99px; background: #e7ecf4; }
.alpha-page progress::-webkit-progress-value { border-radius: 99px; background: var(--alpha-accent); }
.alpha-page progress::-moz-progress-bar { border-radius: 99px; background: var(--alpha-accent); }

/* Existing secondary views */
.alpha-setup-list { display: grid; list-style: none; padding: 0; margin: 18px 0; }
.alpha-setup-list li { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--alpha-line); }
.alpha-setup-list li > div { min-width: 0; }
.alpha-step-number { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; margin-top: 1px; border: 1px solid #d9e0eb; border-radius: 50%; color: #5f6d85; background: #f7f9fc; font-size: 12px; font-weight: 600; }
.alpha-step-number[data-complete="true"] { border-color: #cce3d5; color: #287449; background: #eaf6ef; }
.alpha-priority { padding: 16px 0; border-bottom: 1px solid var(--alpha-line); }
.alpha-priority:last-of-type { border-bottom: 0; }
.sc-root.alpha-page { background: transparent !important; font-family: inherit !important; }
.sc-root .sc-card { padding: 24px !important; border: 1px solid var(--alpha-line) !important; border-radius: var(--alpha-radius) !important; box-shadow: var(--alpha-shadow) !important; }
.sc-root .sc-tile { border: 1px solid var(--alpha-line) !important; border-radius: 13px !important; box-shadow: none !important; }
.sc-root :where(input, select, textarea, button) { font-family: inherit !important; font-size: 13px; }
.sc-root button { border-radius: 10px !important; box-shadow: none !important; }
.sc-root button[style*="linear-gradient"], .sc-root a[style*="linear-gradient"], .sc-root [style*="radial-gradient"] { background: var(--alpha-accent) !important; box-shadow: none !important; }
.sc-root table { font-size: 13px; }
.sc-root details { min-width: 0; }
.sc-root details summary { cursor: pointer; }

/* Embedded app widths */
@media (max-width: 1080px) {
  .alpha-page { padding: 26px; gap: 22px; }
  .alpha-report-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alpha-page h1 { font-size: 27px; }
  .alpha-columns { grid-template-columns: 1fr; }
  .alpha-provider-grid { grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); }
  .alpha-provider-navigation a { padding: 9px 10px; font-size: 11px; }
}
@media (max-width: 780px) {
  .alpha-page { padding: 22px; gap: 20px; }
  .alpha-page-head { align-items: flex-start; }
  .alpha-engine-cards { grid-template-columns: 1fr; gap: 20px; }
  .alpha-engine-card { padding: 25px; }
  .alpha-workflow { grid-template-columns: 1fr; gap: 10px; }
  .alpha-workflow > li { padding: 15px 17px; }
  .alpha-provider-navigation { justify-content: flex-start; gap: 4px; }
  .alpha-provider-navigation a { justify-content: flex-start; min-height: 39px; }
}
@media (max-width: 580px) {
  .alpha-page, .sc-root.alpha-page { padding: 17px !important; gap: 18px; }
  .alpha-page h1 { font-size: 25px; }
  .alpha-report-meta { grid-template-columns: 1fr; gap: 14px; padding: 15px; }
  .alpha-page h2 { font-size: 17px; }
  .alpha-title-group { gap: 12px; align-items: flex-start; }
  .alpha-title-group .alpha-provider-symbol { width: 43px; height: 43px; flex-basis: 43px; border-radius: 12px; }
  .alpha-title-group .alpha-provider-symbol > svg { width: 25px; height: 25px; }
  .alpha-page-head > .alpha-actions { width: 100%; }
  .alpha-card, .alpha-engine-card, .alpha-settings-card { padding: 20px; border-radius: 14px; }
  .alpha-connection { padding-left: 18px; }
  .alpha-provider-identity { gap: 12px; }
  .alpha-provider-identity h2 { font-size: 22px; }
  .alpha-engine-card > .alpha-header { gap: 14px; }
  .alpha-engine-card > .alpha-header > .alpha-badge { margin-left: 0; }
  .alpha-engine-state > div { grid-template-columns: 60px minmax(0, 1fr); gap: 10px; }
  .alpha-next-step { padding: 16px; }
  .alpha-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .alpha-metrics > .alpha-card { padding: 16px; }
  .alpha-metric-value { font-size: 28px; }
  .alpha-provider-grid { grid-template-columns: 1fr; gap: 15px; }
  .alpha-feature-card { min-height: 195px; }
  .alpha-filters { padding: 13px; gap: 11px; }
  .alpha-filters label { min-width: 120px; }
  .alpha-filters label:first-child { flex-basis: 100%; }
  .alpha-tabs, .alpha-sitemap-tabs { gap: 3px; }
  .alpha-tabs a, .alpha-sitemap-tabs a { padding: 8px 9px; font-size: 11px; }
  .alpha-provider-navigation { padding: 5px; gap: 3px; }
  .alpha-provider-navigation a { gap: 6px; padding: 9px 8px; }
  .alpha-provider-navigation .alpha-icon { width: 16px; height: 16px; }
  .alpha-soft-note { padding: 13px 14px; }
  .alpha-empty { padding: 24px 16px; }
  .alpha-table th { padding: 11px 12px; }
  .alpha-table td { padding: 13px 12px; }
  .sc-root .sc-card { padding: 20px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .alpha-feature-card:hover { transform: none; }
}


/* Make account discovery readable without mixing different shop domains. */
.alpha-site-address { overflow-wrap: anywhere; }
.alpha-account-sites { border: 1px solid var(--alpha-border, #e0e6ef); border-radius: 12px; padding: 16px; }
.alpha-account-sites > summary { cursor: pointer; }
.alpha-account-sites .alpha-muted { margin: 12px 0; }
.alpha-account-site-list { max-height: 260px; overflow-y: auto; margin: 0; padding: 0 0 0 22px; }
.alpha-account-site-list li { padding: 6px 4px; overflow-wrap: anywhere; }

/* Search performance: grounded comparisons and expandable URL / query detail. */
.alpha-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.alpha-insight-period { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0; font-size: 12px; }
.alpha-insight-period .alpha-icon { flex: 0 0 17px; width: 17px; height: 17px; margin-top: 1px; }
.alpha-insight-coverage { margin-top: 18px; font-size: 12px; line-height: 1.6; }
.alpha-insight-coverage > summary, .alpha-insight-definitions > summary { cursor: pointer; color: var(--alpha-ink); font-weight: 600; padding: 3px 0; }
.alpha-insight-coverage > summary:focus-visible, .alpha-insight-definitions > summary:focus-visible { outline: 3px solid var(--alpha-focus); outline-offset: 4px; border-radius: 4px; }
.alpha-insight-coverage li { margin: 7px 0; overflow-wrap: anywhere; }
.alpha-insight-table { min-width: 850px; }
.alpha-insight-table > tbody > tr[data-expanded="true"] { background: var(--alpha-accent-soft); }
.alpha-insight-label { display: block; overflow-wrap: anywhere; line-height: 1.5; }
.alpha-insight-row-meta { margin: 5px 0 0 !important; font-size: 11px; line-height: 1.5; }
.alpha-insight-table > tbody > tr > td:first-child { min-width: 260px; max-width: 390px; }
.alpha-insight-table > tbody > tr > td:nth-child(6) { min-width: 115px; max-width: 180px; }
.alpha-insight-table > tbody > tr > td:nth-child(7) { min-width: 132px; }
.alpha-insight-table > tbody > .alpha-insight-expanded-row > td { padding: 0; border-top: 0; min-width: 0; max-width: none; background: #f7f9fd; }
.alpha-insight-detail-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 9px 11px; border: 1px solid var(--alpha-accent-line); border-radius: 9px; background: var(--alpha-surface); color: var(--alpha-accent-ink); cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; white-space: nowrap; }
.alpha-insight-detail-button:hover, .alpha-insight-detail-button[aria-expanded="true"] { background: var(--alpha-accent-soft); }
.alpha-insight-detail-button:focus-visible { outline: 3px solid var(--alpha-focus); outline-offset: 3px; }
.alpha-insight-detail-button > span { font-size: 18px; font-weight: 400; }
.alpha-insight-detail { display: grid; min-width: 0; gap: 18px; padding: 24px; border-bottom: 2px solid var(--alpha-accent-line); }
.alpha-insight-detail .alpha-header, .alpha-insight-detail .alpha-section-heading { margin: 0; }
.alpha-insight-detail .alpha-filters, .alpha-insight-detail .alpha-pagination { margin: 0; }
.alpha-insight-detail h3 { font-size: 14px; }
.alpha-insight-detail > p { margin: 0; }
.alpha-insight-detail .alpha-table-wrap { background: var(--alpha-surface); }
.alpha-comparison-table { min-width: 620px; }
.alpha-comparison-table caption { padding: 12px 15px; text-align: left; font-size: 12px; color: var(--alpha-muted); border-bottom: 1px solid var(--alpha-line); }
.alpha-comparison-table > tbody > tr > th { text-transform: none; font-size: 12px; font-weight: 600; letter-spacing: 0; background: #fff; }
.alpha-comparison-table > thead > tr > th:first-child, .alpha-comparison-table > tbody > tr > th:first-child { min-width: 130px; max-width: none; }
.alpha-comparison-table > tbody > tr > td:nth-child(4), .alpha-insight-relations > tbody > tr > td:nth-child(4) { min-width: 0; max-width: none; }
.alpha-insight-relations { min-width: 690px; }
.alpha-insight-relations > tbody > tr > td:first-child { min-width: 210px; max-width: 420px; overflow-wrap: anywhere; }
.alpha-insight-change { display: block; color: var(--alpha-muted); font-size: 12px; font-variant-numeric: tabular-nums; line-height: 1.55; }
.alpha-insight-change[data-direction="improved"] { color: #22623d; }
.alpha-insight-change[data-direction="declined"] { color: #a33434; }
.alpha-insight-change[data-direction="stable"] { color: #506078; }
.alpha-metrics .alpha-insight-change { margin-top: 8px; font-weight: 600; }
.alpha-insight-note { font-size: 11px; line-height: 1.6; margin-top: 15px; }
.alpha-opportunity-list { display: grid; gap: 16px; }
.alpha-opportunity-card { min-width: 0; padding: 20px; border: 1px solid var(--alpha-line); border-radius: 13px; background: #fff; }
.alpha-opportunity-card h3 { margin: 10px 0 0; overflow-wrap: anywhere; }
.alpha-opportunity-card > p { font-size: 13px; line-height: 1.65; }
.alpha-opportunity-card .alpha-header { align-items: flex-start; margin: 0; }
.alpha-opportunity-category { color: var(--alpha-muted); font-size: 11px; text-align: right; max-width: 220px; }
.alpha-opportunity-evidence { display: flex; flex-wrap: wrap; gap: 15px 26px; margin: 18px 0; padding: 14px 16px; border-radius: 10px; background: #f5f7fb; }
.alpha-opportunity-evidence > div { display: grid; gap: 4px; min-width: 76px; }
.alpha-opportunity-evidence dt { color: var(--alpha-muted); font-size: 11px; }
.alpha-opportunity-evidence dd { margin: 0; color: var(--alpha-ink); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.alpha-opportunity-action { display: flex; align-items: flex-start; gap: 11px; padding-top: 2px; }
.alpha-opportunity-action > .alpha-icon { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; color: var(--alpha-accent-ink); }
.alpha-opportunity-action strong { font-size: 12px; }
.alpha-opportunity-action p { margin: 5px 0 0; font-size: 13px; line-height: 1.65; }
.alpha-insight-downloads { display: grid; gap: 15px; }
.alpha-insight-downloads p { margin-bottom: 0; }
.alpha-insight-downloads .alpha-actions { justify-content: flex-start; }
.alpha-insight-definitions > summary { font-size: 14px; }
.alpha-insight-definitions .alpha-report-meta { margin-bottom: 0; }
@media (max-width: 780px) {
  .alpha-insight-detail { padding: 18px; gap: 16px; }
  .alpha-opportunity-card { padding: 17px; }
  .alpha-opportunity-evidence { gap: 12px 18px; padding: 13px; }
}
@media (max-width: 580px) {
  .alpha-opportunity-category { text-align: left; max-width: none; }
  .alpha-insight-downloads .alpha-actions { align-items: stretch; }
  .alpha-insight-downloads .alpha-button { width: 100%; }
}

/* Subscription plans */
.alpha-plan-current { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.alpha-plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.alpha-plan-card { display: flex; flex-direction: column; margin: 0; }
.alpha-plan-card[data-current="true"] { border-color: #2563eb; box-shadow: 0 0 0 1px #2563eb; }
.alpha-plan-price { margin: 20px 0 24px; color: #53637a; }
.alpha-plan-price strong { color: #18263c; font-size: clamp(28px, 3vw, 42px); letter-spacing: -1px; line-height: 1.2; }
.alpha-plan-price span { display: block; font-size: 13px; margin-top: 7px; }
.alpha-plan-limit { margin-bottom: 0; font-size: 16px; }
.alpha-plan-limit strong { font-size: 24px; color: #18263c; }
.alpha-plan-trial { color: #19704d; font-weight: 600; margin: 18px 0; }
.alpha-plan-card form { margin-top: auto; padding-top: 10px; }
.alpha-plan-card form .alpha-button { width: 100%; justify-content: center; }
.alpha-plan-features { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin: 24px 0; }
.alpha-plan-features li { display: flex; gap: 10px; align-items: flex-start; }
.alpha-plan-features .alpha-icon { color: #19704d; width: 20px; height: 20px; flex: 0 0 20px; }
@media(max-width: 1200px) { .alpha-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media(max-width: 850px) { .alpha-plan-current { flex-direction: column; } }
@media(max-width: 620px) { .alpha-plan-grid { grid-template-columns: 1fr; } }
@media(max-width: 620px) { .alpha-plan-features { grid-template-columns: 1fr; } }

/* Compact app identity */
.alpha-brand-heading { display: flex; align-items: center; gap: 14px; min-width: 0; }
.alpha-brand-heading > div { min-width: 0; }
.alpha-brand-logo { display: block; width: 48px; height: 48px; flex: 0 0 48px; object-fit: contain; border-radius: 12px; }

/* Explain the sitemap benefits before comparing catalog capacities. */
.alpha-sitemap-highlight { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 30px; border-radius: 18px; background: linear-gradient(115deg, #152b56, #244788); color: #fff; overflow: hidden; }
.alpha-sitemap-highlight > div { max-width: 620px; }
.alpha-sitemap-highlight .alpha-section-kicker { color: #b9d3ff; margin-top: 0; }
.alpha-page .alpha-sitemap-highlight h2 { color: #fff; font-size: clamp(24px, 2.5vw, 32px); letter-spacing: -.7px; line-height: 1.25; margin: 10px 0 12px; }
.alpha-sitemap-highlight p:not(.alpha-section-kicker) { color: #e0eaff; font-size: 14px; line-height: 1.7; margin-bottom: 0; }
.alpha-highlight-tags { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; flex: 0 0 auto; }
.alpha-highlight-tags li { display: flex; align-items: center; gap: 10px; border: 1px solid #5974a4; background: #ffffff0a; padding: 10px 14px; border-radius: 10px; font-size: 13px; font-weight: 550; }
.alpha-highlight-tags .alpha-icon { width: 20px; height: 20px; color: #b8eddb; }
.alpha-plan-card { padding: 24px; }
.alpha-plan-card[data-enterprise="true"] { border-color: #91aedc; background: linear-gradient(180deg, #f0f5ff, #fff 60%); }
.alpha-plan-audience { color: #51647e; font-size: 11px; font-weight: 550; min-height: 18px; margin: 0 0 10px; }
.alpha-plan-card > .alpha-header { gap: 7px; }
.alpha-plan-card .alpha-plan-limit { white-space: nowrap; }
.alpha-plan-card .alpha-plan-trial { font-size: 12px; }
.alpha-plan-card .alpha-button { padding-left: 10px; padding-right: 10px; }
.alpha-benefits { min-width: 0; }
.alpha-benefits .alpha-section-heading { margin-bottom: 22px; }
.alpha-benefits .alpha-section-kicker { margin-bottom: 8px; }
.alpha-benefits .alpha-section-heading h2 { margin-bottom: 7px; }
.alpha-benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.alpha-benefit-item { display: flex; align-items: flex-start; gap: 14px; border: 1px solid var(--alpha-line); border-radius: 13px; padding: 21px; background: #fff; }
.alpha-benefit-icon { display: inline-flex; justify-content: center; align-items: center; flex: 0 0 40px; height: 40px; border-radius: 11px; background: #eef4ff; color: #255cac; }
.alpha-benefit-item:nth-child(2) .alpha-benefit-icon, .alpha-benefit-item:nth-child(3) .alpha-benefit-icon { color: #196b55; background: #eaf6f0; }
.alpha-benefit-icon .alpha-icon { width: 22px; height: 22px; }
.alpha-benefit-item h3 { margin: 1px 0 7px; color: var(--alpha-ink); font-size: 14px; font-weight: 650; line-height: 1.45; }
.alpha-benefit-item p { color: var(--alpha-muted); font-size: 12px; line-height: 1.7; margin: 0; }
.alpha-benefit-footnote { font-size: 12px; margin: 17px 0 0; }
.alpha-benefits[data-compact="true"] .alpha-benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.alpha-benefits[data-compact="true"] .alpha-benefit-item { flex-direction: column; }
.alpha-home-benefits > .alpha-text-link { margin-top: 18px; }
.alpha-plan-usage .alpha-muted { font-size: 12px; }
.alpha-public-home { max-width: 1160px; margin: 40px auto; }
@media(max-width: 1000px) {
 .alpha-sitemap-highlight { align-items: flex-start; flex-direction: column; }
 .alpha-highlight-tags { display: flex; flex-wrap: wrap; }
 .alpha-benefits[data-compact="true"] .alpha-benefit-grid { grid-template-columns: 1fr; }
 .alpha-benefits[data-compact="true"] .alpha-benefit-item { flex-direction: row; }
}
@media(max-width: 620px) {
 .alpha-sitemap-highlight { padding: 22px; border-radius: 14px; gap: 20px; }
 .alpha-highlight-tags { gap: 8px; }
 .alpha-highlight-tags li { padding: 8px 10px; font-size: 11px; }
 .alpha-benefit-grid { grid-template-columns: 1fr; }
 .alpha-benefit-item { padding: 18px; }
 .alpha-public-home { margin: 20px auto; }
}

/* Language preference stays available throughout the embedded app. */
.alpha-app-toolbar, .alpha-public-toolbar { display: flex; justify-content: flex-end; max-width: 1380px; margin: 0 auto; padding: 15px 32px 0; }
.alpha-language-picker { margin: 0; }
.alpha-language-picker label { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: #53637a; font-size: 12px; }
.alpha-language-picker select { min-height: 36px; max-width: 210px; padding: 7px 30px 7px 10px; border: 1px solid #d5deec; border-radius: 8px; background: #fff; color: #18233b; font: inherit; }
@media(max-width: 580px) { .alpha-app-toolbar, .alpha-public-toolbar { padding: 12px 17px 0; } .alpha-language-picker label { gap: 7px; } .alpha-language-picker select { max-width: 180px; } }
