@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/roboto-latin.woff2") format("woff2");
}
:root {
  --bg: #f0f4f9;
  --surface: #fff;
  --ink: #1f1f1f;
  --muted: #444746;
  --caption: #5f6368;
  --purple: #0b57d0;
  --pale: #e8f0fe;
  --line: #dadce0;
  --green: #137333;
  --radius: 16px;
  --text-body: 16px;
  --text-label: 14px;
  --text-caption: 14px;
  --text-title: 22px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Roboto, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: var(--text-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--purple);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: 0;
}
h1 {
  line-height: 1.25;
}
h2 {
  font-size: var(--text-title);
  line-height: 28px;
}
h3 {
  font-size: 18px;
  line-height: 24px;
}
p {
  color: var(--muted);
}
.site-header {
  height: 80px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.header-inner {
  padding: 0 32px;
  margin: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  white-space: nowrap;
}
.brand-light {
  font-weight: 400;
}
.brand-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--purple);
  border-radius: 10px;
  color: white;
  margin-right: 10px;
}
.brand-icon svg {
  width: 24px;
  height: 24px;
}
.beta {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.5px;
  font-weight: 500;
  margin-left: 8px;
  color: var(--purple);
  background: var(--pale);
  padding: 4px 6px;
  border-radius: 4px;
}
nav {
  display: flex;
  gap: 32px;
  align-items: center;
  color: var(--muted);
  font-size: var(--text-label);
  font-weight: 500;
  line-height: 20px;
}
nav a {
  padding: 12px 0;
}
nav a[aria-current] {
  color: var(--purple);
}
.free-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 10px 14px;
  font-size: var(--text-label);
  font-weight: 400;
}
.free-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.content-wrap {
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}
.hero {
  max-width: 1920px;
  margin: auto;
  text-align: center;
  padding: 64px 32px 0;
}
.eyebrow {
  font-size: var(--text-label);
  line-height: 20px;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}
.hero > .eyebrow {
  justify-content: center;
}
.tiny-bar {
  height: 6px;
  width: 6px;
  background: var(--purple);
  border-radius: 50%;
}
.hero h1 {
  font-size: 48px;
  line-height: 56px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 20px 0;
}
.hero h1 span {
  color: var(--purple);
}
.hero-copy {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 28px;
}
.search-form {
  max-width: 960px;
  margin: auto;
  display: flex;
  align-items: center;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: left;
  gap: 8px;
  min-height: 72px;
}
.input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding-left: 12px;
  gap: 12px;
}
.input-wrap svg {
  width: 24px;
  height: 24px;
  color: var(--muted);
  flex-shrink: 0;
}
.search-form input {
  border: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
  padding: 8px 0;
}
.search-form input::placeholder {
  color: var(--caption);
  opacity: 1;
}
.search-form select {
  border: 0;
  border-left: 1px solid var(--line);
  padding: 12px;
  background: var(--surface);
  color: var(--muted);
  max-width: 200px;
  font-size: var(--text-label);
  line-height: 20px;
  min-height: 48px;
}
.search-form button {
  border: 0;
  border-radius: 8px;
  background: var(--purple);
  color: #fff;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  min-height: 48px;
  font-size: var(--text-label);
  font-weight: 500;
  line-height: 20px;
}
.search-form button span:last-child {
  font-size: 20px;
  line-height: 20px;
}
.form-note {
  font-size: var(--text-caption);
  line-height: 20px;
  color: var(--caption);
  margin: 16px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.note-dot {
  color: var(--caption);
}
.form-error {
  background: #fce8e6;
  color: #a50e0e;
  border-radius: 8px;
  padding: 16px;
  max-width: 960px;
  margin: 16px auto;
}
.try-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0 40px;
  font-size: var(--text-label);
  line-height: 20px;
}
.try-row > span {
  color: var(--muted);
  margin-right: 4px;
}
.try-row a {
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--purple);
  background: var(--surface);
}
.try-row a span {
  margin-left: 8px;
}
.source-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  font-size: var(--text-label);
  line-height: 20px;
  color: var(--muted);
}
.source-strip b {
  font-weight: 500;
  color: var(--ink);
}
.source-strip > span:first-child {
  font-weight: 500;
  letter-spacing: 0.5px;
}
.source-strip .plus {
  color: var(--caption);
}
.source-description {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.home-section {
  padding-top: 40px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 24px;
}
.section-heading .eyebrow {
  margin-bottom: 8px;
}
.section-heading h2 {
  margin: 0;
}
.text-link {
  font-size: var(--text-label);
  font-weight: 500;
  color: var(--purple);
  display: inline-block;
  line-height: 20px;
}
.text-link span {
  margin-left: 8px;
}
.report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.report-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px 24px 0;
  display: block;
  overflow: hidden;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.report-card:hover {
  border-color: var(--purple);
  color: inherit;
  box-shadow: 0 2px 6px #1f1f1f14;
}
.card-meta {
  font-size: var(--text-caption);
  line-height: 20px;
  color: var(--caption);
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.card-arrow {
  font-size: 20px;
  color: var(--purple);
}
.report-card h3 {
  font-size: 22px;
  line-height: 28px;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}
.card-metric {
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
  color: var(--ink);
}
.card-metric small {
  font-size: var(--text-caption);
  font-weight: 400;
  color: var(--caption);
  display: block;
  margin-top: 4px;
  line-height: 20px;
}
.mini-chart {
  height: 100px;
  margin: 16px -6px 12px;
  overflow: hidden;
}
.mini-chart .desktop-chart {
  display: block;
  height: 100%;
}
.mini-chart .mobile-chart {
  display: none;
}
.mini-chart .trend-svg {
  height: 100%;
  width: 100%;
  min-height: 0;
  transform: scale(1.12);
}
.mini-chart text,
.mini-chart line,
.mini-chart circle {
  display: none;
}
.card-foot {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--text-label);
  line-height: 20px;
  color: var(--caption);
  padding: 16px 0;
}
.card-foot span:last-child {
  color: var(--purple);
  white-space: nowrap;
}
.why-section {
  padding-top: 48px;
  padding-bottom: 40px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.feature-grid article {
  padding-top: 8px;
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--pale);
  color: var(--purple);
  font-size: var(--text-label);
  margin-bottom: 16px;
}
.feature-grid h3 {
  margin-bottom: 12px;
}
.feature-grid p {
  font-size: 16px;
  line-height: 24px;
  max-width: 520px;
  margin-bottom: 0;
}
.method-banner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  padding-bottom: 32px;
}
.method-banner h2 {
  margin: 12px 0;
}
.method-banner p {
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}
.outline-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  background: var(--surface);
  font-size: var(--text-label);
  line-height: 20px;
  white-space: nowrap;
  color: var(--purple);
  display: inline-block;
}
.outline-button:hover {
  border-color: var(--purple);
  background: var(--pale);
}
footer {
  max-width: 1920px;
  margin: 24px auto 0;
  padding: 24px 32px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 24px;
}
.footer-top .brand {
  font-size: 22px;
}
.footer-top .brand-icon {
  width: 32px;
  height: 32px;
}
.footer-top .brand-icon svg {
  width: 22px;
  height: 22px;
}
.footer-top p {
  font-size: var(--text-caption);
  line-height: 20px;
  margin: 0;
  color: var(--caption);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--caption);
  font-size: var(--text-caption);
  line-height: 20px;
}
.footer-bottom > div {
  display: flex;
  gap: 24px;
}
.footer-bottom a {
  color: var(--muted);
}
.directory {
  padding-top: 40px;
  padding-bottom: 40px;
}
.directory h1,
.prose h1,
.pending h1 {
  font-size: 32px;
  line-height: 40px;
  margin: 12px 0 16px;
  overflow-wrap: anywhere;
}
.lead {
  font-size: 18px;
  line-height: 28px;
}
.directory .search-form {
  margin: 24px 0 0;
  max-width: 100%;
}
.directory .form-note {
  justify-content: flex-start;
  margin-bottom: 32px;
}
.pagination {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 32px;
  color: var(--muted);
  font-size: var(--text-label);
}
.pagination a {
  color: var(--purple);
}
.report-main {
  padding-top: 24px;
}
.breadcrumbs {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--caption);
  font-size: var(--text-label);
  line-height: 20px;
  margin-bottom: 24px;
}
.breadcrumbs a {
  color: var(--muted);
}
.report-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.report-heading h1 {
  font-size: 32px;
  line-height: 40px;
  margin: 12px 0 8px;
  overflow-wrap: anywhere;
}
.report-heading p {
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}
.country-label {
  letter-spacing: 0;
  font-size: var(--text-label);
  color: var(--caption);
  border-left: 1px solid var(--line);
  padding-left: 12px;
  margin-left: 4px;
  font-weight: 400;
}
.new-search {
  margin: 24px 0 24px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: var(--text-label);
  line-height: 20px;
  color: var(--muted);
}
.new-search summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.new-search summary::-webkit-details-marker {
  display: none;
}
.new-search[open] {
  padding-bottom: 16px;
}
.compact-search {
  max-width: 100%;
  margin-top: 16px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0;
}
.metric-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
  min-height: 160px;
}
.metric-card > span {
  display: block;
  color: var(--muted);
  font-size: var(--text-label);
  line-height: 20px;
}
.metric-card strong {
  display: block;
  font-size: 32px;
  font-weight: 500;
  margin: 12px 0 0;
  line-height: 40px;
}
.metric-card em {
  font-style: normal;
  font-size: 16px;
  color: var(--caption);
  font-weight: 400;
  margin-left: 4px;
}
.metric-card small {
  font-size: var(--text-caption);
  color: var(--caption);
  line-height: 20px;
  display: block;
  margin-top: 8px;
}
.info {
  border: 1px solid var(--caption);
  color: var(--caption);
  border-radius: 50%;
  font-size: 12px;
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  line-height: 14px;
  margin-left: 4px;
}
.intent-stack {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 12px;
}
.intent-tag,
.intent-small {
  font-size: var(--text-label);
  line-height: 20px;
  text-transform: capitalize;
  color: var(--muted);
  background: #e8eaed;
  border-radius: 4px;
  padding: 4px 8px;
  display: inline-block;
}
.intent-small {
  margin: 2px 4px 2px 0;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  min-width: 0;
}
.panel-heading {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.panel-heading h2 {
  font-size: var(--text-title);
  line-height: 28px;
  font-weight: 500;
  margin: 0 0 4px;
}
.panel-heading p {
  font-size: var(--text-caption);
  line-height: 20px;
  margin: 0;
  color: var(--caption);
}
.segmented {
  padding: 4px;
  border: 1px solid var(--line);
  background: #f8fafd;
  border-radius: 8px;
  display: flex;
  gap: 4px;
}
.segmented button {
  font-size: var(--text-label);
  line-height: 20px;
  font-weight: 500;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 4px;
  white-space: nowrap;
}
.segmented button.active {
  background: var(--pale);
  color: var(--purple);
}
.chart-summary {
  padding: 0 24px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-size: var(--text-label);
  line-height: 20px;
  margin: 0 0 8px;
}
.legend {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.legend i {
  width: 16px;
  height: 3px;
  background: #1a73e8;
  border-radius: 3px;
}
.model-badge {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  border: 1px solid var(--line);
  background: #f8fafd;
  border-radius: 4px;
  color: var(--caption);
  padding: 4px 8px;
}
.trend-svg {
  display: block;
  width: 100%;
  height: auto;
}
.trend-svg path,
.trend-svg line {
  vector-effect: non-scaling-stroke;
}
.trend-svg text {
  fill: var(--caption);
}
.desktop-chart {
  display: block;
}
.mobile-chart {
  display: none;
}
.trend-panel > div[id^="chart"] {
  padding: 8px 24px 0;
}
.chart-dot {
  opacity: 0;
  pointer-events: all;
  transition: opacity 0.15s;
}
.chart-dot:hover {
  opacity: 1;
  stroke: white;
  stroke-width: 2;
}
.chart-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  color: var(--caption);
  font-size: var(--text-caption);
  line-height: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.chart-footer > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.source-dot {
  background: #1a73e8;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.chart-footer a {
  color: var(--purple);
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.small-button {
  font-size: var(--text-label);
  line-height: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--purple);
  white-space: nowrap;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--text-label);
  line-height: 20px;
}
th {
  color: var(--muted);
  background: #f8fafd;
  font-size: var(--text-label);
  font-weight: 500;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
th,
td {
  padding: 16px 24px;
}
td {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
tbody tr:last-child td {
  border-bottom: 0;
}
.number {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
td.number {
  font-weight: 400;
  color: var(--ink);
}
.panel-note {
  padding: 16px 24px;
  background: #f8fafd;
  border-top: 1px solid var(--line);
  margin: 0;
  font-size: var(--text-caption);
  line-height: 20px;
  color: var(--caption);
}
.muted-label,
.as-label {
  color: var(--caption);
  font-size: var(--text-label);
  line-height: 20px;
}
.region-list {
  padding: 0 24px;
  margin: 0;
  list-style: none;
}
.region-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-label);
  line-height: 20px;
}
.region-list li:last-child {
  border: 0;
}
.rank {
  color: var(--caption);
  width: 20px;
  flex-shrink: 0;
  font-size: var(--text-label);
}
.region-name {
  flex: 1;
  color: var(--ink);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.region-value {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-label);
}
.bar-track {
  width: 100px;
  height: 4px;
  background: #d2e3fc;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
}
.bar-track i {
  display: block;
  height: 100%;
  background: var(--purple);
  border-radius: 2px;
}
.count {
  font-size: var(--text-label);
  line-height: 20px;
  background: var(--pale);
  color: var(--purple);
  border-radius: 4px;
  padding: 4px 8px;
  font-weight: 500;
  margin-left: 4px;
}
.filter-wrap input {
  font-size: var(--text-label);
  line-height: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  max-width: 200px;
  color: var(--ink);
  background: var(--surface);
}
.filter-wrap input::placeholder {
  color: var(--caption);
  opacity: 1;
}
#related-table {
  min-width: 740px;
}
#related-table td:first-child {
  font-weight: 500;
  color: var(--ink);
}
#related-table th:first-child {
  width: 38%;
}
.table-expand {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--purple);
  padding: 16px;
  font-size: var(--text-label);
  line-height: 20px;
  font-weight: 500;
}
.rising-list,
.serp-list {
  list-style: none;
  margin: 0;
  padding: 0 24px 16px;
}
.rising-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: var(--text-label);
  line-height: 20px;
}
.rising-list li > span {
  font-weight: 500;
  color: var(--ink);
  flex-shrink: 0;
}
.serp-list li {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  font-size: var(--text-label);
  line-height: 20px;
}
.serp-list li > div {
  min-width: 0;
  flex: 1;
}
.serp-list a {
  color: var(--purple);
  display: block;
  overflow-wrap: anywhere;
}
.serp-list a span {
  font-size: var(--text-label);
  margin-left: 4px;
}
.serp-url {
  font-size: var(--text-caption);
  line-height: 20px;
  color: var(--caption);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  max-width: 100%;
  margin-top: 4px;
}
.report-details {
  padding: 24px;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
}
.report-details h2 {
  font-size: var(--text-title);
  line-height: 28px;
  margin: 0 0 8px;
}
.report-details p {
  font-size: var(--text-caption);
  line-height: 20px;
  margin: 0;
  max-width: 740px;
}
.report-detail-meta {
  font-size: var(--text-caption);
  line-height: 20px;
  color: var(--caption);
  display: flex;
  gap: 8px;
  flex-direction: column;
}
.pending {
  padding-top: 64px;
  padding-bottom: 80px;
  text-align: center;
  max-width: 960px;
}
.pending .eyebrow {
  justify-content: center;
  margin: 24px 0;
}
.pending .lead {
  margin-bottom: 8px;
}
.pending p:not(.lead) {
  font-size: var(--text-caption);
  line-height: 20px;
}
.pending-icon {
  width: 56px;
  height: 56px;
  background: var(--pale);
  border-radius: 16px;
  margin: auto;
  color: var(--purple);
  font-size: 32px;
}
.pending-icon.failed {
  color: #a50e0e;
  background: #fce8e6;
}
.collection-steps {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 32px 0;
  font-size: var(--text-label);
  line-height: 20px;
  color: var(--muted);
}
.collection-steps span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.collection-steps i {
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
}
.loading-line {
  width: 300px;
  height: 4px;
  background: #d2e3fc;
  margin: 24px auto 32px;
  overflow: hidden;
  border-radius: 2px;
}
.loading-line i {
  display: block;
  width: 35%;
  height: 100%;
  background: var(--purple);
  animation: load 1.8s ease-in-out infinite;
}
.pending .search-form {
  margin: 32px auto 0;
}
.pending > .text-link {
  margin-top: 24px;
}
@keyframes load {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(400%);
  }
}
.prose {
  max-width: 960px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.prose h2 {
  margin-top: 32px;
  margin-bottom: 16px;
}
.prose p,
.prose li {
  font-size: 16px;
  line-height: 26px;
  color: var(--muted);
}
.prose a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose li {
  margin-bottom: 12px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #303030;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: var(--text-label);
  line-height: 20px;
  max-width: 90vw;
  z-index: 20;
}
.empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--caption);
  font-size: var(--text-caption);
  line-height: 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 24px;
  top: -64px;
  background: var(--surface);
  padding: 12px;
  z-index: 50;
}
.skip:focus {
  top: 8px;
}
.growth-table-wrap {
  overflow-x: auto;
}
.growth-table {
  table-layout: fixed;
}
.growth-table th:first-child {
  width: 36%;
}
.growth-table th {
  white-space: normal;
}
.growth-table td {
  padding-top: 20px;
  padding-bottom: 20px;
  vertical-align: middle;
}
.growth-table strong {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--ink);
}
.growth-table td small {
  display: block;
  font-size: var(--text-caption);
  color: var(--caption);
  margin-top: 6px;
  line-height: 20px;
}
.growth-value {
  white-space: nowrap;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.growth-up {
  color: #137333;
}
.growth-down {
  color: #b3261e;
}
.growth-flat,
.growth-unavailable {
  color: var(--caption);
}
.growth-unavailable {
  font-size: 24px;
  line-height: 32px;
}
.growth-footer {
  border-top: 1px solid var(--line);
  padding: 16px 24px;
  font-size: var(--text-caption);
  color: var(--caption);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  line-height: 20px;
}
@media (max-width: 1100px) {
  .two-col {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .metrics-grid,
  .report-grid {
    gap: 16px;
  }
  .metric-card {
    padding: 20px;
  }
  .source-description {
    display: none;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 72px;
  }
  .header-inner,
  .content-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .header-inner {
    gap: 12px;
  }
  .brand {
    font-size: 22px;
  }
  .brand-icon {
    width: 32px;
    height: 32px;
  }
  nav {
    gap: 16px;
  }
  nav > a:first-child,
  .free-pill {
    display: none;
  }
  .hero {
    padding: 40px 16px 0;
  }
  .hero h1 {
    font-size: 36px;
    line-height: 44px;
    margin-top: 16px;
  }
  .hero-copy {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 24px;
  }
  .desktop {
    display: none;
  }
  .search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0;
    padding: 8px;
  }
  .input-wrap {
    grid-column: 1 / -1;
    padding: 8px 8px 12px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 8px;
    gap: 12px;
  }
  .search-form input {
    font-size: 16px;
  }
  .search-form select {
    max-width: 100%;
    width: 100%;
    border: 0;
    padding-left: 8px;
    padding-right: 4px;
  }
  .search-form button {
    padding: 12px 20px;
    gap: 16px;
  }
  .form-note {
    gap: 8px;
  }
  .note-dot {
    display: none;
  }
  .form-note > span:first-child {
    width: 100%;
    text-align: center;
  }
  .try-row {
    gap: 8px;
    margin-bottom: 32px;
  }
  .try-row > span {
    width: 100%;
    margin-bottom: 4px;
  }
  .try-row a {
    padding: 8px 12px;
  }
  .source-strip {
    gap: 16px;
    padding: 20px 0;
    flex-wrap: wrap;
  }
  .home-section {
    padding-top: 32px;
  }
  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }
  .report-grid,
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .report-card {
    padding: 24px 24px 0;
  }
  .mini-chart {
    height: 100px;
  }
  .feature-grid {
    gap: 24px;
  }
  .feature-grid article {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
  }
  .feature-icon {
    grid-row: 1 / 3;
    margin: 0;
  }
  .feature-grid h3 {
    margin-top: 4px;
    margin-bottom: 8px;
  }
  .why-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .method-banner {
    display: block;
    padding-top: 24px;
  }
  .method-banner .outline-button {
    margin-top: 24px;
  }
  footer {
    padding: 24px 16px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }
  .directory {
    padding-top: 32px;
  }
  .directory h1,
  .prose h1,
  .pending h1 {
    font-size: 28px;
    line-height: 36px;
  }
  .report-heading {
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
  }
  .report-heading h1 {
    font-size: 28px;
    line-height: 36px;
  }
  .report-heading .outline-button {
    padding: 10px 12px;
  }
  .country-label {
    display: none;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .metric-card {
    padding: 16px;
    min-height: 168px;
  }
  .metric-card strong {
    font-size: 28px;
    line-height: 36px;
  }
  .intent-stack {
    margin-top: 12px;
    gap: 4px;
  }
  .intent-tag {
    padding: 3px 5px;
  }
  .panel-heading {
    padding: 20px;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .panel-heading h2 {
    font-size: var(--text-title);
    line-height: 28px;
  }
  .trend-panel .panel-heading {
    flex-direction: column;
  }
  .segmented {
    max-width: 100%;
  }
  .segmented button {
    padding: 10px 12px;
  }
  .chart-summary {
    padding: 0 20px;
  }
  .trend-panel > div[id^="chart"] {
    padding: 8px 8px 0;
  }
  .desktop-chart {
    display: none;
  }
  .mobile-chart {
    display: block;
  }
  .chart-footer {
    padding: 16px 20px;
    flex-direction: column;
    gap: 8px;
  }
  th,
  td {
    padding: 16px;
  }
  .region-list {
    padding: 0 20px;
  }
  .bar-track {
    width: 72px;
  }
  .panel-note {
    padding: 16px 20px;
  }
  .filter-wrap {
    width: 100%;
  }
  .filter-wrap input {
    max-width: 100%;
    width: 100%;
  }
  #related-table {
    table-layout: fixed;
    width: 800px;
    min-width: 800px;
  }
  #related-table th:first-child,
  #related-table td:first-child {
    width: 154px;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  #related-table th:nth-child(2) {
    width: 120px;
  }
  #related-table th:nth-child(3) {
    width: 76px;
  }
  #related-table th:nth-child(4) {
    width: 100px;
  }
  #related-table th:nth-child(5) {
    width: 350px;
  }
  .rising-list,
  .serp-list {
    padding: 0 20px 16px;
  }
  .rising-list li {
    gap: 16px;
  }
  .report-details {
    display: block;
    padding: 20px;
  }
  .report-detail-meta {
    margin-top: 16px;
  }
  .prose {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .pending {
    padding-top: 48px;
    padding-bottom: 64px;
  }
  .collection-steps {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .loading-line {
    width: 220px;
  }
  .growth-table-wrap {
    overflow: visible;
  }
  .growth-table {
    display: block;
  }
  .growth-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  .growth-table tbody {
    display: block;
  }
  .growth-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    border-top: 1px solid var(--line);
    padding: 20px;
    gap: 16px;
  }
  .growth-table td {
    display: block;
    border: 0;
    padding: 0;
    min-width: 0;
  }
  .growth-table td:first-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
  }
  .growth-table td:not(:first-child)::before {
    display: block;
    color: var(--caption);
    font-size: var(--text-label);
    line-height: 20px;
    margin-bottom: 8px;
  }
  .growth-table td:nth-child(2)::before {
    content: "vs. previous period";
  }
  .growth-table td:nth-child(3)::before {
    content: "vs. last year";
  }
  .growth-table td:first-child small {
    text-align: right;
    margin-top: 0;
  }
  .growth-table strong {
    font-size: 16px;
  }
  .growth-value,
  .growth-unavailable {
    font-size: 24px;
    line-height: 32px;
  }
  .growth-footer {
    padding: 16px 20px;
    gap: 12px;
  }
}
@media (max-width: 360px) {
  .growth-value,
  .growth-unavailable {
    font-size: 20px;
  }
  .growth-table td:not(:first-child)::before {
    min-height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.overview-panel {
  padding: 24px;
}
.overview-panel h2 {
  font-size: var(--text-title);
  line-height: 28px;
  font-weight: 500;
  margin: 0 0 8px;
}
.overview-panel p {
  margin: 0;
  max-width: 960px;
  color: var(--ink);
}
.intent-none {
  color: var(--caption);
  font-size: var(--text-label);
}
.report-flag {
  display: inline-block;
  margin-left: 8px;
  padding: 0 6px;
  border-radius: 4px;
  background: var(--pale);
  color: var(--purple);
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  vertical-align: 1px;
}
#related-table td:first-child a[href^="/keywords/"],
.rising-list a[href^="/keywords/"] {
  color: var(--purple);
}
#related-table td:first-child a:hover,
.rising-list a:hover {
  text-decoration: underline;
}
.sort-button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  font-weight: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sort-button::after {
  content: "";
  width: 0;
  height: 0;
  border: 4px solid transparent;
  opacity: 0;
}
th[aria-sort] .sort-button {
  color: var(--purple);
}
th[aria-sort="descending"] .sort-button::after {
  border-top: 5px solid currentColor;
  border-bottom: 0;
  opacity: 1;
}
th[aria-sort="ascending"] .sort-button::after {
  border-bottom: 5px solid currentColor;
  border-top: 0;
  opacity: 1;
}
.sort-button:hover {
  color: var(--purple);
}
.sort-button:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
  border-radius: 2px;
}
.more-list {
  list-style: none;
  margin: 0;
  padding: 0 24px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.more-list a {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--text-label);
  line-height: 20px;
  color: var(--muted);
}
.more-list a:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--pale);
}
.desktop-chart,
.mobile-chart {
  position: relative;
}
.chart-tip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  pointer-events: none;
  background: var(--surface);
  border-radius: 8px;
  box-shadow:
    0 1px 2px rgba(60, 64, 67, 0.3),
    0 2px 6px 2px rgba(60, 64, 67, 0.15);
  padding: 8px 12px;
  font-size: var(--text-label);
  line-height: 20px;
  white-space: nowrap;
  color: var(--muted);
}
.chart-tip b {
  display: block;
  color: var(--ink);
  font-weight: 500;
}
.trend-svg {
  touch-action: pan-y;
}
/* Report layout: charts first, compact tables. */
.two-col {
  align-items: stretch;
}
.two-col > .panel {
  display: flex;
  flex-direction: column;
}
.panel-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-button {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--muted);
  transition: background 0.15s;
}
.icon-button svg {
  width: 24px;
  height: 24px;
}
.icon-button:hover {
  background: #f1f3f4;
  color: var(--purple);
}
.icon-button:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 1px;
}
.viz-wrap {
  padding: 0 24px 20px;
  position: relative;
  flex: 1;
}
.viz {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.viz text {
  fill: var(--caption);
}
.bar-fill {
  fill: #8ab4f8;
  transition: fill 0.15s;
}
.bar-fill.is-peak {
  fill: #1a73e8;
}
.bar:hover .bar-fill,
.bar:focus .bar-fill {
  fill: #0b57d0;
}
.bar:focus {
  outline: none;
}
/* Demand change cards */
.growth-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0 24px;
}
.growth-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  min-width: 0;
}
.growth-card h3 {
  margin: 0;
  font-size: var(--text-label);
  line-height: 20px;
  font-weight: 500;
  color: var(--ink);
}
.growth-date {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 16px;
  color: var(--caption);
}
.growth-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.growth-main small {
  font-size: 12px;
  color: var(--caption);
}
.growth-sub {
  margin: 2px 0 12px;
  font-size: 12px;
  line-height: 16px;
  color: var(--caption);
}
.growth-yoy {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-size: var(--text-label);
  line-height: 20px;
  color: var(--muted);
}
.growth-yoy span:last-child {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.growth-same {
  color: var(--caption);
}
.growth-footer {
  border-top: 0;
  margin: 0;
  display: block;
  padding: 16px 24px 20px;
}
/* Region map + ranking */
.region-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr);
  gap: 32px;
  padding: 0 24px 16px;
  align-items: center;
}
.region-layout.no-map {
  grid-template-columns: minmax(0, 1fr);
}
.region-layout .region-list {
  padding: 0;
}
.region-layout .region-list li {
  min-height: 40px;
}
.region-layout .bar-track {
  width: auto;
  flex: 1.2;
  height: 8px;
  border-radius: 4px;
  background: #f1f3f4;
}
.region-layout .region-name {
  flex: 1;
}
.region-layout .region-value {
  width: 32px;
  text-align: right;
  color: var(--ink);
}
.us-map path {
  stroke: #fff;
  stroke-width: 1;
  stroke-linejoin: round;
  transition: opacity 0.15s;
}
.us-map path:hover,
.us-map path.is-hover {
  stroke: #1f1f1f;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.map-wrap {
  position: relative;
}
.map-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  font-size: 12px;
  color: var(--caption);
  margin-top: 8px;
}
.map-legend i {
  width: 120px;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e8f0fe, #0b57d0);
}
/* Related keyword scatter */
.scatter-wrap {
  padding-bottom: 8px;
}
.scatter .axis-title {
  font-weight: 500;
}
.scatter-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 16px;
  color: var(--caption);
  margin-top: 4px;
}
.scatter-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.scatter-legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}
.scatter-legend .zone-easy {
  background: #ceead6;
}
.scatter-legend .zone-hard {
  background: #fad2cf;
}
.scatter-legend .dot-linked {
  border-radius: 50%;
  background: #0b57d0;
}
.table-tools {
  display: flex;
  justify-content: flex-end;
  padding: 8px 24px 12px;
}
#related-table th,
#related-table td {
  padding-top: 12px;
  padding-bottom: 12px;
}
.kd-pill {
  display: inline-block;
  min-width: 32px;
  text-align: center;
  border-radius: 10px;
  padding: 0 8px;
  font-weight: 500;
}
.kd-easy {
  background: #e6f4ea;
  color: #137333;
}
.kd-mid {
  background: #fef7e0;
  color: #8a5a00;
}
.kd-hard {
  background: #fce8e6;
  color: #b3261e;
}
/* Ranked lists */
.rising-list li,
.serp-list li {
  align-items: center;
  padding: 12px 0;
}
.rising-list li > a {
  flex: 1;
  min-width: 0;
}
.rising-list .rise-tag {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: #137333;
  background: #e6f4ea;
  border-radius: 10px;
  padding: 2px 8px;
}
.serp-list .serp-url {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.serp-list .as-label {
  min-width: 36px;
  text-align: center;
  border-radius: 10px;
  background: #f1f3f4;
  color: var(--muted);
  font-size: 12px;
  line-height: 20px;
  font-weight: 500;
}
.viz-tip {
  position: fixed;
  z-index: 30;
  pointer-events: none;
  background: var(--surface);
  border-radius: 8px;
  box-shadow:
    0 1px 2px rgba(60, 64, 67, 0.3),
    0 2px 6px 2px rgba(60, 64, 67, 0.15);
  padding: 8px 12px;
  font-size: var(--text-label);
  line-height: 20px;
  color: var(--ink);
  max-width: 280px;
}
@media (max-width: 1100px) {
  .growth-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .region-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .growth-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 20px;
  }
  .viz-wrap,
  .region-layout {
    padding-left: 20px;
    padding-right: 20px;
  }
  .table-tools {
    padding: 8px 20px 12px;
  }
}
.scatter .dot {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(max(1, calc(var(--k, 1) * 0.6)));
}
.chart-note {
  margin: 0;
  padding: 8px 24px 20px;
  font-size: 12px;
  line-height: 16px;
  color: var(--caption);
}
.panel-heading > div:first-child {
  flex: 1 1 200px;
  min-width: 0;
}
@media (max-width: 640px) {
  .panel-heading {
    flex-wrap: nowrap;
  }
  .trend-panel .panel-heading {
    flex-wrap: wrap;
  }
  .trend-panel .panel-tools {
    width: 100%;
    justify-content: space-between;
  }
  .growth-yoy {
    font-size: 12px;
    white-space: nowrap;
  }
  .growth-card {
    padding: 12px;
  }
}
/* Interest over time, Google Trends layout */
.trend-toolbar {
  display: flex;
  gap: 8px;
  padding: 0 24px 16px;
}
.range-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 1px solid #747775;
  border-radius: 8px;
  color: var(--muted);
}
.range-select svg {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.range-select select {
  appearance: none;
  border: 0;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%23444746'/%3E%3C/svg%3E")
    no-repeat right 8px center / 20px;
  padding: 8px 36px 8px 40px;
  font-size: var(--text-label);
  line-height: 20px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  border-radius: 8px;
}
.range-select:hover {
  background: #f8fafd;
}
.range-select select:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}
.change-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 24px 12px;
}
.change-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 16px 10px 12px;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}
.change-chip i {
  font-style: normal;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.change-chip b {
  font-size: 16px;
  font-weight: 700;
}
.chip-up i {
  background: #e6f4ea;
  color: #137333;
}
.chip-up b {
  color: #137333;
}
.chip-down i {
  background: #d3e3fd;
  color: #0b57d0;
}
.chip-down b {
  color: #0b57d0;
}
.chip-flat i {
  background: #f1f3f4;
  color: var(--caption);
}
.range-view .desktop-chart,
.range-view .mobile-chart {
  padding: 0 24px;
}
.viz-mark {
  color: #9aa0a6;
  opacity: 0.85;
  pointer-events: none;
}
.viz-mark text {
  fill: #9aa0a6 !important;
}
.trend-panel .growth-footer {
  padding-top: 8px;
}
@media (max-width: 640px) {
  .trend-toolbar,
  .change-chips {
    padding-left: 20px;
    padding-right: 20px;
  }
  .range-view .desktop-chart,
  .range-view .mobile-chart {
    padding: 0 12px;
  }
  .change-chip {
    padding: 8px 12px 8px 8px;
  }
}
/* Report actions: refresh, follow, copy link */
.report-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.action-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px 0 12px;
  border: 1px solid #747775;
  border-radius: 20px;
  background: var(--surface);
  color: var(--purple);
  font-size: var(--text-label);
  line-height: 20px;
  font-weight: 500;
  white-space: nowrap;
}
.action-button svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.action-button:hover {
  background: #f1f5fd;
}
.action-button:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}
.action-button.icon-only {
  width: 40px;
  padding: 0;
  justify-content: center;
}
.action-button.is-busy svg {
  animation: spin 1s linear infinite;
}
.action-button:disabled {
  opacity: 1;
  color: var(--caption);
  cursor: progress;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.follow-button {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}
.follow-button:hover {
  background: #0842a0;
  color: #fff;
}
.follow-button .star-on,
.follow-button[aria-pressed="true"] .star-off {
  display: none;
}
.follow-button[aria-pressed="true"] .star-on {
  display: inline;
}
.follow-button[aria-pressed="true"] {
  background: var(--pale);
  border-color: var(--pale);
  color: var(--purple);
}
.follow-count {
  margin-left: 6px;
  min-width: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--purple);
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  display: inline-block;
  text-align: center;
}
/* Following page */
.following-main {
  padding-top: 40px;
  padding-bottom: 64px;
}
.follow-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.follow-list > .empty {
  grid-column: 1 / -1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.follow-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.follow-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.follow-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
}
.follow-head a:hover h2 {
  color: var(--purple);
}
.unfollow {
  color: var(--purple);
  border: 0;
  background: none;
  margin: -8px -8px 0 0;
}
.follow-meta,
.follow-status {
  margin: 0;
  font-size: var(--text-label);
  line-height: 20px;
  color: var(--caption);
}
.spark {
  width: 100%;
  height: 48px;
  display: block;
}
.empty-spark {
  font-size: 12px;
  color: var(--caption);
  display: flex;
  align-items: center;
}
.follow-changes {
  display: flex;
  gap: 16px;
  font-size: var(--text-label);
  line-height: 20px;
  color: var(--muted);
}
.chg {
  font-weight: 500;
  margin-left: 4px;
}
.chg-up {
  color: #137333;
}
.chg-down {
  color: #0b57d0;
}
.chg-none {
  color: var(--caption);
}
.dot-busy {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fbbc04;
  margin-right: 6px;
}
.follow-note {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
@media (max-width: 640px) {
  .report-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Collection progress */
.collect-progress {
  width: min(560px, 100%);
  margin: 24px auto 32px;
  text-align: left;
}
.progress-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: var(--text-label);
  line-height: 20px;
  color: var(--muted);
  margin-bottom: 8px;
}
.progress-head b {
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
  color: var(--purple);
  font-variant-numeric: tabular-nums;
}
.progress-track {
  height: 8px;
  border-radius: 4px;
  background: #d3e3fd;
  overflow: hidden;
}
.progress-track i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--purple);
}
a.is-creating {
  color: var(--caption) !important;
  cursor: progress;
}
/* Whole following card opens the report; the unfollow star stays separately clickable. */
.follow-card {
  position: relative;
  cursor: pointer;
  transition:
    box-shadow 0.15s,
    border-color 0.15s;
}
.follow-card:hover {
  border-color: #c4c7c5;
  box-shadow:
    0 1px 2px rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
}
.follow-card:hover h2 {
  color: var(--purple);
}
.follow-card .card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.follow-card .card-link:focus-visible {
  outline: none;
}
.follow-card:has(.card-link:focus-visible) {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}
.follow-card .unfollow {
  position: relative;
  z-index: 1;
}
/* Global filter bar (location, time, category, property) */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 12px;
  border: 1px solid #c4c7c5;
  border-radius: 8px;
  font-size: var(--text-label);
  line-height: 20px;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
}
.filter-chip svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.filter-chip.range-select {
  padding: 0;
  border-color: #747775;
}
.filter-bar .range-select svg {
  left: 12px;
}
/* Top and rising query lists */
.query-list {
  list-style: none;
  margin: 0;
  padding: 0 24px 16px;
}
.query-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-label);
  line-height: 20px;
}
.query-list li > a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.query-list a[href^="/keywords/"] {
  color: var(--purple);
}
.query-list a:hover {
  text-decoration: underline;
}
.query-list .bar-track {
  width: 80px;
  height: 6px;
  border-radius: 3px;
  background: #d3e3fd;
}
.query-change {
  width: 72px;
  text-align: right;
  font-weight: 500;
  color: #137333;
  font-variant-numeric: tabular-nums;
}
.query-change.is-down {
  color: #0b57d0;
}
.query-list .rise-tag {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: #137333;
  background: #e6f4ea;
  border-radius: 10px;
  padding: 2px 8px;
}
.list-empty {
  color: var(--caption);
  justify-content: center;
}
@media (max-width: 640px) {
  .filter-bar {
    padding: 12px;
  }
  .query-list {
    padding: 0 20px 16px;
  }
  .query-list .bar-track {
    width: 48px;
  }
}
.tip-est {
  display: block;
  color: var(--ink);
  font-weight: 500;
}
.chip-volume i {
  background: #e8f0fe;
  color: var(--purple);
}
.chip-volume b {
  color: var(--ink);
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lang-switch svg {
  width: 18px;
  height: 18px;
}
.auto-follow {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  justify-content: center;
  margin: 0 auto 16px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--pale);
  color: var(--ink);
  font-size: var(--text-label);
  line-height: 20px;
}
.auto-follow[hidden] {
  display: none;
}
.auto-follow a {
  color: var(--purple);
  font-weight: 500;
}
.follow-progress {
  margin: 8px 0 4px;
}
.follow-progress .progress-head b {
  font-size: 16px;
  line-height: 24px;
}
.region-est {
  width: 76px;
  flex-shrink: 0;
  text-align: right;
  color: var(--muted);
  font-size: var(--text-label);
  font-variant-numeric: tabular-nums;
}
.report-lead {
  max-width: 880px;
  margin: 8px 0 0;
  font-size: var(--text-body);
  line-height: 24px;
  color: var(--muted);
}
.region-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--caption);
}
.region-head .rank,
.region-head .region-name {
  color: var(--caption);
  font-size: 12px;
}
.region-head .bar-track-head {
  flex: 1.2;
}
.region-head .region-value {
  width: 32px;
  text-align: right;
  color: var(--caption);
  font-size: 12px;
}
.region-head .region-est {
  font-size: 12px;
  color: var(--caption);
}
.line-chart .axis-name {
  font-weight: 500;
}
/* Keyword difficulty scatter */
.scatter .dot {
  stroke-width: 1.5;
  fill-opacity: 0.32;
  transition: fill-opacity 0.15s;
}
.scatter .dot-easy {
  fill: #34a853;
  stroke: #188038;
}
.scatter .dot-mid {
  fill: #fbbc04;
  stroke: #e37400;
}
.scatter .dot-hard {
  fill: #ea4335;
  stroke: #c5221f;
}
.scatter .dot.is-linked {
  fill-opacity: 0.85;
}
.scatter .dot:hover {
  fill-opacity: 0.9;
}
.scatter .dot-label {
  fill: var(--ink) !important;
  font-weight: 500;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 4px;
  stroke-linejoin: round;
  pointer-events: none;
}
.scatter .band {
  stroke: none;
}
.scatter rect.band-easy {
  fill: #34a853;
}
.scatter rect.band-mid {
  fill: #fbbc04;
}
.scatter rect.band-hard {
  fill: #ea4335;
}
.scatter text.band-label {
  font-weight: 500;
}
.scatter text.band-easy {
  fill: #188038 !important;
}
.scatter text.band-mid {
  fill: #b06000 !important;
}
.scatter text.band-hard {
  fill: #c5221f !important;
}
.scatter-legend .lg-easy,
.scatter-legend .lg-mid,
.scatter-legend .lg-hard,
.scatter-legend .lg-linked {
  border-radius: 50%;
}
.scatter-legend .lg-easy {
  background: rgba(52, 168, 83, 0.4);
  border: 1.5px solid #188038;
}
.scatter-legend .lg-mid {
  background: rgba(251, 188, 4, 0.4);
  border: 1.5px solid #e37400;
}
.scatter-legend .lg-hard {
  background: rgba(234, 67, 53, 0.4);
  border: 1.5px solid #c5221f;
}
.scatter-legend .lg-linked {
  background: #5f6368;
}
.action-button.is-waiting {
  color: var(--caption);
  border-color: var(--line);
}
.report-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.report-tile h3 {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: var(--ink);
}
.report-tile:hover h3 {
  color: var(--purple);
}
