/* FlipScout programmatic SEO pages */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600;700&family=Syne:wght@600;700;800&display=swap");

.seo-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

.seo-deal-row {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.seo-deal-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(34, 197, 94, 0.25);
}

.seo-deal-row h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0 0 0.25rem;
}

.seo-deal-row h3 a {
  color: inherit;
  text-decoration: none;
}

.seo-deal-row h3 a:hover {
  text-decoration: underline;
}

.seo-glossary-link {
  color: #6ee7b7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-glossary-link:hover {
  color: #a7f3d0;
}

.seo-neighbor-link {
  color: #6ee7b7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-neighbor-link:hover {
  color: #a7f3d0;
}

.seo-delta-up { color: #34d399; }
.seo-delta-down { color: #f87171; }
.seo-delta-flat { color: #94a3b8; }

.seo-delta-scorecard {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
}

.seo-apex-pill {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.2);
}

.seo-traj-pill {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
}

.seo-traj-pill.traj-improving { background: rgba(34, 197, 94, 0.12); color: #86efac; }
.seo-traj-pill.traj-stable { background: rgba(148, 163, 184, 0.12); color: #cbd5e1; }
.seo-traj-pill.traj-declining { background: rgba(251, 191, 36, 0.12); color: #fcd34d; }

.seo-cta-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  background: #22c55e;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.875rem;
  transition: background 0.2s;
}

.seo-cta-primary:hover { background: #4ade80; }

.seo-cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.875rem;
}

.seo-cta-secondary:hover { background: rgba(255, 255, 255, 0.05); }

.seo-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}

.seo-live-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.seo-drop-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  background: rgba(251, 191, 36, 0.15);
  color: #fcd34d;
}

.seo-report-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #f8fafc;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.seo-report-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.seo-report-body p,
.seo-report-body li {
  color: #94a3b8;
  line-height: 1.7;
}

.seo-report-body ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

/* ZIP underwriting tape — retired compact grid kept as aliases */
.seo-quant-terminal { margin: 0 0 2rem; }

/* —— Fintech bento terminal —— */

.seo-market-shell {
  max-width: 96rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3.5rem;
}

.seo-bento {
  padding: 1.25rem 1.35rem 1.4rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    radial-gradient(ellipse 55% 40% at 12% -10%, rgba(79, 159, 132, 0.07), transparent 55%),
    linear-gradient(165deg, #0c121c 0%, #070b12 55%, #05080e 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.seo-bento-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.seo-bento-kicker {
  margin: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6ee7b7;
}

.seo-bento-head h2 {
  margin: 0.2rem 0 0;
  font-family: Syne, system-ui, sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.seo-bento-asof {
  margin: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  color: #64748b;
  text-align: right;
}

.seo-bento-macro,
.seo-bento-micro,
.seo-bento-aux {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.seo-bento-macro {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seo-bento-micro {
  grid-template-columns: 1.35fr 1fr 1.15fr;
}

.seo-bento-aux {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .seo-bento-macro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-bento-micro { grid-template-columns: 1fr; }
  .seo-bento-aux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .seo-bento-macro,
  .seo-bento-aux { grid-template-columns: 1fr; }
  .seo-market-shell { padding: 1rem 1rem 2.5rem; }
}

.seo-bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 7.5rem;
  padding: 0.95rem 1.05rem 0.85rem;
  border-radius: 0.9rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.seo-bento-card--macro {
  min-height: 8.5rem;
  background: linear-gradient(160deg, rgba(255,255,255,0.035), rgba(0,0,0,0.22));
}

.seo-bento-card--muted {
  min-height: 6.5rem;
  opacity: 0.92;
  background: rgba(0, 0, 0, 0.18);
}

.seo-bento-card--reject {
  border-color: rgba(248, 113, 113, 0.22);
  background: linear-gradient(165deg, rgba(127, 29, 29, 0.18), rgba(0, 0, 0, 0.3));
}

.seo-bento-regime--tight { border-color: rgba(52, 211, 153, 0.28); }
.seo-bento-regime--balanced { border-color: rgba(148, 163, 184, 0.18); }
.seo-bento-regime--loose,
.seo-bento-regime--frozen { border-color: rgba(251, 191, 36, 0.28); }
.seo-bento-regime--slate { border-color: rgba(100, 116, 139, 0.25); }

.seo-bento-card h3 {
  margin: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.seo-bento-hero {
  margin: 0.55rem 0 0.35rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #f1f5f9;
  font-variant-numeric: tabular-nums;
}

.seo-bento-hero--sm {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.seo-bento-hero--text {
  font-family: Syne, system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 700;
}

.seo-bento-hero--danger { color: #f87171; }
.seo-bento-hero--warn { color: #fbbf24; }
.seo-bento-hero--ok { color: #34d399; }

/* Hard Reject at 100% gets an extra-loud treatment — real risk deserves size. */
.seo-bento-card--reject .seo-bento-hero.seo-bento-hero--danger {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  text-shadow: 0 0 26px rgba(248, 113, 113, 0.35);
}

.seo-bento-hero span {
  font-size: 0.55em;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-left: 0.25rem;
}

.seo-bento-metric {
  margin: 0.15rem 0 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  color: #94a3b8;
}

.seo-bento-metric strong {
  color: #e2e8f0;
  font-weight: 600;
}

.seo-bento-foot,
.seo-bento-muted {
  margin-top: auto;
  padding-top: 0.55rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  line-height: 1.4;
  color: #4b5563;
}

.seo-bento-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.seo-bento-chip {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 4.5rem;
  padding: 0.4rem 0.55rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.1);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  color: #64748b;
}

.seo-bento-chip strong {
  font-size: 0.9rem;
  color: #e2e8f0;
  font-variant-numeric: tabular-nums;
}

.seo-bento-footnotes {
  margin: 0.35rem 0 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  color: #4b5563;
  line-height: 1.45;
}

/* Frosted glass "Pro" badge — marks gated science inline without a hard paywall block. */
.seo-bento-pro {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.05rem 0.4rem 0.08rem;
  border-radius: 999px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.seo-bento-pro::before {
  content: "\1F512";
  font-size: 0.72em;
  line-height: 1;
}

/* —— Deal blotter —— */
.seo-blotter {
  margin-top: 0.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.seo-blotter-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.15rem 0.7rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.seo-blotter-head h2 {
  margin: 0;
  font-family: Syne, system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
}

.seo-blotter-head p {
  margin: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  color: #64748b;
}

.seo-blotter-cols {
  display: grid;
  grid-template-columns: 2.2rem 7.5rem 6.5rem 5rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.45rem 1.15rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4b5563;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.seo-blotter-row {
  display: grid;
  grid-template-columns: 2.2rem 7.5rem 6.5rem 5rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 1.15rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.seo-blotter-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.seo-blotter-row:last-child { border-bottom: 0; }

.seo-blotter-lock {
  width: 1.55rem;
  height: 1.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.4rem;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #7dd3fc;
  font-size: 0.75rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.seo-blotter-lock--open {
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.25);
  color: #6ee7b7;
}

.seo-blotter-price,
.seo-blotter-margin,
.seo-blotter-apex {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.seo-blotter-margin--pos { color: #34d399; }
.seo-blotter-margin--neg { color: #f87171; }

.seo-blotter-addr {
  margin: 0;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seo-blotter-addr a {
  color: inherit;
  text-decoration: none;
}

.seo-blotter-addr a:hover {
  color: #94a3b8;
  text-decoration: underline;
}

.seo-blotter-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(14, 165, 233, 0.12);
  color: #7dd3fc;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.seo-blotter-cta:hover {
  background: rgba(14, 165, 233, 0.22);
  color: #e0f2fe;
}

.seo-blotter-empty {
  padding: 1.75rem 1.25rem;
  text-align: center;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.55;
}

.seo-blotter-empty strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
  color: #f8fafc;
}

@media (max-width: 800px) {
  .seo-blotter-cols { display: none; }
  .seo-blotter-row {
    grid-template-columns: 2rem 1fr auto;
    grid-template-areas:
      "lock price cta"
      "lock margin cta"
      "lock apex cta";
  }
  .seo-blotter-lock { grid-area: lock; }
  .seo-blotter-price { grid-area: price; }
  .seo-blotter-margin { grid-area: margin; font-size: 0.8rem; }
  .seo-blotter-apex { grid-area: apex; font-size: 0.75rem; color: #94a3b8; }
  .seo-blotter-addr { display: none; }
  .seo-blotter-cta { grid-area: cta; }
}

/* —— Quant Art (sold + ask-tape math) —— */

.seo-qart {
  margin: 0 0 1.75rem;
}

.seo-qart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.seo-qart-head h2 {
  margin: 0;
  font-family: Syne, system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.seo-qart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 960px) {
  .seo-qart-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.seo-qart-card {
  margin: 0;
  padding: 0.85rem 0.9rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background:
    linear-gradient(165deg, rgba(30, 41, 59, 0.55), rgba(15, 23, 42, 0.85));
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.seo-qart-card--empty {
  opacity: 0.72;
}

.seo-qart-title {
  margin: 0 0 0.35rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.seo-qart-svg {
  width: 100%;
  height: auto;
  display: block;
}

.seo-qart-num {
  fill: #f8fafc;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 18px;
  font-weight: 700;
}

.seo-qart-unit,
.seo-qart-tick-label {
  fill: #94a3b8;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 8px;
}

.seo-qart-needle { stroke: #e2e8f0; }
.seo-qart-needle--ok { stroke: #34d399; }
.seo-qart-needle--warn { stroke: #fbbf24; }
.seo-qart-needle--danger { stroke: #f87171; }

.seo-qart-tick--neg { stroke: #f87171; }
.seo-qart-tick--pos { stroke: #34d399; }

.seo-qart-dot { fill: #38bdf8; }

.seo-qart-ring--ok { stroke: #34d399; }
.seo-qart-ring--warn { stroke: #fbbf24; }
.seo-qart-ring--danger { stroke: #f87171; }

.seo-qart-bar--sold { fill: rgba(52, 211, 153, 0.75); }
.seo-qart-bar--active { fill: rgba(56, 189, 248, 0.55); }

.seo-qart-eq {
  margin: 0.45rem 0 0.2rem;
  font-size: 0.62rem;
  line-height: 1.4;
  color: #64748b;
}

.seo-qart-eq code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: inherit;
  color: #94a3b8;
  word-break: break-word;
}

.seo-qart-foot {
  margin: 0;
  margin-top: auto;
  padding-top: 0.35rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  line-height: 1.4;
  color: #64748b;
}

.seo-qart-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 6.5rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px dashed rgba(148, 163, 184, 0.28);
  text-align: center;
}

.seo-qart-empty span {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
}

.seo-qart-empty p {
  margin: 0.35rem 0 0;
  font-size: 0.65rem;
  color: #64748b;
  line-height: 1.4;
}

/* —— Goldmine Atlas / SSR directory —— */

.seo-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin: 0 0 1rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  color: #64748b;
}

.seo-crumbs a {
  color: #6ee7b7;
  text-decoration: none;
}

.seo-crumbs a:hover {
  color: #a7f3d0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-crumbs span[aria-current="page"] {
  color: #94a3b8;
}

.seo-atlas-body {
  margin: 0;
  background: #020617;
  color: #e2e8f0;
}

.seo-atlas-shell {
  max-width: 96rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

.seo-atlas-h1 {
  margin: 0 0 0.5rem;
  font-family: Syne, system-ui, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.seo-atlas-lede {
  max-width: 48rem;
  margin: 0 0 1.5rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #94a3b8;
}

.seo-atlas-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.seo-atlas-stats > div {
  min-width: 8rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.7);
}

.seo-atlas-stats b {
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 1.35rem;
  color: #f8fafc;
}

.seo-atlas-stats span {
  font-size: 0.7rem;
  color: #64748b;
}

.seo-atlas-state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.seo-atlas-state-chip {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.65);
  text-decoration: none;
  color: #e2e8f0;
}

.seo-atlas-state-chip strong {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: #6ee7b7;
  font-size: 0.95rem;
}

.seo-atlas-state-chip span {
  font-size: 0.72rem;
  color: #94a3b8;
}

.seo-atlas-state-chip em {
  font-style: normal;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  color: #64748b;
}

.seo-atlas-state-chip.is-empty {
  opacity: 0.45;
}

.seo-atlas-state-chip:hover {
  border-color: rgba(110, 231, 183, 0.45);
}

.seo-atlas-zip-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  columns: 1;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .seo-atlas-zip-list { columns: 2; }
}

@media (min-width: 1100px) {
  .seo-atlas-zip-list { columns: 3; }
}

.seo-atlas-zip-list li {
  break-inside: avoid;
  margin: 0 0 0.45rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  color: #94a3b8;
}

.seo-atlas-zip-list a {
  color: #6ee7b7;
  text-decoration: none;
  margin-right: 0.35rem;
}

.seo-atlas-zip-list a:hover {
  color: #a7f3d0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-atlas-zip-list span {
  margin-right: 0.45rem;
  color: #64748b;
  font-size: 0.7rem;
}

.seo-atlas-zip-list--lg li {
  margin-bottom: 0.65rem;
  font-size: 0.85rem;
}

.seo-atlas-state-block h3 {
  margin: 1.25rem 0 0.5rem;
  font-family: Syne, system-ui, sans-serif;
  font-size: 1.05rem;
  color: #f8fafc;
}

.seo-atlas-ol {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.55;
}

.seo-atlas-note {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0 0 0.85rem;
}

.seo-atlas-context {
  margin: 1.75rem 0 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.55);
}

.seo-atlas-context h2 {
  margin: 0 0 0.4rem;
  font-family: Syne, system-ui, sans-serif;
  font-size: 1.05rem;
  color: #f8fafc;
}

.seo-atlas-context > p {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.5;
}

.seo-atlas-peer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
}

.seo-atlas-peer-list a {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  color: #6ee7b7;
  text-decoration: none;
}

.seo-atlas-peer-list a:hover {
  color: #a7f3d0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-regime-chip--tight { border-color: rgba(52, 211, 153, 0.35); }
.seo-regime-chip--balanced { border-color: rgba(148, 163, 184, 0.28); }
.seo-regime-chip--loose { border-color: rgba(251, 191, 36, 0.35); }
.seo-regime-chip--frozen { border-color: rgba(96, 165, 250, 0.35); }
.seo-regime-chip--danger { border-color: rgba(248, 113, 113, 0.4); }
.seo-regime-chip--ok { border-color: rgba(52, 211, 153, 0.4); }

/* —— Goldmine active inventory (ZIP → /property) —— */

.seo-inventory {
  margin: 0 0 1.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.55);
  overflow: hidden;
}

.seo-inventory-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.1rem 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.seo-inventory-head h2 {
  margin: 0;
  font-family: Syne, system-ui, sans-serif;
  font-size: 1.1rem;
  color: #f8fafc;
}

.seo-inventory-head p {
  margin: 0.25rem 0 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  color: #64748b;
}

.seo-inventory-browse {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  color: #6ee7b7;
  text-decoration: none;
}

.seo-inventory-browse:hover {
  color: #a7f3d0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-inventory-cols {
  display: grid;
  grid-template-columns: 1.5rem 2.5rem 5.5rem 4.5rem 3.5rem 5.5rem 1fr auto;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #475569;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.seo-inventory-row {
  display: grid;
  grid-template-columns: 1.5rem 2.5rem 5.5rem 4.5rem 3.5rem 5.5rem 1fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.65rem 1.1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
  text-decoration: none;
  color: inherit;
}

.seo-inventory-row:hover {
  background: rgba(110, 231, 183, 0.04);
}

.seo-inv-lock {
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
}

.seo-inv-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 0.35rem;
  background: #0f172a;
}

.seo-inv-thumb--empty {
  display: inline-block;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.seo-inv-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.seo-inv-badge {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  padding: 0.12rem 0.3rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #94a3b8;
  white-space: nowrap;
}

.seo-inv-badge--verified {
  color: #6ee7b7;
  border-color: rgba(110, 231, 183, 0.35);
}

.seo-inv-badge--modeled {
  color: #94a3b8;
}

.seo-inv-badge--hot {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.35);
}

.seo-inv-badge--neg-margin {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.35);
}

.seo-inv-badge--high-margin {
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.35);
}

@media (max-width: 900px) {
  .seo-inventory-cols { display: none; }
  .seo-inventory-row {
    grid-template-columns: 1.5rem 2.5rem 1fr auto;
    grid-template-areas:
      "lock thumb price cta"
      "lock thumb margin cta"
      "lock thumb badges cta"
      "lock thumb addr cta";
  }
  .seo-inv-lock { grid-area: lock; }
  .seo-inv-thumb { grid-area: thumb; }
  .seo-blotter-price { grid-area: price; }
  .seo-blotter-margin { grid-area: margin; font-size: 0.8rem; }
  .seo-blotter-apex { display: none; }
  .seo-inv-badges { grid-area: badges; }
  .seo-blotter-addr { grid-area: addr; }
  .seo-blotter-cta { grid-area: cta; }
}


/* -- Commercial SEO (calculator / pillar / product) -- */
.seo-commercial .seo-calc-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}
@media (max-width: 860px) {
  .seo-commercial .seo-calc-layout { grid-template-columns: 1fr; }
}
.seo-calc-form,
.seo-calc-results {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.98));
  border-radius: 0.75rem;
  padding: 1.15rem 1.25rem 1.35rem;
}
.seo-calc-form h2,
.seo-calc-results h2,
.seo-commercial-section h2 {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 650;
  color: #e2e8f0;
  margin: 0 0 0.85rem;
}
.seo-calc-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}
.seo-calc-form input {
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #f8fafc;
  border-radius: 0.4rem;
  padding: 0.55rem 0.65rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.9rem;
}
.seo-calc-form input:focus {
  outline: 1px solid rgba(52, 211, 153, 0.55);
  border-color: rgba(52, 211, 153, 0.45);
}
.seo-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.85rem;
  margin-bottom: 0.85rem;
}
.seo-calc-muted { color: #64748b; font-weight: 500; }
.seo-calc-waterfall {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  color: #94a3b8;
}
.seo-calc-waterfall li {
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}
.seo-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}
.seo-commercial-section { margin: 2rem 0 1.25rem; }
.seo-howto-list {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
  color: #cbd5e1;
  line-height: 1.55;
}
.seo-howto-list li { margin-bottom: 0.45rem; }
.seo-tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}
@media (max-width: 700px) {
  .seo-tier-grid { grid-template-columns: 1fr; }
}
.seo-tier-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.65rem;
  padding: 1rem 1.1rem;
  background: rgba(15, 23, 42, 0.7);
}
.seo-tier-card--pro { border-color: rgba(52, 211, 153, 0.35); }
.seo-tier-card h3 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: #f8fafc;
}
.seo-tier-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.5;
}
.seo-zip-blotter {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}
.seo-zip-blotter li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.88rem;
  color: #94a3b8;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

.seo-live-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1rem;
  font-size: 0.82rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.seo-live-table th,
.seo-live-table td {
  text-align: left;
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  color: #94a3b8;
}
.seo-live-table th {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.seo-live-table tbody tr:hover {
  background: rgba(15, 23, 42, 0.45);
}
.seo-freemium-honesty {
  margin: 0.75rem 0 1.1rem;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid rgba(52, 211, 153, 0.55);
  background: rgba(15, 23, 42, 0.55);
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1.5;
}
.seo-freemium-honesty strong {
  color: #e2e8f0;
}
.seo-commercial-section h3 {
  margin: 1.25rem 0 0.35rem;
  font-size: 1rem;
  color: #e2e8f0;
}

/* Signal narrative + ask-tape status on ZIP terminals */
.seo-signal-narrative {
  margin: 0 0 1.35rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.65rem;
  background: rgba(15, 23, 42, 0.72);
}
.seo-signal-narrative h2 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  color: #e2e8f0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}
.seo-signal-narrative p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.55;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.seo-qart-card--status .seo-qart-status {
  padding: 0.75rem 0.85rem 1rem;
  color: #cbd5e1;
  font-size: 0.78rem;
  line-height: 1.5;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}
.seo-qart-card--status .seo-qart-status p { margin: 0 0 0.55rem; }
.seo-qart-cta { margin-top: 0.75rem !important; }
