:root {
  color-scheme: light;
  --navy: #0b3154;
  --navy-dark: #07233d;
  --blue: #1769aa;
  --blue-soft: #eaf4fb;
  --green: #147a54;
  --green-soft: #e9f7f1;
  --amber: #9a6700;
  --amber-soft: #fff6d8;
  --red: #b42318;
  --red-soft: #fff0ee;
  --ink: #17202a;
  --muted: #5f6b76;
  --line: #d9e1e8;
  --surface: #ffffff;
  --page: #f5f8fb;
  --focus: #ffbf47;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(7, 35, 61, 0.08);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  line-height: 1.55;
}

a {
  color: var(--blue);
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  background: #ffffff;
  color: var(--navy-dark);
  border-radius: 6px;
}

.skip-link:focus {
  top: 8px;
}

.site-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #ffffff;
}

.header-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.header-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.header-nav a {
  color: #ffffff;
  text-decoration: none;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 64px;
}

.page-shell.compact {
  width: min(820px, calc(100% - 24px));
  padding-top: 20px;
}

.hero {
  margin-bottom: 24px;
}

.hero h1 {
  margin: 0 0 10px;
  color: var(--navy-dark);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  line-height: 1.12;
}

.hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.demo-banner {
  margin: 18px 0 24px;
  padding: 12px 16px;
  border: 1px solid #e5bd53;
  border-radius: 9px;
  background: var(--amber-soft);
  color: #5b4400;
  font-weight: 750;
}

.card {
  margin: 0 0 22px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h2,
.card h3 {
  color: var(--navy-dark);
}

.card h2:first-child,
.card h3:first-child {
  margin-top: 0;
}

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

.field {
  min-width: 0;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 6px;
  color: var(--navy-dark);
  font-weight: 700;
}

.field-help {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
}

input,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #aebac5;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 84px;
  resize: vertical;
}

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.button {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button:hover {
  background: #0f578f;
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.button.secondary {
  border: 1px solid var(--blue);
  background: #ffffff;
  color: var(--blue);
}

.status {
  min-height: 24px;
  color: var(--muted);
}

.status.error {
  color: var(--red);
  font-weight: 700;
}

.prompt-list {
  padding-left: 22px;
}

.prompt-list li + li {
  margin-top: 8px;
}

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

.meta-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.meta-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.score {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0 4px;
}

.score-value {
  color: var(--navy-dark);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
}

.score-copy {
  color: var(--muted);
}

.result-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.result-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.result-table th,
.result-table td {
  padding: 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.result-table th {
  background: #f2f6f9;
  color: var(--navy-dark);
  font-size: 0.88rem;
}

.result-table tr:last-child td {
  border-bottom: 0;
}

.admin-paid-scan-table {
  min-width: 1120px;
}

.admin-paid-scan-table th + th,
.admin-paid-scan-table td + td {
  border-left: 1px solid var(--line);
}

.admin-paid-scan-table th,
.admin-paid-scan-table td {
  white-space: normal;
}

.admin-paid-scan-table th:nth-child(1),
.admin-paid-scan-table td:nth-child(1),
.admin-paid-scan-table th:nth-child(2),
.admin-paid-scan-table td:nth-child(2),
.admin-paid-scan-table th:nth-child(3),
.admin-paid-scan-table td:nth-child(3),
.admin-paid-scan-table th:nth-child(6),
.admin-paid-scan-table td:nth-child(6) {
  white-space: nowrap;
}

.admin-paid-scan-table td:nth-child(2) {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    "Courier New",
    monospace;
  font-size: 0.82rem;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.badge.recommended {
  background: var(--green-soft);
  color: var(--green);
}

.badge.mentioned_only,
.badge.citation_only {
  background: var(--amber-soft);
  color: var(--amber);
}

.badge.not_found {
  background: #edf1f4;
  color: #4c5964;
}

.badge.uncertain,
.badge.failed {
  background: var(--red-soft);
  color: var(--red);
}

.list-clean {
  margin: 0;
  padding-left: 20px;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.result-actions a {
  font-weight: 750;
}

.safe-note {
  padding: 14px 16px;
  border-left: 4px solid var(--blue);
  background: var(--blue-soft);
}

.site-footer {
  padding: 24px 0 36px;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.hidden {
  display: none !important;
}

.admin-state {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
}

code {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-grid,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .card {
    padding: 18px;
  }
}

@media (max-width: 420px) {
  .header-inner {
    width: min(100% - 24px, 1120px);
  }

  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 24px;
  }

  .card {
    padding: 15px;
  }

  .button {
    width: 100%;
  }

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

.verified-combobox {
  position: relative;
}

.verified-options {
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid #aebac5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 35, 55, 0.14);
}

.verified-options[hidden] {
  display: none;
}

.verified-option {
  padding: 10px 12px;
  cursor: pointer;
  color: var(--ink);
  background: #ffffff;
}

.verified-option + .verified-option {
  border-top: 1px solid #e4e9ee;
}

.verified-option:hover,
.verified-option-active,
.verified-option[aria-selected="true"] {
  background: #eef3f7;
}

[data-location-status].error {
  color: #a2191f;
}
.whole-country-action {
  display: block;
  width: fit-content;
  margin-top: 8px;
  padding: 7px 10px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.whole-country-action:disabled {
  cursor: default;
  opacity: 0.65;
}

.whole-country-action[hidden] {
  display: none;
}
/* Day 11 SEO Rank Media brand system */

:root {
  --navy: #121c3d;
  --navy-dark: #111c3d;
  --dark-section: #161e33;
  --medium-blue: #2c668d;
  --deep-blue: #133068;
  --soft-blue: #7c9cd9;
  --secondary-blue: #8097e5;
  --accent-blue: #37aaff;
  --light-heading: #dbdfec;
  --light-text: #b7bbca;
  --ink: #272c30;
  --muted: #69727d;
  --line: #dbe2ee;
  --surface: #ffffff;
  --page: #f7f8fb;
  --blue: #133068;
  --blue-soft: #eef4ff;
  --focus: #133068;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  font-family:
    "Public Sans",
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
}

body {
  color: var(--ink);
  background: var(--page);
}

h1,
h2,
h3,
.brand-name,
.button {
  font-family:
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
}

.site-header {
  background: var(--navy);
  color: #ffffff;
  border-bottom: 1px solid rgba(219, 223, 236, 0.14);
}

.header-inner {
  padding: 20px 0;
}

.brand-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: #ffffff;
  text-decoration: none;
}

.brand-link:hover {
  color: #ffffff;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
}

.brand-tagline {
  color: var(--light-text);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.25;
}

.header-nav a {
  color: var(--light-heading);
}

.header-nav a:hover {
  color: #ffffff;
}

.hero {
  margin-bottom: 24px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--navy);
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: #ffffff;
}

.hero h1 {
  margin-top: 0;
  color: var(--light-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.hero p {
  max-width: 760px;
  color: var(--light-text);
}

.page-shell.compact .hero {
  padding: clamp(22px, 4vw, 32px);
}

.page-shell.compact .hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.card {
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.card h2,
.card h3 {
  color: var(--navy);
  font-family:
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
}

.button {
  background: var(--deep-blue);
  box-shadow: 0 6px 20px rgba(61, 102, 255, 0.2);
  font-weight: 600;
}

.button:hover {
  background: var(--medium-blue);
}

.button.secondary {
  border: 2px solid var(--accent-blue);
  background: transparent;
  color: var(--deep-blue);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--blue-soft);
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 6px 0;
}

.site-footer a {
  color: var(--deep-blue);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .hero {
    padding: 24px;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.7rem);
  }
}

@media (max-width: 420px) {
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    padding: 20px;
  }
}

/* Day 11 two-color keyboard focus */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 0;
  box-shadow: 0 0 0 4px var(--deep-blue);
}

/* Day 11 SEO Rank Media unified public shell v2 */

.srm-public-page {
  min-height: 100vh;
  margin: 0;
  color: #272c30;
  background: #2c668d;
  font-family:
    "Public Sans",
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.55;
}

.srm-public-page .site-header {
  width: 100%;
  background: #18366f;
  border: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.srm-public-page .header-inner {
  width: min(100% - 48px, 1180px);
  min-height: 158px;
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.srm-public-page .brand-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  color: #ffffff;
  text-decoration: none;
}

.srm-public-page .brand-logo {
  display: block;
  width: 76px;
  height: 76px;
  margin: 0 0 2px;
  object-fit: contain;
}

.srm-public-page .brand-name {
  display: flex;
  gap: 7px;
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.srm-public-page .brand-name-light {
  color: #dbdfec;
}

.srm-public-page .brand-name-accent {
  color: #4a83ff;
}

.srm-public-page .brand-tagline {
  margin-top: 5px;
  color: #4a83ff;
  font-size: 0.86rem;
  font-weight: 400;
}

.srm-public-page .header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.srm-public-page .header-nav a {
  padding: 10px 14px;
  color: #ffffff;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  text-decoration: none;
}

.srm-public-page .header-nav a:hover,
.srm-public-page .header-nav a:focus-visible {
  color: #ffffff;
  border-color: #37aaff;
  background: rgba(55, 170, 255, 0.08);
}

.srm-public-page .header-nav a[aria-current="page"] {
  color: #ffffff;
  border-color: #37aaff;
  background: rgba(55, 170, 255, 0.13);
}

.srm-public-page .page-shell {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  padding: 42px 0 64px;
}

.srm-public-page .page-shell.compact {
  max-width: 1040px;
}

.srm-public-page .hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 24px;
  padding: clamp(34px, 5vw, 58px);
  color: #ffffff;
  background: #121c3d;
  border: 1px solid rgba(128, 151, 229, 0.3);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.srm-public-page .hero::before,
.srm-public-page .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.srm-public-page .hero::before {
  width: 235px;
  height: 235px;
  right: -72px;
  top: -90px;
  background: rgba(55, 170, 255, 0.12);
}

.srm-public-page .hero::after {
  width: 150px;
  height: 150px;
  right: 70px;
  bottom: -108px;
  background: rgba(74, 131, 255, 0.12);
}

.srm-public-page .eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: #37aaff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.srm-public-page .hero h1 {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0;
  color: #dbdfec;
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.35rem, 5.25vw, 4.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.srm-public-page .hero-accent {
  color: #4a83ff;
}

.srm-public-page .hero-lead {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 22px 0 0;
  color: #ffffff;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.srm-public-page .hero-support {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 12px 0 0;
  color: #9fb7ef;
  font-size: 0.96rem;
}

.srm-public-page .fixture-notice {
  display: inline-flex;
  width: auto;
  margin: 0 0 16px;
  padding: 7px 12px;
  color: #dfe8ff;
  background: #133068;
  border: 1px solid #7c9cd9;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.srm-public-page .card {
  padding: clamp(22px, 4vw, 36px);
  background: #ffffff;
  border: 1px solid rgba(18, 28, 61, 0.12);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.srm-public-page .card h2,
.srm-public-page .card h3 {
  color: #121c3d;
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
}

.srm-public-page .card h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.srm-public-page .information-card h2:not(:first-child) {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid #dbe2ee;
}

.srm-public-page .fixture-copy {
  margin: -2px 0 24px;
  color: #69727d;
  font-size: 0.9rem;
}

.srm-public-page label {
  color: #121c3d;
  font-weight: 700;
}

.srm-public-page input,
.srm-public-page textarea,
.srm-public-page select {
  min-height: 46px;
  color: #272c30;
  background: #ffffff;
  border: 1px solid #aebac5;
  border-radius: 8px;
  font: inherit;
}

.srm-public-page input:focus,
.srm-public-page textarea:focus,
.srm-public-page select:focus {
  border-color: #37aaff;
  box-shadow: 0 0 0 3px rgba(55, 170, 255, 0.18);
}

.srm-public-page .field-help {
  color: #69727d;
}

.srm-public-page .button {
  color: #ffffff;
  background: linear-gradient(90deg, #456dff, #37aaff);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(61, 102, 255, 0.3);
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
}

.srm-public-page .button:hover {
  filter: brightness(1.05);
}

.srm-public-page .prompt-list {
  padding-left: 1.35rem;
}

.srm-public-page .prompt-list li + li {
  margin-top: 10px;
}

.srm-public-page .site-footer {
  width: 100%;
  margin: 0;
  color: #ffffff;
  background: #2c668d;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.srm-public-page .footer-statement {
  padding: 28px 24px;
  color: #69727d;
  background: #ffffff;
  text-align: center;
  font-weight: 600;
}

.srm-public-page .footer-main {
  width: min(100% - 48px, 1180px);
  min-height: 132px;
  margin: 0 auto;
  padding: 28px 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.srm-public-page .footer-support {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.srm-public-page .footer-support strong {
  color: #ffffff;
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
}

.srm-public-page .site-footer a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.srm-public-page .footer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: right;
}

.srm-public-page .footer-divider {
  opacity: 0.65;
}

.srm-public-page a:focus-visible,
.srm-public-page button:focus-visible,
.srm-public-page input:focus-visible,
.srm-public-page textarea:focus-visible,
.srm-public-page select:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #133068;
}

@media (max-width: 760px) {
  .srm-public-page .header-inner {
    width: min(100% - 32px, 1180px);
    min-height: auto;
    padding: 16px 0 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .srm-public-page .brand-logo {
    width: 66px;
    height: 66px;
  }

  .srm-public-page .brand-name {
    font-size: 1.42rem;
  }

  .srm-public-page .header-nav {
    width: 100%;
    gap: 5px;
    overflow-x: auto;
  }

  .srm-public-page .header-nav a {
    white-space: nowrap;
  }

  .srm-public-page .page-shell {
    width: min(100% - 28px, 1180px);
    padding-top: 24px;
  }

  .srm-public-page .hero {
    padding: 28px 22px;
  }

  .srm-public-page .footer-main {
    width: min(100% - 32px, 1180px);
    padding: 26px 0 30px;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .srm-public-page .footer-meta {
    flex-wrap: wrap;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .srm-public-page .brand-logo {
    width: 58px;
    height: 58px;
  }

  .srm-public-page .brand-name {
    font-size: 1.25rem;
  }

  .srm-public-page .brand-tagline {
    font-size: 0.76rem;
  }

  .srm-public-page .header-nav a {
    padding: 8px 9px;
    font-size: 0.9rem;
  }

  .srm-public-page .hero h1 {
    font-size: 2rem;
  }

  .srm-public-page .card {
    padding: 20px 16px;
  }
}

/* Day 11 location UX and public footer cleanup */

.srm-public-page .footer-main {
  justify-content: center;
}

.srm-public-page .footer-meta {
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

@media (max-width: 760px) {
  .srm-public-page .footer-main {
    align-items: center;
  }

  .srm-public-page .footer-meta {
    justify-content: center;
    text-align: center;
  }
}
/* Day 11 embedded tool navigation */
.srm-public-page.embed-page .embed-tool-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #9fb7ef;
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

.srm-public-page.embed-page .embed-tool-nav a {
  color: #ffffff;
  text-decoration: none;
}

.srm-public-page.embed-page .embed-tool-nav a:hover,
.srm-public-page.embed-page .embed-tool-nav a:focus-visible {
  color: #37aaff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 420px) {
  .srm-public-page.embed-page .embed-tool-nav {
    gap: 7px;
    margin-bottom: 12px;
    font-size: 0.86rem;
  }
}

/* Day 11 shared long-running scan feedback */
.scan-progress {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(55, 170, 255, 0.32);
  border-radius: 12px;
  background: #eef4ff;
  color: #272c30;
}

.scan-progress.hidden {
  display: none;
}

.scan-spinner {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border: 3px solid rgba(19, 48, 104, 0.2);
  border-top-color: #133068;
  border-radius: 50%;
  animation: srm-scan-spin 0.8s linear infinite;
}

.scan-progress-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.45;
}

.scan-progress-copy strong {
  color: #121c3d;
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.scan-progress-copy span {
  color: #4f5f70;
  font-size: 0.92rem;
}

@keyframes srm-scan-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scan-spinner {
    animation: none;
  }
}

/* Day 11 Upwork visual alignment without off-platform navigation */
.srm-public-page.upwork-page .page-shell.compact {
  max-width: 1040px;
}

.srm-public-page.upwork-page .hero {
  margin-top: 0;
}

.srm-public-page.upwork-page .card {
  border: 1px solid #dbe2ee;
}

.srm-public-page.upwork-page .scan-progress {
  border-color: rgba(55, 170, 255, 0.32);
  background: #eef4ff;
}

@media (max-width: 420px) {
  .scan-progress {
    gap: 11px;
    padding: 14px;
  }

  .scan-spinner {
    width: 23px;
    height: 23px;
  }
}

/* Day 11 saved-result return navigation */
.result-back-link {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  color: #133068;
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.result-back-link::before {
  content: "\2190";
  margin-right: 7px;
}

.result-back-link:hover,
.result-back-link:focus-visible {
  color: #2c668d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Day 11 embed navigation centered above hero */
.srm-public-page.embed-page .embed-tool-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 22px;
  padding: 4px 0;
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.srm-public-page.embed-page .embed-tool-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  color: #ffffff;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
}

.srm-public-page.embed-page .embed-tool-nav a:hover,
.srm-public-page.embed-page .embed-tool-nav a:focus-visible {
  color: #ffffff;
  border-color: #37aaff;
  background: rgba(55, 170, 255, 0.08);
}

.srm-public-page.embed-page .embed-tool-nav a[aria-current="page"] {
  color: #ffffff;
  border-color: #37aaff;
  background: rgba(55, 170, 255, 0.13);
}

@media (max-width: 420px) {
  .srm-public-page.embed-page .embed-tool-nav {
    gap: 8px;
    margin-bottom: 18px;
    font-size: 0.88rem;
  }

  .srm-public-page.embed-page .embed-tool-nav a {
    padding: 8px 10px;
  }
}
