:root {
  --blue: #1325c3;
  --blue-2: #3155d8;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e8edf3;
  --soft: #f8fbff;
  --panel: #ffffff;
  --green: #10b981;
  --red: #ef4444;
  --orange: #f59e0b;
  --purple: #8b5cf6;
}

/* Generative AI fidelity sizing */
.feature-page.gsc-page {
  gap: 14px !important;
  padding: 0 !important;
  background: #f5f7fb;
}
.feature-page.gsc-page .gsc-kpi-grid {
  gap: 12px;
}
.feature-page.gsc-page .gsc-kpi-card,
.feature-page.gsc-page .gsc-dashboard-card {
  border-radius: 10px;
  border-color: #e0e5ec;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.045);
}
.feature-page.gsc-page .gsc-kpi-card {
  min-height: 108px !important;
  padding: 17px 18px !important;
}
.feature-page.gsc-page .gsc-kpi-card span {
  font-size: 11px;
  letter-spacing: 0;
}
.feature-page.gsc-page .gsc-kpi-card > .lucide {
  right: 16px;
  top: 16px;
  width: 17px;
  height: 17px;
}
.feature-page.gsc-page .gsc-kpi-card strong {
  margin-top: 18px;
  font-size: 26px !important;
  color: #0f172a;
}
.feature-page.gsc-page .gsc-kpi-card small {
  margin-top: 9px;
  font-size: 10px;
}
.feature-page.gsc-page .gen-main-grid {
  grid-template-columns: 2.05fr 1fr;
  gap: 16px;
}
.feature-page.gsc-page .gen-main-grid .gsc-trend-card {
  padding: 22px;
}
.feature-page.gsc-page .gen-main-grid .gsc-card-head h2 {
  font-size: 18px;
}
.feature-page.gsc-page .gsc-trend-chart {
  height: 292px !important;
  border: 0;
}
.feature-page.gsc-page .gen-device {
  padding: 18px 16px;
}
.feature-page.gsc-page .gen-donut {
  width: 140px;
  height: 140px;
  margin: 26px auto;
  border-width: 14px;
}
.feature-page.gsc-page .gen-donut strong {
  font-size: 22px;
}
.feature-page.gsc-page .gen-device-stats {
  gap: 10px;
  padding: 0;
}
.feature-page.gsc-page .gen-device-stats div {
  padding: 14px;
  border-radius: 10px;
  font-size: 10px;
}
.feature-page.gsc-page .gen-device-stats b {
  font-size: 14px;
}
.feature-page.gsc-page .gen-device-bar {
  height: 7px;
  margin: 22px 0 0;
}
.feature-page.gsc-page .gen-device > p {
  margin: 22px 0 0;
  padding: 9px;
}
.feature-page.gsc-page .gsc-table-card {
  padding: 20px;
}
.feature-page.gsc-page .gsc-pages-row {
  min-height: 45px;
}
@media (max-width: 900px) {
  .feature-page.gsc-page .gen-main-grid {
    grid-template-columns: 1fr;
  }
}
.gen-range {
  display: inline-flex !important;
  padding: 3px;
  border: 1px solid #e2e6ec;
  border-radius: 7px;
  background: #f5f6f8;
}
.gen-range button {
  height: 25px;
  border: 0;
  background: transparent;
  color: #596a7f;
  font-size: 9px;
}
.gen-range button.active {
  border-radius: 5px;
  background: #fff;
  color: #6c5af0;
  box-shadow: 0 1px 3px #0001;
}
.gen-numbers i {
  width: 28px;
  height: 16px;
  border-radius: 10px;
  background: #6459ec;
  position: relative;
}
.gen-numbers i:after {
  content: "";
  position: absolute;
  right: 2px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}

.feature-page.gsc-page .gen-main-grid .gsc-card-head {
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
}
.feature-page.gsc-page .gen-main-grid .gsc-card-head h2 {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 15px;
}
.feature-page.gsc-page .gen-main-grid .gsc-legend {
  flex: 1 1 auto;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
  font-size: 9px;
}
.feature-page.gsc-page .gen-main-grid .gsc-legend > span {
  flex: 0 0 auto;
  white-space: nowrap;
}
.feature-page.gsc-page .gen-main-grid .gen-range {
  gap: 0;
}

* {
  box-sizing: border-box;
}

/*body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(49, 85, 216, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f3f7ff 58%, #eef3fb 100%);
}*/

button {
  font: inherit;
}

.showcase {
  min-height: 100vh;
  padding: clamp(18px, 3vw, 36px);
}

.stage {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
}

.stage-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 18px;
}

.brand {
  display: grid;
  place-items: center;
  min-width: 170px;
  height: 54px;
  border: 1px solid rgba(199, 216, 239, 0.9);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.brand img {
  max-width: 138px;
  max-height: 36px;
  object-fit: contain;
}

.stage-copy {
  min-width: 0;
}

.eyebrow,
.screen-label,
.panel-heading span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  color: var(--blue);
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.08;
  font-weight: 700;
}

.stage-copy p {
  max-width: 790px;
  margin-top: 8px;
  color: #070054;
  font-size: 15px;
  line-height: 1.7;
}

.stage-actions,
.topbar-actions,
.panel-heading,
.card-title,
.mini-metrics,
.legend,
.model-row,
.sentiment-head,
.caption-controls {
  display: flex;
  align-items: center;
}

.stage-actions {
  gap: 10px;
}

.primary-button,
.ghost-button,
.topbar-actions button,
.tiny-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #dbe5f4;
  background: #fff;
  color: #334155;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.primary-button,
.ghost-button {
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.primary-button {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(19, 37, 195, 0.2);
}

.primary-button:hover,
.ghost-button:hover,
.topbar-actions button:hover,
.tiny-button:hover {
  transform: translateY(-1px);
  border-color: #b9c9ee;
}

i,
.lucide {
  width: 17px;
  height: 17px;
}

.timeline {
  position: relative;
  height: 36px;
  margin-bottom: 16px;
  border-bottom: 1px solid #c7d8ef;
}

.timeline-bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), #6b96f7);
  transition: width 0.12s linear;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  height: 100%;
}

.timeline-step {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
}

.timeline-step::after {
  content: "";
  position: absolute;
  bottom: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #c7d8ef;
  background: #fff;
}

.timeline-step.active {
  color: var(--blue);
}

.timeline-step.active::after {
  border-color: var(--blue);
  background: var(--blue);
}

.platform-shell {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 760px;
  overflow: hidden;
  border: 1px solid #dce6f4;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
}

.sidebar {
  padding: 20px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.project-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e6edf7;
  background: #fff;
}

.project-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  background: var(--blue);
}

.project-badge strong,
.project-badge small {
  display: block;
}

.project-badge strong {
  font-size: 13px;
}

.project-badge small {
  color: var(--muted);
  font-size: 11px;
}

.side-nav {
  display: grid;
  gap: 8px;
  margin: 22px 0;
}

.side-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  border: 0;
  padding: 0 12px;
  color: #475569;
  background: transparent;
  text-align: left;
}

.side-nav button.active,
.side-nav button:hover {
  color: var(--blue);
  background: #eef3ff;
}

.side-card {
  margin-top: auto;
  padding: 14px;
  border: 1px solid #e6edf7;
  background: #fff;
}

.side-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.model-row {
  gap: 8px;
  margin-top: 12px;
}

.model-row img,
.llm-icon,
.sentiment-head img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  border: 1px solid #eef3fb;
}

.workspace {
  padding: 22px;
  background: linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
}

.workspace-topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: #fff;
}

.workspace-topbar h2 {
  margin-top: 4px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.16;
  font-weight: 700;
}

.topbar-actions {
  gap: 8px;
  flex-shrink: 0;
}

.topbar-actions button,
.tiny-button {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
}

.hero-strip {
  display: grid;
  grid-template-columns: 1.02fr 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.score-card,
.panel {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

.score-card {
  min-height: 184px;
  padding: 18px;
}

.card-title {
  justify-content: space-between;
  gap: 12px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.gauge-wrap {
  position: relative;
  display: grid;
  place-items: center;
  height: 112px;
}

.echart-gauge {
  width: 170px;
  height: 150px;
}

.gauge-value {
  position: absolute;
  bottom: 6px;
  text-align: center;
}

.gauge-value strong {
  display: block;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
}

.gauge-value span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.mini-metrics {
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
}

.mini-metrics strong {
  color: var(--ink);
}

.stacked-bars,
.llm-bars {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.llm-chart {
  width: 100%;
  height: 230px;
  margin-top: 14px;
}

.metric-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 10px;
  align-items: center;
  font-size: 12px;
  color: #475569;
}

.metric-row .metric-value {
  justify-self: end;
  color: #0b36c7;
  font-weight: 800;
}

.bar-track {
  grid-column: 1 / -1;
  width: 100%;
  height: 14px;
  overflow: hidden;
  background: #edf2f7;
  border-radius: 5px;
}

.bar-fill {
  display: block;
  width: 0;
  height: 100%;
  background: #2458d8;
  border-radius: inherit;
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.llm-row {
  display: grid;
  grid-template-columns: 32px 92px 1fr 34px;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #475569;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 16px;
  margin-top: 16px;
}

.panel {
  min-height: 260px;
  padding: 18px;
}

.panel.large {
  min-height: 310px;
}

.chart-box {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.trend-chart-box {
  height: 220px;
}

.doughnut-chart-box {
  max-width: 240px;
  height: 190px;
  margin: 0 auto;
}

.chart-box canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.panel-heading {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.panel-heading.compact {
  align-items: flex-start;
}

.panel-heading h3 {
  margin-top: 3px;
  font-size: 17px;
  font-weight: 800;
}

.legend {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.competitor-list,
.citation-table,
.sentiment-list {
  display: grid;
  gap: 10px;
}

.competitor-row,
.citation-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid #eef3fb;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.competitor-row strong,
.citation-row strong {
  color: var(--ink);
}

.sentiment-item {
  padding: 12px;
  border: 1px solid #eef3fb;
  background: #fbfdff;
}

.sentiment-head {
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
}

.sentiment-name {
  display: flex;
  align-items: center;
  gap: 9px;
}

.sentiment-stack {
  display: flex;
  height: 10px;
  overflow: hidden;
  background: #edf2f7;
}

.sentiment-stack span {
  display: block;
  width: 0;
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.citations-card {
  min-height: 220px;
}

.scene-caption {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  margin-top: 16px;
  padding: 15px 18px;
  border: 1px solid #dce6f4;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.scene-caption span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.scene-caption p {
  color: #334155;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
}

.focus-mode .focus-card {
  opacity: 0.42;
  transform: scale(0.985);
}

.focus-mode .focus-card.is-focused {
  opacity: 1;
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(49, 85, 216, 0.5);
  box-shadow: 0 28px 70px rgba(49, 85, 216, 0.18);
  z-index: 2;
}

.focus-mode .focus-card.is-focused::after {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  border: 2px solid rgba(107, 150, 247, 0.55);
  box-shadow: 0 0 0 9999px rgba(10, 16, 40, 0.12);
}

.scene-flash {
  animation: sceneFlash 0.55s ease;
}

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

@media (max-width: 1100px) {
  .stage-header {
    grid-template-columns: 1fr;
  }

  .stage-actions {
    justify-content: flex-start;
  }

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

  .sidebar {
    display: none;
  }

  .hero-strip,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .showcase {
    padding: 12px;
  }

  .workspace {
    padding: 12px;
  }

  .workspace-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .timeline-steps {
    display: none;
  }

  .panel,
  .score-card {
    padding: 14px;
  }

  .metric-row,
  .llm-row {
    grid-template-columns: 1fr;
  }

  .topbar-actions {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dashboard-page match overrides */
body {
  background: #f3f4f6;
}

.showcase {
  min-height: 100vh;
  padding: 0;
}

.stage {
  max-width: none;
  min-height: 100vh;
}

.platform-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
  border: 0;
  background: #f3f4f6;
  box-shadow: none;
  overflow: visible;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 18px 8px 10px;
  border-right: 1px solid #e5e7eb;
  background: #ffffff;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin-bottom: 10px;
}

.sidebar-logo img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.side-nav {
  display: grid;
  gap: 8px;
  margin: 0;
}

.side-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 45px;
  padding: 0 14px;
  border: 0;
  border-radius: 5px;
  color: #050018;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
}

.side-nav button.active {
  color: #061343;
  background: linear-gradient(90deg, #91ece8 0%, #f0f0f1 100%);
}

.side-nav i,
.side-nav .lucide,
.side-nav img {
  width: 20px;
  height: 20px;
  color: #2563eb;
  stroke-width: 2;
  object-fit: contain;
}

.cl-mark {
  color: #ef6c00;
  font-size: 13px;
  font-weight: 800;
}

.sidebar-bottom {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.plan-pill,
.project-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 45px;
  padding: 0 14px;
  border: 0;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.plan-pill {
  color: #e98a20;
  background: #fdebd0;
}

.project-pill {
  color: #07172f;
  background: linear-gradient(90deg, #91ece8 0%, #f0f0f1 100%);
}

.workspace {
  min-width: 0;
  padding: 24px;
  background: #f3f4f6;
}

.workspace-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  padding: 24px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.brand-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: #ffffff;
  background: #070054;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.brand-icon .lucide {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.brand-heading h2 {
  margin: 0;
  color: #30343b;
  font-size: 31px;
  line-height: 1.05;
  font-weight: 700;
}

.brand-heading p {
  margin-top: 7px;
  color: #111827;
  font-size: 14px;
  font-weight: 500;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}

.project-meta a {
  color: #2563eb;
}

.project-meta button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #64748b;
}

.user-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  background: #000000;
  border: 3px solid #f1f5f9;
  font-weight: 800;
}

.dashboard-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 14px 0 12px;
}

.dashboard-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 5px;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: #ffffff;
}

.dashboard-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 142px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #334155;
  background: transparent;
  font-weight: 700;
}

.dashboard-tabs button.active {
  color: #0b2c7d;
  border-color: #99e1df;
  background: #d9f8f7;
}

.dashboard-controls select {
  min-width: 190px;
  height: 45px;
  padding: 0 16px;
  border: 1px solid #e0e6ef;
  border-radius: 6px;
  background: #ffffff;
  color: #111827;
  font-weight: 600;
}

.hero-strip {
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 1fr) minmax(
      410px,
      1.35fr
    );
  gap: 15px;
  margin-top: 0;
}

.score-card,
.panel {
  border: 1px solid #dde5ef;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.score-card {
  min-height: 314px;
  padding: 16px;
}

.card-title {
  justify-content: flex-start;
  gap: 6px;
  color: #070707;
  font-size: 18px;
  font-weight: 500;
}

.card-title .lucide {
  width: 15px;
  height: 15px;
  color: #9ca3af;
}

.gauge-wrap {
  height: 170px;
  border-bottom: 1px solid #e5e7eb;
}

.echart-gauge {
  width: 155px;
  height: 145px;
}

.gauge-value {
  bottom: 42px;
}

.gauge-value strong {
  color: #2255d8;
  font-size: 22px;
}

.mini-metrics {
  justify-content: flex-start;
  gap: 95px;
  margin-top: 12px;
  font-size: 13px;
}

.mini-metrics span {
  display: grid;
  gap: 4px;
}

.mini-metrics strong {
  color: #11bd83;
  font-size: 26px;
  line-height: 1;
}

.mini-metrics span:nth-child(2) strong {
  color: #4f7cff;
}

.stacked-bars {
  gap: 24px;
  margin-top: 24px;
}

.metric-row {
  grid-template-columns: 1fr auto;
  gap: 9px 12px;
  color: #111827;
  font-size: 16px;
}

.metric-row .bar-track {
  grid-column: 1 / -1;
}

.metric-row .metric-value {
  color: #1325c3;
  font-size: 19px;
  font-weight: 700;
}

.bar-track {
  height: 19px;
  border-radius: 5px;
  background: #e6e7e9;
}

.bar-fill {
  border-radius: 5px 0 0 5px;
  background: #2458d8 !important;
}

.llm-bars {
  gap: 12px;
  margin-top: 28px;
}

.llm-row {
  position: relative;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  color: transparent;
  font-size: 0;
}

.llm-row strong {
  display: none;
}

.llm-row > span:last-child {
  position: absolute;
  left: 58px;
  top: 4px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 3px;
  color: #2458d8;
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.llm-row .bar-track {
  height: 31px;
  border-radius: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(20% - 1px),
      rgba(148, 163, 184, 0.28) calc(20% - 1px),
      rgba(148, 163, 184, 0.28) 20%
    ),
    #e3e3e3;
}

.llm-icon {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 0;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 2.3fr) minmax(360px, 1fr);
  align-items: stretch;
  gap: 15px;
  margin-top: 16px;
}

.dashboard-grid .panel[data-focus="competitors"],
.dashboard-grid .citations-card {
  display: none;
}

.panel {
  min-height: 0;
  padding: 16px;
}

.panel.large {
  min-height: 620px;
}

.panel-heading {
  margin-bottom: 14px;
}

.panel-heading span {
  letter-spacing: 0;
  text-transform: none;
}

.panel-heading h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #111827;
  font-size: 19px;
  font-weight: 700;
}

.panel-heading h3 .lucide {
  width: 18px;
  height: 18px;
  color: #64748b;
}

.chart-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chart-tabs button {
  height: 30px;
  padding: 0 14px;
  border: 1px solid #dbe5f4;
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.chart-tabs button.active {
  color: #0b2c7d;
  border-color: #99e1df;
  background: #d9f8f7;
}

.trend-chart-box {
  height: 530px;
  padding: 10px;
  border: 1px solid #dbe5f4;
  border-radius: 6px;
  background: #fbfdff;
}

.sentiment-tags {
  display: flex;
  gap: 8px;
  margin: 4px 0 12px;
}

.sentiment-tags span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid #e0e6ef;
  border-radius: 999px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.sentiment-tags b {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
}

.sentiment-tags span:nth-child(2) b {
  background: #ef4444;
}

.sentiment-list {
  gap: 0;
  border: 1px solid #dbe5f4;
  border-radius: 6px;
  overflow: hidden;
}

.sentiment-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  align-items: center;
  min-height: 94px;
  padding: 16px;
  border: 0;
  border-bottom: 1px solid #dbe5f4;
  background: #ffffff;
}

.sentiment-item:last-child {
  border-bottom: 0;
}

.sentiment-head {
  display: block;
  margin: 0;
}

.sentiment-name {
  color: #1f2937;
  font-size: 16px;
  font-weight: 800;
}

.sentiment-name img {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 0;
}

.sentiment-head > span:last-child {
  display: block;
  margin: 5px 0 0 34px;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}

.sentiment-stack {
  position: relative;
  width: 76px;
  height: 38px;
  justify-self: end;
  overflow: hidden;
  border-radius: 76px 76px 0 0;
  background: conic-gradient(
    from 270deg at 50% 100%,
    #10b981 0deg 160deg,
    #ef4444 160deg 180deg,
    transparent 180deg 360deg
  );
}

.sentiment-stack span {
  display: none;
}

.sentiment-stack::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 0;
  height: 25px;
  border-radius: 52px 52px 0 0;
  background: #ffffff;
}

.sentiment-score {
  position: absolute;
  right: 35px;
  top: 39px;
  z-index: 1;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

.lower-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 24px;
}

.empty-panel {
  min-height: 178px;
  padding: 0;
  overflow: hidden;
}

.empty-panel h3 {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  color: #1d4ed8;
  font-size: 16px;
}

.empty-panel div {
  display: grid;
  place-items: center;
  min-height: 70px;
  margin: 12px;
  border: 1px dashed #dbe5f4;
  border-radius: 5px;
  color: #64748b;
  font-size: 15px;
  font-weight: 700;
}

.empty-panel button {
  width: calc(100% - 24px);
  height: 39px;
  margin: 0 12px 12px;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  color: #2458d8;
  background: #eff6ff;
  font-weight: 700;
}

.scene-caption {
  position: fixed;
  right: 92px;
  bottom: 22px;
  z-index: 10;
  max-width: 620px;
  min-height: 58px;
  margin: 0;
  border-color: #cbd5e1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.floating-chat {
  position: fixed;
  right: 28px;
  bottom: 23px;
  z-index: 11;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: #ffffff;
  background: #5047f4;
  box-shadow: 0 10px 28px rgba(80, 71, 244, 0.35);
}

.timeline {
  position: fixed;
  left: 236px;
  right: 0;
  bottom: 0;
  z-index: 9;
  height: 5px;
  margin: 0;
  border: 0;
  background: #dbe5f4;
}

.timeline-steps {
  display: none;
}

.timeline-bar {
  top: 0;
  bottom: auto;
  height: 5px;
}

.focus-mode .focus-card {
  opacity: 0.55;
  transform: none;
}

.focus-mode .focus-card.is-focused {
  opacity: 1;
  transform: translateY(-2px);
}

.focus-mode .focus-card.is-focused::after {
  inset: -3px;
  border-color: rgba(49, 85, 216, 0.55);
  border-radius: 9px;
  box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.06);
}

@media (max-width: 1200px) {
  .platform-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .timeline {
    left: 0;
  }

  .hero-strip,
  .dashboard-grid,
  .lower-grid {
    grid-template-columns: 1fr;
  }

  .project-meta {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .workspace-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* 1280px dashboard-fit pass: match the real dashboard cards more closely. */
.workspace {
  padding: 12px;
}

.workspace-topbar {
  min-height: 84px;
  padding: 16px 18px;
}

.brand-heading h2 {
  font-size: 26px;
}

.brand-heading p {
  margin-top: 4px;
}

.project-meta {
  gap: 10px;
  font-size: 12px;
}

.dashboard-controls {
  margin: 10px 0;
}

.dashboard-tabs button {
  min-width: 128px;
  height: 38px;
  padding: 0 14px;
}

.dashboard-controls select {
  min-width: 168px;
  height: 38px;
}

.hero-strip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 10px;
}

.score-card {
  min-height: 236px;
  padding: 12px;
}

.card-title {
  color: #000000;
  font-size: 16px;
  font-weight: 500;
}

.gauge-wrap {
  height: 136px;
}

.echart-gauge {
  width: 138px;
  height: 126px;
}

.mini-metrics {
  gap: clamp(36px, 5vw, 82px);
  margin-top: 10px;
  color: #64748b;
  font-size: 12px;
}

.mini-metrics strong {
  font-size: 23px;
}

.stacked-bars {
  gap: 17px;
  margin-top: 18px;
}

.metric-row {
  gap: 6px 10px;
  color: #000000;
  font-size: 14px;
}

.metric-row .metric-value {
  color: #1325c3;
  font-size: 17px;
}

.bar-track {
  height: 15px;
  background: #e5e7eb;
}

.bar-fill {
  background: #2458d8 !important;
}

.llm-chart {
  width: 100%;
  height: 188px;
  margin-top: 8px;
}

.dashboard-grid {
  gap: 10px;
  margin-top: 10px;
}

.panel {
  padding: 12px;
}

.panel.large {
  min-height: 420px;
}

.panel-heading {
  margin-bottom: 10px;
}

.panel-heading h3 {
  font-size: 16px;
}

.trend-chart-box {
  height: 356px;
  padding: 8px;
}

.sentiment-tags {
  margin-bottom: 8px;
}

.sentiment-item {
  min-height: 76px;
  padding: 10px 12px;
}

.sentiment-name {
  font-size: 14px;
}

.sentiment-stack {
  width: 68px;
  height: 34px;
}

.sentiment-score {
  right: 32px;
  top: 31px;
  font-size: 13px;
}

.lower-grid {
  gap: 10px;
  margin-top: 10px;
}

.empty-panel {
  min-height: 140px;
}

.empty-panel h3 {
  padding: 10px 14px;
}

.empty-panel div {
  min-height: 54px;
  margin: 10px;
}

.empty-panel button {
  width: calc(100% - 20px);
  height: 34px;
  margin: 0 10px 10px;
}

.focus-mode .focus-card,
.focus-mode .focus-card.is-focused {
  opacity: 1;
  transform: none;
}

.focus-mode .focus-card.is-focused::after {
  inset: -2px;
  border-color: rgba(49, 85, 216, 0.45);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(49, 85, 216, 0.08);
}

/* Page-by-page showcase and closer dashboard card matching */
.page-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 10px 0;
  padding: 12px 14px;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  background: #ffffff;
}

.page-summary h1 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 700;
}

.page-summary p {
  margin: 0;
  max-width: 850px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.page-summary .summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 700;
}

.page-preview[hidden],
.dashboard-page[hidden],
.dashboard-main-view[hidden],
.competitors-page[hidden] {
  display: none !important;
}

.page-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 10px;
}

.page-preview > * {
  min-width: 0;
}

.page-preview:has(.reportlift-page),
.page-preview:has(.contentlift-page),
.page-preview:has(.ai-arena-page) {
  display: block;
}

.page-hero-panel,
.page-side-panel,
.preview-card {
  border: 1px solid #dbe3f0;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.page-hero-panel {
  min-height: 458px;
  padding: 16px;
}

.page-side-panel {
  padding: 16px;
}

.page-hero-panel h2,
.page-side-panel h2 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 19px;
  font-weight: 700;
}

.page-hero-panel p,
.page-side-panel p {
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

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

.preview-card {
  min-height: 112px;
  padding: 14px;
}

.preview-card span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.preview-card strong {
  display: block;
  margin-top: 8px;
  color: #1325c3;
  font-size: 28px;
  line-height: 1;
}

.preview-card small {
  display: block;
  margin-top: 8px;
  color: #10b981;
  font-size: 12px;
  font-weight: 700;
}

.preview-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.preview-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px;
  border: 1px solid #e5ebf3;
  border-radius: 7px;
  color: #334155;
  background: #fbfdff;
  font-size: 13px;
  line-height: 1.45;
}

.preview-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: #2458d8;
  flex: 0 0 auto;
}

.preview-chart {
  height: 180px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #dbe3f0;
  border-radius: 7px;
  background:
    linear-gradient(#eef2f7 1px, transparent 1px) 0 0 / 100% 45px,
    linear-gradient(90deg, #eef2f7 1px, transparent 1px) 0 0 / 25% 100%,
    #ffffff;
}

.preview-bars {
  display: grid;
  gap: 14px;
  height: 100%;
  align-content: center;
}

.preview-bars div {
  height: 20px;
  border-radius: 5px;
  background: linear-gradient(90deg, #2458d8 var(--w), #e5e7eb 0);
}

.mock-page.full {
  grid-column: 1 / -1;
  display: block;
  min-height: 520px;
  padding: 14px;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.mock-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.mock-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(420px, 100%);
  height: 38px;
  padding: 0 12px;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  color: #64748b;
  background: #fbfdff;
  font-size: 13px;
}

.mock-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-toolbar button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 13px;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  color: #334155;
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.mock-toolbar button.primary {
  color: #ffffff;
  border-color: #2458d8;
  background: #2458d8;
  box-shadow: 0 8px 16px rgba(36, 88, 216, 0.18);
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.mock-kpi {
  min-height: 92px;
  padding: 14px;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.mock-kpi span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.mock-kpi strong {
  display: block;
  margin-top: 8px;
  color: #1325c3;
  font-size: 28px;
  line-height: 1;
}

.mock-kpi small {
  display: block;
  margin-top: 8px;
  color: #10b981;
  font-size: 12px;
  font-weight: 700;
}

.mock-two-col,
.mock-response-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 10px;
}

.mock-card,
.mock-chart-panel {
  min-height: 260px;
  padding: 14px;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  background: #ffffff;
}

.mock-card h3,
.mock-chart-panel h3 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 700;
}

.mock-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 12px;
  border: 1px solid #dbe3f0;
  border-radius: 10px;
  background: #ffffff;
}

.mock-tabs button {
  height: 32px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #334155;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.mock-tabs button.active {
  color: #0b2c7d;
  border-color: #99e1df;
  background: #d9f8f7;
}

.mock-table {
  overflow: hidden;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
}

.mock-table-head,
.mock-table-row {
  display: grid;
  align-items: center;
}

.mock-table-head {
  min-height: 38px;
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mock-table-row {
  min-height: 46px;
  border-top: 1px solid #e5ebf3;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
}

.mock-table span {
  min-width: 0;
  padding: 0 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-table-row span:nth-child(2),
.mock-table-row span:nth-child(3) {
  color: #2458d8;
}

.mock-chart-grid {
  display: grid;
  gap: 18px;
  height: 210px;
  align-content: center;
  padding: 12px;
  border: 1px solid #e5ebf3;
  border-radius: 8px;
  background:
    linear-gradient(#eef2f7 1px, transparent 1px) 0 0 / 100% 42px,
    linear-gradient(90deg, #eef2f7 1px, transparent 1px) 0 0 / 25% 100%,
    #fbfdff;
}

.mock-chart-grid span {
  display: block;
  height: 22px;
  border-radius: 5px;
  background: linear-gradient(90deg, #2458d8 var(--w), #e5e7eb 0);
}

.response-card p {
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.7;
}

.source-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.source-pills span {
  padding: 7px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 700;
}

.brand-sov-page {
  grid-column: 1 / -1;
}

.brand-sov-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.brand-sov-titlebar h1 {
  margin: 0;
  color: #1f2937;
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
}

.brand-sov-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-sov-search,
.brand-sov-controls button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  border: 1px solid #dbe3f0;
  border-radius: 7px;
  background: #ffffff;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.brand-sov-search {
  width: 220px;
  padding: 0 12px;
}

.brand-sov-controls button {
  padding: 0 13px;
  color: #334155;
}

.brand-sov-controls button.export {
  color: #111827;
  font-weight: 800;
}

.brand-sov-top {
  display: grid;
  grid-template-columns: minmax(360px, 0.66fr) minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 10px;
}

.brand-sov-left {
  display: grid;
  gap: 12px;
}

.brand-sov-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.brand-sov-stat {
  position: relative;
  min-height: 108px;
  overflow: hidden;
  padding: 28px 16px 16px;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.brand-sov-stat::after {
  content: "";
  position: absolute;
  top: -18px;
  right: -18px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #eef5ff;
}

.brand-sov-stat span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.brand-sov-stat strong {
  display: block;
  margin-top: 7px;
  color: #1325c3;
  font-size: 29px;
  line-height: 1;
}

.brand-sov-llm-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.brand-sov-llm-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 13px;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.brand-sov-llm-card img {
  width: 31px;
  height: 31px;
  padding: 6px;
  border-radius: 9px;
  background: #f1f5f9;
  object-fit: contain;
}

.brand-sov-llm-card strong,
.brand-sov-llm-card span {
  display: block;
}

.brand-sov-llm-card strong {
  color: #334155;
  font-size: 12px;
  line-height: 1.2;
}

.brand-sov-llm-card span {
  margin-top: 3px;
  color: #1325c3;
  font-size: 12px;
  font-weight: 800;
}

.brand-sov-trend {
  min-height: 242px;
  padding: 14px;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.brand-sov-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.brand-sov-chart-head h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.brand-sov-legend {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}

.brand-sov-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.brand-sov-legend b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2458d8;
}

.brand-sov-legend span:nth-child(2) b {
  background: #10b981;
}

.brand-sov-legend span:nth-child(3) b {
  background: #14b8a6;
}

.brand-sov-legend span:nth-child(4) b {
  background: #3b82f6;
}

.brand-sov-legend span:nth-child(5) b {
  background: #c59b6d;
}

.brand-sov-legend span:nth-child(6) b {
  background: #64748b;
}

.brand-sov-chart-grid {
  position: relative;
  height: 180px;
  padding: 8px 10px 4px;
  border: 1px solid #dbe5f4;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.brand-sov-chart-grid canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-sov-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  width: min(760px, 100%);
  margin: 0 0 16px auto;
  padding: 6px;
  border: 1px solid #dbe3f0;
  border-radius: 12px;
  background: #ffffff;
}

.brand-sov-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #334155;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

.brand-sov-tabs button.active {
  color: #0b2c7d;
  border-color: #99e1df;
  background: #d9f8f7;
}

.brand-sov-tabs img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.brand-sov-table {
  overflow: hidden;
  border: 1px solid #dbe3f0;
  border-radius: 12px;
  background: #ffffff;
}

.brand-sov-table-head,
.brand-sov-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) 110px minmax(300px, 1fr) 220px;
  align-items: center;
}

.brand-sov-table-head {
  min-height: 40px;
  color: #64748b;
  background: #ffffff;
  border-bottom: 1px solid #e5ebf3;
  font-size: 12px;
  font-weight: 800;
}

.brand-sov-table-head span,
.brand-sov-row > span,
.brand-sov-row > div {
  padding: 0 16px;
}

.brand-sov-row {
  min-height: 53px;
  border-bottom: 1px solid #eef2f7;
  background: #ffffff;
}

.brand-sov-row:nth-child(odd) {
  background: #fafafa;
}

.brand-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-favicon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  color: #ffffff;
  background: #070054;
  font-size: 10px;
  font-weight: 800;
  flex: 0 0 auto;
}

.brand-cell strong,
.brand-cell small {
  display: block;
}

.brand-cell strong {
  color: #1f2937;
  font-size: 12px;
  line-height: 1.2;
}

.brand-cell small {
  color: #64748b;
  font-size: 10px;
}

.rank-cell {
  color: #111827;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.sov-cell {
  display: grid;
  grid-template-columns: 60px 1fr 70px;
  align-items: center;
  gap: 8px;
}

.sov-cell strong {
  color: #1f2937;
  font-size: 12px;
}

.sov-cell div {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #f1f2f4;
}

.sov-cell b {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c5cff, #9e88ff);
}

.sov-cell small {
  color: #9ca3af;
  font-size: 10px;
  font-weight: 700;
}

.sources-cell button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 112px;
  height: 32px;
  border: 1px solid #e0e7ff;
  border-radius: 7px;
  color: #6d5dfc;
  background: #eef2ff;
  font-size: 12px;
  font-weight: 800;
}

.sources-cell strong {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 20px;
  border-radius: 999px;
  background: #e0e7ff;
}

.brand-sov-pagination {
  display: grid;
  grid-template-columns: auto auto auto 1fr auto auto auto;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px;
  color: #475569;
  font-size: 12px;
}

.brand-sov-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 56px;
  height: 32px;
  border: 1px solid #dbe3f0;
  border-radius: 6px;
  color: #334155;
  background: #ffffff;
  font-weight: 700;
}

.brand-sov-pagination button:disabled {
  color: #9ca3af;
  background: #f8fafc;
}

.prompts-page {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
}

.prompts-overview,
.prompts-trend-panel,
.prompts-table-panel {
  border: 1px solid #dbe3f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.prompts-overview {
  padding: 16px;
}

.prompts-section-head,
.prompts-trend-head,
.prompts-table-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.prompts-section-head h2,
.prompts-trend-head h2,
.prompts-table-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #0f172a;
  font-size: 17px;
  font-weight: 800;
}

.prompts-section-head p {
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
}

.prompts-section-head button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 15px;
  border: 1px solid #2563eb;
  border-radius: 10px;
  color: #2458d8;
  background: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

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

.prompt-brand-card {
  min-height: 156px;
  padding: 14px;
  border: 1px solid #dbe3f0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.prompt-brand-card-head,
.prompt-brand-name,
.prompt-brand-total,
.prompt-model-counts {
  display: flex;
  align-items: center;
}

.prompt-brand-card-head {
  justify-content: space-between;
  gap: 10px;
}

.prompt-brand-name {
  gap: 8px;
}

.prompt-brand-dot {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  color: #ffffff;
  background: #070054;
  font-size: 10px;
  font-weight: 800;
  flex: 0 0 auto;
}

.prompt-brand-name strong {
  color: #0f172a;
  font-size: 15px;
}

.prompt-brand-tag {
  padding: 5px 8px;
  border-radius: 999px;
  color: #64748b;
  background: #eef2f7;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.prompt-brand-tag.primary {
  color: #1d4ed8;
  background: #dff4ff;
}

.prompt-brand-total {
  justify-content: space-between;
  margin-top: 14px;
  color: #64748b;
  font-size: 11px;
}

.prompt-brand-total strong {
  color: #0f172a;
  font-size: 12px;
}

.prompt-brand-progress {
  height: 5px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5ebf3;
}

.prompt-brand-progress b {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #10b981;
}

.prompt-model-counts {
  justify-content: space-between;
  gap: 7px;
  margin-top: 42px;
}

.prompt-model-counts span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 48px;
  height: 29px;
  border-radius: 7px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
}

.prompt-model-counts img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.prompts-trend-panel {
  padding: 16px;
}

.prompts-trend-head h2 span,
.prompts-table-head h2 span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #dbe3f0;
  border-radius: 9px;
  color: #64748b;
  background: #ffffff;
}

.prompts-trend-controls,
.prompts-table-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.prompts-trend-controls span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  border: 1px solid #dbe3f0;
  border-radius: 999px;
  color: #334155;
  background: #f8fafc;
  font-size: 11px;
  font-weight: 800;
}

.prompts-trend-controls b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.prompts-trend-controls button,
.prompts-table-actions button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  color: #334155;
  background: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.prompts-trend-controls button.square {
  width: 34px;
  padding: 0;
  justify-content: center;
}

.prompts-trend-chart {
  height: 300px;
  margin-top: 14px;
  padding: 12px 14px 22px;
  border-top: 1px solid #eef2f7;
  position: relative;
}

.prompts-trend-chart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.prompts-trend-chart .grid line {
  stroke: #e8eef6;
  stroke-width: 1;
}

.prompts-trend-chart path[stroke] {
  fill: none;
  stroke-width: 2;
}

.prompts-axis {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  display: flex;
  justify-content: space-between;
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
}

.prompts-table-panel {
  padding-top: 0;
  overflow: hidden;
}

.prompts-table-head {
  align-items: center;
  padding: 14px 18px 10px;
}

.prompts-table-head h2 span {
  color: #10b981;
  background: #ecfdf5;
  border-color: #d1fae5;
}

.prompts-table-actions button.export {
  color: #ffffff;
  border-color: #10b981;
  background: #10b981;
}

.prompts-table-actions button.trash {
  width: 34px;
  padding: 0;
  justify-content: center;
  color: #ef4444;
}

.prompts-search {
  display: flex;
  align-items: center;
  width: 210px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  color: #94a3b8;
  background: #ffffff;
  font-size: 12px;
}

.prompt-brand-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px 14px;
  flex-wrap: wrap;
}

.prompt-brand-tabs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #dbe3f0;
  border-radius: 999px;
  color: #64748b;
  background: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.prompt-brand-tabs span.active {
  color: #1325c3;
  background: #eff6ff;
}

.prompt-brand-tabs .prompt-brand-dot,
.prompts-trend-controls .prompt-brand-dot,
.model-pill .prompt-brand-dot {
  width: 16px;
  height: 16px;
  font-size: 9px;
}

.prompts-data-table {
  overflow-x: auto;
  border-top: 1px solid #e5ebf3;
}

.prompts-data-head,
.prompts-data-row {
  display: grid;
  grid-template-columns:
    36px minmax(260px, 2fr) repeat(5, minmax(115px, 0.85fr))
    minmax(120px, 0.85fr);
  align-items: center;
  min-width: 1120px;
}

.prompts-data-head {
  min-height: 42px;
  color: #64748b;
  background: #f8fafc;
  font-size: 11px;
  font-weight: 900;
  text-transform: none;
}

.prompts-data-head span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.prompts-data-head img {
  width: 14px;
  height: 14px;
}

.prompts-data-head > span,
.prompts-data-row > span,
.prompts-data-row > strong {
  padding: 0 12px;
}

.prompts-data-row {
  min-height: 48px;
  border-top: 1px solid #e5ebf3;
  color: #334155;
  background: #ffffff;
  font-size: 12px;
}

.prompts-data-row strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #0f172a;
  font-size: 12px;
}

.model-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 24px;
  border: 1px solid #dbe3f0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #94a3b8;
  font-weight: 800;
}

.model-pill.empty {
  color: #94a3b8;
}

.prompts-pagination {
  display: grid;
  grid-template-columns: auto auto auto 1fr auto auto auto;
  align-items: center;
  gap: 8px;
  min-width: 1120px;
  min-height: 52px;
  padding: 0 18px;
  border-top: 1px solid #e5ebf3;
  color: #475569;
  font-size: 12px;
}

.prompts-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 56px;
  height: 32px;
  border: 1px solid #dbe3f0;
  border-radius: 6px;
  color: #334155;
  background: #ffffff;
  font-weight: 700;
}

.prompts-pagination button:disabled {
  color: #cbd5e1;
  background: #f8fafc;
}

.ai-citations-page {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
}

.ai-model-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px;
  border: 1px solid #dbe3f0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ai-model-tab-list,
.ai-model-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-model-tab-list button,
.ai-model-actions button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #334155;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

.ai-model-tab-list button.active {
  color: #0b2c7d;
  border-color: #9edfd9;
  background: linear-gradient(180deg, #e6fbfa 0%, #d4f5f3 100%);
  box-shadow: 0 4px 10px rgba(12, 42, 84, 0.08);
}

.ai-model-tab-list img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.ai-model-actions button {
  border-color: #dbe3f0;
  background: #ffffff;
}

.ai-model-actions .brand-select {
  min-width: 148px;
  justify-content: space-between;
}

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

.ai-citation-stat {
  position: relative;
  min-height: 112px;
  overflow: hidden;
  padding: 22px 18px;
  border: 1px solid #dbe3f0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ai-citation-stat::after {
  content: "";
  position: absolute;
  top: -24px;
  right: -24px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #eef5ff;
}

.ai-citation-stat span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.ai-citation-stat strong {
  display: inline-block;
  margin-top: 10px;
  color: #2563eb;
  font-size: 31px;
  line-height: 1;
}

.ai-citation-stat small {
  margin-left: 6px;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 700;
}

.ai-citation-table-panel {
  overflow: hidden;
  border: 1px solid #dbe3f0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ai-citation-table-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid #e5ebf3;
}

.ai-citation-table-top h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
}

.ai-citation-filters {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-citation-filters label {
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.ai-citation-filters button,
.ai-citation-filters div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  border: 1px solid #dbe3f0;
  border-radius: 9px;
  background: #ffffff;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.ai-citation-filters button {
  min-width: 112px;
  justify-content: space-between;
  padding: 0 12px;
  color: #334155;
}

.ai-citation-filters div {
  width: 300px;
  padding: 0 13px;
}

.ai-citation-table {
  overflow-x: auto;
}

.ai-citation-head,
.ai-citation-row {
  display: grid;
  grid-template-columns:
    minmax(360px, 1.8fr) minmax(150px, 0.7fr) minmax(160px, 0.7fr)
    minmax(170px, 0.8fr);
  align-items: center;
  min-width: 940px;
}

.ai-citation-head {
  min-height: 45px;
  color: #64748b;
  background: #f8fafc;
  border-bottom: 1px solid #e5ebf3;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-citation-head span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ai-citation-head > span,
.ai-citation-row > span,
.ai-citation-row > strong,
.ai-citation-row > button {
  margin: 0 14px;
}

.ai-citation-row {
  min-height: 58px;
  border-bottom: 1px solid #eef2f7;
  color: #334155;
  background: #ffffff;
}

.ai-citation-row strong {
  color: #0f172a;
  font-size: 13px;
}

.mention-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: 104px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.mention-chip.yes {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
}

.mention-chip.no {
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.sources-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 84px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid #b0aedc;
  border-radius: 8px;
  color: #334155;
  background: #d7d6fc;
  font-size: 12px;
  font-weight: 800;
}

.sources-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
}

.date-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.date-cell b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.ai-citation-pagination {
  display: grid;
  grid-template-columns: auto auto auto 1fr auto auto auto;
  align-items: center;
  gap: 8px;
  min-width: 940px;
  min-height: 54px;
  padding: 0 18px;
  color: #475569;
  font-size: 12px;
}

.ai-citation-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 56px;
  height: 32px;
  border: 1px solid #dbe3f0;
  border-radius: 6px;
  color: #334155;
  background: #ffffff;
  font-weight: 700;
}

.ai-citation-pagination button:disabled {
  color: #cbd5e1;
  background: #f8fafc;
}

.feature-page {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
}

.feature-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.feature-toolbar h1 {
  margin: 0;
  color: #1f2937;
  font-size: 26px;
  font-weight: 800;
}

.feature-toolbar > div,
.feature-panel-head,
.feature-legend {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-toolbar button,
.feature-panel-head button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 13px;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  color: #334155;
  background: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.feature-toolbar button.primary {
  color: #ffffff;
  border-color: #2458d8;
  background: #2458d8;
  box-shadow: 0 8px 16px rgba(36, 88, 216, 0.18);
}

.feature-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.feature-kpi,
.feature-panel {
  border: 1px solid #dbe3f0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.feature-kpi {
  min-height: 96px;
  padding: 15px;
}

.feature-kpi span,
.feature-kpi small {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.feature-kpi strong {
  display: block;
  margin: 8px 0;
  color: #1325c3;
  font-size: 25px;
  line-height: 1;
}

.feature-panel {
  min-height: 250px;
  padding: 14px;
  overflow: hidden;
}

.feature-panel-head {
  justify-content: space-between;
  margin-bottom: 12px;
}

.feature-panel-head h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
}

.feature-panel-head img {
  width: 20px;
  height: 20px;
}

.feature-grid.two {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.85fr);
  gap: 10px;
}

.feature-search {
  display: flex;
  align-items: center;
  min-width: 220px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  color: #94a3b8;
  background: #ffffff;
  font-size: 12px;
}

.feature-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.feature-legend span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2458d8;
}

.feature-legend span:nth-child(2)::before {
  background: #10b981;
}

.line-visual {
  height: 238px;
  border: 1px solid #e5ebf3;
  border-radius: 8px;
  background: #fbfdff;
}

.line-visual svg {
  width: 100%;
  height: 100%;
}

.line-visual line {
  stroke: #e8eef6;
}

.line-visual path {
  fill: none;
  stroke-width: 2.5;
}

.aio-lines path:nth-of-type(1),
.traffic-lines path:nth-of-type(1),
.performance-lines path:nth-of-type(1),
.gsc-lines path:nth-of-type(1) {
  stroke: #2458d8;
}

.aio-lines path:nth-of-type(2),
.traffic-lines path:nth-of-type(2),
.performance-lines path:nth-of-type(2),
.gsc-lines path:nth-of-type(2) {
  stroke: #10b981;
}

.response-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: 10px;
}

.response-list-row {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid #e5ebf3;
  border-radius: 8px;
  margin-bottom: 9px;
  background: #ffffff;
}

.response-list-row.active {
  border-color: #9edfd9;
  background: #f0fdfa;
}

.response-list-row strong {
  color: #0f172a;
  font-size: 13px;
}

.response-list-row span {
  color: #64748b;
  font-size: 12px;
}

.response-reader p {
  color: #334155;
  font-size: 14px;
  line-height: 1.75;
}

.response-source-box {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  background: #f8fafc;
}

.response-source-box h3 {
  margin: 0 0 10px;
  font-size: 13px;
}

.response-source-box span {
  display: inline-flex;
  margin: 0 8px 8px 0;
  padding: 7px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 700;
}

.content-score {
  display: grid;
  place-items: center;
  height: 160px;
  border-radius: 12px;
  background: radial-gradient(circle, #eff6ff 0 42%, #ffffff 43%);
}

.content-score strong {
  color: #1325c3;
  font-size: 54px;
  line-height: 1;
}

.content-score span {
  color: #64748b;
  font-weight: 800;
}

.content-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.content-checklist span {
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.content-checklist b {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #10b981 78%, #e5e7eb 0);
}

.score-card {
  min-height: 254px;
  padding: 14px 16px;
}

.card-title {
  min-height: 30px;
  justify-content: flex-start;
  gap: 6px;
}

.card-title span {
  font-size: 16px;
  font-weight: 500;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.card-actions button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid #dbe3f0;
  border-radius: 999px;
  color: #334155;
  background: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.card-actions button:first-child {
  color: #ffffff;
  border-color: #2f66e8;
  background: #2f66e8;
  box-shadow: 0 7px 14px rgba(47, 102, 232, 0.24);
}

.card-actions .lucide {
  width: 13px;
  height: 13px;
}

.gauge-wrap {
  height: 136px;
  border-bottom: 1px solid #e5e7eb;
}

.brand-reach {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #000000;
  font-size: 15px;
  font-weight: 700;
}

.brand-reach .lucide {
  width: 14px;
  height: 14px;
  color: #64748b;
}

.mini-metrics {
  gap: min(10vw, 112px);
  margin-top: 10px;
}

.stacked-bars {
  gap: 19px;
  margin-top: 12px;
}

.metric-row {
  font-size: 15px;
}

.metric-row strong {
  font-weight: 500;
}

.metric-row .metric-value {
  font-size: 17px;
  color: #002fc8;
}

.bar-track {
  height: 16px;
  border-radius: 5px;
}

.bar-fill {
  border-radius: 5px 0 0 5px;
}

.llm-chart {
  height: 204px;
  margin-top: 4px;
}

.scene-caption {
  display: none;
}

.ai-response-page {
  grid-column: 1 / -1;
  width: 100%;
  display: grid;
  gap: 14px;
}

.response-brand-tabs {
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  border: 1px solid #dbe6f3;
  border-radius: 10px;
  background: #ffffff;
  padding: 6px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.response-brand-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: max-content;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  padding: 0 11px;
}

.response-brand-tabs button.active {
  border-color: #9ee7e3;
  background: #d9fbf7;
  color: #163b86;
}

.response-brand-tabs img,
.response-model-chips img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  border-radius: 4px;
}

.response-mentions-panel {
  overflow: hidden;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.response-mentions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  border-bottom: 1px solid #e5edf5;
  padding: 0 12px;
}

.response-mentions-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
}

.response-mentions-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.response-mentions-head label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #42526b;
  font-size: 12px;
  font-weight: 800;
}

.response-mentions-head label .lucide {
  width: 16px;
  height: 16px;
  color: #3b82f6;
}

.response-mentions-head label span {
  position: relative;
  width: 31px;
  height: 18px;
  border-radius: 999px;
  background: #cbd5e1;
}

.response-mentions-head label span::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
}

.response-mentions-head button,
.response-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid #dbe6f3;
  border-radius: 8px;
  background: #ffffff;
  color: #1f2a44;
  font-size: 12px;
  font-weight: 800;
  padding: 0 12px;
}

.response-mentions-head button:nth-of-type(1) {
  width: 138px;
  justify-content: space-between;
}

.response-mentions-head .lucide,
.response-pagination .lucide {
  width: 14px;
  height: 14px;
}

.response-search {
  width: 160px;
  height: 34px;
  display: flex;
  align-items: center;
  border: 1px solid #dbe6f3;
  border-radius: 8px;
  color: #a0acbb;
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 0 12px;
}

.response-prompt-list {
  display: grid;
  gap: 6px;
  padding: 10px;
}

.response-prompt-card {
  min-height: 78px;
  border: 1px solid #dfe8f2;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.response-prompt-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.response-prompt-title strong {
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
  text-transform: capitalize;
}

.response-prompt-title span {
  display: inline-flex;
  align-items: center;
  height: 22px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #dcfce7;
  color: #058461;
  font-size: 11px;
  font-weight: 900;
  padding: 0 14px;
}

.response-model-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.response-model-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 27px;
  border: 1px solid #e0e8f2;
  border-radius: 999px;
  background: #f8fafc;
  color: #42526b;
  font-size: 11px;
  font-weight: 800;
  padding: 0 10px;
}

.response-model-chips span.mentioned {
  background: #ffffff;
}

.response-model-chips .lucide {
  width: 15px;
  height: 15px;
  color: #22c55e;
}

.response-model-chips b {
  color: #94a3b8;
  font-weight: 900;
}

.response-pagination {
  display: grid;
  grid-template-columns: auto 62px auto 1fr auto auto auto;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  border-top: 1px solid #e5edf5;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  padding: 0 12px;
}

.response-pagination strong {
  color: #1f2a44;
  font-size: 12px;
}

.response-pagination button:disabled {
  color: #9aa7b8;
  background: #f1f5f9;
  opacity: 0.72;
}

.aio-overview-page {
  grid-column: 1 / -1;
  width: 100%;
  display: grid;
  gap: 16px;
}

.performance-page {
  grid-column: 1 / -1;
  width: 100%;
  display: grid;
  gap: 14px;
}

.performance-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.performance-brand-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  border: 1px solid #dbe6f3;
  border-radius: 10px;
  background: #ffffff;
  padding: 6px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.performance-brand-tabs button,
.performance-filters button,
.performance-table-head button,
.performance-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  border: 1px solid #dbe6f3;
  border-radius: 8px;
  background: #ffffff;
  color: #1f2a44;
  font-size: 13px;
  font-weight: 800;
  padding: 0 14px;
}

.performance-brand-tabs button {
  min-width: 120px;
  border-color: transparent;
  background: transparent;
  justify-content: flex-start;
}

.performance-brand-tabs button.active {
  border-color: #9ee7e3;
  background: #d9fbf7;
}

.performance-brand-tabs b {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 18px;
  color: #07172f;
  font-size: 10px;
  font-weight: 900;
}

.performance-filters {
  display: flex;
  align-items: center;
  gap: 8px;
}

.performance-filters label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border-radius: 8px;
  background: #ffffff;
  color: #42526b;
  font-size: 13px;
  font-weight: 800;
  padding: 0 12px;
}

.performance-filters label .lucide {
  width: 16px;
  height: 16px;
  color: #3b82f6;
}

.performance-filters label span {
  position: relative;
  width: 32px;
  height: 19px;
  border-radius: 999px;
  background: #cbd5e1;
}

.performance-filters label span::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ffffff;
}

.performance-main-grid {
  display: grid;
  grid-template-columns: minmax(290px, 0.9fr) minmax(0, 2.7fr);
  gap: 10px;
}

.performance-card,
.performance-table-card {
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.performance-card {
  min-height: 268px;
  padding: 18px;
}

.performance-card h2,
.performance-table-head h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #111827;
  font-size: 19px;
  font-weight: 800;
}

.performance-card h2 .lucide,
.performance-table-head h2 .lucide {
  width: 14px;
  height: 14px;
  color: #64748b;
}

.annual-card {
  display: grid;
  align-content: start;
}

.annual-total {
  display: grid;
  place-items: center;
  margin: 36px 0 18px;
}

.annual-total strong {
  color: #07172f;
  font-size: 40px;
  line-height: 1;
}

.annual-total span {
  margin-top: 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.annual-divider {
  width: 178px;
  height: 1px;
  margin: 0 auto 24px;
  background: #e5ebf3;
}

.annual-model-row {
  display: grid;
  grid-template-columns: 26px minmax(120px, 1fr) 32px 52px;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.annual-model-row img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.annual-model-row div {
  height: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: #f0f2f5;
}

.annual-model-row div span {
  display: block;
  max-width: 100%;
  height: 100%;
  border-radius: inherit;
}

.annual-model-row strong {
  color: #07172f;
  font-size: 13px;
  text-align: right;
}

.annual-model-row em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.metrics-card {
  position: relative;
}

.performance-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.performance-card-head p {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.performance-bars-chart {
  position: relative;
  height: 218px;
  margin-top: 18px;
  padding-left: 42px;
  padding-bottom: 26px;
}

.performance-bars-chart svg {
  position: absolute;
  inset: 0 0 26px 42px;
  width: calc(100% - 42px);
  height: calc(100% - 26px);
}

.performance-bars-chart line {
  stroke: #dbe4ef;
  stroke-dasharray: 4 4;
}

.performance-y-axis {
  position: absolute;
  top: 0;
  bottom: 26px;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
}

.performance-x-axis {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 42px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.stacked-month-bar {
  position: absolute;
  left: calc(42px + 50%);
  bottom: 26px;
  width: 56px;
  transform: translateX(-50%);
}

.stacked-month-bar span {
  display: block;
  width: 100%;
}

.performance-table-card {
  overflow: hidden;
}

.performance-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
  padding: 14px 18px;
}

.performance-table-head p {
  margin-top: 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.performance-table-head > div:last-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.performance-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 236px;
  height: 36px;
  border: 1px solid #dbe6f3;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  padding: 0 12px;
}

.performance-search .lucide {
  width: 15px;
  height: 15px;
}

.performance-table {
  overflow-x: auto;
  border-top: 1px solid #e5edf5;
}

.performance-table-row {
  display: grid;
  grid-template-columns: 38px minmax(270px, 1.5fr) repeat(
      12,
      minmax(62px, 0.7fr)
    );
  align-items: center;
  min-width: 1180px;
  min-height: 58px;
  border-top: 1px solid #eef2f7;
  color: #42526b;
  font-size: 12px;
  font-weight: 700;
  padding: 0 18px;
}

.performance-table-row:first-child {
  border-top: 0;
}

.performance-table-header {
  min-height: 52px;
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.performance-table-header span {
  display: grid;
  justify-items: center;
}

.performance-table-header span:nth-child(2) {
  justify-items: start;
}

.performance-table-header small {
  display: block;
  margin-top: 2px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
}

.performance-table-row strong {
  color: #1f2937;
  font-size: 13px;
  font-weight: 600;
}

.performance-month-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  color: #a3afbf;
}

.performance-month-cell img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  margin: 0 -1px;
}

.performance-pagination {
  display: grid;
  grid-template-columns: auto 68px auto 1fr auto auto auto;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  border-top: 1px solid #e5edf5;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  padding: 0 18px;
}

.performance-pagination strong {
  color: #1f2a44;
}

.performance-pagination button:disabled {
  color: #9aa7b8;
  background: #f1f5f9;
  opacity: 0.75;
}

.aio-action-row {
  display: flex;
  justify-content: flex-end;
}

.aio-action-row button,
.aio-panel-head button,
.aio-mentions-row button,
.aio-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid #dbe6f3;
  border-radius: 8px;
  background: #ffffff;
  color: #15233a;
  font-size: 12px;
  font-weight: 800;
  padding: 0 12px;
}

.aio-action-row button {
  border-color: #3b82f6;
  color: #2458d8;
}

.aio-action-row .lucide,
.aio-panel-head .lucide,
.aio-card-top .lucide,
.aio-mentions-row .lucide {
  width: 14px;
  height: 14px;
}

.aio-metric-grid,
.aio-chart-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.aio-metric-card,
.aio-panel {
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.aio-metric-card {
  min-height: 224px;
  padding: 16px 18px;
}

.aio-card-top,
.aio-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.aio-card-top h2,
.aio-panel-head h2 {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: #111827;
  font-size: 15px;
  font-weight: 800;
}

.aio-card-top strong {
  display: block;
  margin-top: 10px;
  color: #2458d8;
  font-size: 26px;
  line-height: 1;
}

.aio-ring {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 57%, transparent 59%),
    conic-gradient(#2458d8 0 93%, #e8eef6 93% 100%);
  color: #64748b;
  font-size: 10px;
  font-weight: 900;
}

.aio-divider {
  height: 1px;
  background: #e6edf5;
  margin: 16px 0 12px;
}

.aio-metric-card h3 {
  margin: 0 0 10px;
  color: #9aa7b8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.aio-benchmark-list {
  display: grid;
  gap: 7px;
}

.aio-benchmark-row {
  display: grid;
  grid-template-columns: minmax(105px, 1fr) minmax(70px, 0.7fr) 40px;
  align-items: center;
  gap: 9px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.aio-benchmark-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.aio-benchmark-row span b,
.aio-panel-head button b {
  width: 15px;
  height: 15px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  background: #080b36;
  color: #fff;
  font-size: 9px;
}

.aio-benchmark-row div {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: #e9f0f6;
}

.aio-benchmark-row div i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.aio-benchmark-row strong {
  color: #1f2a44;
  font-size: 12px;
  text-align: right;
}

.aio-panel {
  min-height: 246px;
  padding: 16px;
}

.aio-panel-head {
  margin-bottom: 14px;
}

.aio-panel-head > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aio-panel-head.stacked {
  display: block;
}

.aio-panel-head p {
  margin: 4px 0 0;
  color: #738399;
  font-size: 12px;
  font-weight: 600;
}

.aio-panel-head p b {
  float: right;
  border-radius: 999px;
  background: #f1f5f9;
  color: #738399;
  font-size: 11px;
  padding: 3px 8px;
}

.aio-line-chart {
  position: relative;
  height: 192px;
  overflow: hidden;
  border: 1px solid #e4edf6;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.aio-line-chart > svg {
  width: 100%;
  height: calc(100% - 24px);
  display: block;
}

.aio-line-chart line {
  stroke: #e8eef5;
  stroke-width: 1;
}

.aio-line-chart path {
  fill: none;
  stroke-width: 2.2;
}

.aio-axis {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.aio-legend,
.aio-color-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #718198;
  font-size: 11px;
  font-weight: 700;
}

.aio-legend {
  margin-top: -8px;
  margin-bottom: 8px;
}

.aio-legend span::before,
.aio-color-legend span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #2458d8;
}

.aio-color-legend span:nth-child(2)::before {
  background: #9b7cff;
}
.aio-color-legend span:nth-child(3)::before {
  background: #f59e0b;
}
.aio-color-legend span:nth-child(4)::before {
  background: #ec4899;
}
.aio-color-legend span:nth-child(5)::before {
  background: #22c55e;
}
.aio-color-legend span:nth-child(6)::before {
  background: #ef4444;
}

.aio-bar-chart {
  position: relative;
  height: 190px;
  margin-bottom: 12px;
  border: 1px solid #e4edf6;
  border-radius: 8px;
  background:
    linear-gradient(#e8eef5 1px, transparent 1px) 0 0 / 100% 20%,
    #ffffff;
}

.aio-bar-chart span {
  position: absolute;
  bottom: 0;
  width: 54px;
  border-radius: 8px 8px 0 0;
}

.aio-donut {
  display: grid;
  place-items: center;
  height: 190px;
}

.aio-donut span {
  width: 164px;
  height: 164px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 45%, transparent 46%),
    conic-gradient(#2458d8 0 52%, #f59e0b 52% 76%, #22c55e 76% 100%);
}

.aio-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.75fr);
  gap: 16px;
}

.aio-table-panel {
  min-height: 520px;
  padding: 0;
}

.aio-table-panel .aio-panel-head {
  padding: 16px 18px 12px;
  margin: 0;
}

.aio-search {
  width: 150px;
  height: 32px;
  display: flex;
  align-items: center;
  border: 1px solid #dbe6f3;
  border-radius: 8px;
  color: #a0acbb;
  font-size: 12px;
  font-weight: 700;
  padding: 0 12px;
}

.aio-mentions-table {
  border-top: 1px solid #e6edf5;
}

.aio-mentions-head,
.aio-mentions-row {
  display: grid;
  grid-template-columns: 34px minmax(240px, 1.2fr) 100px 120px 130px 170px;
  align-items: center;
  gap: 12px;
}

.aio-mentions-head {
  min-height: 42px;
  background: #f5f9fc;
  color: #506176;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 0 16px;
}

.aio-mentions-row {
  min-height: 52px;
  border-top: 1px solid #eef2f7;
  color: #4b5b70;
  font-size: 12px;
  font-weight: 700;
  padding: 0 16px;
}

.aio-mentions-row strong {
  color: #1e293b;
  font-size: 12px;
}

.aio-mentions-row .lucide {
  color: #10b981;
  margin: auto;
}

.aio-mentions-row button {
  min-height: 27px;
  border: 0;
  border-radius: 999px;
  background: #dbeafe;
  color: #3972ff;
  font-size: 11px;
}

.aio-pagination {
  display: grid;
  grid-template-columns: auto 62px auto 1fr auto auto auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  border-top: 1px solid #e6edf5;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  padding: 0 16px;
}

.aio-pagination strong {
  color: #1f2a44;
  font-size: 12px;
}

.aio-pagination button:disabled {
  opacity: 0.5;
}

.cited-domain-panel {
  min-height: 520px;
}

.cited-domain-bars {
  display: grid;
  gap: 9px;
  max-height: 450px;
  overflow: hidden;
  padding-right: 8px;
}

.cited-domain-bars div {
  display: grid;
  grid-template-columns: 28px 1fr 24px;
  align-items: center;
  gap: 8px;
}

.cited-domain-bars span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #eef6ff;
  color: #2458d8;
  font-size: 9px;
  font-weight: 900;
}

.cited-domain-bars b {
  height: 24px;
  display: block;
  border-radius: 0 2px 2px 0;
  background: #71d4d7;
}

.cited-domain-bars strong {
  color: #1f2a44;
  font-size: 11px;
}

@media (max-width: 1280px) {
  .platform-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .side-nav button {
    min-height: 40px;
    font-size: 14px;
  }

  .timeline {
    left: 210px;
  }

  .page-preview {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-title span {
    font-size: 14px;
  }

  .card-actions {
    gap: 5px;
  }

  .card-actions button {
    height: 25px;
    padding: 0 8px;
    font-size: 10px;
  }

  .card-actions .lucide {
    width: 11px;
    height: 11px;
  }

  .mock-page.full {
    min-height: 470px;
    padding: 12px;
  }

  .mock-kpis {
    gap: 8px;
  }

  .mock-kpi {
    min-height: 82px;
    padding: 12px;
  }

  .mock-kpi strong {
    font-size: 24px;
  }

  .mock-card,
  .mock-chart-panel {
    min-height: 230px;
    padding: 12px;
  }

  .mock-chart-grid {
    height: 184px;
  }

  .mock-table-row {
    min-height: 41px;
  }

  .brand-sov-titlebar h1 {
    font-size: 23px;
  }

  .brand-sov-top {
    grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1fr);
  }

  .brand-sov-table-head,
  .brand-sov-row {
    grid-template-columns: minmax(220px, 1.2fr) 80px minmax(240px, 1fr) 170px;
  }

  .brand-sov-tabs {
    width: min(690px, 100%);
  }

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

  .prompt-brand-card {
    min-height: 142px;
    padding: 12px;
  }

  .prompt-model-counts {
    margin-top: 32px;
  }

  .prompts-trend-chart {
    height: 260px;
  }

  .ai-citation-stats {
    gap: 10px;
  }

  .ai-citation-stat {
    min-height: 94px;
    padding: 16px;
  }

  .ai-citation-stat strong {
    font-size: 26px;
  }

  .ai-model-tab-list button,
  .ai-model-actions button {
    height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .feature-toolbar h1 {
    font-size: 23px;
  }

  .feature-kpi-grid {
    gap: 8px;
  }

  .feature-kpi {
    min-height: 86px;
    padding: 12px;
  }

  .feature-kpi strong {
    font-size: 22px;
  }

  .feature-panel {
    min-height: 220px;
    padding: 12px;
  }

  .line-visual {
    height: 205px;
  }

  .ai-response-page {
    gap: 12px;
  }

  .response-brand-tabs {
    padding: 5px;
  }

  .response-brand-tabs button {
    min-height: 31px;
    font-size: 12px;
    padding: 0 9px;
  }

  .response-mentions-head {
    min-height: 52px;
    padding: 0 10px;
  }

  .response-prompt-list {
    gap: 5px;
    padding: 8px;
  }

  .response-prompt-card {
    min-height: 70px;
    padding: 10px;
  }

  .response-prompt-title {
    margin-bottom: 10px;
  }

  .response-model-chips span {
    min-height: 25px;
    font-size: 10px;
    padding: 0 8px;
  }

  .aio-overview-page,
  .aio-metric-grid,
  .aio-chart-grid,
  .aio-bottom-grid {
    gap: 12px;
  }

  .aio-metric-card,
  .aio-panel {
    padding: 13px;
  }

  .aio-metric-card {
    min-height: 214px;
  }

  .aio-card-top strong {
    font-size: 23px;
  }

  .aio-line-chart,
  .aio-bar-chart,
  .aio-donut {
    height: 172px;
  }

  .aio-donut span {
    width: 140px;
    height: 140px;
  }

  .aio-mentions-head,
  .aio-mentions-row {
    grid-template-columns: 28px minmax(190px, 1.1fr) 80px 100px 110px 135px;
    gap: 8px;
  }

  .aio-table-panel,
  .cited-domain-panel {
    min-height: 480px;
  }
}

@media (max-width: 980px) {
  .mock-kpis,
  .mock-two-col,
  .mock-response-layout {
    grid-template-columns: 1fr;
  }

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

  .mock-search {
    width: 100%;
  }

  .brand-sov-titlebar,
  .brand-sov-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .brand-sov-search {
    width: 100%;
  }

  .brand-sov-top,
  .brand-sov-stat-grid,
  .brand-sov-llm-cards {
    grid-template-columns: 1fr;
  }

  .brand-sov-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 0;
  }

  .brand-sov-table {
    overflow-x: auto;
  }

  .brand-sov-table-head,
  .brand-sov-row {
    min-width: 820px;
  }

  .prompt-brand-grid {
    grid-template-columns: 1fr;
  }

  .prompts-section-head,
  .prompts-trend-head,
  .prompts-table-head {
    align-items: stretch;
    flex-direction: column;
  }

  .prompts-table-actions {
    justify-content: flex-start;
  }

  .prompts-search {
    width: 100%;
  }

  .ai-model-tabs,
  .ai-citation-table-top,
  .ai-citation-filters {
    align-items: stretch;
    flex-direction: column;
  }

  .ai-citation-stats {
    grid-template-columns: 1fr;
  }

  .ai-citation-filters div {
    width: 100%;
  }

  .feature-toolbar,
  .feature-toolbar > div,
  .feature-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .feature-kpi-grid,
  .feature-grid.two,
  .response-layout,
  .aio-metric-grid,
  .aio-chart-grid,
  .aio-bottom-grid {
    grid-template-columns: 1fr;
  }

  .feature-search {
    width: 100%;
  }

  .response-mentions-head,
  .response-mentions-head > div {
    align-items: stretch;
    flex-direction: column;
  }

  .response-mentions-head {
    padding: 12px;
  }

  .response-search,
  .response-mentions-head button:nth-of-type(1) {
    width: 100%;
  }

  .response-pagination {
    grid-template-columns: repeat(2, auto);
    justify-content: start;
  }

  .response-pagination div {
    display: none;
  }

  .performance-top-row,
  .performance-table-head,
  .performance-table-head > div:last-child {
    align-items: stretch;
    flex-direction: column;
  }

  .performance-brand-tabs,
  .performance-filters {
    overflow-x: auto;
  }

  .performance-main-grid {
    grid-template-columns: 1fr;
  }

  .performance-search {
    width: 100%;
  }

  .performance-pagination {
    grid-template-columns: repeat(2, auto);
    justify-content: start;
  }

  .performance-pagination div {
    display: none;
  }

  .aio-mentions-table {
    overflow-x: auto;
  }

  .aio-mentions-head,
  .aio-mentions-row {
    min-width: 820px;
  }
}

@media (min-width: 981px) and (max-width: 1280px) {
  .showcase {
    padding: 0;
  }

  .stage {
    max-width: 1280px;
    margin: 0;
  }

  .stage-header,
  .timeline {
    display: none;
  }

  .platform-shell {
    grid-template-columns: 160px minmax(0, 1fr);
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .sidebar {
    padding: 12px 7px;
  }

  .sidebar-logo {
    min-height: 58px;
    margin-bottom: 8px;
  }

  .sidebar-logo img {
    width: 126px;
  }

  .side-nav {
    gap: 5px;
    margin: 12px 0;
  }

  .side-nav button {
    min-height: 34px;
    gap: 8px;
    border-radius: 6px;
    font-size: 12px;
    padding: 0 8px;
  }

  .side-nav img,
  .side-nav .lucide {
    width: 15px;
    height: 15px;
  }

  .plan-pill,
  .project-pill {
    min-height: 34px;
    padding: 0 12px;
    font-size: 11px;
  }

  .workspace {
    padding: 12px;
    gap: 12px;
  }

  .workspace-topbar {
    min-height: 74px;
    padding: 12px 16px;
    border-radius: 8px;
  }

  .brand-icon {
    width: 25px;
    height: 25px;
    font-size: 19px;
  }

  .brand-heading h2 {
    font-size: 24px;
  }

  .brand-heading p,
  .project-meta,
  .project-meta a {
    font-size: 12px;
  }

  .project-meta {
    gap: 9px;
  }

  .project-meta button {
    width: 25px;
    height: 25px;
  }

  .page-summary {
    min-height: auto;
    padding: 14px;
    border-radius: 8px;
  }

  .page-summary h1 {
    font-size: 20px;
  }

  .page-summary p {
    font-size: 13px;
    line-height: 1.45;
  }

  .page-preview,
  .dashboard-page,
  .brand-sov-page,
  .prompts-page,
  .ai-citations-page,
  .aio-overview-page,
  .ai-response-page,
  .feature-page {
    gap: 10px;
  }

  .brand-sov-titlebar {
    margin-bottom: 8px;
  }

  .brand-sov-titlebar h1 {
    font-size: 22px;
  }

  .brand-sov-search,
  .brand-sov-controls button {
    height: 30px;
    font-size: 11px;
  }

  .brand-sov-top {
    gap: 10px;
    grid-template-columns: minmax(300px, 0.65fr) minmax(0, 1fr);
  }

  .brand-sov-stat-grid,
  .brand-sov-llm-cards {
    gap: 8px;
  }

  .brand-sov-stat {
    min-height: 74px;
    padding: 12px;
  }

  .brand-sov-stat strong {
    font-size: 24px;
  }

  .brand-sov-llm-card {
    min-height: 48px;
    padding: 8px 10px;
  }

  .brand-sov-trend {
    min-height: 196px;
    padding: 12px;
  }

  .brand-sov-chart-grid {
    height: 142px;
  }

  .brand-sov-tabs {
    min-height: 42px;
    margin: 8px 0 10px auto;
    padding: 5px;
  }

  .brand-sov-tabs button {
    min-height: 31px;
    font-size: 11px;
  }

  .brand-sov-table-head,
  .brand-sov-row {
    grid-template-columns: minmax(190px, 1.1fr) 64px minmax(220px, 1fr) 142px;
    padding: 0 14px;
  }

  .brand-sov-row {
    min-height: 42px;
  }

  .brand-sov-pagination {
    min-height: 44px;
    padding: 0 14px;
  }

  .prompts-overview,
  .prompts-trend-panel,
  .prompts-table-panel,
  .ai-citation-table-panel,
  .response-mentions-panel {
    border-radius: 8px;
  }

  .prompts-overview {
    padding: 12px;
  }

  .prompts-section-head,
  .prompts-trend-head,
  .prompts-table-head {
    margin-bottom: 12px;
  }

  .prompt-brand-grid {
    gap: 10px;
  }

  .prompt-brand-card {
    min-height: 122px;
    padding: 10px;
  }

  .prompt-brand-top strong {
    font-size: 13px;
  }

  .prompt-model-counts {
    margin-top: 20px;
  }

  .prompt-model-counts span {
    min-height: 25px;
    font-size: 11px;
  }

  .prompts-trend-panel {
    padding: 12px;
  }

  .prompts-trend-chart {
    height: 220px;
  }

  .prompts-data-head,
  .prompts-data-row {
    grid-template-columns:
      28px minmax(230px, 1.5fr) repeat(5, minmax(100px, 0.8fr))
      106px;
    padding: 0 12px;
  }

  .prompts-data-row {
    min-height: 42px;
  }

  .prompts-pagination {
    min-height: 44px;
  }

  .ai-model-tabs {
    gap: 8px;
  }

  .ai-model-tab-list {
    gap: 5px;
    padding: 5px;
  }

  .ai-citation-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ai-citation-table-top {
    min-height: 52px;
    padding: 0 12px;
  }

  .ai-citation-head,
  .ai-citation-row {
    grid-template-columns: minmax(360px, 1.5fr) 150px 118px 138px;
    padding: 0 12px;
  }

  .ai-citation-row {
    min-height: 48px;
  }

  .feature-toolbar {
    margin-bottom: 0;
  }

  .feature-toolbar h1 {
    font-size: 22px;
  }

  .performance-page {
    gap: 10px;
  }

  .performance-top-row {
    gap: 10px;
  }

  .performance-brand-tabs {
    min-height: 42px;
    padding: 5px;
  }

  .performance-brand-tabs button {
    min-width: 98px;
    min-height: 31px;
    font-size: 12px;
    padding: 0 10px;
  }

  .performance-filters label,
  .performance-filters button,
  .performance-table-head button,
  .performance-pagination button {
    min-height: 31px;
    font-size: 11px;
    padding: 0 10px;
  }

  .performance-main-grid {
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 2.65fr);
  }

  .performance-card {
    min-height: 238px;
    padding: 14px;
  }

  .performance-card h2,
  .performance-table-head h2 {
    font-size: 16px;
  }

  .annual-total {
    margin: 26px 0 14px;
  }

  .annual-total strong {
    font-size: 34px;
  }

  .annual-divider {
    margin-bottom: 18px;
  }

  .annual-model-row {
    grid-template-columns: 24px minmax(104px, 1fr) 30px 48px;
    gap: 8px;
    margin-bottom: 12px;
  }

  .performance-bars-chart {
    height: 190px;
    margin-top: 12px;
  }

  .performance-table-head {
    min-height: 62px;
    padding: 11px 14px;
  }

  .performance-search {
    width: 200px;
    height: 31px;
    font-size: 11px;
  }

  .performance-table-row {
    grid-template-columns: 32px minmax(230px, 1.35fr) repeat(
        12,
        minmax(54px, 0.62fr)
      );
    min-width: 1040px;
    min-height: 48px;
    padding: 0 14px;
  }

  .performance-table-header {
    min-height: 44px;
    font-size: 10px;
  }

  .performance-table-row strong {
    font-size: 12px;
  }

  .performance-month-cell img {
    width: 18px;
    height: 18px;
  }

  .performance-pagination {
    min-height: 46px;
    padding: 0 14px;
    font-size: 12px;
  }

  .feature-toolbar button,
  .feature-panel-head button,
  .feature-search {
    min-height: 31px;
    font-size: 11px;
  }

  .feature-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-panel {
    min-height: 188px;
    border-radius: 8px;
  }

  .feature-panel-head h2 {
    font-size: 14px;
  }

  .line-visual {
    height: 180px;
  }

  .mock-table th,
  .mock-table td {
    padding: 8px 10px;
    font-size: 11px;
  }

  .response-brand-tabs {
    max-width: 100%;
  }

  .response-mentions-head h2 {
    font-size: 16px;
  }

  .response-search {
    width: 148px;
  }

  .response-prompt-card {
    min-height: 64px;
  }

  .response-prompt-title strong {
    font-size: 12px;
  }

  .response-prompt-title span {
    height: 20px;
    font-size: 10px;
    padding: 0 10px;
  }

  .aio-action-row button,
  .aio-panel-head button,
  .aio-mentions-row button,
  .aio-pagination button {
    min-height: 30px;
    font-size: 11px;
  }

  .aio-card-top h2,
  .aio-panel-head h2 {
    font-size: 14px;
  }

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

  .aio-metric-card {
    min-height: 198px;
  }

  .aio-benchmark-row {
    grid-template-columns: minmax(86px, 1fr) minmax(54px, 0.7fr) 34px;
    gap: 7px;
    font-size: 10px;
  }

  .aio-line-chart,
  .aio-bar-chart,
  .aio-donut {
    height: 158px;
  }

  .aio-mentions-head,
  .aio-mentions-row {
    grid-template-columns: 26px minmax(180px, 1.1fr) 72px 86px 96px 118px;
    padding: 0 10px;
  }

  .aio-mentions-row {
    min-height: 44px;
  }

  .cited-domain-bars {
    gap: 7px;
  }

  .cited-domain-bars b {
    height: 20px;
  }
}

@media (min-width: 981px) {
  html,
  body {
    min-width: 1280px;
  }

  .showcase {
    width: 1280px;
    min-width: 1280px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
  }

  .stage {
    width: 1280px;
    min-width: 1280px;
    max-width: 1280px;
    margin: 0;
  }

  .stage-header,
  .timeline {
    display: none;
  }

  .platform-shell {
    width: 1280px;
    grid-template-columns: 160px minmax(0, 1120px);
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .workspace {
    width: 1120px;
    min-width: 0;
    padding: 12px;
  }

  .sidebar {
    width: 160px;
    padding: 12px 7px;
  }

  .sidebar-logo {
    min-height: 58px;
    margin-bottom: 8px;
  }

  .sidebar-logo img {
    width: 126px;
  }

  .side-nav {
    gap: 5px;
    margin: 0;
  }

  .side-nav button {
    min-height: 34px;
    gap: 8px;
    border-radius: 6px;
    font-size: 12px;
    padding: 0 8px;
  }

  .side-nav img,
  .side-nav .lucide {
    width: 15px;
    height: 15px;
  }

  .plan-pill,
  .project-pill {
    min-height: 34px;
    padding: 0 12px;
    font-size: 11px;
  }

  .workspace-topbar {
    min-height: 74px;
    padding: 12px 16px;
  }

  .brand-heading h2 {
    font-size: 24px;
  }

  .brand-heading p,
  .project-meta,
  .project-meta a {
    font-size: 12px;
  }

  .project-meta {
    gap: 9px;
  }

  .page-summary {
    margin: 8px 0;
    padding: 12px;
  }

  .page-summary h1 {
    font-size: 20px;
  }
}

@media (min-width: 981px) {
  html,
  body {
    width: 1280px;
    min-width: 1280px;
    height: 768px;
    min-height: 768px;
    overflow: hidden;
  }

  body {
    margin: 0 auto;
    background: #f3f4f6;
  }

  .showcase,
  .stage,
  .platform-shell {
    width: 1280px;
    min-width: 1280px;
    max-width: 1280px;
    height: 768px;
    min-height: 768px;
    max-height: 768px;
    overflow: hidden;
  }

  .platform-shell {
    grid-template-columns: 158px 1122px;
  }

  .sidebar {
    position: relative;
    width: 158px;
    height: 768px;
    max-height: 768px;
    overflow: hidden;
    padding: 10px 6px;
  }

  .workspace {
    width: 1122px;
    height: 768px;
    max-height: 768px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
  }

  .workspace::-webkit-scrollbar {
    width: 8px;
  }

  .workspace::-webkit-scrollbar-track {
    background: #e9eef5;
  }

  .workspace::-webkit-scrollbar-thumb {
    border-radius: 99px;
    background: #aeb8c6;
  }

  .sidebar-logo {
    min-height: 52px;
    margin-bottom: 6px;
  }

  .sidebar-logo img {
    width: 118px;
  }

  .side-nav {
    gap: 4px;
  }

  .side-nav button {
    min-height: 32px;
    gap: 7px;
    font-size: 11.5px;
    line-height: 1.15;
    padding: 0 7px;
  }

  .side-nav img,
  .side-nav .lucide {
    width: 14px;
    height: 14px;
  }

  .plan-pill,
  .project-pill {
    min-height: 32px;
    border-radius: 9px;
    font-size: 10.5px;
    padding: 0 10px;
  }

  .workspace-topbar {
    min-height: 66px;
    padding: 10px 14px;
    margin-bottom: 8px;
  }

  .brand-icon {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }

  .brand-heading {
    gap: 8px;
  }

  .brand-heading h2 {
    font-size: 22px;
  }

  .brand-heading p {
    margin-top: 3px;
    font-size: 11px;
  }

  .project-meta {
    gap: 8px;
    font-size: 11px;
  }

  .project-meta button {
    width: 24px;
    height: 24px;
  }

  .user-dot {
    width: 28px;
    height: 28px;
    border-width: 2px;
    font-size: 12px;
  }

  .page-summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 58px;
    margin: 0 0 8px;
    padding: 10px 12px;
  }

  .page-summary h1 {
    font-size: 17px;
  }

  .page-summary p {
    max-width: 760px;
    font-size: 11.5px;
    line-height: 1.4;
  }

  .page-summary .summary-chip {
    height: 26px;
    font-size: 10.5px;
    padding: 0 10px;
  }

  .page-preview,
  .dashboard-page,
  .brand-sov-page,
  .prompts-page,
  .ai-citations-page,
  .aio-overview-page,
  .ai-response-page,
  .performance-page,
  .feature-page {
    gap: 8px;
  }

  .dashboard-controls {
    margin: 8px 0;
  }

  .dashboard-tabs {
    padding: 4px;
  }

  .dashboard-tabs button {
    min-width: 112px;
    height: 32px;
    gap: 6px;
    font-size: 11px;
    padding: 0 10px;
  }

  .dashboard-controls select {
    min-width: 142px;
    height: 32px;
    font-size: 11px;
    padding: 0 10px;
  }

  .hero-strip,
  .dashboard-grid,
  .lower-grid,
  .brand-sov-top,
  .prompts-page,
  .ai-citation-stats,
  .aio-metric-grid,
  .aio-chart-grid,
  .aio-bottom-grid,
  .performance-main-grid,
  .feature-kpi-grid,
  .feature-grid.two {
    gap: 8px;
  }

  .score-card,
  .panel,
  .brand-sov-stat,
  .brand-sov-llm-card,
  .brand-sov-trend,
  .prompts-overview,
  .prompts-trend-panel,
  .prompts-table-panel,
  .ai-citation-stat,
  .ai-citation-table-panel,
  .aio-metric-card,
  .aio-panel,
  .response-mentions-panel,
  .performance-card,
  .performance-table-card,
  .feature-kpi,
  .feature-panel {
    border-radius: 7px;
  }

  .score-card,
  .panel,
  .brand-sov-trend,
  .prompts-overview,
  .prompts-trend-panel,
  .aio-panel,
  .performance-card,
  .feature-panel {
    padding: 10px;
  }

  .card-title,
  .brand-sov-chart-head h3,
  .prompts-section-head h2,
  .prompts-trend-head h2,
  .prompts-table-head h2,
  .ai-citation-table-top h2,
  .feature-panel-head h2,
  .aio-card-top h2,
  .aio-panel-head h2,
  .performance-card h2,
  .performance-table-head h2,
  .response-mentions-head h2 {
    font-size: 14px;
  }

  .card-actions button,
  .brand-sov-controls button,
  .prompts-section-head button,
  .prompts-trend-controls button,
  .prompts-table-actions button,
  .ai-model-tab-list button,
  .ai-model-actions button,
  .ai-citation-filters button,
  .feature-toolbar button,
  .feature-panel-head button,
  .aio-action-row button,
  .aio-panel-head button,
  .response-mentions-head button,
  .performance-filters button,
  .performance-table-head button {
    min-height: 28px;
    height: 28px;
    border-radius: 6px;
    font-size: 10.5px;
    padding: 0 9px;
  }

  .hero-strip {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(0, 1.25fr);
  }

  .score-card {
    min-height: 214px;
  }

  .gauge-wrap {
    height: 118px;
  }

  .echart-gauge {
    width: 120px;
    height: 112px;
  }

  .mini-metrics {
    gap: 56px;
    font-size: 10.5px;
  }

  .mini-metrics strong {
    font-size: 20px;
  }

  .stacked-bars {
    gap: 14px;
    margin-top: 14px;
  }

  .metric-row {
    font-size: 12.5px;
  }

  .bar-track {
    height: 12px;
  }

  .llm-chart {
    height: 168px;
  }

  .dashboard-grid {
    grid-template-columns: minmax(0, 2.2fr) minmax(300px, 0.9fr);
    margin-top: 8px;
  }

  .panel.large {
    min-height: 338px;
  }

  .trend-chart-box {
    height: 285px;
  }

  .sentiment-item {
    min-height: 62px;
    padding: 8px 10px;
  }

  .sentiment-name {
    font-size: 12px;
  }

  .lower-grid {
    margin-top: 10px;
  }

  .empty-panel {
    min-height: 128px;
  }

  .brand-sov-titlebar h1 {
    font-size: 19px;
  }

  .brand-sov-titlebar {
    margin-bottom: 6px;
  }

  .brand-sov-search,
  .brand-sov-controls button {
    height: 28px;
    font-size: 10.5px;
  }

  .brand-sov-top {
    grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  }

  .brand-sov-stat {
    min-height: 64px;
    padding: 10px;
  }

  .brand-sov-stat span,
  .brand-sov-llm-card strong,
  .brand-sov-llm-card span {
    font-size: 10.5px;
  }

  .brand-sov-stat strong {
    font-size: 21px;
  }

  .brand-sov-llm-card {
    min-height: 42px;
    padding: 7px 9px;
  }

  .brand-sov-trend {
    min-height: 194px;
  }

  .brand-sov-chart-grid {
    height: 142px;
  }

  .brand-sov-tabs {
    min-height: 36px;
    margin: 6px 0 8px auto;
    padding: 4px;
  }

  .brand-sov-tabs button {
    min-height: 27px;
    font-size: 10.5px;
  }

  .brand-sov-table-head,
  .brand-sov-row {
    grid-template-columns: minmax(190px, 1.25fr) 54px minmax(210px, 1fr) 120px;
    min-height: 37px;
    padding: 0 10px;
  }

  .brand-sov-table-head,
  .brand-sov-row,
  .brand-domain,
  .brand-sov-row > span {
    font-size: 10.5px;
  }

  .source-button {
    min-height: 25px;
    font-size: 10.5px;
  }

  .prompts-overview {
    padding: 10px;
  }

  .prompt-brand-grid {
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .prompt-brand-card {
    min-height: 108px;
    padding: 9px;
  }

  .prompt-brand-top strong {
    font-size: 12px;
  }

  .prompt-progress-label {
    font-size: 10px;
  }

  .prompt-model-counts {
    margin-top: 14px;
    gap: 5px;
  }

  .prompt-model-counts span {
    min-height: 22px;
    font-size: 10px;
  }

  .prompts-trend-chart {
    height: 188px;
  }

  .prompts-data-head,
  .prompts-data-row {
    grid-template-columns:
      26px minmax(210px, 1.4fr) repeat(5, minmax(84px, 0.7fr))
      92px;
    min-width: 980px;
    min-height: 38px;
    padding: 0 10px;
  }

  .prompts-data-head,
  .prompts-data-row,
  .prompts-data-row strong {
    font-size: 10.5px;
  }

  .prompts-pagination,
  .ai-citation-pagination,
  .aio-pagination,
  .response-pagination,
  .performance-pagination {
    min-height: 40px;
    font-size: 10.5px;
    padding: 0 10px;
  }

  .ai-citation-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ai-citation-stat {
    min-height: 78px;
    padding: 12px;
  }

  .ai-citation-stat span {
    font-size: 11px;
  }

  .ai-citation-stat strong {
    font-size: 23px;
  }

  .ai-citation-table-top {
    min-height: 46px;
    padding: 0 10px;
  }

  .ai-citation-head,
  .ai-citation-row {
    grid-template-columns: minmax(330px, 1.5fr) 132px 98px 120px;
    min-height: 42px;
    padding: 0 10px;
  }

  .ai-citation-head,
  .ai-citation-row,
  .ai-citation-row strong {
    font-size: 10.5px;
  }

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

  .aio-metric-card {
    min-height: 174px;
    padding: 10px;
  }

  .aio-card-top strong {
    font-size: 21px;
  }

  .aio-ring {
    width: 38px;
    height: 38px;
    font-size: 9px;
  }

  .aio-divider {
    margin: 10px 0 8px;
  }

  .aio-metric-card h3 {
    margin-bottom: 7px;
    font-size: 8.5px;
  }

  .aio-benchmark-list {
    gap: 5px;
  }

  .aio-benchmark-row {
    grid-template-columns: minmax(86px, 1fr) minmax(54px, 0.7fr) 32px;
    gap: 6px;
    font-size: 9.5px;
  }

  .aio-panel {
    min-height: 196px;
  }

  .aio-panel-head {
    margin-bottom: 9px;
  }

  .aio-line-chart,
  .aio-bar-chart,
  .aio-donut {
    height: 142px;
  }

  .aio-donut span {
    width: 118px;
    height: 118px;
  }

  .aio-bottom-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  }

  .aio-table-panel,
  .cited-domain-panel {
    min-height: 396px;
  }

  .aio-table-panel .aio-panel-head {
    padding: 10px;
  }

  .aio-search {
    width: 130px;
    height: 28px;
    font-size: 10.5px;
  }

  .aio-mentions-head,
  .aio-mentions-row {
    grid-template-columns: 24px minmax(175px, 1.05fr) 64px 78px 84px 108px;
    min-height: 38px;
    padding: 0 8px;
  }

  .aio-mentions-head,
  .aio-mentions-row,
  .aio-mentions-row strong {
    font-size: 10px;
  }

  .cited-domain-bars {
    gap: 6px;
    max-height: 340px;
  }

  .cited-domain-bars b {
    height: 18px;
  }

  .response-brand-tabs {
    padding: 4px;
  }

  .response-brand-tabs button {
    min-height: 28px;
    font-size: 10.5px;
    padding: 0 8px;
  }

  .response-mentions-head {
    min-height: 46px;
    padding: 0 10px;
  }

  .response-mentions-head label,
  .response-search {
    height: 28px;
    font-size: 10.5px;
  }

  .response-prompt-list {
    gap: 5px;
    padding: 8px;
  }

  .response-prompt-card {
    min-height: 58px;
    padding: 8px 10px;
  }

  .response-prompt-title {
    margin-bottom: 8px;
  }

  .response-prompt-title strong {
    font-size: 11.5px;
  }

  .response-model-chips {
    gap: 6px;
  }

  .response-model-chips span {
    min-height: 22px;
    font-size: 9.5px;
    padding: 0 7px;
  }

  .performance-top-row {
    gap: 8px;
  }

  .performance-brand-tabs {
    min-height: 36px;
    padding: 4px;
  }

  .performance-brand-tabs button {
    min-width: 86px;
    min-height: 27px;
    font-size: 10.5px;
    padding: 0 8px;
  }

  .performance-filters label,
  .performance-filters button {
    min-height: 28px;
    font-size: 10.5px;
    padding: 0 9px;
  }

  .performance-main-grid {
    grid-template-columns: minmax(240px, 0.75fr) minmax(0, 2.65fr);
  }

  .performance-card {
    min-height: 208px;
    padding: 10px;
  }

  .annual-total {
    margin: 18px 0 10px;
  }

  .annual-total strong {
    font-size: 30px;
  }

  .annual-total span {
    font-size: 11px;
  }

  .annual-divider {
    width: 150px;
    margin-bottom: 14px;
  }

  .annual-model-row {
    grid-template-columns: 22px minmax(88px, 1fr) 28px 42px;
    gap: 7px;
    margin-bottom: 9px;
  }

  .annual-model-row img {
    width: 19px;
    height: 19px;
  }

  .annual-model-row div {
    height: 13px;
  }

  .annual-model-row strong,
  .annual-model-row em {
    font-size: 10.5px;
  }

  .performance-card-head p {
    font-size: 11px;
  }

  .performance-bars-chart {
    height: 166px;
    margin-top: 9px;
    padding-left: 34px;
    padding-bottom: 22px;
  }

  .performance-bars-chart svg {
    inset: 0 0 22px 34px;
    width: calc(100% - 34px);
    height: calc(100% - 22px);
  }

  .performance-y-axis {
    bottom: 22px;
    font-size: 9.5px;
  }

  .performance-x-axis {
    left: 34px;
    font-size: 9.5px;
  }

  .stacked-month-bar {
    left: calc(34px + 50%);
    bottom: 22px;
    width: 44px;
  }

  .performance-table-head {
    min-height: 54px;
    padding: 9px 10px;
  }

  .performance-table-head p {
    margin-top: 4px;
    font-size: 11px;
  }

  .performance-search {
    width: 180px;
    height: 28px;
    font-size: 10.5px;
  }

  .performance-table-row {
    grid-template-columns: 28px minmax(214px, 1.3fr) repeat(
        12,
        minmax(48px, 0.58fr)
      );
    min-width: 960px;
    min-height: 42px;
    padding: 0 10px;
    font-size: 10px;
  }

  .performance-table-header {
    min-height: 38px;
    font-size: 9px;
  }

  .performance-table-row strong {
    font-size: 10.5px;
  }

  .performance-month-cell img {
    width: 16px;
    height: 16px;
  }

  .feature-toolbar {
    gap: 8px;
  }

  .feature-toolbar h1 {
    font-size: 18px;
  }

  .feature-kpi {
    min-height: 70px;
    padding: 10px;
  }

  .feature-kpi span,
  .feature-kpi small {
    font-size: 10.5px;
  }

  .feature-kpi strong {
    margin: 5px 0;
    font-size: 20px;
  }

  .feature-panel {
    min-height: 160px;
  }

  .line-visual {
    height: 150px;
  }
}

/* Homepage section embed mode */
html,
body {
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  overflow: auto;
  background: #ffffff;
}

.showcase {
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: auto;
  height: auto;
  margin: 0;
  padding: 18px 24px 72px;
}

.stage {
  --demo-scale: 0.82;
  width: 100%;
  min-width: 0;
  max-width: 1360px;
  min-height: auto;
  height: auto;
  margin: 0 auto;
}

.stage-header,
.timeline,
.scene-caption,
.floating-chat {
  display: none !important;
}

.product-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
  border-bottom: 1px solid #d5d5d5;
}

.product-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #242424;
  font-size: 18px;
  font-weight: 500;
}

.product-tabs button[hidden] {
  display: none !important;
}

.product-tabs button.active {
  border-bottom-color: #ff8a1d;
  background: linear-gradient(180deg, #fff8f0 0%, #fff2e6 100%);
  font-weight: 700;
}

.product-tabs-next {
  display: none;
}

@keyframes product-tab-hint {
  from {
    transform: translate(-2px, -1px);
  }
  to {
    transform: translate(2px, -1px);
  }
}

.product-tabs button span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #fff8f1;
}

.product-tabs button span img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.product-tabs button span.product-brand-logo {
  width: 132px;
  height: 48px;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
}

.product-tabs button span.product-brand-logo img {
  display: block;
  width: 126px;
  height: 44px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-tabs button span.product-brand-logo.contentlift-logo {
  width: 128px;
}

.product-tabs button span.product-brand-logo.contentlift-logo img {
  width: 122px;
  height: 42px;
}

.product-tabs button span.product-brand-logo.tesseract-logo {
  width: 128px;
}

.product-tabs button span.product-brand-logo.tesseract-logo img {
  width: 116px;
  height: 46px;
}

.tab-icon.text {
  color: #f37021;
  font-size: 14px;
  font-weight: 800;
}

.tab-icon.chart {
  color: #ffffff;
  background: linear-gradient(135deg, #071b63, #1fb5a9);
}

.tab-icon.arena {
  color: #ffffff;
  background: #20a7bd;
}

.section-intro {
  max-width: 900px;
  margin: 16px auto 22px;
  color: #383838;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.demo-frame {
  position: relative;
  width: calc(1280px * var(--demo-scale) + 20px);
  height: calc(768px * var(--demo-scale) + 20px);
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border: 10px solid #fff1df;
  border-radius: 20px;
  background: #fff1df;
  box-shadow: none;
}

.demo-frame::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  height: clamp(72px, 9vw, 110px);
  pointer-events: none;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.28) 22%,
    rgba(255, 255, 255, 0.82) 50%,
    rgba(255, 255, 255, 0.98) 72%,
    #ffffff 84%,
    #ffffff 100%
  );
}

.demo-viewport {
  position: relative;
  width: calc(1280px * var(--demo-scale));
  height: calc(768px * var(--demo-scale));
  overflow: hidden;
  border-radius: 13px;
  background: #f3f4f6;
}

.demo-viewport .platform-shell {
  display: grid;
  width: 1280px;
  min-width: 1280px;
  max-width: 1280px;
  height: 768px;
  min-height: 768px;
  max-height: 768px;
  grid-template-columns: 158px 1122px;
  overflow: hidden;
  transform: scale(var(--demo-scale));
  transform-origin: top left;
  zoom: normal;
}

.demo-viewport .sidebar {
  display: flex;
  position: relative;
  width: 158px;
  height: 768px;
  max-height: 768px;
  overflow: hidden;
}

.demo-viewport .workspace {
  position: relative;
  width: 1122px;
  height: 768px;
  max-height: 768px;
  overflow-y: auto;
  overflow-x: hidden;
}

@media (max-width: 1180px) {
  .stage {
    --demo-scale: 0.74;
  }
}

@media (max-width: 980px) {
  .showcase {
    padding: 16px 12px 48px;
  }

  .stage {
    --demo-scale: 0.48;
  }

  .product-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .product-tabs button {
    min-height: 52px;
    font-size: 15px;
  }

  .section-intro {
    margin: 14px auto 18px;
    font-size: 13px;
  }
}

.demo-viewport .side-nav button {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.demo-viewport .side-nav button[data-page="performance"] {
  font-size: 10px;
  letter-spacing: -0.02em;
}

.demo-viewport .side-nav button[data-page="contentlift"] {
  cursor: default;
}

.demo-viewport .hero-strip {
  align-items: stretch;
}

.demo-viewport .workspace-topbar {
  min-height: 58px;
  padding: 8px 12px;
}

.demo-viewport .page-summary {
  min-height: 46px;
  padding: 8px 10px;
}

.demo-viewport .page-summary h1 {
  font-size: 15px;
  margin-bottom: 2px;
}

.demo-viewport .page-summary p {
  font-size: 10px;
  line-height: 1.28;
}

.demo-viewport .dashboard-controls {
  margin: 6px 0;
}

.demo-viewport .dashboard-tabs button,
.demo-viewport .dashboard-controls select {
  height: 28px;
  min-height: 28px;
  font-size: 10px;
}

.demo-viewport .hero-strip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.34fr);
  gap: 7px;
}

.demo-viewport .score-card {
  min-height: 236px;
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.demo-viewport .card-title {
  display: grid;
  grid-template-columns: minmax(0, max-content) 12px minmax(0, 1fr);
  align-items: start;
  gap: 4px;
  flex: 0 0 auto;
  min-height: 28px;
  font-size: 13px;
  line-height: 1.15;
}

.demo-viewport .card-title > span {
  white-space: nowrap;
}

.demo-viewport .card-title > .lucide {
  width: 11px;
  height: 11px;
  margin-top: 1px;
}

.demo-viewport .card-actions {
  justify-self: end;
  gap: 4px;
}

.demo-viewport .card-actions button {
  height: 25px;
  min-height: 25px;
  border-radius: 6px;
  font-size: 8.5px;
  line-height: 1;
  padding: 0 6px;
}

.demo-viewport .card-actions .lucide {
  width: 9px;
  height: 9px;
}

.demo-viewport .gauge-wrap {
  flex: 1 1 auto;
  height: 138px;
  min-height: 132px;
  display: grid;
  place-items: center;
}

.demo-viewport .echart-gauge {
  width: 142px;
  height: 136px;
}

.demo-viewport .gauge-value {
  bottom: 49px;
}

.demo-viewport .brand-reach {
  margin-top: 9px;
  font-size: 13px;
}

.demo-viewport .mini-metrics {
  gap: 62px;
  margin-top: 8px;
  font-size: 10px;
}

.demo-viewport .mini-metrics strong {
  font-size: 20px;
}

.demo-viewport .stacked-bars {
  flex: 1 1 auto;
  display: grid;
  align-content: stretch;
  gap: 10px;
  margin-top: 5px;
  padding: 4px 0 1px;
}

.demo-viewport .metric-row {
  display: grid;
  align-content: center;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 15px;
  gap: 7px 8px;
  font-size: 12px;
  min-height: 52px;
}

.demo-viewport .metric-row .metric-value {
  font-size: 13px;
  justify-self: end;
  color: #0036cc;
  font-weight: 800;
}

.demo-viewport .bar-track {
  grid-column: 1 / -1;
  width: 100%;
  height: 15px;
  border-radius: 5px;
  background: #e5e7eb;
}

.demo-viewport .bar-fill {
  background: #2458d8 !important;
}

.demo-viewport .llm-chart {
  flex: 1 1 auto;
  height: 184px;
  min-height: 178px;
  margin-top: 4px;
}

.demo-viewport .dashboard-grid {
  grid-template-columns: minmax(0, 2.2fr) minmax(300px, 0.95fr);
  gap: 12px;
  margin-top: 10px;
  align-items: start;
}

.demo-viewport .panel.large {
  min-height: 0;
  height: 462px;
  padding: 14px;
}

.demo-viewport .trend-chart-box {
  height: 394px;
  border: 1px solid #dbe5f3;
  border-radius: 8px;
  padding: 10px 14px 8px;
  background: #fff;
}

.demo-viewport .sentiment-panel {
  min-height: 0;
  height: 462px;
  padding: 14px;
}

.demo-viewport .sentiment-heading {
  justify-content: flex-start;
  margin-bottom: 10px;
}

.demo-viewport .sentiment-heading h3 {
  font-size: 16px;
}

.demo-viewport .panel-icon-box {
  width: 34px;
  height: 34px;
}

.demo-viewport .sentiment-tags {
  gap: 8px;
  margin-bottom: 10px;
}

.demo-viewport .sentiment-tags span {
  min-height: 22px;
  padding: 0 9px;
  font-size: 10px;
}

.demo-viewport .sentiment-table-head {
  grid-template-columns: minmax(0, 1fr) 112px;
  padding: 8px 12px;
  font-size: 9px;
}

.demo-viewport .sentiment-list {
  flex: 1;
}

.demo-viewport .sentiment-row {
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 10px;
  min-height: 66px;
  padding: 10px 12px;
}

.demo-viewport .sentiment-row-left img {
  width: 22px;
  height: 22px;
}

.demo-viewport .sentiment-model-name {
  font-size: 13px;
}

.demo-viewport .sentiment-mentions {
  font-size: 10px;
}

.demo-viewport .sentiment-gauge {
  width: 78px;
  height: 40px;
}

.demo-viewport .sentiment-gauge svg {
  width: 78px;
  height: 40px;
}

.demo-viewport .sentiment-gauge-value {
  bottom: 6px;
  font-size: 12px;
}

.demo-viewport .sentiment-gauge-legend {
  gap: 6px;
  margin-top: 0;
  font-size: 9px;
}

.sentiment-gauge.na .gauge-track {
  stroke: #dbe4ee;
}

.sentiment-gauge.na .sentiment-gauge-value {
  color: #0f172a;
}

/* ===== Trend Analysis controls (real dashboard: 2-tab toggle + LLM select) ===== */

.trend-heading {
  flex-wrap: wrap;
  gap: 12px;
}

.trend-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.trend-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.trend-select .lucide {
  width: 14px;
  height: 14px;
  color: #64748b;
}

.chart-tabs.two {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid #dbe3f0;
  background: #fff;
}

.chart-tabs.two button {
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.chart-tabs.two button.active {
  color: #0b1f66;
  border: 1px solid #9edfd9;
  background: linear-gradient(180deg, #e6fbfa, #d4f5f3);
}

/* ===== Sentiment Analysis (semi-donut gauges, matches app/dashboard) ===== */

.panel-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid #dbe3f0;
  background: #fff;
  color: #334155;
  flex-shrink: 0;
}

.panel-icon-box .lucide {
  width: 17px;
  height: 17px;
}

.sentiment-panel {
  display: flex;
  flex-direction: column;
}

.sentiment-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sentiment-heading h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sentiment-heading .lucide {
  width: 14px;
  height: 14px;
  color: #94a3b8;
}

.sentiment-table {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  border: 1px solid #dbe3f0;
  border-radius: 10px;
  overflow: hidden;
  background: #fbfdff;
}

.sentiment-table-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  align-items: center;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid #dbe3f0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.sentiment-table-head span:last-child {
  text-align: center;
}

.sentiment-list {
  display: flex;
  flex-direction: column;
}

.sentiment-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid #eef2f7;
}

.sentiment-row:last-child {
  border-bottom: 0;
}

.sentiment-row-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sentiment-row-left img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #f1f5f9;
  background: #fff;
  object-fit: contain;
  flex-shrink: 0;
}

.sentiment-model-name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sentiment-mentions {
  margin: 0;
  font-size: 11px;
  color: #64748b;
}

.sentiment-row-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sentiment-gauge {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 92px;
  height: 50px;
}

.sentiment-gauge svg {
  width: 92px;
  height: 50px;
}

.sentiment-gauge path {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.sentiment-gauge .gauge-track {
  stroke: #dbe4ee;
}

.sentiment-gauge .gauge-positive {
  stroke: #10b981;
}

.sentiment-gauge .gauge-negative {
  stroke: #ef4444;
}

.sentiment-gauge-value {
  position: absolute;
  bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.sentiment-gauge-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 600;
}

.sentiment-gauge-legend b {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 3px;
}

.sentiment-gauge-legend .pos {
  color: #059669;
}

.sentiment-gauge-legend .pos b {
  background: #10b981;
}

.sentiment-gauge-legend .neg {
  color: #dc2626;
}

.sentiment-gauge-legend .neg b {
  background: #ef4444;
}

/* ===== Prompts in LLMs / Keywords in AI Overview ===== */

.lower-grid {
  grid-template-columns: minmax(0, 6fr) minmax(280px, 4fr);
}

.keyword-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dbe3f0;
}

.keyword-card-head {
  padding: 12px 16px;
  background: linear-gradient(90deg, #eff6ff, #ffffff);
  border-bottom: 1px solid #dbeafe;
}

.keyword-card-head h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #1e40af;
}

.keyword-card-head h3 .lucide {
  width: 15px;
  height: 15px;
}

.keyword-card-head h3 img {
  width: 15px;
  height: 15px;
}

.keyword-table-head {
  display: grid;
  padding: 8px 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
  border-bottom: 1px solid #eef2f7;
}

.prompts-keyword-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.keyword-llm-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.keyword-llm-icons img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  opacity: 0.7;
}

.aio-keyword-head {
  grid-template-columns: minmax(0, 1fr) 70px 56px;
}

.align-right {
  text-align: right;
}

.align-center {
  text-align: center;
}

.keyword-table-body {
  display: flex;
  flex-direction: column;
}

.keyword-table-row {
  display: grid;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
}

.keyword-table-row:last-child {
  border-bottom: 0;
}

.prompts-keyword-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.prompts-keyword-row strong {
  font-weight: 500;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.keyword-llm-badges {
  display: flex;
  align-items: center;
  gap: 5px;
}

.llm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.llm-badge .lucide {
  width: 12px;
  height: 12px;
}

.llm-badge.yes {
  background: #10b981;
  color: #fff;
}

.llm-badge.no {
  background: #f1f5f9;
  color: #cbd5e1;
}

.aio-keyword-row {
  grid-template-columns: minmax(0, 1fr) 70px 56px;
}

.aio-keyword-row strong {
  font-weight: 500;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  padding: 0 6px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

.rank-pill.gold {
  background: #fef3c7;
  color: #b45309;
}

.rank-pill.green {
  background: #d1fae5;
  color: #047857;
}

.rank-pill.blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.rank-pill.gray {
  background: #f1f5f9;
  color: #64748b;
}

.keyword-card-footer {
  margin: 12px 16px 16px;
  padding: 9px 0;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* ===== Competitors tab ===== */

.competitors-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

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

.bv-card {
  --card-accent: #2458d8;
  border: 1px solid #dbe3f0;
  border-radius: 13px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  padding: 13px 14px 12px;
}

.bv-card--project {
  background:
    radial-gradient(
      circle at top left,
      rgba(36, 88, 216, 0.08),
      transparent 60%
    ),
    #fff;
  border-color: #c7d8ef;
}

.bv-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.bv-card-favicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.bv-card-head strong {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bv-card-tag {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.bv-card-tag.primary {
  background: #dbeafe;
  color: #1e3a8a;
}

.bv-card-tag.competitor {
  background: #e2e8f0;
  color: #475569;
}

.bv-card-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
}

.bv-card-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 10px;
  border-left: 1px solid #e2e8f0;
}

.bv-card-stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.bv-card-stat span {
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bv-card-stat strong {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

.bv-card-score-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
}

.bv-card-score-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    var(--card-accent) calc(var(--ring-progress) * 1%),
    #e2e8f0 0
  );
}

.bv-card-score-ring::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #fff;
}

.bv-card-score-wrap strong {
  position: relative;
  z-index: 1;
  font-size: 9px;
}

.comp-panel {
  border: 1px solid #dbe3f0;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.comp-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.comp-panel-head h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.comp-panel-head h3 .lucide {
  width: 13px;
  height: 13px;
  color: #94a3b8;
}

.comp-grid-three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.comp-grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.comp-echart {
  width: 100%;
  height: 210px;
}

.comp-echart.tall {
  height: 280px;
}

.comp-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.comp-stat {
  padding: 8px;
  border-radius: 10px;
  text-align: center;
}

.comp-stat span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.75;
}

.comp-stat strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 800;
}

.comp-stat.blue {
  background: #eff6ff;
  color: #1d4ed8;
}

.comp-stat.green {
  background: #ecfdf5;
  color: #047857;
}

.comp-stat.purple {
  background: #f5f3ff;
  color: #6d28d9;
}

.comp-donut-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 10px;
  font-size: 11px;
  color: #475569;
}

.comp-donut-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.comp-donut-legend b {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

/* Sentiment Analysis Overview table (Competitors tab) */

.comp-sentiment-panel {
  overflow-x: auto;
  padding: 18px;
}

.sov-sentiment-table {
  min-width: 1040px;
}

.sov-sentiment-head,
.sov-sentiment-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) repeat(5, minmax(142px, 1.1fr));
  align-items: stretch;
  gap: 0;
}

.sov-sentiment-head {
  min-height: 44px;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  border-bottom: 1px solid #eef2f7;
}

.sov-sentiment-head span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
}

.sov-sentiment-head img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.sov-sentiment-row {
  min-height: 70px;
  padding: 0 8px;
  border-bottom: 1px solid #f1f5f9;
}

.sov-sentiment-row:last-child {
  border-bottom: 0;
}

.sov-sentiment-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0 10px;
  color: #020617;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sov-sentiment-brand b {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #dbe3f0;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
}

.sov-sentiment-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  padding: 0 10px;
}

.sov-sentiment-cell-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
}

.sov-sentiment-cell-top > i {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  font-style: normal;
}

.sov-sentiment-cell-top em {
  display: block;
  width: 3px;
  border-radius: 999px;
  background: #86efac;
}

.sov-sentiment-cell-top em:nth-child(1) {
  height: 4px;
}

.sov-sentiment-cell-top em:nth-child(2) {
  height: 6px;
}

.sov-sentiment-cell-top em:nth-child(3) {
  height: 8px;
}

.sov-sentiment-cell-top em:nth-child(4) {
  height: 10px;
}

.sov-sentiment-cell-top em:nth-child(5) {
  height: 12px;
}

.sov-sentiment-cell small {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  color: #64748b;
  font-size: 9.5px;
  font-weight: 700;
}

.sov-sentiment-cell small span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.sov-sentiment-cell small b {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  flex: 0 0 auto;
}

.sov-sentiment-cell small span:nth-child(2) b {
  background: #ef4444;
}

.sov-sentiment-cell.na {
  align-items: center;
  color: #94a3b8;
  text-align: center;
}

.sov-sentiment-cell.na > b {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.sov-sentiment-cell.na small {
  display: block;
  font-size: 9.5px;
  color: #cbd5e1;
  font-weight: 600;
}

.sov-sentiment-score {
  font-size: 12px;
  font-weight: 900;
}

.sov-sentiment-score.pos {
  color: #059669;
}

.sov-sentiment-score.neg {
  color: #dc2626;
}

.sov-sentiment-mini-bar {
  display: block;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}

.sov-sentiment-mini-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
}

/* Brand Visibility Score ranked list (Competitors tab) */

.bv-score-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bv-score-item {
  display: grid;
  grid-template-columns: 22px 24px minmax(70px, 1fr) minmax(0, 2fr) 56px;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid #eef2f7;
}

.bv-score-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #eef2f7;
  color: #475569;
  font-size: 10px;
  font-weight: 700;
}

.bv-score-favicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.bv-score-name {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bv-score-bar-track {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}

.bv-score-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.bv-score-value {
  text-align: right;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .lower-grid {
    grid-template-columns: 1fr;
  }

  .comp-grid-two {
    grid-template-columns: 1fr;
  }

  .bv-score-item {
    grid-template-columns: 18px 20px minmax(60px, 1fr) 48px;
  }

  .bv-score-bar-track {
    display: none;
  }
}

/* =====================================================================
   Hero strip (Brand Visibility Score / Search Overview / LLMs Overview)
   ---------------------------------------------------------------------
   This selector set was previously redefined five separate times across
   this file at conflicting widths/paddings, and the highest-specificity
   version forced .card-title into a rigid 3-column CSS grid that broke
   for cards with only two children (LLMs Overview has no .card-actions).
   This block is the single authoritative definition — higher specificity
   than every earlier rule, and last in source order, so it always wins.
   ===================================================================== */

.platform-shell .workspace .hero-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 14px;
  margin-top: 16px;
  align-items: stretch;
}

.platform-shell .workspace .score-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 16px;
  border: 1px solid #dbe3f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.platform-shell .workspace .card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
}

.platform-shell .workspace .card-title > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-shell .workspace .card-title > .lucide {
  width: 15px;
  height: 15px;
  color: #94a3b8;
  flex-shrink: 0;
  margin-top: 2px;
}

.platform-shell .workspace .card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.platform-shell .workspace .card-actions button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid #dbe3f0;
  border-radius: 999px;
  color: #334155;
  background: #ffffff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.platform-shell .workspace .card-actions button:first-child {
  color: #ffffff;
  border-color: #2f66e8;
  background: #2f66e8;
}

.platform-shell .workspace .card-actions .lucide {
  width: 13px;
  height: 13px;
}

.platform-shell .workspace .gauge-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  flex-shrink: 0;
}

.platform-shell .workspace .echart-gauge {
  width: 100%;
  height: 100%;
}

.platform-shell .workspace .gauge-value {
  display: none;
}

.platform-shell .workspace .gauge-value strong {
  display: block;
  color: #1325c3;
  font-size: 26px;
  line-height: 1;
}

.platform-shell .workspace .gauge-value span {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.demo-viewport .platform-shell .workspace #visibilityGauge.echart-gauge {
  position: relative;
  width: 128px;
  height: 128px;
  flex: 0 0 128px;
  border-radius: 50%;
  background: transparent;
}

.demo-viewport .platform-shell .workspace .gauge-wrap {
  height: 142px;
}

.platform-shell .workspace .brand-reach {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.platform-shell .workspace .brand-reach .lucide {
  width: 13px;
  height: 13px;
  color: #94a3b8;
}

.platform-shell .workspace .mini-metrics {
  display: flex;
  justify-content: flex-start;
  gap: 32px;
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
  flex-shrink: 0;
}

.platform-shell .workspace .mini-metrics span {
  display: block;
}

.platform-shell .workspace .mini-metrics strong {
  display: block;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.25;
}

.platform-shell .workspace .llm-chart {
  width: 100%;
  flex: 1;
  min-height: 190px;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .platform-shell .workspace .hero-strip {
    grid-template-columns: 1fr;
  }

  .platform-shell .workspace .score-card {
    min-height: 0;
  }

  .platform-shell .workspace .llm-chart {
    min-height: 220px;
  }
}

/* ===== Generative AI / GSC report page ===== */

.gsc-page {
  gap: 10px;
}

.gsc-page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.gsc-page-toolbar h1 {
  margin: 0;
  color: #111827;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
}

.gsc-page-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gsc-page-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 32px;
  padding: 0 13px;
  border: 1px solid #dbe5f2;
  border-radius: 8px;
  color: #1f2a44;
  background: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.gsc-page-actions button.primary {
  color: #ffffff;
  border-color: #2458d8;
  background: #2458d8;
  box-shadow: 0 8px 16px rgba(36, 88, 216, 0.18);
}

.gsc-page-actions .lucide {
  width: 14px;
  height: 14px;
}

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

.gsc-kpi-card,
.gsc-dashboard-card {
  border: 1px solid #dbe4ef;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.gsc-kpi-card {
  min-height: 78px;
  padding: 12px 14px;
}

.gsc-kpi-card span {
  display: block;
  color: #64748b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.gsc-kpi-card strong {
  display: block;
  margin-top: 5px;
  color: #1325c3;
  font-size: 24px;
  line-height: 1;
}

.gsc-kpi-card small {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 800;
}

.gsc-trend-card,
.gsc-table-card {
  padding: 12px;
}

.gsc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.gsc-card-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
}

.gsc-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 800;
}

.gsc-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.gsc-legend span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.gsc-legend .blue::before {
  background: #2458d8;
}

.gsc-legend .green::before {
  background: #10b981;
}

.gsc-trend-chart {
  width: 100%;
  height: 152px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.gsc-page-search {
  display: flex;
  align-items: center;
  width: 210px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  color: #94a3b8;
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.gsc-pages-table {
  overflow: hidden;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
}

.gsc-pages-head,
.gsc-pages-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) repeat(4, minmax(120px, 0.72fr));
  align-items: center;
}

.gsc-pages-head {
  min-height: 40px;
  color: #64748b;
  background: #f8fafc;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gsc-pages-row {
  min-height: 45px;
  border-top: 1px solid #e8eef6;
  color: #334155;
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.gsc-pages-head span,
.gsc-pages-row span {
  min-width: 0;
  padding: 0 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gsc-pages-row span:nth-child(2),
.gsc-pages-row span:nth-child(3) {
  color: #2458d8;
}

@media (min-width: 981px) {
  .gsc-page {
    gap: 8px;
  }

  .gsc-page-toolbar h1 {
    font-size: 18px;
  }

  .gsc-page-actions button {
    height: 28px;
    padding: 0 10px;
    font-size: 10.5px;
  }

  .gsc-kpi-grid {
    gap: 8px;
  }

  .gsc-kpi-card {
    min-height: 66px;
    padding: 10px;
  }

  .gsc-kpi-card span {
    font-size: 8.8px;
  }

  .gsc-kpi-card strong {
    font-size: 20px;
  }

  .gsc-kpi-card small {
    font-size: 9.5px;
  }

  .gsc-trend-chart {
    height: 132px;
  }

  .gsc-pages-head,
  .gsc-pages-row {
    grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(108px, 0.7fr));
  }

  .gsc-pages-row {
    min-height: 38px;
    font-size: 10.5px;
  }

  .gsc-pages-head {
    min-height: 35px;
    font-size: 9.5px;
  }
}

@media (max-width: 900px) {
  .gsc-page-toolbar,
  .gsc-card-head {
    align-items: stretch;
    flex-direction: column;
  }

  .gsc-kpi-grid {
    grid-template-columns: 1fr;
  }

  .gsc-pages-table {
    overflow-x: auto;
  }

  .gsc-pages-head,
  .gsc-pages-row {
    min-width: 780px;
  }
}

/* AI Overview page: closer app-dashboard match with three competitors. */
.aio-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.aio-page-head h1 {
  margin: 0;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
}

.aio-page-head p {
  margin-top: 4px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
}

.aio-page-head button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid #3b82f6;
  border-radius: 10px;
  color: #2458d8;
  background: #ffffff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.aio-overview-page .aio-metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.aio-overview-page .aio-metric-card,
.aio-overview-page .aio-panel {
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.aio-overview-page .aio-metric-card {
  min-height: 224px;
  padding: 16px;
}

.aio-overview-page .aio-card-top strong {
  color: #2458d8;
  font-size: 28px;
  font-weight: 900;
}

.aio-overview-page .aio-ring {
  width: 48px;
  height: 48px;
  color: #334155;
  background:
    radial-gradient(circle at center, #fff 58%, transparent 60%),
    conic-gradient(#2458d8 0 var(--ring, 16%), #e8eef6 var(--ring, 16%) 100%);
}

.aio-overview-page .aio-metric-card:nth-child(1) .aio-ring {
  --ring: 16%;
}

.aio-overview-page .aio-metric-card:nth-child(2) .aio-ring {
  --ring: 17%;
}

.aio-overview-page .aio-metric-card:nth-child(3) .aio-ring {
  --ring: 46%;
}

.aio-overview-page .aio-benchmark-row:nth-child(n + 5) {
  display: none;
}

.aio-overview-page .aio-benchmark-row {
  grid-template-columns: minmax(115px, 1fr) minmax(74px, 0.7fr) 48px;
  gap: 9px;
  min-height: 24px;
  font-size: 11px;
}

.aio-overview-page .aio-benchmark-row span b,
.aio-overview-page .aio-panel-head button b {
  width: 16px;
  height: 16px;
  border: 1px solid #dbe4ef;
  background: #f8fafc;
  color: #2458d8;
}

.aio-overview-page .aio-chart-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.aio-overview-page .aio-line-chart,
.aio-overview-page .aio-bar-chart {
  height: 240px;
  padding: 6px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.aio-overview-page .aio-line-chart > svg {
  height: calc(100% - 24px);
}

.aio-overview-page .aio-axis {
  color: #64748b;
}

.aio-overview-page .aio-bar-chart span {
  width: 58px;
  bottom: 38px;
  border-radius: 9px 9px 0 0;
}

.aio-overview-page .aio-donut {
  height: 240px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.aio-overview-page .aio-donut span {
  width: 168px;
  height: 168px;
  background:
    radial-gradient(circle at center, #fff 46%, transparent 47%),
    conic-gradient(
      #2458d8 0 19%,
      #8b5cf6 19% 44%,
      #f59e0b 44% 46%,
      #22c55e 46% 100%
    );
}

.aio-overview-page .aio-color-legend span:nth-child(n + 5) {
  display: none;
}

.aio-overview-page .aio-bottom-grid {
  grid-template-columns: minmax(0, 1.85fr) minmax(300px, 0.9fr);
  gap: 14px;
}

.aio-overview-page .aio-table-panel {
  min-height: 560px;
}

.aio-overview-page .aio-mentions-head,
.aio-overview-page .aio-mentions-row {
  grid-template-columns: 34px minmax(260px, 1.5fr) 92px 116px 132px 170px;
  min-width: 850px;
}

.aio-overview-page .aio-mentions-head {
  min-height: 48px;
  background: #f8fafc;
}

.aio-overview-page .aio-mentions-row {
  min-height: 52px;
}

.aio-overview-page .aio-mentions-row strong {
  font-size: 12px;
}

.aio-overview-page .aio-mentions-row button {
  border-radius: 999px;
  color: #2563eb;
  background: #dbeafe;
}

.aio-overview-page .cited-domain-panel {
  min-height: 560px;
}

.aio-overview-page .cited-domain-bars {
  gap: 8px;
  max-height: 500px;
}

.aio-overview-page .cited-domain-bars div {
  grid-template-columns: 28px 1fr 30px;
}

.aio-overview-page .cited-domain-bars b {
  height: 20px;
  background: #72d4d6;
}

.demo-viewport .aio-page-head h1 {
  font-size: 18px;
}

.demo-viewport .aio-page-head p {
  font-size: 11px;
}

.demo-viewport .aio-page-head button {
  min-height: 30px;
  padding: 0 11px;
  font-size: 10.5px;
}

.demo-viewport .aio-overview-page .aio-metric-grid,
.demo-viewport .aio-overview-page .aio-chart-grid,
.demo-viewport .aio-overview-page .aio-bottom-grid {
  gap: 8px;
}

.demo-viewport .aio-overview-page .aio-metric-card {
  min-height: 190px;
  padding: 12px;
}

.demo-viewport .aio-overview-page .aio-card-top strong {
  font-size: 22px;
}

.demo-viewport .aio-overview-page .aio-ring {
  width: 40px;
  height: 40px;
  font-size: 9px;
}

.demo-viewport .aio-overview-page .aio-benchmark-row {
  grid-template-columns: minmax(92px, 1fr) minmax(64px, 0.7fr) 42px;
  font-size: 10px;
}

.demo-viewport .aio-overview-page .aio-line-chart,
.demo-viewport .aio-overview-page .aio-bar-chart,
.demo-viewport .aio-overview-page .aio-donut {
  height: 190px;
}

.demo-viewport .aio-overview-page .aio-table-panel,
.demo-viewport .aio-overview-page .cited-domain-panel {
  min-height: 430px;
}

/* AI Overview refinements: chart/table proportions from app reference. */
.aio-overview-page .aio-panel-head {
  min-height: 50px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef2f7;
}

.aio-overview-page .aio-panel-head.stacked {
  min-height: auto;
  padding-bottom: 10px;
}

.aio-overview-page .aio-panel-head h2 {
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
}

.aio-overview-page .aio-panel-head p {
  color: #64748b;
  font-size: 13px;
}

.aio-overview-page .aio-analysis-legend {
  margin: 0 0 12px;
  padding-top: 2px;
}

.aio-overview-page .aio-line-chart {
  height: 300px;
  padding: 8px 6px 6px 0;
  background: #ffffff;
}

.aio-overview-page .aio-echart {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.aio-overview-page .aio-echart > div,
.aio-overview-page .aio-echart svg,
.aio-overview-page .aio-echart canvas {
  width: 100% !important;
  height: 100% !important;
}

.aio-overview-page .aio-donut {
  display: block;
}

.aio-overview-page .cited-domain-bars .aio-echart {
  display: block;
  width: 100%;
  height: 560px;
  max-height: none;
  padding: 0;
}

.aio-overview-page .aio-line-chart > svg {
  height: calc(100% - 30px);
}

.aio-overview-page .aio-line-chart > svg path[stroke] {
  stroke-width: 3;
}

.aio-overview-page .aio-axis {
  padding: 0 22px 0 34px;
  font-size: 12px;
}

.aio-overview-page .aio-legend {
  margin: 0 0 12px;
  gap: 15px;
  font-size: 12px;
}

.aio-overview-page .aio-bottom-grid {
  grid-template-columns: minmax(0, 2.05fr) minmax(360px, 1fr);
  align-items: stretch;
  gap: 18px;
}

.aio-overview-page .aio-table-panel {
  min-height: 640px;
  padding: 0;
  overflow: hidden;
}

.aio-overview-page .aio-table-panel .aio-panel-head {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  align-items: center;
  min-height: 82px;
  padding: 16px 18px;
  border-bottom: 1px solid #dbe4ef;
  background: #ffffff;
}

.aio-overview-page .aio-table-panel .aio-panel-head > div:first-child {
  display: block;
  min-width: 0;
}

.aio-overview-page .aio-table-panel .aio-panel-head h2 {
  white-space: nowrap;
}

.aio-overview-page .aio-table-panel .aio-panel-head p {
  margin: 4px 0 0;
  white-space: nowrap;
}

.aio-overview-page .aio-table-panel .aio-panel-head > div:last-child {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.aio-overview-page .aio-search {
  display: flex;
  align-items: center;
  width: 220px;
  height: 38px;
  padding: 0 13px;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  color: #94a3b8;
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.aio-overview-page .aio-table-panel .aio-panel-head button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  color: #0f172a;
  background: #ffffff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.aio-overview-page .aio-mentions-table {
  overflow-x: auto;
  border-top: 0;
}

.aio-overview-page .aio-mentions-head,
.aio-overview-page .aio-mentions-row {
  grid-template-columns: 38px minmax(270px, 1.55fr) 110px 130px 150px 190px;
  gap: 16px;
  min-width: 980px;
  padding: 0 22px;
}

.aio-overview-page .aio-mentions-head {
  min-height: 52px;
  color: #334155;
  background: #eef4fb;
  border-bottom: 1px solid #dbe4ef;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.aio-overview-page .aio-mentions-row {
  min-height: 60px;
  border-bottom: 1px solid #e5ebf3;
  color: #475569;
  font-size: 13px;
}

.aio-overview-page .aio-mentions-row:last-of-type {
  border-bottom: 0;
}

.aio-overview-page .aio-mentions-row strong {
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.aio-overview-page .aio-mentions-head span:nth-child(n + 2)::after {
  content: "  \2195";
  color: #94a3b8;
  font-weight: 800;
  letter-spacing: 0;
}

.aio-overview-page .aio-mentions-row .lucide {
  width: 18px;
  height: 18px;
  color: #10b981;
}

.aio-overview-page .aio-mentions-row button {
  min-width: 84px;
  min-height: 31px;
  font-size: 12px;
  font-weight: 900;
}

.aio-overview-page .aio-pagination {
  min-height: 62px;
  padding: 0 18px;
  border-top: 1px solid #dbe4ef;
  background: #ffffff;
}

.aio-overview-page .cited-domain-panel {
  min-height: 640px;
  padding: 16px 18px 14px;
  overflow: hidden;
}

.aio-overview-page .cited-domain-panel .aio-panel-head {
  display: block;
  min-height: auto;
  border-bottom: 0;
  padding-bottom: 12px;
}

.aio-overview-page .cited-domain-panel .aio-panel-head h2 {
  white-space: nowrap;
}

.aio-overview-page .cited-domain-panel .aio-panel-head p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.aio-overview-page .cited-domain-panel .aio-panel-head p b {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  color: #64748b;
  background: #eef4fb;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.aio-overview-page .cited-domain-bars {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  height: 556px;
  max-height: none;
  padding-right: 0;
  margin-right: -8px;
  overflow: hidden;
}

.aio-overview-page .cited-domain-bars .aio-echart {
  height: 100%;
}

.aio-overview-page .cited-domain-logos {
  display: grid;
  grid-template-columns: 1fr !important;
  grid-template-rows: repeat(16, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 0 !important;
  align-items: center;
  justify-items: center;
  height: 100%;
  padding: 4px 0;
  min-width: 0;
}

.aio-overview-page .cited-domain-bars .cited-domain-logos span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  color: #2458d8;
  background: #eef6ff;
  font-size: 9px;
  font-weight: 900;
  line-height: 0.9;
  text-align: center;
}

.aio-overview-page .cited-domain-bars .cited-domain-logos .lucide {
  width: 13px;
  height: 13px;
  stroke-width: 2.2;
}

.aio-overview-page .cited-domain-bars div {
  grid-template-columns: 30px minmax(0, 1fr) 32px;
  gap: 8px;
}

.aio-overview-page .cited-domain-bars span {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #eef6ff;
  color: #2458d8;
  font-size: 10px;
}

.aio-overview-page .cited-domain-bars b {
  height: 27px;
  border-radius: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 4px,
      rgba(255, 255, 255, 0.62) 4px,
      rgba(255, 255, 255, 0.62) 6px
    ),
    #72d4d6;
}

.aio-overview-page .cited-domain-bars strong {
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
}

.demo-viewport .aio-overview-page .aio-panel-head {
  min-height: 38px;
  padding-bottom: 7px;
}

.demo-viewport .aio-overview-page .aio-panel-head h2 {
  font-size: 14px;
}

.demo-viewport .aio-overview-page .aio-panel-head p {
  font-size: 10.5px;
}

.demo-viewport .aio-overview-page .aio-analysis-legend,
.demo-viewport .aio-overview-page .aio-legend {
  gap: 9px;
  margin-bottom: 7px;
  font-size: 10px;
}

.demo-viewport .aio-overview-page .aio-line-chart {
  height: 232px;
  padding: 6px 5px 4px 0;
}

.demo-viewport .aio-overview-page .cited-domain-bars .aio-echart {
  height: 390px;
}

.demo-viewport .aio-overview-page .aio-axis {
  padding: 0 14px 0 22px;
  font-size: 10px;
}

.demo-viewport .aio-overview-page .aio-bottom-grid {
  grid-template-columns: minmax(0, 2.05fr) minmax(300px, 0.95fr);
  gap: 9px;
}

.demo-viewport .aio-overview-page .aio-table-panel .aio-panel-head {
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  min-height: 48px;
  padding: 8px 10px;
}

.demo-viewport
  .aio-overview-page
  .aio-table-panel
  .aio-panel-head
  > div:first-child {
  display: block;
}

.demo-viewport
  .aio-overview-page
  .aio-table-panel
  .aio-panel-head
  > div:last-child {
  gap: 5px;
}

.demo-viewport .aio-overview-page .aio-search {
  width: 140px;
  height: 27px;
  padding: 0 9px;
  font-size: 9.5px;
}

.demo-viewport .aio-overview-page .aio-table-panel .aio-panel-head button {
  min-height: 27px;
  padding: 0 8px;
  font-size: 9.5px;
}

.demo-viewport .aio-overview-page .aio-mentions-head,
.demo-viewport .aio-overview-page .aio-mentions-row {
  grid-template-columns: 28px minmax(210px, 1.45fr) 74px 92px 108px 140px;
  gap: 9px;
  min-width: 790px;
  padding: 0 12px;
}

.demo-viewport .aio-overview-page .aio-mentions-head {
  min-height: 42px;
  font-size: 10px;
}

.demo-viewport .aio-overview-page .aio-mentions-row {
  min-height: 48px;
  font-size: 10.5px;
}

.demo-viewport .aio-overview-page .aio-mentions-row strong {
  font-size: 10.5px;
}

.demo-viewport .aio-overview-page .aio-mentions-row button {
  min-width: 66px;
  min-height: 25px;
  font-size: 10px;
}

.demo-viewport .aio-overview-page .aio-pagination {
  min-height: 44px;
}

.demo-viewport .aio-overview-page .cited-domain-panel {
  padding: 10px 12px;
  min-height: 520px;
}

.demo-viewport .aio-overview-page .cited-domain-panel .aio-panel-head {
  padding-bottom: 8px;
}

.demo-viewport .aio-overview-page .cited-domain-panel .aio-panel-head p b {
  height: 20px;
  padding: 0 8px;
  font-size: 9.5px;
}

.demo-viewport .aio-overview-page .cited-domain-bars {
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  height: 466px;
  max-height: none;
  margin-right: -6px;
}

.demo-viewport .aio-overview-page .cited-domain-bars .aio-echart {
  height: 100%;
}

.demo-viewport .aio-overview-page .cited-domain-bars .cited-domain-logos span {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  font-size: 7px;
}

.demo-viewport
  .aio-overview-page
  .cited-domain-bars
  .cited-domain-logos
  .lucide {
  width: 11px;
  height: 11px;
}

.demo-viewport .aio-overview-page .cited-domain-bars div {
  grid-template-columns: 24px minmax(0, 1fr) 26px;
}

.demo-viewport .aio-overview-page .cited-domain-bars span {
  width: 18px;
  height: 18px;
  font-size: 9px;
}

.demo-viewport .aio-overview-page .cited-domain-bars b {
  height: 20px;
}

/* Dashboard bottom scroll safety for the embedded 1280x768 viewport. */
.demo-viewport .dashboard-page {
  padding-bottom: 28px;
}

.demo-viewport .dashboard-page::after {
  content: "";
  display: block;
  height: 28px;
}

.demo-viewport .lower-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  margin-bottom: 10px;
}

.demo-viewport .keyword-card {
  min-height: 258px;
  overflow: visible;
}

.demo-viewport .keyword-card-head {
  padding: 10px 14px;
}

.demo-viewport .keyword-table-head {
  min-height: 36px;
  padding: 0 14px;
  align-items: center;
}

.demo-viewport .prompts-keyword-head,
.demo-viewport .aio-keyword-head {
  min-height: 36px;
}

.demo-viewport .keyword-table-row {
  min-height: 36px;
  padding: 0 14px;
  font-size: 11px;
}

.demo-viewport .prompts-keyword-row,
.demo-viewport .aio-keyword-row {
  min-height: 36px;
  padding: 0 14px;
}

.demo-viewport .keyword-card-footer {
  flex-shrink: 0;
  margin: 10px 14px 14px;
}

.demo-viewport .prompts-keyword-head,
.demo-viewport .prompts-keyword-row {
  grid-template-columns: minmax(0, 1fr) 120px;
}

.demo-viewport .keyword-llm-icons,
.demo-viewport .keyword-llm-badges {
  display: grid;
  grid-template-columns: repeat(5, 16px);
  justify-content: space-between;
  justify-items: center;
  align-items: center;
  gap: 0;
  width: 120px;
}

.demo-viewport .keyword-llm-icons img {
  width: 16px;
  height: 16px;
}

.demo-viewport .llm-badge {
  width: 18px;
  height: 18px;
}

/* Competitors summary cards: compact app-style ranking cards. */
.demo-viewport .competitors-page {
  gap: 12px;
  margin-top: 12px;
}

.demo-viewport .competitors-page .bv-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.demo-viewport .competitors-page .bv-card {
  min-height: 108px;
  padding: 12px 10px 11px;
  border: 1px solid #cfe0f6;
  border-radius: 13px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.demo-viewport .competitors-page .bv-card--project {
  border-color: #bcd7ff;
  background: linear-gradient(180deg, #f9fcff 0%, #edf6ff 100%);
}

.demo-viewport .competitors-page .bv-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.demo-viewport .competitors-page .bv-card-favicon {
  width: 20px;
  height: 20px;
  border: 1px solid #d3e1f2;
  border-radius: 50%;
  background: #ffffff !important;
  box-shadow: inset 0 0 0 2px rgba(148, 163, 184, 0.16);
  font-size: 10px;
  font-weight: 900;
}

.demo-viewport .competitors-page .bv-card-head strong {
  flex: 1;
  min-width: 0;
  color: #020617;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.demo-viewport .competitors-page .bv-card-tag {
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 8px;
  border: 1px solid #c9d7e8;
  border-radius: 999px;
  background: #eaf1f8;
  color: #183153;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-viewport .competitors-page .bv-card-tag.primary {
  border-color: #bfdbfe;
  background: #dbeafe;
  color: #0b3a8d;
}

.demo-viewport .competitors-page .bv-card-top {
  display: grid;
  grid-template-columns: minmax(78px, 1.25fr) minmax(44px, 0.62fr) minmax(
      72px,
      1fr
    );
  gap: 0;
}

.demo-viewport .competitors-page .bv-card-stat {
  min-width: 0;
  gap: 6px;
  padding: 0 7px;
  border-left: 1px solid #d7e1ee;
}

.demo-viewport .competitors-page .bv-card-stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.demo-viewport .competitors-page .bv-card-stat:last-child {
  padding-right: 0;
}

.demo-viewport .competitors-page .bv-card-stat span {
  color: #1f2a44;
  font-size: 8.2px;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.demo-viewport .competitors-page .bv-card-score-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: auto;
  height: 22px;
}

.demo-viewport .competitors-page .bv-card-score-ring {
  position: relative;
  inset: auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: conic-gradient(
    var(--card-accent) calc(var(--ring-progress) * 1%),
    #dbe4ee 0
  );
  flex: 0 0 14px;
}

.demo-viewport .competitors-page .bv-card-score-ring::after {
  inset: 3px;
  background: #ffffff;
}

.demo-viewport .competitors-page .bv-card-stat > strong,
.demo-viewport .competitors-page .bv-card-score-wrap strong {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  color: var(--card-accent);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.demo-viewport .competitors-page .bv-card-stat strong small {
  color: #1f2a44;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .demo-viewport .competitors-page .bv-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Keep demo pages scrollable, but do not show inner scrollbars in the frame. */
.workspace,
.demo-viewport,
.demo-viewport * {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.workspace::-webkit-scrollbar,
.demo-viewport::-webkit-scrollbar,
.demo-viewport *::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* Brand SOV top section: match the app chart-card proportions. */
.demo-viewport .brand-sov-top {
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  margin-bottom: 12px;
}

.demo-viewport .brand-sov-left {
  height: 100%;
  gap: 12px;
}

.demo-viewport .brand-sov-stat-grid {
  gap: 12px;
}

.demo-viewport .brand-sov-stat {
  min-height: 116px;
  padding: 36px 14px 16px;
  border-radius: 10px;
  border-color: #d8e2ef;
}

.demo-viewport .brand-sov-stat::after {
  top: -28px;
  right: -20px;
  width: 86px;
  height: 86px;
}

.demo-viewport .brand-sov-stat span {
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
}

.demo-viewport .brand-sov-stat strong {
  margin-top: 6px;
  color: #1325c3;
  font-size: 30px;
}

.demo-viewport .brand-sov-llm-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.demo-viewport .brand-sov-llm-card {
  min-height: 62px;
  padding: 10px 12px;
  gap: 10px;
  border-radius: 10px;
  border-color: #d8e2ef;
}

.demo-viewport .brand-sov-llm-card img {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 10px;
}

.demo-viewport .brand-sov-llm-card strong {
  color: #0f172a;
  font-size: 12px;
}

.demo-viewport .brand-sov-llm-card span {
  color: #1325c3;
  font-size: 12px;
}

.demo-viewport .brand-sov-trend {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  height: 236px;
  padding: 14px 16px 12px;
  border-radius: 10px;
  border-color: #d8e2ef;
}

.demo-viewport .brand-sov-chart-head {
  gap: 10px;
  margin-bottom: 10px;
}

.demo-viewport .brand-sov-chart-head h3 {
  color: #0f172a;
  font-size: 14px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.demo-viewport .brand-sov-legend {
  gap: 9px;
  color: #475569;
  font-size: 10px;
  line-height: 1;
  flex: 1;
  justify-content: flex-end;
}

.demo-viewport .brand-sov-legend b {
  width: 7px;
  height: 7px;
}

.demo-viewport .brand-sov-legend span {
  white-space: nowrap;
}

.demo-viewport .brand-sov-legend .lucide {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

.demo-viewport .brand-sov-legend span:nth-child(2) b {
  background: #10b981;
}

.demo-viewport .brand-sov-legend span:nth-child(3) b {
  background: #14b8a6;
}

.demo-viewport .brand-sov-legend span:nth-child(4) b {
  background: #3b82f6;
}

.demo-viewport .brand-sov-chart-grid {
  flex: 1;
  min-height: 0;
  padding: 0 4px 2px 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  overflow: hidden;
}

/* 1350px embedded screen target. */
.stage {
  max-width: 1350px;
}

.product-tabs {
  max-width: 1350px;
}

.demo-frame {
  width: calc(1350px * var(--demo-scale) + 20px);
}

.demo-viewport {
  width: calc(1350px * var(--demo-scale));
}

.demo-viewport .platform-shell {
  width: 1350px;
  min-width: 1350px;
  max-width: 1350px;
  grid-template-columns: 158px 1192px;
}

.demo-viewport .workspace {
  width: 1192px;
}

@media (min-width: 981px) {
  html,
  body {
    min-width: 1350px;
  }

  /*.showcase,
  .stage,
  .platform-shell {
    width: 1350px;
    min-width: 1350px;
    max-width: 1350px;
  }*/

  .platform-shell {
    grid-template-columns: 158px 1192px;
  }

  .workspace {
    width: 1192px;
  }
}

/* AI Traffic page replica */
.ai-traffic-page {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  color: #0f172a;
  padding-bottom: 18px;
}

.traffic-property-bar,
.ai-traffic-head,
.ai-traffic-card,
.ai-traffic-kpis button {
  border: 1px solid #dbe3f5;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.traffic-property-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 0 16px;
  color: #334155;
  font-size: 11px;
}

.traffic-property-bar > div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.traffic-property-bar span:not(.traffic-user-dot) {
  width: 1px;
  height: 20px;
  background: #cbd5e1;
}

.traffic-property-bar b {
  color: #0f172a;
}

.traffic-property-bar .lucide {
  width: 16px;
  height: 16px;
  color: #64748b;
}

.traffic-user-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #ffffff;
  background: #020617;
  font-size: 12px;
  font-weight: 800;
}

.ai-traffic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
}

.ai-traffic-head h1,
.ai-traffic-card h2 {
  margin: 0;
  color: #0f172a;
  font-size: 17px;
  font-weight: 700;
}

.ai-traffic-head p,
.ai-traffic-card p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}

.ai-traffic-head p strong {
  color: #2563eb;
}

.ai-traffic-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-shrink: 0;
}

.ai-traffic-controls button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d1dcf0;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font-size: 11px;
  font-weight: 700;
}

.ai-traffic-controls button.danger {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fef2f2;
}

.ai-traffic-kpis {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.ai-traffic-kpis button {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 8px;
  align-items: start;
  min-height: 74px;
  padding: 10px 9px;
  text-align: left;
}

.ai-traffic-kpis button.active {
  border-color: #60a5fa;
  background: #eff6ff;
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.14),
    0 4px 12px rgba(37, 99, 235, 0.08);
}

.ai-traffic-kpis > button > span {
  grid-column: 1 / -1;
  display: block;
  color: #94a3b8;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ai-traffic-kpis button > div {
  display: grid;
  gap: 3px;
  width: auto;
  margin-top: 12px;
  min-width: 0;
}

.ai-traffic-kpis button > div + div {
  margin-left: 0;
  margin-top: 12px;
  padding-left: 8px;
  border-left: 1px solid #dbe3f0;
}

.ai-traffic-kpis b {
  color: #2563eb;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-traffic-kpis div + div b {
  color: #10b981;
}

.ai-traffic-kpis strong {
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}

.ai-traffic-top-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

.ai-traffic-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid #dbe3f5;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.ai-traffic-card {
  min-width: 0;
  padding: 16px;
}

.traffic-trend-card,
.platform-card {
  height: 296px;
}

.funnel-card,
.comparison-card,
.geo-card {
  height: 352px;
}

.ai-traffic-bottom-grid .ai-traffic-card {
  min-height: 292px;
  border-color: #cfdcf2;
  box-shadow: none;
}

.traffic-trend-card,
.platform-card,
.funnel-card,
.comparison-card,
.geo-card {
  display: flex;
  flex-direction: column;
}

.ai-traffic-card-head,
.landing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ai-traffic-card-head h2,
.comparison-card h2,
.funnel-card h2,
.geo-card h2 {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-traffic-card-head strong {
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
}

.traffic-chart {
  position: relative;
  flex: 1;
  min-height: 0;
  margin-top: 10px;
  padding: 4px 4px 18px;
}

.traffic-chart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.traffic-chart .grid line {
  stroke: #e8eef7;
  stroke-width: 1;
}

.traffic-chart .area {
  fill: url(#trafficArea);
}

.traffic-chart .organic-area {
  fill: url(#organicTrafficArea);
}

.traffic-chart .line {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.traffic-chart .blue {
  stroke: #2563eb;
}

.traffic-chart .green {
  stroke: #16a34a;
}

.traffic-axis {
  position: absolute;
  right: 4px;
  bottom: 0;
  left: 4px;
  display: flex;
  justify-content: space-between;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
}

.platform-list,
.geo-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.platform-list div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 8px 10px;
  align-items: center;
}

.platform-list img {
  grid-row: span 3;
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 8px;
  background: #f1f5f9;
  object-fit: contain;
}

.platform-list span,
.geo-list p,
.device-row span {
  margin: 0;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
}

.platform-list strong,
.device-row strong {
  color: #2563eb;
  font-size: 12px;
}

.platform-list b,
.geo-list b,
.device-row b {
  grid-column: 2 / 4;
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #2563eb;
}

.platform-list div::after,
.device-row::after,
.geo-list div::after {
  content: "";
  grid-column: 2 / 4;
  grid-row: 2;
  height: 8px;
  border-radius: 999px;
  background: #e8edf7;
  z-index: 0;
}

.platform-list b,
.geo-list b,
.device-row b {
  grid-row: 2;
  z-index: 1;
}

.platform-list small,
.device-row small {
  grid-column: 2 / 4;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.funnel-chart {
  flex: 1;
  min-height: 0;
  margin-top: 14px;
  padding: 10px 6px;
  border-radius: 12px;
  background: #f8fbff;
}

.funnel-chart > div {
  width: 100% !important;
  height: 100% !important;
}

.traffic-compare-table {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid #dbe3f5;
  border-radius: 12px;
}

.traffic-compare-table > div {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-top: 1px solid #dbe3f5;
  color: #334155;
  font-size: 12px;
}

.traffic-compare-table .head {
  min-height: 42px;
  border-top: 0;
  background: #f4f7ff;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.traffic-compare-table strong {
  color: #16a34a;
  text-align: center;
}

.traffic-compare-table em {
  color: #334155;
  font-style: normal;
  text-align: center;
}

.traffic-insight {
  margin-top: 12px !important;
  padding: 9px 10px;
  border: 1px solid #bfceef;
  border-radius: 10px;
  background: #f4f8ff;
  font-size: 10px !important;
  line-height: 1.55;
}

.traffic-insight b {
  color: #2563eb;
}

.geo-list div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 4px 8px;
  align-items: center;
}

.geo-list span {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
}

.geo-list strong {
  color: #0f172a;
  font-size: 12px;
}

.geo-card > small {
  margin-top: auto;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.geo-card {
  overflow: hidden;
}

.geo-list p {
  font-size: 12px;
}

.geo-list b,
.geo-list div::after {
  height: 6px;
}

.traffic-mix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
}

.traffic-mix-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.traffic-mix-legend b {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: #2563eb;
}

.traffic-mix-legend span:nth-child(2) b {
  background: #16a34a;
}

.traffic-mix-legend span:nth-child(3) b {
  background: #f59e0b;
}

.traffic-mix-legend span:nth-child(4) b {
  background: #64748b;
}

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

.mix-grid div {
  padding: 14px 12px;
  border: 1px solid #e5e9f2;
  border-radius: 12px;
  background: #f8fafc;
  text-align: center;
}

.mix-grid .highlight {
  border-color: #8fb1ff;
  background: #eff5ff;
}

.mix-grid span {
  color: #64748b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mix-grid strong {
  display: block;
  margin-top: 6px;
  color: #0f172a;
  font-size: 24px;
}

.mix-grid .highlight strong {
  color: #1d4ed8;
}

.device-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  margin-top: 18px;
}

.device-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.device-row .lucide {
  width: 13px;
  height: 13px;
  color: #2563eb;
}

.device-card .device-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  margin-top: 18px;
}

.device-card .device-row::after,
.device-card .device-row b {
  grid-column: 1 / -1;
  grid-row: 2;
  height: 10px;
}

.device-card .device-row b {
  border-radius: 0;
}

.device-card .device-row small {
  grid-column: 1 / -1;
  grid-row: 3;
}

.source-card {
  position: relative;
}

.source-search {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 230px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #94a3b8;
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.source-bars {
  position: relative;
  height: 206px;
  margin-top: 14px;
  padding: 20px 24px 38px 58px;
  border: 1px solid #e4edf6;
  border-radius: 12px;
  background: #ffffff;
}

.source-bars::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 24px;
  bottom: 38px;
  left: 58px;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(20% - 1px),
    #e8eef5 calc(20% - 1px),
    #e8eef5 20%
  );
}

.source-chart-rows {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
}

.source-chart-rows div {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 28px;
}

.source-chart-rows img {
  position: absolute;
  left: -38px;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.source-chart-rows span {
  position: relative;
  display: block;
  height: 24px;
  background: #e9f0f6;
}

.source-chart-rows b {
  display: block;
  width: 100%;
  height: 24px;
  border-radius: 0;
  background: linear-gradient(90deg, #2563eb var(--w), transparent 0);
}

.source-chart-rows strong {
  position: absolute;
  top: 50%;
  left: calc(var(--w) + 6px);
  transform: translateY(-50%);
  color: #0f172a;
  font-size: 10px;
  font-weight: 800;
}

.source-axis {
  position: absolute;
  right: 24px;
  bottom: 12px;
  left: 58px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: #475569;
  font-size: 10px;
  font-weight: 600;
}

.landing-card {
  padding: 18px 20px;
}

.landing-head {
  margin-bottom: 24px;
}

.landing-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.landing-actions button,
.landing-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
}

.landing-search {
  min-width: 310px;
  color: #94a3b8;
}

.landing-table {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.landing-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.8fr) 78px repeat(
      8,
      minmax(76px, 0.8fr)
    );
  align-items: center;
  min-width: 100%;
  min-height: 48px;
  border-top: 1px solid #e2e8f0;
  color: #020617;
  font-size: 12px;
  font-weight: 700;
}

.landing-row:first-child {
  border-top: 0;
}

.landing-row > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
  padding: 0 10px;
}

.landing-row > :first-child {
  justify-content: flex-start;
  padding-left: 18px;
  border-right: 1px solid #e2e8f0;
  background: #fbfdff;
}

.landing-table-head {
  min-height: 78px;
  background: #f4f8ff;
  color: #64748b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-table-head > * {
  flex-direction: column;
  gap: 9px;
}

.landing-table-head > :first-child,
.landing-table-head > :nth-child(2) {
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.landing-table-head > span:nth-child(n + 3)::after {
  content: none;
}

.landing-table-head em {
  margin-left: 5px;
  color: #cbd5e1;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.landing-head-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.landing-table-head b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 22px;
  margin-left: 0;
  padding: 0 9px;
  border: 1px solid #cfe0ff;
  border-radius: 99px;
  background: #e4f0ff;
  color: #1d4ed8;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.landing-row strong {
  color: #1457ff;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-row img {
  width: 26px;
  height: 26px;
  padding: 6px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
  object-fit: contain;
}

.landing-row b.good,
.landing-row b.bad,
.landing-row b.time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.landing-row b.good {
  color: #047857;
  background: #d1fae5;
}

.landing-row b.bad {
  color: #dc2626;
  background: #fee2e2;
}

.landing-row b.time {
  color: #2563eb;
  background: #dbeafe;
  border: 1px solid #93c5fd;
}

.landing-pagination {
  display: grid;
  grid-template-columns: auto 70px auto 1fr auto auto auto;
  align-items: center;
  gap: 10px;
  min-width: 100%;
  min-height: 56px;
  margin-top: 14px;
  padding: 0 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  background: #ffffff;
}

.landing-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.landing-pagination button:disabled {
  color: #94a3b8;
  background: #f8fafc;
}

.demo-viewport .platform-shell.reportlift-shell,
.demo-viewport .platform-shell.embedded-product-shell {
  grid-template-columns: 1350px;
}

.demo-viewport .platform-shell.reportlift-shell > .sidebar,
.demo-viewport .platform-shell.embedded-product-shell > .sidebar {
  display: none;
}

.demo-viewport .platform-shell.reportlift-shell > .workspace,
.demo-viewport .platform-shell.embedded-product-shell > .workspace {
  width: 1350px;
  max-width: 1350px;
}

.workspace.reportlift-active,
.workspace.embedded-product-active {
  width: 1350px;
  height: 768px;
  max-height: 768px;
  padding: 0;
  background: #f3f5f8;
}

.workspace.reportlift-active .workspace-topbar,
.workspace.embedded-product-active .workspace-topbar {
  display: none;
}

.reportlift-page,
.contentlift-page,
.ai-arena-page {
  width: 100%;
  height: 768px;
  min-height: 0;
  background: #f3f5f8;
}

.reportlift-page iframe,
.contentlift-page iframe,
.ai-arena-page iframe {
  display: block;
  width: 100%;
  height: 768px;
  min-height: 0;
  border: 0;
  background: #f3f5f8;
}

/* Generative AI dashboard */
.gsc-page .gsc-page-toolbar {
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  background: #fff;
}
.gsc-page .gsc-page-toolbar span {
  color: #53657a;
  font-size: 11px;
}
.gsc-page .gsc-page-actions span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.gsc-page .gsc-page-actions button {
  width: 30px;
  padding: 0;
  justify-content: center;
  border: 0;
}
.gen-connection {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
}
.gen-connection span {
  padding: 7px 12px;
  border: 1px solid #b9ead9;
  border-radius: 6px;
  background: #eafaf4;
  color: #159c73;
  font-size: 9px;
}
.gen-connection button {
  height: 30px;
  min-width: 112px;
  border: 1px solid #dbe3ec;
  border-radius: 6px;
  background: #fff;
  color: #52647a;
  font-size: 10px;
}
.gsc-page .gsc-kpi-card {
  position: relative;
  min-height: 110px;
}
.gsc-page .gsc-kpi-card > .lucide {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 16px;
  color: #7657f5;
}
.gsc-page .gsc-kpi-card strong {
  font-size: 23px;
}
.gsc-page .gsc-kpi-card small {
  color: #13b985;
}
.gen-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.gen-main-grid .gsc-trend-card {
  margin: 0;
}
.gen-device {
  padding-bottom: 14px;
}
.gen-donut {
  width: 104px;
  height: 104px;
  margin: 20px auto;
  border: 12px solid #5a49ed;
  border-right-color: #8f38ef;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
}
.gen-donut strong {
  font-size: 18px;
}
.gen-donut span {
  display: block;
  color: #8a98aa;
  font-size: 8px;
}
.gen-device-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px;
}
.gen-device-stats div {
  position: relative;
  padding: 10px;
  border-radius: 7px;
  background: #f7f8fc;
  color: #64748b;
  font-size: 9px;
}
.gen-device-stats b {
  display: block;
  color: #172033;
  font-size: 12px;
  margin-top: 3px;
}
.gen-device-stats em {
  position: absolute;
  right: 8px;
  bottom: 12px;
  color: #7657f5;
  font-style: normal;
}
.gen-device-bar {
  display: flex;
  height: 6px;
  margin: 14px 12px 0;
  border-radius: 6px;
  overflow: hidden;
}
.gen-device-bar i {
  width: 33%;
  background: #9a3fec;
}
.gen-device-bar b {
  width: 67%;
  background: #514fe5;
}
.gen-device > p {
  margin: 12px;
  text-align: center;
  padding: 7px;
  background: #f8fafc;
  color: #64748b;
  font-size: 8px;
}
.gsc-page .gsc-table-card {
  margin-top: 0;
}
.gsc-page .gsc-pages-row {
  min-height: 38px;
}
.gsc-page .gsc-pages-row span:first-child {
  color: #665af2;
}
.gsc-page .gsc-pages-row span:last-child {
  justify-self: start;
  padding: 4px 7px;
  border: 1px solid #dcdcf6;
  border-radius: 4px;
  background: #f6f4ff;
  color: #6458dd;
  font-size: 9px;
}
.gen-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  color: #64748b;
  font-size: 9px;
}
.gen-pagination div {
  display: flex;
  gap: 4px;
}
.gen-pagination button {
  height: 28px;
  min-width: 28px;
  border: 1px solid #e1e7ef;
  border-radius: 6px;
  background: #fff;
  color: #64748b;
}
.gen-pagination button.active {
  background: #7657ef;
  color: #fff;
  border-color: #7657ef;
}
@media (max-width: 900px) {
  .gen-main-grid {
    grid-template-columns: 1fr;
  }
}

.brand-favicon,
.prompt-brand-dot,
.bv-card-favicon,
.bv-score-favicon,
.aio-benchmark-row b,
.aio-card-select b,
.brand-select b,
.performance-brand-tabs b {
  position: relative;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  color: currentColor;
  font-size: 0 !important;
  line-height: 1;
}

.brand-favicon::before,
.prompt-brand-dot::before,
.bv-card-favicon::before,
.bv-score-favicon::before,
.aio-benchmark-row b::before,
.aio-card-select b::before,
.brand-select b::before,
.performance-brand-tabs b::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border: 1.7px solid currentColor;
  border-radius: 999px;
  box-shadow:
    inset 4px 0 0 -3px currentColor,
    inset -4px 0 0 -3px currentColor,
    inset 0 4px 0 -3px currentColor,
    inset 0 -4px 0 -3px currentColor;
  opacity: 0.95;
}

.brand-favicon::after,
.prompt-brand-dot::after,
.bv-card-favicon::after,
.bv-score-favicon::after,
.aio-benchmark-row b::after,
.aio-card-select b::after,
.brand-select b::after,
.performance-brand-tabs b::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.7;
}

.bv-card-favicon .lucide,
.bv-score-favicon .lucide {
  display: none;
}

.response-brand-tabs img {
  display: none;
}

.response-brand-tabs button::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 1.8px solid currentColor;
  border-radius: 999px;
  box-shadow:
    inset 5px 0 0 -4px currentColor,
    inset -5px 0 0 -4px currentColor,
    inset 0 5px 0 -4px currentColor,
    inset 0 -5px 0 -4px currentColor;
  opacity: 0.9;
  flex: 0 0 auto;
}

.demo-viewport .workspace .brand-icon,
.demo-viewport .workspace .brand-favicon,
.demo-viewport .workspace .prompt-brand-dot,
.demo-viewport .workspace .bv-card-favicon,
.demo-viewport .workspace .bv-score-favicon,
.demo-viewport .workspace .aio-benchmark-row b,
.demo-viewport .workspace .aio-card-select b,
.demo-viewport .workspace .brand-select b,
.demo-viewport .workspace .performance-brand-tabs b {
  color: #64748b !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.demo-viewport .workspace .brand-icon {
  color: #475569 !important;
  background: #f1f5f9 !important;
}

.demo-viewport .workspace .brand-favicon::before,
.demo-viewport .workspace .prompt-brand-dot::before,
.demo-viewport .workspace .bv-card-favicon::before,
.demo-viewport .workspace .bv-score-favicon::before,
.demo-viewport .workspace .aio-benchmark-row b::before,
.demo-viewport .workspace .aio-card-select b::before,
.demo-viewport .workspace .brand-select b::before,
.demo-viewport .workspace .performance-brand-tabs b::before,
.demo-viewport .workspace .response-brand-tabs button::before {
  border-width: 1.35px;
  opacity: 0.72;
}

.demo-viewport .workspace .brand-favicon::after,
.demo-viewport .workspace .prompt-brand-dot::after,
.demo-viewport .workspace .bv-card-favicon::after,
.demo-viewport .workspace .bv-score-favicon::after,
.demo-viewport .workspace .aio-benchmark-row b::after,
.demo-viewport .workspace .aio-card-select b::after,
.demo-viewport .workspace .brand-select b::after,
.demo-viewport .workspace .performance-brand-tabs b::after {
  opacity: 0.42;
}

.demo-viewport .workspace .response-brand-tabs button::before {
  color: #64748b;
  background: #f8fafc;
}

.demo-viewport .workspace h1,
.demo-viewport .workspace h2,
.demo-viewport .workspace h3,
.demo-viewport .workspace .brand-heading h2,
.demo-viewport .workspace .card-title,
.demo-viewport .workspace .panel-heading h3,
.demo-viewport .workspace .feature-panel-head h2,
.demo-viewport .workspace .brand-sov-titlebar h1,
.demo-viewport .workspace .aio-page-head h1,
.demo-viewport .workspace .aio-card-top h2,
.demo-viewport .workspace .aio-panel-head h2,
.demo-viewport .workspace .performance-card h2,
.demo-viewport .workspace .performance-table-head h2,
.demo-viewport .workspace .comp-panel-head h3 {
  font-weight: 600 !important;
  letter-spacing: 0;
}

.demo-viewport .workspace strong,
.demo-viewport .workspace .feature-kpi strong,
.demo-viewport .workspace .brand-sov-stat strong,
.demo-viewport .workspace .prompt-brand-total strong,
.demo-viewport .workspace .aio-card-top strong,
.demo-viewport .workspace .aio-ring,
.demo-viewport .workspace .content-score strong,
.demo-viewport .workspace .metric-row .metric-value,
.demo-viewport .workspace .mini-metrics strong,
.demo-viewport .workspace .bv-card-stat > strong,
.demo-viewport .workspace .bv-card-score-wrap strong,
.demo-viewport .workspace .comp-stat strong {
  font-weight: 650 !important;
}

.demo-viewport .workspace button,
.demo-viewport .workspace select,
.demo-viewport .workspace .brand-sov-table-head,
.demo-viewport .workspace .mock-table-head,
.demo-viewport .workspace .aio-mentions-head,
.demo-viewport .workspace .performance-table-header,
.demo-viewport .workspace .prompt-brand-tag,
.demo-viewport .workspace .bv-card-tag,
.demo-viewport .workspace .rank-pill {
  font-weight: 600 !important;
}

.demo-viewport .workspace .brand-heading p,
.demo-viewport .workspace .project-meta,
.demo-viewport .workspace .feature-kpi span,
.demo-viewport .workspace .feature-kpi small,
.demo-viewport .workspace .brand-sov-stat span,
.demo-viewport .workspace .brand-sov-llm-card strong,
.demo-viewport .workspace .brand-sov-llm-card span,
.demo-viewport .workspace .aio-panel-head p,
.demo-viewport .workspace .performance-card-head p,
.demo-viewport .workspace .panel-sub {
  font-weight: 500 !important;
}

@media (max-width: 900px) {
  .ai-traffic-head,
  .landing-head {
    flex-direction: column;
  }

  .ai-traffic-kpis,
  .ai-traffic-top-grid,
  .ai-traffic-mid-grid,
  .ai-traffic-bottom-grid {
    grid-template-columns: 1fr;
  }
}

/* Compact touch canvas: preserve every desktop layout through tablet sizes
   while allowing the complete dashboard to move horizontally. */
@media (max-width: 980px) {
  .showcase {
    width: 100%;
    min-width: 0;
    padding: 6px 5px 18px;
    overflow-x: hidden;
  }

  .stage {
    --mobile-content-scale: 0.72;
    --demo-scale: 1;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    position: relative;
  }

  .product-tabs {
    display: grid;
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(4, minmax(148px, 1fr));
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .product-tabs::-webkit-scrollbar {
    display: none;
  }

  .product-tabs-next {
    position: absolute;
    top: 7px;
    right: 3px;
    z-index: 20;
    display: grid;
    place-items: center;
    width: 34px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 138, 29, 0.28);
    border-radius: 10px;
    color: #f37021;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(5px);
    cursor: pointer;
  }

  .product-tabs-next::before {
    content: "";
    position: absolute;
    top: -7px;
    right: -3px;
    bottom: -7px;
    width: 62px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.98));
  }

  .product-tabs-next span {
    display: block;
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
    transform: translateY(-1px);
    animation: product-tab-hint 1.15s ease-in-out infinite alternate;
  }

  .product-tabs-next:active {
    transform: scale(0.94);
  }

  .product-tabs button {
    min-width: 148px;
    min-height: 48px;
    padding: 0;
    font-size: 14px;
  }

  .product-tabs button span.product-brand-logo {
    width: 112px;
    height: 40px;
  }

  .product-tabs button span.product-brand-logo img {
    width: 108px;
    height: 38px;
  }

  .product-tabs button span.product-brand-logo.contentlift-logo,
  .product-tabs button span.product-brand-logo.tesseract-logo {
    width: 110px;
  }

  .product-tabs button span.product-brand-logo.contentlift-logo img {
    width: 106px;
    height: 37px;
  }

  .product-tabs button span.product-brand-logo.tesseract-logo img {
    width: 102px;
    height: 39px;
  }

  .section-intro {
    max-width: 900px;
    margin: 9px auto 12px;
    padding: 0 4px;
    font-size: 11px;
    line-height: 1.45;
  }

  .platform-shell .workspace .hero-strip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 14px;
  }

  .platform-shell .workspace .score-card {
    min-height: 230px;
  }

  .platform-shell .workspace .llm-chart {
    min-height: 190px;
  }

  .demo-viewport .workspace-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
  }

  .demo-viewport .workspace-topbar .brand-heading {
    flex: 0 0 auto;
  }

  .demo-viewport .workspace-topbar .project-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .demo-viewport
    .side-nav
    button:is([data-page="performance"], [data-page="generative-ai"])
    .lucide {
    width: 15px;
    min-width: 15px;
    height: 15px;
    transform: scale(1.16);
    transform-origin: center;
    flex-shrink: 0;
  }

  /* Preserve the desktop composition inside every Tesseract page. */
  .demo-viewport .dashboard-controls,
  .demo-viewport .brand-sov-titlebar,
  .demo-viewport .brand-sov-controls,
  .demo-viewport .prompts-section-head,
  .demo-viewport .prompts-trend-head,
  .demo-viewport .prompts-table-head,
  .demo-viewport .ai-model-bar,
  .demo-viewport .ai-model-actions,
  .demo-viewport .ai-citation-table-top,
  .demo-viewport .ai-citation-filters,
  .demo-viewport .aio-page-head,
  .demo-viewport .aio-panel-head,
  .demo-viewport .traffic-property-bar,
  .demo-viewport .ai-traffic-head,
  .demo-viewport .response-mentions-head,
  .demo-viewport .response-mentions-head > div,
  .demo-viewport .performance-toolbar,
  .demo-viewport .performance-filters,
  .demo-viewport .gsc-page-toolbar,
  .demo-viewport .gsc-card-head {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .demo-viewport .brand-sov-controls,
  .demo-viewport .prompts-trend-controls,
  .demo-viewport .prompts-table-actions,
  .demo-viewport .ai-model-actions,
  .demo-viewport .ai-citation-filters,
  .demo-viewport .ai-traffic-controls,
  .demo-viewport .performance-filters {
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .demo-viewport .brand-sov-top {
    grid-template-columns: minmax(500px, 0.78fr) minmax(640px, 1.22fr);
  }

  .demo-viewport .brand-sov-page {
    padding-top: 14px;
  }

  .demo-viewport .prompts-page {
    padding-top: 14px;
  }

  .demo-viewport .ai-citations-page {
    padding-top: 14px;
  }

  .demo-viewport .aio-overview-page,
  .demo-viewport .ai-traffic-page {
    padding-top: 14px;
  }

  .demo-viewport .ai-response-page {
    padding-top: 14px;
  }

  .demo-viewport .performance-page {
    padding-top: 14px;
  }

  .demo-viewport .feature-page.gsc-page {
    padding: 14px 0 0 !important;
  }

  .demo-viewport .brand-sov-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-viewport .brand-sov-llm-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .demo-viewport .brand-sov-search {
    width: 220px;
    min-width: 220px;
  }

  .demo-viewport .brand-sov-controls button {
    flex: 0 0 auto;
  }

  .demo-viewport .brand-sov-tabs {
    display: grid;
    width: min(760px, 100%);
    min-width: 760px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 16px auto;
    padding: 6px;
  }

  .demo-viewport .brand-sov-tabs button {
    min-width: 0;
    min-height: 38px;
    height: 38px;
    font-size: 13px;
    white-space: nowrap;
  }

  .demo-viewport .ai-model-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 14px;
  }

  .demo-viewport .ai-model-tab-list,
  .demo-viewport .ai-model-actions {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    width: auto;
    white-space: nowrap;
  }

  .demo-viewport .ai-model-tab-list {
    flex: 0 0 auto;
  }

  .demo-viewport .ai-model-actions {
    justify-content: flex-end;
    margin-left: auto;
  }

  .demo-viewport .prompt-brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .demo-viewport .ai-citation-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .demo-viewport .aio-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .demo-viewport .aio-chart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-viewport .aio-bottom-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.75fr);
  }

  .demo-viewport .ai-traffic-kpis {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .demo-viewport .ai-traffic-top-grid,
  .demo-viewport .ai-traffic-bottom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-viewport .ai-traffic-mid-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .demo-viewport .response-brand-tabs {
    width: fit-content;
    max-width: none;
    flex-wrap: nowrap;
  }

  .demo-viewport .response-mentions-head h2,
  .demo-viewport .response-mentions-head label,
  .demo-viewport .response-mentions-head button,
  .demo-viewport .response-search {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .demo-viewport .response-mentions-head > div {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row;
    flex-wrap: nowrap;
    width: auto;
    margin-left: auto;
  }

  .demo-viewport .response-mentions-head label {
    min-width: max-content;
  }

  .demo-viewport .response-mentions-head button:nth-of-type(1) {
    width: 138px;
    min-width: 138px;
    max-width: 138px;
    justify-content: space-between;
  }

  .demo-viewport .response-search {
    width: 160px;
    min-width: 160px;
  }

  .demo-viewport .performance-main-grid {
    grid-template-columns: minmax(290px, 0.9fr) minmax(0, 2.7fr);
  }

  .demo-viewport .gsc-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .demo-viewport .feature-page.gsc-page .gen-main-grid,
  .demo-viewport .gen-main-grid {
    grid-template-columns: 2.05fr 1fr;
  }

  .demo-frame {
    width: 100%;
    max-width: 100%;
    height: calc(768px * var(--mobile-content-scale) + 12px);
    border-width: 6px;
    border-radius: 14px;
    overflow: hidden;
  }

  .demo-frame::after {
    right: 0;
    bottom: 0;
    left: 0;
  }

  .demo-viewport {
    width: 100%;
    height: calc(768px * var(--mobile-content-scale));
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .demo-viewport::-webkit-scrollbar {
    display: none;
  }

  .demo-viewport .platform-shell,
  .demo-viewport .platform-shell.reportlift-shell,
  .demo-viewport .platform-shell.embedded-product-shell {
    width: 1350px;
    min-width: 1350px;
    max-width: 1350px;
    height: 768px;
    min-height: 768px;
    max-height: 768px;
    zoom: var(--mobile-content-scale);
    transform: none;
  }

  .demo-viewport .platform-shell {
    grid-template-columns: 158px 1192px;
  }

  .demo-viewport .platform-shell > .sidebar {
    position: relative;
    width: 158px;
    min-width: 158px;
    height: 768px;
    overflow: hidden;
  }

  .demo-viewport .platform-shell > .workspace,
  .workspace.reportlift-active,
  .workspace.embedded-product-active {
    width: 1192px;
    min-width: 1192px;
    max-width: 1192px;
    height: 768px;
    max-height: 768px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .demo-viewport .platform-shell > .workspace::-webkit-scrollbar {
    display: none;
  }

  .demo-viewport .platform-shell.reportlift-shell,
  .demo-viewport .platform-shell.embedded-product-shell {
    display: block;
  }

  .demo-viewport .platform-shell.reportlift-shell > .workspace,
  .demo-viewport .platform-shell.embedded-product-shell > .workspace,
  .workspace.reportlift-active,
  .workspace.embedded-product-active {
    width: 1350px;
    min-width: 1350px;
    max-width: 1350px;
    height: 768px;
    max-height: 768px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .reportlift-page,
  .contentlift-page,
  .ai-arena-page,
  .reportlift-page iframe,
  .contentlift-page iframe,
  .ai-arena-page iframe {
    width: 1350px;
    min-width: 1350px;
    max-width: none;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .product-tabs-next {
    display: none;
  }
}

@media (max-width: 700px) {
  .stage {
    --mobile-content-scale: 0.56;
  }
}

@media (max-width: 480px) {
  .stage {
    --mobile-content-scale: 0.46;
  }
}
