:root {
  --bg: #f8f7f4;
  --card: #ffffff;
  --border: #e5e5e5;
  --text: #111827;
  --muted: #737373;
  --blue: #0044ff;
  --green: #00c48c;
  --amber: #d9a05b;
  --red: #ef4444;
  --snatch-max: 1120px;
  --snatch-rail: min(1120px, calc(100vw - 48px));
}

.snatchRail,
.snatch-rail {
  width: var(--snatch-rail);
  max-width: 100%;
  margin-inline: auto;
}

html.debug-rail .snatchRail,
html.debug-rail .snatch-rail {
  outline: 1px dashed rgba(255, 0, 0, 0.35);
}

/* ── Site header — isolated centered logo bar ── */

.site-header {
  height: 72px;
  width: 100vw;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
}

.site-logo {
  display: block;
  width: 390px;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0;
  position: static;
  transform: none;
}

.site-logo .snatchLogoMark {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  font-size: 16.25px;
}

.snatchLogoPeriodGroup {
  transform-box: fill-box;
}

.snatchLogoPeriod {
  transform-box: fill-box;
  transform-origin: center;
}

.snatchLogoPeriod--mid {
  animation: snatchPeriodMid 3.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.snatchLogoPeriod--trail {
  animation: snatchPeriodTrail 3.2s cubic-bezier(0.34, 1.18, 0.64, 1) infinite;
}

.snatchLogoPeriod--lead {
  animation: snatchPeriodLead 3.2s cubic-bezier(0.34, 1.18, 0.64, 1) infinite;
}

@keyframes snatchPeriodMid {
  0%,
  12%,
  86%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }

  18% {
    transform: translate(0, 0) scale(1.04);
    opacity: 1;
  }

  36%,
  68% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }

  48% {
    transform: translate(0, -0.03em) scale(1);
    opacity: 0.82;
  }

  58% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
}

@keyframes snatchPeriodTrail {
  0%,
  14%,
  84%,
  100% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }

  22% {
    transform: translate(0.06em, 0.015em) scale(0.45);
    opacity: 0.55;
  }

  30%,
  70% {
    transform: translate(0.24em, 0) scale(1);
    opacity: 1;
  }

  48% {
    transform: translate(0.24em, -0.03em) scale(1);
    opacity: 0.82;
  }

  78% {
    transform: translate(0.04em, 0) scale(0.55);
    opacity: 0.35;
  }

  86% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }
}

@keyframes snatchPeriodLead {
  0%,
  16%,
  82%,
  100% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }

  26% {
    transform: translate(0.12em, 0.02em) scale(0.4);
    opacity: 0.45;
  }

  34%,
  66% {
    transform: translate(0.48em, 0) scale(1);
    opacity: 1;
  }

  52% {
    transform: translate(0.48em, -0.03em) scale(1);
    opacity: 0.82;
  }

  76% {
    transform: translate(0.06em, 0) scale(0.5);
    opacity: 0.3;
  }

  84% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .snatchLogoPeriod--lead,
  .snatchLogoPeriod--trail {
    animation: none;
    opacity: 0;
  }

  .snatchLogoPeriod--mid {
    animation: none;
  }
}

.snatchBrand.site-logo {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: 0;
}

.snatchBrand,
.ifWordmark {
  text-decoration: none;
  line-height: 0;
}

/* ── Snatch logo — plain lowercase SVG wordmark ── */

.snatchLogo {
  display: block;
  text-decoration: none;
  color: #07101f;
  line-height: 0;
}

.snatchLogoMark {
  display: block;
  width: 100%;
  height: auto;
}

.snatchLogo:hover {
  color: #040a14;
}

.snatchNav {
  display: none;
}

/* Legacy header aliases — old bundles map here */
.ifTopNav,
.top-nav {
  position: sticky;
  top: 12px;
  z-index: 50;
  height: auto;
  padding: 0 24px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.ifTopNavInner,
.top-nav-inner {
  pointer-events: auto;
  width: auto;
  height: 44px;
  padding: 0 22px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(247, 249, 253, 0.78);
  backdrop-filter: blur(16px) saturate(1.12);
  border: 1px solid rgba(190, 205, 230, 0.36);
  box-shadow:
    0 10px 36px rgba(15, 22, 60, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.resultsSurface {
  width: var(--snatch-rail);
  margin-inline: auto;
}

.stub-main {
  padding: 24px 0 80px;
}

/* Legacy nav aliases — map to snatchHeader system */
.top-nav {
  position: sticky;
  top: 12px;
  z-index: 50;
  height: auto;
  padding: 0 24px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.top-nav-inner {
  pointer-events: auto;
  width: auto;
  height: 44px;
  padding: 0 22px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(247, 249, 253, 0.78);
  backdrop-filter: blur(16px) saturate(1.12);
  border: 1px solid rgba(190, 205, 230, 0.36);
  box-shadow:
    0 10px 36px rgba(15, 22, 60, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.brand,
.snatchBrand {
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -0.025em;
  color: #111a32;
  text-decoration: none;
}

.brand-with-dot,
.brand-dot,
.candidate-top-nav-inner {
  display: none !important;
}

.nav-links:not(.snatchNav) {
  display: none;
}

.snatch-nav-links,
.candidate-nav-links {
  display: contents;
}

.snatch-app {
  background:
    radial-gradient(circle at 50% 0%, rgba(120, 150, 255, 0.06), transparent 32%),
    #f5f7fb;
}

.snatch-app.intent-fetch-page[data-state="searching"],
.snatch-app.intent-fetch-page[data-state="revealing"],
.snatch-app.intent-fetch-page[data-state="complete"],
.snatch-app.intent-fetch-page[data-state="empty"],
.snatch-app.intent-fetch-page[data-state="error"] {
  background:
    radial-gradient(ellipse 90% 28% at 50% 0%, rgba(124, 92, 255, 0.07), transparent 58%),
    radial-gradient(circle at 50% 0%, rgba(120, 150, 255, 0.05), transparent 32%),
    linear-gradient(180deg, #eef1f8 0%, #f5f7fb 120px);
}

body.candidate-detail-page.app-shell {
  background-image: none;
}

body.candidate-detail-page.snatch-app,
body.candidate-detail-page {
  background:
    radial-gradient(ellipse 85% 42% at 50% -8%, rgba(80, 110, 220, 0.14), transparent 52%),
    radial-gradient(ellipse 55% 30% at 18% 4%, rgba(124, 92, 255, 0.09), transparent 48%),
    radial-gradient(circle at 82% 6%, rgba(142, 167, 255, 0.06), transparent 38%),
    linear-gradient(180deg, #e9edf6 0%, #f3f6fb 180px, #f5f7fb 100%);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell:not(.snatch-app) {
  min-height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
}

.snatch-app .container,
.domainPageMain {
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

.container {
  max-width: var(--snatch-rail);
  margin: 0 auto;
  padding: 0 0 80px;
}

/* removed: duplicate top-nav block — see snatchHeader above */

.menu-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.hero {
  padding-top: 22px;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}

.headline {
  margin: 8px 0 0;
  font-size: clamp(30px, 8vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.supporting {
  margin: 10px 0 0;
  max-width: 700px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.5;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 6px 26px rgba(17, 24, 39, 0.05);
}

.command-wrap {
  margin-top: 18px;
  padding: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.command-card {
  border-radius: 14px;
}

.command-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.command-card__hint {
  margin: 4px 0 0;
  font-size: 13px;
  color: #64748b;
}

.source-pill {
  min-height: 26px;
  border-radius: 999px;
  border: 1px solid #dbe2ed;
  background: #f8fbff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.command-wrap.primed {
  border-color: #bfdbfe;
  box-shadow: 0 8px 24px rgba(0, 68, 255, 0.08);
}

.command-wrap.fetching {
  border-color: #dbeafe;
  background: #fefefe;
}

.intent-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 154px;
  padding: 14px;
  font-size: 17px;
  line-height: 1.5;
  resize: none;
  max-height: 280px;
  overflow-y: auto;
  color: var(--text);
  background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
}

.intent-input:focus {
  outline: 2px solid rgba(0, 68, 255, 0.2);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 68, 255, 0.08);
}

.ghost-example {
  margin: 8px 2px 0;
  font-size: 12px;
  color: #64748b;
}

.command-helper {
  margin: 9px 2px 0;
  min-height: 18px;
  font-size: 12px;
  color: var(--muted);
  transition: color 0.16s ease, opacity 0.16s ease;
  opacity: 0;
}

.command-helper.active {
  opacity: 1;
  color: #1d4ed8;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip-row.scrollable {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.chip-row.scrollable::-webkit-scrollbar {
  display: none;
}

.chip {
  border: 1px solid var(--border);
  background: #fff;
  color: #374151;
  border-radius: 999px;
  font-size: 13px;
  min-height: 44px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.chip:focus-visible,
.starter-card:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-text:focus-visible,
.btn-full:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.chip:hover {
  border-color: #cbd5e1;
}

.chip.active {
  border-color: #b8c9ff;
  background: #eef2ff;
  color: var(--blue);
  transform: translateY(-1px);
}

.chip.pulse {
  animation: chipPulse 0.42s ease;
}

@keyframes chipPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.chip:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.cta-row {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-primary {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 0 16px;
  cursor: pointer;
  transition: transform 0.16s ease, opacity 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.btn-primary:disabled {
  opacity: 0.55;
  background: #b7c3e8;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-primary:active {
  transform: scale(0.99);
}

.btn-primary.ready {
  box-shadow: 0 7px 18px rgba(0, 68, 255, 0.28);
}

.btn-primary.pulse {
  animation: buttonPulse 0.46s ease;
}

@keyframes buttonPulse {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.02);
    filter: brightness(1.07);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

.status-rail {
  margin-top: 12px;
  padding: 12px;
  display: none;
}

.status-rail.active {
  display: block;
}

.status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.status-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
  padding: 2px 0 2px 0;
}

.status-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 2px;
  height: 15px;
  background: #e5e7eb;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d1d5db;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #fff;
  font-weight: 700;
}

.status-item.active {
  color: var(--blue);
  font-weight: 600;
}

.status-item.active .dot {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 68, 255, 0.15);
  animation: dotPulse 0.9s ease-in-out infinite;
}

@keyframes dotPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.status-item.complete {
  color: #0f766e;
}

.status-item.complete .dot {
  background: var(--green);
}

.status-item.complete:not(:last-child)::after {
  background: #99f6e4;
}

.results-header {
  margin-top: 14px;
  display: none;
  gap: 10px;
  flex-direction: column;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.results-header.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.results-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.results-count {
  font-weight: 600;
  font-size: 15px;
}

.sort-select {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0 10px;
  color: #374151;
}

.workspace-banner {
  display: none;
  font-size: 12px;
  color: #334155;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  padding: 7px 10px;
  border-radius: 10px;
}

.workspace-banner.active {
  display: block;
}

.skeleton-list,
.opportunity-list {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.skeleton-card {
  padding: 14px;
  overflow: hidden;
  position: relative;
}

.skeleton-card::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(250, 250, 250, 0.7), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

.sk-line {
  height: 12px;
  border-radius: 8px;
  background: #ece9e3;
  margin-bottom: 8px;
}

.opportunity-card {
  padding: 14px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.32s ease forwards;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.opportunity-card.refining {
  opacity: 0.72;
  transform: translateY(3px);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-top {
  display: grid;
  gap: 10px;
}

.domain-name {
  font-size: clamp(19px, 4.8vw, 22px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.badge {
  border-radius: 999px;
  min-height: 28px;
  border: 1px solid var(--border);
  padding: 5px 10px;
  font-size: 12px;
  color: #374151;
  display: inline-flex;
  align-items: center;
}

.badge.blue {
  border-color: #c7d2fe;
  background: #eef2ff;
  color: #1d4ed8;
}

.badge.green {
  border-color: #99f6e4;
  background: #ecfeff;
  color: #0f766e;
}

.badge.amber {
  border-color: #fde68a;
  background: #fffbeb;
  color: #a16207;
}

.label {
  margin-top: 13px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}

.value {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.5;
  color: #1f2937;
}

.buyer-chips {
  margin-top: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.buyer-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
}

.catch-panel {
  margin-top: 8px;
  border: 1px solid #f1f5f9;
  background: #fafafa;
  border-radius: 10px;
  padding: 9px 10px;
}

.meta-note {
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
}

.action-row {
  margin-top: 10px;
}

.btn-full {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.btn-full:active {
  transform: scale(0.99);
}

.btn-full:hover {
  box-shadow: 0 7px 16px rgba(17, 24, 39, 0.2);
}

.btn-inline-row {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-secondary {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  min-height: 40px;
  padding: 0 12px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
}

.btn-secondary.active {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.btn-text {
  border: 0;
  background: transparent;
  color: #374151;
  font-weight: 600;
  min-height: 40px;
  padding: 0 4px;
  cursor: pointer;
}

.btn-text.active {
  color: #1d4ed8;
}

.expand-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.expand-panel.open {
  max-height: 520px;
  margin-top: 10px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.score-item {
  margin-top: 8px;
}

.score-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #4b5563;
}

.score-bar {
  margin-top: 4px;
  height: 7px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  border-radius: 999px;
  background: #1d4ed8;
  width: 0;
  transition: width 0.5s ease;
}

.related-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.related-chip {
  font-size: 12px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1e3a8a;
  border-radius: 999px;
  padding: 5px 10px;
}

.disclaimer {
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280;
}

.disclaimer a {
  color: #1d4ed8;
  font-weight: 600;
}

.empty-state {
  margin-top: 12px;
  padding: 18px;
  display: none;
}

.empty-state.active {
  display: block;
}

.stub-main {
  max-width: 840px;
  margin: 0 auto;
  padding: 28px 14px 100px;
}

.stub-main h1 {
  font-size: clamp(28px, 7vw, 48px);
  letter-spacing: -0.03em;
  margin: 8px 0 0;
}

.stub-main p {
  color: #4b5563;
  max-width: 700px;
  font-size: 16px;
  line-height: 1.5;
}

.stub-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.stub-link {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 48px;
  padding: 13px;
  font-weight: 600;
}

.compare-tray {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  display: none;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.12);
  max-width: 640px;
  margin: 0 auto;
}

.compare-tray.active {
  display: block;
}

.compare-tray-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 13px;
}

.compare-domains {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.compare-domain {
  font-size: 12px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1e3a8a;
  border-radius: 999px;
  padding: 5px 8px;
}

.toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  background: #111827;
  color: #fff;
  border-radius: 12px;
  font-size: 13px;
  padding: 10px 14px;
  display: none;
  max-width: calc(100vw - 32px);
  text-align: center;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.25);
}

.toast.active {
  display: block;
  animation: toastIn 0.18s ease;
}

.intelligence-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}

.intelligence-modal.active {
  display: block;
}

.intelligence-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.46);
}

.intelligence-modal__panel {
  position: relative;
  max-width: 860px;
  max-height: calc(100vh - 72px);
  overflow: auto;
  margin: 36px auto;
  padding: 14px;
}

.intelligence-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.intelligence-modal__top h3 {
  margin: 0;
  font-size: 18px;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (min-width: 768px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav-links {
    display: flex;
  }

  .menu-icon {
    display: none;
  }

  .cta-row {
    justify-content: flex-end;
  }

  .btn-primary {
    min-width: 220px;
  }
}

@media (max-width: 767px) {
  .results-top {
    align-items: stretch;
    flex-direction: column;
  }

  .sort-select {
    width: 100%;
  }

  .chip-row.filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .chip-row.filters::-webkit-scrollbar {
    display: none;
  }
}

/* Intent Fetch — layout uses snatch-rail; legacy overrides removed */

.ui-nav-left {
  min-width: 0;
}

.ui-page-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.ui-nav-right {
  margin-left: auto;
}

.ui-page-switcher {
  min-height: 38px;
  min-width: 136px;
  border-radius: 10px;
  border: 1px solid #dfe2ea;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 12px 12px;
  color: #0f172a;
  padding: 0 34px 0 11px;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.ui-page-switcher:focus {
  border-color: #93b3ff;
  box-shadow: 0 0 0 3px rgba(0, 68, 255, 0.08);
}

.brand-with-dot,
.brand-dot {
  display: none !important;
}

.intent-fetch-page .container {
  max-width: var(--snatch-rail);
  padding-top: 0;
  padding-bottom: 28px;
  min-height: unset;
  display: block;
  align-items: unset;
  justify-content: unset;
}

.nav-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.btn-nav {
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid #dfe2ea;
  background: #ffffff;
  color: #0f172a;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
}

.btn-nav.subtle {
  border-color: transparent;
  background: transparent;
  color: #334155;
}

.btn-nav.primary {
  background: #1e4dff;
  border-color: #1e4dff;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(30, 77, 255, 0.28);
}

.arcade-hero {
  border-radius: 14px;
  border-color: transparent;
  padding: 14px;
  overflow: hidden;
  position: relative;
  background: #ffffff;
}

.hero-intro {
  max-width: 760px;
}

.intent-fetch-page .headline {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.04;
  color: #0f172a;
  margin-top: 2px;
}

.intent-fetch-page .supporting {
  color: #334155;
}

.intent-fetch-page .command-wrap {
  margin-top: 20px;
  background: #f9fafc;
  border-color: #e2e8f0;
  box-shadow: none;
}

.intent-fetch-page .intent-input {
  min-height: 116px;
  border-color: #dfe3eb;
  background: #ffffff;
}

.intent-fetch-page .intent-input::placeholder {
  color: #94a3b8;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
}

.intent-fetch-page .chip {
  background: #ffffff;
  border-color: #dbe0ea;
}

.intent-fetch-page .chip.active {
  border-color: #9db6ff;
  background: #ecf1ff;
  color: #1342ef;
}

.intent-fetch-page .btn-primary {
  min-width: 188px;
  background: #3f69ff;
  box-shadow: 0 6px 16px rgba(63, 105, 255, 0.35);
}

.cta-row-with-meta {
  justify-content: space-between;
}

.command-meta {
  font-size: 12px;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-dot {
  opacity: 0.55;
}

.starter-section,
.constraint-section {
  margin-top: 12px;
}

.section-label {
  margin-top: 0;
}

.starter-briefs {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.starter-card {
  text-align: left;
  border: 1px solid #dbe2ed;
  border-radius: 12px;
  background: #fff;
  min-height: 68px;
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.12s ease;
}

.starter-card:active {
  transform: scale(0.99);
}

.starter-card.active {
  border-color: #8fb0ff;
  background: #edf3ff;
}

.starter-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
}

.starter-subtitle {
  margin: 5px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.35;
}

.constraint-chips {
  margin-top: 8px;
}

.active-constraints {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.active-constraint {
  border: 1px solid #b7cdfc;
  background: #edf3ff;
  color: #1e40af;
  border-radius: 999px;
  font-size: 12px;
  padding: 5px 9px;
}

.intent-fetch-page .intent-results-shell {
  margin-top: 12px;
  padding-bottom: 24px;
}

.intent-fetch-page .results-header.active {
  position: sticky;
  top: 62px;
  z-index: 25;
  background: #fcfcfe;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid #e5e7ed;
}

.intent-fetch-page .status-rail,
.intent-fetch-page .results-header,
.intent-fetch-page .opportunity-card,
.intent-fetch-page .empty-state,
.intent-fetch-page .skeleton-card {
  border-color: #e5e7ed;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.intent-fetch-page .badge.blue {
  background: #ebf0ff;
  border-color: #cbd8ff;
}

.intent-fetch-page .btn-full {
  background: #1645f2;
}

.intent-fetch-page .btn-full:hover {
  box-shadow: 0 8px 18px rgba(22, 69, 242, 0.32);
}

.intent-fetch-page .compare-tray {
  border-color: #dbe2ed;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

.intent-fetch-page.compare-active .intent-results-shell {
  padding-bottom: 96px;
}

.intent-fetch-page.compare-active .toast {
  bottom: calc(118px + env(safe-area-inset-bottom, 0px));
}

.end-note {
  display: none;
  margin: 12px 2px 0;
  padding: 10px 12px;
  border: 1px dashed #d7dbe5;
  border-radius: 10px;
  color: #64748b;
  font-size: 12px;
  text-align: center;
  background: #fafbfe;
}

.end-note.active {
  display: block;
}

.arcade-footer {
  margin-top: 0;
  background: #1f2229;
  color: #ffffff;
  border-radius: 0;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
}

.arcade-footer-inner {
  min-height: 72px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.footer-right {
  color: #d1d5db;
  font-size: 14px;
}

.footer-right strong {
  color: #ffffff;
}

.workspace-crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 200px;
}

.crumb-sep {
  color: #94a3b8;
}

.crumb-page {
  font-size: 13px;
  color: #1f2937;
  font-weight: 600;
}

.workspace-tabs {
  display: none;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}

.workspace-tabs a {
  color: #334155;
}

.workspace-tabs .upgrade-link {
  color: #2563eb;
  font-weight: 600;
}

.arcade-workbench {
  max-width: 1400px;
  margin: 10px auto 0;
  padding: 0 10px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 10px;
}

.left-rail,
.workspace-main {
  border-radius: 10px;
  border-color: #e3e5ec;
  box-shadow: none;
  min-height: calc(100vh - 186px);
}

.left-rail {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f8f9fc;
}

.left-rail-title {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 2px;
}

.left-step {
  border: 1px solid #e3e8f3;
  border-radius: 10px;
  background: #ffffff;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
}

.left-step.active {
  border-color: #8fb0ff;
  box-shadow: inset 0 0 0 1px #8fb0ff;
}

.left-step.complete {
  border-color: #b6ead7;
  background: #f2fdf8;
}

.left-step-index {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  flex: 0 0 auto;
}

.left-step.active .left-step-index {
  background: #1d4ed8;
  color: #fff;
}

.left-step.complete .left-step-index {
  background: #00c48c;
  color: #fff;
}

.left-step-name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.left-step-meta {
  margin: 2px 0 0;
  font-size: 11px;
  color: #64748b;
}

.left-rail-cta {
  margin-top: auto;
  min-height: 36px;
  border: 1px solid #1d4ed8;
  border-radius: 8px;
  background: #1d4ed8;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.workspace-main {
  background: #fcfcfe;
  padding: 10px;
}

.workspace-main-top {
  min-height: 38px;
  border: 1px solid #e5e7ed;
  border-radius: 8px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}

.workspace-main-icons {
  color: #64748b;
  display: inline-flex;
  gap: 10px;
  font-size: 13px;
  align-items: center;
}

.workspace-state-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid #dbe2ed;
  background: #fff;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  padding: 0 8px;
}

.workspace-state-pill.fetching {
  border-color: #c7d2fe;
  background: #eef2ff;
  color: #1d4ed8;
}

.workspace-state-pill.surfaced {
  border-color: #b6ead7;
  background: #f2fdf8;
  color: #0f766e;
}

@media (min-width: 980px) {
  .workspace-tabs {
    display: inline-flex;
  }
}

@media (max-width: 1180px) {
  .arcade-workbench {
    grid-template-columns: 1fr;
    padding: 0 12px;
  }

  .left-rail {
    display: none;
  }

  .workspace-main {
    min-height: auto;
  }

  .nav-actions {
    display: none;
  }

  .intent-fetch-page .results-header.active {
    top: 58px;
  }
}

@media (max-width: 767px) {
  .workspace-crumbs .crumb-page {
    display: none;
  }

  .workspace-crumbs .crumb-sep {
    display: none;
  }

  .arcade-hero {
    padding: 8px;
  }

  .intent-fetch-page .command-wrap {
    margin-top: 12px;
    padding: 10px;
  }

  .command-card__top {
    flex-direction: column;
    gap: 8px;
  }

  .source-pill {
    width: fit-content;
  }

  .cta-row-with-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .command-meta {
    justify-content: flex-start;
  }

  .starter-briefs {
    grid-template-columns: 1fr;
  }

  .arcade-footer-inner {
    min-height: 58px;
    padding: 0 12px;
  }

  .footer-right {
    font-size: 12px;
  }
}

@media (min-width: 1024px) {
  .opportunity-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

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

/* Command surface simplification overrides */
.command-card {
  padding: 12px;
  border-radius: 14px;
}

.intent-fetch-page .intent-input {
  min-height: 156px;
  font-size: 16px;
  line-height: 1.45;
  resize: none;
  max-height: 280px;
  overflow-y: auto;
}

.command-wrap.focused,
.command-wrap.primed {
  border-color: #93b3ff;
  box-shadow: 0 0 0 4px rgba(0, 68, 255, 0.08);
}

.command-card__meta {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.command-meta-left {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
  color: #64748b;
}

.keyboard-hint {
  opacity: 0;
  transition: opacity 0.16s ease;
}

.command-wrap.focused .keyboard-hint {
  opacity: 1;
}

.command-fetch-btn {
  min-width: 112px !important;
  min-height: 42px;
  border-radius: 11px;
  background: #0044ff !important;
}

.quick-prompts-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-prompts-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-chip {
  min-height: 34px;
  padding: 6px 11px;
  font-size: 12px;
}

.constraints-toggle {
  margin-top: 10px;
  border: 0;
  background: transparent;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}

.constraints-panel {
  display: none;
}

.constraints-panel.open {
  display: block;
}

.active-constraints {
  margin-top: 8px;
}

.left-rail-link {
  margin-top: auto;
  font-size: 12px;
  color: #64748b;
  text-decoration: underline;
  padding: 6px 4px 2px;
}

.left-rail-cta,
.left-rail-title {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DOMAIN DETAIL PAGE LOCK — DO NOT MODIFY
   Spec: centered 1120px container | detail header 96–120px | logo 200px max
         section gap 32px | evidence card grid | CTA 420px/64px | alternatives bordered card
         no snatchRail offsets on candidate detail template
   Regression: tests/detail-page-layout-lock.test.js
   Homepage hero lock lives in src/IntentFetchPage.css — do not change here
   ═══════════════════════════════════════════════════════════════════════════ */

/* Domain product page — detail/report layout only (homepage hero lock untouched) */
body.candidate-detail-page,
body.domainPage {
  --detail-content-max: 1120px;
  --detail-page-gutter: 32px;
  --detail-section-gap: 32px;
  --detail-hero-pad-y: 24px;
  --detail-header-h: clamp(96px, 10vh, 120px);
  --detail-cta-bg: #091229;
  --detail-cta-bg-hover: #101d3d;
  --detail-cta-bg-active: #070f22;
  --detail-cta-shadow: 0 1px 2px rgba(9, 18, 41, 0.1), 0 10px 24px rgba(9, 18, 41, 0.12);
  --detail-cta-shadow-hover: 0 2px 4px rgba(9, 18, 41, 0.12), 0 14px 28px rgba(9, 18, 41, 0.16);
  background: #f5f7fb;
}

body.candidate-detail-page .site-header,
body.domainPage .site-header {
  height: var(--detail-header-h);
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 12px 0;
  overflow: visible;
}

body.candidate-detail-page .site-logo,
body.domainPage .site-logo {
  display: block;
  width: 200px;
  max-width: 220px;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
}

body.candidate-detail-page .domainPageMain,
body.domainPage .domainPageMain {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--detail-page-gutter) 64px;
  box-sizing: border-box;
}

body.candidate-detail-page .domainPageMain .snatchRail,
body.domainPage .domainPageMain .snatchRail {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.domainPageMain {
  padding-bottom: 64px;
}

.productBreadcrumb {
  margin: 0 0 12px;
}

.productContext {
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #64728e;
  font-weight: 520;
}

.productContextBack {
  color: #64728e;
  text-decoration: none;
  font-weight: 650;
}

.productContextBack:hover {
  color: #315eff;
}

.productContextSep {
  margin: 0 8px;
  color: rgba(100, 114, 142, 0.45);
}

.productContextBrief {
  color: #52627f;
  font-weight: 520;
}

.productHeroStage {
  position: relative;
  padding: var(--detail-hero-pad-y) 0;
  overflow: visible;
}

body.candidate-detail-page .productHeroStage,
body.domainPage .productHeroStage {
  padding: 12px 0 28px;
}

.productHeroStage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 72% 58% at 14% 28%, rgba(124, 92, 255, 0.1), transparent 58%),
    radial-gradient(ellipse 68% 52% at 88% 18%, rgba(80, 130, 255, 0.08), transparent 54%);
  filter: blur(14px);
  pointer-events: none;
  opacity: 0.75;
}

.productEvidence {
  padding: 0;
}

body.candidate-detail-page .productEvidence > .detailContent,
body.domainPage .productEvidence > .detailContent {
  display: flex;
  flex-direction: column;
  gap: var(--detail-section-gap);
}

body.candidate-detail-page .detailContent,
body.domainPage .detailContent {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.productWhyBlock {
  padding: 0;
}

.scoreBreakdownBlock {
  width: 100%;
  padding: 0;
}

.scoreBreakdownBlock .score-bars {
  display: grid;
  gap: 10px;
  max-width: 560px;
}

.productAlternativesBlock {
  margin: 0;
  padding: var(--detail-section-gap) 0 0;
  border-top: 1px solid rgba(180, 195, 225, 0.62);
}

body.candidate-detail-page .productAlternativesBlock,
body.domainPage .productAlternativesBlock {
  margin: 0;
  padding-top: var(--detail-section-gap);
}

.productTitle {
  font-size: clamp(64px, 8vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.07em;
  font-weight: 820;
  color: #091229;
  margin: 0;
  max-width: none;
  text-wrap: balance;
}

.productTitle.is-long-domain {
  font-size: clamp(48px, 6.5vw, 84px);
  letter-spacing: -0.06em;
}

.productSubtitle {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
  color: #64728e;
}

.productSummaryStrip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  max-width: 720px;
}

.productSummaryItem {
  display: grid;
  gap: 2px;
  min-width: 112px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(190, 205, 230, 0.68);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 8px 22px rgba(20, 35, 90, 0.04);
}

.productSummaryLabel {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a96ad;
}

.productSummaryItem strong {
  font-size: 15px;
  font-weight: 780;
  letter-spacing: -0.02em;
  color: #091229;
}

.productSummaryItem--wide {
  min-width: min(100%, 280px);
}

.productSummaryContext {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 520;
  color: #64728e;
}

.productCalibrated {
  margin: 10px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 650;
  color: #52627f;
}

.reportTradeoffBadge {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 198, 120, 0.45);
  background: linear-gradient(180deg, #fffdf8 0%, #fff6e8 100%);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  color: #6b4f1d;
}

.reportPanel {
  width: 100%;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(190, 205, 230, 0.68);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 12px 34px rgba(20, 35, 90, 0.045);
}

.reportDecisionCard {
  width: 100%;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(190, 205, 230, 0.68);
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  box-shadow: 0 12px 34px rgba(20, 35, 90, 0.045);
}

.reportDecisionTitle {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d7890;
}

.reportDecisionBody {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 620;
  color: #17213a;
}

.reportDecisionCatch {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(215, 224, 240, 0.74);
  font-size: 14px;
  line-height: 1.45;
  color: #52627f;
}

.reportDecisionCatchLabel {
  font-weight: 780;
  color: #17213a;
}

.reportConsiderationsList {
  margin: 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 6px;
  font-size: 14px;
  line-height: 1.45;
  color: #64728e;
}

.reportAcquisitionGrid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
}

.reportAcquisitionGrid div {
  display: grid;
  gap: 4px;
}

.reportAcquisitionGrid dt {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a96ad;
}

.reportAcquisitionGrid dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 720;
  color: #17213a;
}

.productAcquireDisclaimers {
  display: grid;
  gap: 4px;
  max-width: 420px;
}

.productAcquireDisclaimers p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 520;
  color: #8a96ad;
}

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

.alternativesCompare {
  display: grid;
  gap: 0;
  border: 1px solid rgba(190, 205, 230, 0.68);
  border-radius: 20px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(20, 35, 90, 0.055);
}

.alternativesCompareHead,
.alternativesCompareRow {
  display: grid;
  grid-template-columns: minmax(140px, 1.1fr) minmax(0, 1.2fr) minmax(0, 1fr) 88px 88px;
  gap: 12px 16px;
  align-items: center;
  padding: 14px 20px;
}

.alternativesCompareHead {
  border-bottom: 1px solid rgba(215, 224, 240, 0.74);
  background: #f8faff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a96ad;
}

.alternativesCompareRow {
  border-bottom: 1px solid rgba(215, 224, 240, 0.74);
}

.alternativesCompareRow:last-child {
  border-bottom: 0;
}

.alternativesCompareDomain {
  display: grid;
  gap: 4px;
}

.alternativesCompareDomain .alternativeRank {
  font-size: 11px;
  font-weight: 780;
  color: #8a96ad;
}

.alternativesCompareFit,
.alternativesCompareTradeoff {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #64728e;
}

.alternativesCompareTradeoff {
  color: #8a96ad;
}

.alternativesComparePrice {
  font-size: 14px;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
  color: #52627f;
}

.alternativesCompareRow .alternativeReview {
  font-size: 13px;
  font-weight: 750;
  color: #315eff;
  text-decoration: none;
}

.alternativesCompareRow .alternativeReview:hover {
  text-decoration: underline;
}

.scoreBreakdownBlock.reportPanel {
  padding: 18px 20px 16px;
}

.scoreBreakdownBlock.reportPanel .productSectionTitle {
  margin-bottom: 12px;
}

.reportBestFitBlock.reportPanel .productSectionTitle {
  margin-bottom: 12px;
}

.reportAcquisitionCard.reportPanel .productSectionTitle {
  margin-bottom: 14px;
}

.productActionBlock {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
  border-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.productPrimaryCta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  height: 64px;
  padding: 0 28px;
  border: 1px solid rgba(9, 18, 41, 0.06);
  border-radius: 18px;
  background: var(--detail-cta-bg);
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--detail-cta-shadow);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.productPrimaryCta:hover {
  transform: translateY(-1px);
  border-color: rgba(9, 18, 41, 0.1);
  background: var(--detail-cta-bg-hover);
  box-shadow: var(--detail-cta-shadow-hover);
}

.productPrimaryCta:active {
  transform: translateY(0);
  background: var(--detail-cta-bg-active);
  box-shadow: 0 1px 2px rgba(9, 18, 41, 0.1), 0 6px 14px rgba(9, 18, 41, 0.1);
}

.productPrimaryCta:focus-visible {
  outline: 2px solid rgba(9, 18, 41, 0.35);
  outline-offset: 3px;
}

.productPrimaryCta--refresh {
  margin-top: 0;
}

.productTrustRow + .productPrimaryCta,
.productTrustRow + .productPrimaryCta--refresh {
  margin-top: 0;
}

.productPrimaryCta[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  transform: none;
  filter: none;
  box-shadow: none;
}

.productTrustRow {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  color: #64728e;
  max-width: 420px;
}

.productTrustSep {
  color: rgba(100, 114, 142, 0.45);
  font-weight: 500;
}

.productAcquireNote {
  margin: -4px 0 0;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 520;
  color: #8a96ad;
}

.productRefreshLink {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  color: #64728e;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.productRefreshLink:hover {
  color: #315eff;
}

.detailContent {
  max-width: var(--detail-content-max);
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.productSectionTitle {
  margin: 0 0 14px;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d7890;
}

.evidenceSection {
  padding: 0 0 8px;
  border-top: 0;
}

.evidenceList {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.evidenceItem {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(190, 205, 230, 0.68);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 12px 34px rgba(20, 35, 90, 0.045);
}

.evidenceMark {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #315eff, #7c5cff);
  box-shadow: 0 0 0 4px rgba(49, 94, 255, 0.12);
}

.evidenceTitle {
  display: block;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 780;
  color: #17213a;
}

.evidenceDetail {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 520;
  color: #64728e;
}

.alternativesSection {
  padding: 36px 0 0;
  border-top: 1px solid rgba(180, 195, 225, 0.62);
}

.alternativesList {
  display: grid;
  gap: 0;
  border: 1px solid rgba(190, 205, 230, 0.68);
  border-radius: 20px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(20, 35, 90, 0.055);
}

.domainPage .alternativeRow {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 16px 28px;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(215, 224, 240, 0.74);
}

.domainPage .alternativeRow:last-child {
  border-bottom: 0;
}

.domainPage .alternativeRankCol {
  display: grid;
  gap: 2px;
  padding-top: 2px;
}

.domainPage .alternativeRank {
  font-size: 13px;
  font-weight: 780;
  letter-spacing: -0.02em;
  color: #8a96ad;
}

.domainPage .alternativeRankKind {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(138, 150, 173, 0.72);
}

.domainPage .alternativeDomain {
  display: block;
  font-size: 18px;
  font-weight: 820;
  letter-spacing: -0.03em;
  color: #091229;
  text-decoration: none;
  line-height: 1.15;
}

.domainPage .alternativeDomain:hover {
  color: #315eff;
}

.domainPage .alternativeNote {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #8a96ad;
  font-weight: 520;
}

.domainPage .alternativeRight {
  display: grid;
  gap: 5px;
  justify-items: end;
  text-align: right;
  padding-top: 2px;
  min-width: 88px;
}

.domainPage .alternativePrice {
  font-size: 14px;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
  color: #52627f;
}

.domainPage .alternativeReview {
  font-size: 13px;
  font-weight: 750;
  color: #526cff;
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.15s ease;
}

.domainPage .alternativeRow:hover .alternativeReview {
  opacity: 1;
}

.candidate-empty {
  margin: 0;
  font-size: 14px;
  color: #8a96ad;
}

.intent-session-banner {
  margin-bottom: 10px;
  border-radius: 18px;
  border: 1px solid rgba(142, 167, 255, 0.45);
  background: linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
  box-shadow: 0 12px 36px rgba(20, 35, 90, 0.06);
}

.intent-session-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
}

.intent-session-kicker,
.decision-match-kicker {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #667795;
  font-weight: 800;
}

.intent-session-label {
  margin: 4px 0 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #17213a;
}

.intent-session-meta {
  margin: 4px 0 0;
  font-size: 13px;
  color: #667795;
}

.intent-session-stats {
  margin: 0;
  display: flex;
  gap: 18px;
}

.intent-session-stats dt {
  margin: 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #667795;
  font-weight: 700;
}

.intent-session-stats dd {
  margin: 3px 0 0;
  font-size: 16px;
  font-weight: 800;
  color: #17213a;
}

.decision-match-card {
  margin-top: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.decision-match-title {
  margin: 6px 0 0;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #17213a;
}

.decision-match-stats {
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.decision-match-stats dt {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #667795;
  font-weight: 700;
}

.decision-match-stats dd {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 800;
  color: #17213a;
}

.candidate-hero-match {
  font-size: 18px;
  font-weight: 600;
  color: #3f69ff;
}

.intent-why-copy {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #17213a;
}

.detected-signals {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.detected-signals li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #17213a;
}

.detected-signal-check {
  color: #3f69ff;
  font-weight: 700;
}

.alternative-options-list {
  display: grid;
  gap: 10px;
}

.alternative-option {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(190, 205, 230, 0.55);
  background: #f8faff;
}

.alternative-option-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.alternative-domain {
  font-size: 15px;
  font-weight: 800;
  color: #17213a;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.alternative-domain:hover {
  color: #3f69ff;
}

.alternative-fit {
  font-size: 13px;
  font-weight: 800;
  color: #3f69ff;
}

.alternative-note,
.alternative-meta {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #667795;
}

.alternative-review {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #3f69ff;
  text-decoration: none;
}

.alternative-review:hover {
  text-decoration: underline;
}

.candidate-card {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.candidate-hero-card {
  position: relative;
  padding: 28px 28px 24px;
  border-radius: 28px;
  border: 1px solid rgba(190, 205, 230, 0.7);
  background:
    radial-gradient(circle at 85% 15%, rgba(142, 167, 255, 0.18), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  box-shadow: 0 24px 70px rgba(20, 35, 90, 0.1);
}

.candidate-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #667795;
  font-weight: 700;
}

.candidate-title {
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  color: #0c152d;
  font-weight: 850;
  word-break: break-word;
}

.candidate-subtitle {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.45;
  color: #667795;
  font-weight: 500;
}

.candidate-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.candidate-hero-badges .pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(190, 205, 230, 0.75);
  background: rgba(255, 255, 255, 0.82);
  color: #17213a;
}

.candidate-hero-badges .pill-price {
  color: #1e4dff;
  border-color: rgba(142, 167, 255, 0.55);
  background: rgba(236, 241, 255, 0.95);
}

.candidate-hero-badges .pill-score {
  border-color: rgba(142, 167, 255, 0.55);
  background: linear-gradient(135deg, rgba(236, 241, 255, 0.95), rgba(255, 255, 255, 0.95));
  color: #2f63ff;
}

.candidate-hero-badges .pill-rank {
  border-color: rgba(142, 167, 255, 0.45);
  background: rgba(248, 250, 255, 0.95);
  color: #526587;
}

.candidate-hero-badges .pill-muted {
  color: #667795;
  background: rgba(248, 250, 255, 0.9);
}

.candidate-hero-badges .pill-status .badge {
  all: unset;
  font: inherit;
  color: inherit;
}

.decision-summary-strip {
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(190, 205, 230, 0.7);
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(20, 35, 90, 0.05);
}

.decision-cockpit {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 12px;
  align-items: start;
}

.cockpit-card {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(190, 205, 230, 0.7);
  background: #ffffff;
  box-shadow: 0 16px 50px rgba(20, 35, 90, 0.06);
}

.cockpit-card h2 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7488;
  font-weight: 800;
}

.cockpit-intent {
  background:
    radial-gradient(circle at 92% 8%, rgba(142, 167, 255, 0.12), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
  border-color: rgba(142, 167, 255, 0.45);
}

.cockpit-acquisition {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.cockpit-buyer-fit {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(190, 205, 230, 0.45);
}

.acquisition-panel-facts {
  margin: 0;
  display: grid;
  gap: 10px;
}

.acquisition-panel-facts dt {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #667795;
  font-weight: 700;
}

.acquisition-panel-facts dd {
  margin: 3px 0 0;
  font-size: 16px;
  line-height: 1.35;
  color: #17213a;
  font-weight: 700;
}

.acquisition-catch {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #667795;
}

.cockpit-actions {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.cockpit-actions-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
}

.candidate-link-btn {
  border: none;
  background: transparent;
  color: #3f69ff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.candidate-link-btn:hover {
  text-decoration: underline;
}

.candidate-btn-block {
  width: 100%;
}

.score-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.score-group {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(190, 205, 230, 0.45);
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.score-group-title {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #667795;
  font-weight: 800;
}

.score-group-bars {
  display: grid;
  gap: 10px;
}

.related-candidate-row {
  grid-template-columns: minmax(110px, 1fr) 1.4fr minmax(72px, 0.7fr) minmax(56px, 0.45fr);
}

.related-candidate-row--head {
  padding: 0 14px 6px;
  border: none;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  transform: none;
}

.related-candidate-row--head .related-domain,
.related-candidate-row--head .related-reason,
.related-candidate-row--head .related-price,
.related-candidate-row--head .related-score {
  font-size: 10px;
  color: #667795;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.related-price {
  font-size: 13px;
  font-weight: 700;
  color: #17213a;
}

.candidate-mobile-bar {
  display: none;
}

@media (max-width: 720px) {
  body.candidate-detail-page .candidate-mobile-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(190, 205, 230, 0.75);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 -10px 30px rgba(20, 35, 90, 0.08);
  }

  body.candidate-detail-page .domainPageMain {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }
}

.decision-summary-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #17213a;
  font-weight: 500;
}

.decision-summary-metrics {
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.decision-summary-metrics dt {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #667795;
  font-weight: 700;
}

.decision-summary-metrics dd {
  margin: 4px 0 0;
  font-size: 22px;
  line-height: 1.1;
  color: #17213a;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.candidate-section-card {
  margin-top: 14px;
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid rgba(190, 205, 230, 0.7);
  background: #ffffff;
  box-shadow: 0 16px 50px rgba(20, 35, 90, 0.06);
}

.candidate-section-card h2 {
  margin: 0 0 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7488;
  font-weight: 800;
}

.candidate-section-card p,
.candidate-section-card li {
  font-size: 15px;
  line-height: 1.55;
  color: #17213a;
}

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

.decision-overview-item {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(190, 205, 230, 0.45);
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.decision-overview-item h3 {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #667795;
  font-weight: 700;
}

.decision-overview-item p {
  margin: 0;
}

.decision-overview-item--caution {
  background: linear-gradient(180deg, #fffdf8 0%, #fff8ef 100%);
  border-color: rgba(245, 198, 120, 0.35);
}

.candidate-details,
.acquisition-details {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px 16px;
}

.candidate-details dt,
.acquisition-details dt {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #667795;
  font-weight: 700;
}

.candidate-details dd,
.acquisition-details dd {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: #17213a;
  font-weight: 600;
}

.score-bars {
  display: grid;
  gap: 12px;
}

.score-bar-row {
  display: grid;
  gap: 6px;
}

.score-bar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  color: #17213a;
}

.score-bar-head strong {
  font-size: 15px;
  font-weight: 800;
  color: #1e4dff;
  letter-spacing: -0.02em;
}

.score-bar-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(190, 205, 230, 0.35);
  overflow: hidden;
}

.score-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8ea7ff 0%, #3f69ff 100%);
  box-shadow: 0 0 12px rgba(63, 105, 255, 0.25);
}

.methodology-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #667795;
}

.methodology-note a {
  color: #3f69ff;
  font-weight: 600;
  text-decoration: none;
}

.methodology-note a:hover {
  text-decoration: underline;
}

.buyer-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.buyer-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(190, 205, 230, 0.65);
  background: linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
  font-size: 13px;
  font-weight: 600;
  color: #17213a;
}

.buyer-chip--empty {
  color: #667795;
  font-weight: 500;
}

.candidate-callout {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(245, 198, 120, 0.45);
  background: linear-gradient(180deg, #fffdf8 0%, #fff6e8 100%);
}

.candidate-callout-lead {
  margin: 0;
  font-weight: 700;
  color: #17213a;
}

.candidate-callout-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.candidate-callout-list li {
  margin-top: 4px;
  color: #17213a;
}

.related-candidate-list {
  display: grid;
  gap: 8px;
}

.related-candidate-row {
  display: grid;
  grid-template-columns: minmax(120px, 1.1fr) 1.6fr minmax(90px, 0.8fr) minmax(70px, 0.5fr);
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(190, 205, 230, 0.55);
  background: #f8faff;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.related-candidate-row:hover {
  border-color: rgba(142, 167, 255, 0.65);
  background: #ffffff;
  transform: translateY(-1px);
}

.related-domain {
  font-size: 14px;
  font-weight: 700;
  color: #17213a;
  letter-spacing: -0.01em;
}

.related-reason {
  font-size: 13px;
  color: #667795;
  line-height: 1.4;
}

.related-status,
.related-score {
  font-size: 12px;
  font-weight: 700;
  color: #6b7488;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.related-score {
  color: #3f69ff;
  text-align: right;
}

.candidate-empty {
  margin: 0;
  font-size: 14px;
  color: #667795;
}

.intent-match-module {
  background:
    radial-gradient(circle at 92% 8%, rgba(142, 167, 255, 0.14), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
  border-color: rgba(142, 167, 255, 0.45);
}

.intent-match-label {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #17213a;
}

.intent-match-subhead {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #667795;
  font-weight: 700;
}

.intent-match-reasons {
  margin: 0;
  padding-left: 18px;
}

.intent-match-reasons li {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.5;
  color: #17213a;
}

.verification-card {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(190, 205, 230, 0.55);
  background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
}

.verification-card p {
  margin: 0;
}

.verification-card p + p {
  margin-top: 6px;
  color: #667795;
  font-size: 14px;
}

.candidate-actions-sticky {
  position: sticky;
  bottom: 12px;
  z-index: 20;
  margin-top: 16px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(190, 205, 230, 0.75);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(20, 35, 90, 0.12);
  display: grid;
  gap: 10px;
}

.candidate-detail-page .candidate-action-primary {
  width: 100%;
  min-height: 52px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  border: 1px solid rgba(9, 18, 41, 0.06);
  background: var(--detail-cta-bg);
  box-shadow: var(--detail-cta-shadow);
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.candidate-detail-page .candidate-action-primary:hover {
  transform: translateY(-1px);
  background: var(--detail-cta-bg-hover);
  box-shadow: var(--detail-cta-shadow-hover);
}

.candidate-detail-page .candidate-action-primary[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.candidate-actions-secondary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.candidate-detail-page .candidate-btn {
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(190, 205, 230, 0.75);
  background: #ffffff;
  color: #17213a;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.candidate-detail-page .candidate-btn:hover {
  border-color: rgba(142, 167, 255, 0.65);
  background: #f4f7ff;
}

@media (max-width: 900px) {
  body.candidate-detail-page,
  body.domainPage {
    --detail-page-gutter: 24px;
  }

  body.candidate-detail-page .site-header,
  body.domainPage .site-header {
    height: clamp(88px, 12vh, 112px);
    min-height: 88px;
  }

  body.candidate-detail-page .site-logo,
  body.domainPage .site-logo {
    width: 180px;
    max-width: 200px;
  }

  body.candidate-detail-page .domainPageMain,
  body.domainPage .domainPageMain {
    padding: 0 var(--detail-page-gutter) 56px;
  }

  .snatchRail {
    width: 100%;
  }

  .productHeroStage {
    padding: 8px 0 24px;
  }

  body.candidate-detail-page .productHeroStage,
  body.domainPage .productHeroStage {
    padding: 8px 0 24px;
  }

  .productTitle {
    font-size: clamp(44px, 10vw, 72px);
  }

  .productTitle.is-long-domain {
    font-size: clamp(38px, 8.5vw, 58px);
  }

  .evidenceList {
    grid-template-columns: 1fr;
  }

  .evidenceList--report {
    grid-template-columns: 1fr;
  }

  .reportAcquisitionGrid {
    grid-template-columns: 1fr 1fr;
  }

  .alternativesCompareHead {
    display: none;
  }

  .alternativesCompareRow {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 16px;
  }

  .alternativesCompareRow .alternativeReview {
    justify-self: start;
  }

  .productSummaryStrip {
    max-width: none;
  }

  .productSummaryItem {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  .productPrimaryCta {
    max-width: none;
  }

  .productTrustRow {
    max-width: none;
  }

  .detailContent {
    padding-left: 0;
  }

  .domainPage .alternativeRow {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px 16px;
    padding: 18px 16px;
  }

  .domainPage .alternativeRight {
    grid-column: 2;
    justify-items: start;
    text-align: left;
    grid-template-columns: auto auto;
    grid-auto-flow: column;
    gap: 12px;
    align-items: center;
  }

  .intent-session-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .decision-cockpit,
  .score-groups {
    grid-template-columns: 1fr;
  }

  .decision-overview-grid,
  .decision-summary-metrics {
    grid-template-columns: 1fr;
  }

  .related-candidate-row,
  .related-candidate-row--head {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .related-candidate-row--head {
    display: none;
  }

  .related-score {
    text-align: left;
  }

  .candidate-detail-page .candidate-page {
    padding-bottom: 88px;
  }

  .candidate-mobile-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(190, 205, 230, 0.75);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 -10px 30px rgba(20, 35, 90, 0.08);
  }

  .candidate-mobile-bar.is-visible {
    display: block;
  }

  .candidate-mobile-bar-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    border: 1px solid rgba(9, 18, 41, 0.06);
    background: var(--detail-cta-bg);
    box-shadow: var(--detail-cta-shadow);
  }

  .candidate-mobile-bar-cta[aria-disabled="true"] {
    opacity: 0.55;
    pointer-events: none;
  }
}

@media (max-width: 767px) {
  .candidate-hero-card {
    padding: 20px 18px 18px;
    border-radius: 22px;
  }

  .candidate-section-card {
    padding: 16px;
    border-radius: 18px;
  }
}

@media (max-width: 767px) {
  .command-card__meta {
    flex-direction: column;
    align-items: stretch;
  }

  .keyboard-hint {
    opacity: 1;
  }

  .command-fetch-btn {
    width: 100%;
  }
}
