
:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --surface-strong: #fafafa;
  --line: #d2d2d7;
  --line-soft: #e5e7eb;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #0071e3;
  --accent-soft: rgba(0, 113, 227, 0.08);
  --nav: #1d1d1f;
  --nav-text: #f5f5f7;
  --shadow: 0 12px 32px rgba(17, 24, 39, 0.04);
  --radius: 24px;
  --radius-sm: 999px;
  --container: 1120px;
  --body: "Aptos", "Segoe UI Variable Text", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.skip-link,
.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-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  margin: 1rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: 999px;
  z-index: 30;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
}

.top-bar {
  position: relative;
  background: rgba(29, 29, 31, 0.95);
  backdrop-filter: blur(10px);
  color: var(--nav-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  padding-top: env(safe-area-inset-top, 0px);
}

.top-bar-inner {
  min-height: 2.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-mark {
  width: 1.45rem;
  height: 1.45rem;
  display: block;
  filter: invert(1) brightness(2.2);
}

.clickable-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.clickable-card:hover,
.clickable-card:focus-visible {
  border-color: var(--line);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.05);
}

.clickable-card .button-pill {
  pointer-events: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: rgba(245, 245, 247, 0.82);
  font-size: 0.82rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.brand:hover,
.brand:focus-visible {
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.22rem;
  color: #fff;
}

.nav-toggle span {
  width: 0.95rem;
  height: 2px;
  background: currentColor;
}

.hero,
.subpage-hero {
  text-align: center;
  padding: 5.25rem 0 2.75rem;
}

#notable-signals,
#signal-statistics,
#review-watchlist,
#batch-history,
.topic-group-section,
.subpage-hero {
  scroll-margin-top: 4.5rem;
}

.hero-inner {
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.step-label,
.footer-heading {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3.1rem, 8vw, 5.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.hero-subtitle,
.section-copy,
.muted,
.muted-inline,
.format-note,
.result-count,
.footer-copy,
.source-list span,
.topic-link-list span,
.mini-list span {
  color: var(--muted);
}

.hero-subtitle {
  max-width: 620px;
  margin: 1rem auto 0;
  font-size: 1.1rem;
}

.hero-subtitle-typed {
  color: #b23a48;
  font-weight: 600;
  min-height: 2.8em;
}

.hero-subtitle-typed.is-typing::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 0.12rem;
  vertical-align: -0.12em;
  background: currentColor;
  animation: blink-caret 0.8s step-end infinite;
}

.hero-flow {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.8rem;
}

.hero-flow span,
.badge,
.button-pill,
.card-meta span {
  border-radius: 999px;
}

.hero-flow span {
  padding: 0.36rem 0.74rem;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  cursor: default;
  pointer-events: none;
}

.button-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  min-width: 9rem;
  margin-top: 2rem;
  padding: 0 1.2rem;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.button-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--line);
}

.section {
  padding: 2.75rem 0;
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.statistics-group-shell {
  padding: 1.65rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.statistics-grid {
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  align-items: start;
}

.published-date-controls {
  margin: 0.85rem 0 1rem;
}

.published-date-results {
  display: grid;
  gap: 0.85rem;
  max-height: 21rem;
  overflow-y: auto;
  padding-right: 0.3rem;
  scrollbar-width: thin;
  scrollbar-color: #c8d0da transparent;
}

.published-date-results::-webkit-scrollbar {
  width: 8px;
}

.published-date-results::-webkit-scrollbar-thumb {
  background: #c8d0da;
  border-radius: 999px;
}

.published-date-results::-webkit-scrollbar-track {
  background: transparent;
}

.published-date-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.published-date-list li {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line-soft);
}

.published-date-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.published-date-list li > a {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  color: inherit;
}

.published-date-list li > a strong {
  min-width: 0;
}

.published-date-list li > a span {
  color: var(--muted);
  white-space: nowrap;
}

.search-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.8rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
}

.search-section .container,
.statistics-preview .container,
.analytics-section .container,
.statistics-primary-summary .container,
.statistics-secondary-summary .container {
  min-width: 0;
}

.search-range-select {
  flex: 0 0 9.75rem;
  max-width: 9.75rem;
}

.notable-empty-message {
  margin-top: 1rem;
}

.search-field {
  flex: 1 1 42rem;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.35rem;
  padding: 0 1rem;
  background: #fbfbfc;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.search-icon {
  color: var(--muted);
  width: 1rem;
  height: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.search-icon svg {
  width: 1rem;
  height: 1rem;
  display: block;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.search-strip input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: none;
  font-size: 1rem;
}

.search-strip input::placeholder {
  color: #8f96a3;
}

.search-results {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.4rem;
}

.search-section {
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

.page-home .statistics-preview {
  padding-top: 0.7rem;
  padding-bottom: 0.85rem;
}

.page-home .search-section {
  padding-top: 0.35rem;
  padding-bottom: 0.55rem;
}

.page-home .signal-index {
  padding-top: 1rem;
  padding-bottom: 1.1rem;
}

.page-home .hero {
  padding-bottom: 1.45rem;
}

.page-home .hero h1 {
  font-size: clamp(2.7rem, 7vw, 5.1rem);
  line-height: 1.06;
}

.search-result-item {
  padding: 1rem 1.15rem;
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.search-result-item a {
  color: var(--text);
}

.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.signal-grid,
.overview-grid,
.archive-grid,
.topic-grid,
.article-grid {
  display: grid;
  gap: 1.3rem;
}

.signal-grid > *,
.overview-grid > *,
.archive-grid > *,
.topic-grid > *,
.article-grid > * {
  min-width: 0;
  max-width: 100%;
}

.signal-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.notable-scroll {
  overflow-x: auto;
  padding-bottom: 0.45rem;
}

.signal-scroll-grid {
  grid-auto-flow: column;
  grid-auto-columns: minmax(310px, calc((100% - 2.6rem) / 3));
  grid-template-columns: none;
}

.overview-grid,
.topic-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.statistics-preview .overview-card.statistics-card-wide {
  min-height: 100%;
}

.statistics-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.statistics-primary-summary {
  padding-bottom: 0.7rem;
}

.statistics-secondary-summary {
  padding-top: 0.35rem;
}

.statistics-feature-grid {
  grid-template-columns: 1fr;
}

.archive-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.article-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 1.3rem;
}

.topic-sections {
  display: grid;
  gap: 2rem;
}

.statistics-topic-sections {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.archive-topic-sections {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.statistics-topic-group-section .topic-card {
  padding: 1rem;
}

.statistics-topic-group-section .topic-scroll-panel {
  max-height: 13.5rem;
}

.archive-topic-group-section {
  display: flex;
  flex-direction: column;
}

.archive-topic-group-section .topic-card {
  padding: 1rem;
  min-height: 18rem;
}

.archive-topic-group-section .topic-scroll-panel {
  max-height: 14.5rem;
}

.archive-value-grid .overview-card {
  min-height: 100%;
}

.signal-card,
.overview-card,
.archive-item,
.review-item,
.topic-card,
.newsletter-card,
.article-meta-card,
.article-panel {
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.signal-card,
.overview-card,
.archive-item,
.review-item,
.topic-card,
.article-panel {
  padding: 1.35rem;
}

.signal-validity-card {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.trend-saturation-card {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.trend-saturation-question,
.trend-saturation-status-line,
.trend-saturation-score,
.trend-saturation-recommendation,
.trend-saturation-explanation,
.trend-saturation-factors p {
  margin: 0;
}

.trend-saturation-question {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.trend-saturation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.trend-saturation-status-line {
  color: var(--muted);
  font-size: 0.92rem;
}

.trend-saturation-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.2rem 0.72rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}

.trend-saturation-badge.is-open-window {
  color: #35644b;
  background: rgba(79, 130, 100, 0.12);
  border-color: rgba(79, 130, 100, 0.2);
}

.trend-saturation-badge.is-heating-up {
  color: #88671d;
  background: rgba(167, 134, 53, 0.14);
  border-color: rgba(167, 134, 53, 0.22);
}

.trend-saturation-badge.is-crowded {
  color: #98563a;
  background: rgba(180, 107, 71, 0.14);
  border-color: rgba(180, 107, 71, 0.22);
}

.trend-saturation-badge.is-saturated {
  color: #7a3040;
  background: rgba(143, 45, 63, 0.12);
  border-color: rgba(143, 45, 63, 0.18);
}

.trend-saturation-progress-block {
  display: block;
}

.trend-saturation-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.trend-saturation-fill.is-open-window {
  background: #4f8264 !important;
}

.trend-saturation-fill.is-heating-up {
  background: #a78635 !important;
}

.trend-saturation-fill.is-crowded {
  background: #b46b47 !important;
}

.trend-saturation-fill.is-saturated {
  background: #8f2d3f !important;
}

.trend-saturation-score {
  font-size: 0.88rem;
  color: var(--muted);
}

.trend-saturation-recommendation {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text);
}

.trend-saturation-explanation {
  color: var(--muted);
  font-size: 0.92rem;
}

.trend-saturation-factors {
  display: grid;
  gap: 0.38rem;
}

.trend-saturation-factors p {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.trend-saturation-factors strong {
  color: var(--text);
  font-weight: 600;
}

.validity-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.validity-signal-name {
  margin: -0.25rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.validity-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.2rem 0.72rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}

.validity-status-badge.is-good-window {
  color: #35644b;
  background: rgba(79, 130, 100, 0.12);
  border-color: rgba(79, 130, 100, 0.2);
}

.validity-status-badge.is-act-now {
  color: #88671d;
  background: rgba(167, 134, 53, 0.14);
  border-color: rgba(167, 134, 53, 0.22);
}

.validity-status-badge.is-expiring-soon {
  color: #98563a;
  background: rgba(180, 107, 71, 0.14);
  border-color: rgba(180, 107, 71, 0.22);
}

.validity-status-badge.is-expired {
  color: #6d7682;
  background: rgba(123, 135, 151, 0.14);
  border-color: rgba(123, 135, 151, 0.24);
}

.validity-status-badge-compact {
  min-height: 1.45rem;
  padding: 0.14rem 0.52rem;
  font-size: 0.63rem;
  letter-spacing: 0.035em;
}

.validity-meta-list {
  display: grid;
  gap: 0.5rem;
}

.validity-meta-list p,
.validity-countdown-copy,
.validity-inline-copy,
.validity-expired-copy,
.validity-action-copy {
  margin: 0;
}

.validity-meta-list p {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.validity-meta-list strong {
  color: var(--text);
  font-weight: 600;
}

.validity-progress-block {
  display: block;
}

.validity-progress-track {
  width: 100%;
  height: 0.68rem;
  border-radius: 999px;
  background: #e8edf3;
  overflow: hidden;
}

.validity-progress-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.validity-progress-fill.is-good-window {
  background: #4f8264 !important;
}

.validity-progress-fill.is-act-now {
  background: #a78635 !important;
}

.validity-progress-fill.is-expiring-soon {
  background: #b46b47 !important;
}

.validity-progress-fill.is-expired {
  background: #7b8797 !important;
}

.signal-validity-compact {
  display: grid;
  gap: 0.42rem;
}

.signal-validity-compact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.signal-validity-compact-time {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.signal-validity-compact-time.is-good-window {
  color: #35644b;
}

.signal-validity-compact-time.is-act-now {
  color: #88671d;
}

.signal-validity-compact-time.is-expiring-soon {
  color: #98563a;
}

.signal-validity-compact-time.is-expired {
  color: #6d7682;
}

.signal-validity-compact-track {
  width: 100%;
  height: 0.28rem;
  border-radius: 999px;
  background: #e8edf3;
  overflow: hidden;
}

.validity-countdown-copy,
.validity-action-copy {
  font-size: 0.92rem;
}

.validity-countdown-copy {
  color: var(--text);
  font-weight: 700;
}

.validity-countdown-copy.is-good-window {
  color: #35644b;
}

.validity-countdown-copy.is-act-now {
  color: #88671d;
}

.validity-countdown-copy.is-expiring-soon {
  color: #98563a;
}

.validity-countdown-copy.is-expired {
  color: #6d7682;
}

.validity-action-copy {
  color: var(--muted);
}

.validity-inline-copy,
.validity-expired-copy {
  color: var(--muted);
  font-size: 0.92rem;
}

.validity-expired-copy {
  color: #8f4343;
  font-weight: 600;
}

.newsletter-card {
  padding: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.batch-picker-card {
  display: grid;
  gap: 1rem;
}

.statistics-card-wide {
  grid-column: span 2;
}

.statistics-card-full {
  grid-column: 1 / -1;
}

.statistics-card-compact {
  grid-column: span 1;
  max-width: 26rem;
}

.batch-picker-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.batch-select {
  flex: 1 1 18rem;
  min-width: 0;
  max-width: 100%;
  min-height: 2.85rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
}

.batch-picker-controls .button-pill {
  margin-top: 0;
  min-width: 8.5rem;
}

.signal-card h3,
.archive-item h3,
.review-item h3,
.topic-card h3 {
  margin-top: 0.35rem;
}

.archive-item {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
}

.archive-item p {
  margin: 0;
}

.archive-item-cta {
  margin-top: auto;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.archive-status-badge.is-still-useful {
  background: rgba(57, 108, 80, 0.1);
  border-color: rgba(57, 108, 80, 0.18);
  color: #2f6b4f;
}

.archive-status-badge.is-may-return {
  background: rgba(148, 114, 41, 0.1);
  border-color: rgba(148, 114, 41, 0.18);
  color: #947229;
}

.archive-status-badge.is-expired {
  background: rgba(143, 45, 63, 0.1);
  border-color: rgba(143, 45, 63, 0.16);
  color: #8f2d3f;
}

.archive-empty-state {
  margin-top: 0.85rem;
}

.topic-card .muted-inline {
  display: block;
  margin-top: 0.45rem;
}

.summary-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.summary-card-link:hover,
.summary-card-link:focus-visible {
  border-color: rgba(0, 113, 227, 0.28);
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.08);
}

.section-title-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms ease;
}

.section-title-link:hover,
.section-title-link:focus-visible {
  color: var(--accent);
}

.topic-preview-block {
  margin-top: 1rem;
}

.topic-group-section .topic-card {
  margin-top: 1rem;
}

.archive-topic-group-section .section-head {
  margin-bottom: 0.2rem;
}

.topic-group-section.is-targeted {
  border-radius: var(--radius);
  outline: 2px solid rgba(0, 113, 227, 0.18);
  outline-offset: 0.55rem;
}

.topic-scroll-panel {
  max-height: 24rem;
  overflow-y: auto;
  padding-right: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: #c8d0da transparent;
}

.topic-scroll-panel::-webkit-scrollbar {
  width: 8px;
}

.topic-scroll-panel::-webkit-scrollbar-thumb {
  background: #c8d0da;
  border-radius: 999px;
}

.topic-scroll-panel::-webkit-scrollbar-track {
  background: transparent;
}

.card-head,
.card-foot,
.archive-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.card-head {
  align-items: center;
  justify-content: space-between;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0 0.78rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-dark {
  background: var(--text);
  color: #ffffff;
  border-color: var(--text);
}

.badge-soft {
  background: var(--accent-soft);
  border-color: rgba(0, 113, 227, 0.12);
  color: var(--accent);
}

.metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 1.9rem;
  padding: 0 0.78rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.metric-chip-score {
  min-width: 9rem;
}

.metric-label {
  white-space: nowrap;
}

.score-gauge {
  width: 4.2rem;
  height: 0.38rem;
  background: #dfe5ec;
  border-radius: 999px;
  overflow: hidden;
}

.score-gauge span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}

.risk-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: #a3a3a3;
  flex: 0 0 auto;
}

.risk-low .risk-dot {
  background: #22c55e;
}

.risk-medium .risk-dot {
  background: #facc15;
}

.risk-high .risk-dot {
  background: #ef4444;
}

.signal-type {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.trend-meta-group {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}

.trend-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.trend-meta-label {
  display: inline-block;
  min-width: 3.8rem;
  color: var(--text);
  font-weight: 600;
}

.traffic-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.14rem;
}

.traffic-dot {
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: #d4dbe3;
  flex: 0 0 auto;
}

.page-home .signal-card .trend-meta-attention {
  display: flex;
  align-items: center;
  column-gap: 0.55rem;
}

.page-home .signal-card .trend-meta-published {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
}

.page-home .signal-card .score-shape-step {
  display: flex;
  justify-content: center;
}

.page-home .signal-card .score-shape-step .step-label {
  display: none;
}

.page-home .signal-card .signal-validity-compact {
  margin-top: 0.65rem;
}

.page-home .signal-card .trend-meta-attention .trend-meta-label {
  min-width: auto;
  flex: 0 0 auto;
}

.page-home .signal-card .trend-meta-attention .traffic-dots {
  flex: 0 0 auto;
}

.page-home .signal-card {
  padding: 1.12rem;
}

.page-home .signal-card h3 {
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.page-home .signal-card .trend-meta-group {
  margin-top: 0.75rem;
  gap: 0.35rem;
}

.page-home .signal-card .card-stack {
  gap: 0.72rem;
  margin-top: 0.8rem;
}

.page-home .signal-card .card-step p {
  margin-top: 0.14rem;
  line-height: 1.45;
}

.page-home .signal-card .card-foot {
  margin-top: 0.78rem;
  padding-top: 0.72rem;
  gap: 0.7rem;
  align-items: flex-end;
}

.signal-card-copy {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-home .signal-card .signal-card-copy {
  -webkit-line-clamp: 3;
}

.page-home .signal-card .signal-card-copy-compact {
  -webkit-line-clamp: 2;
}

.trend-saturation-compact {
  display: grid;
  gap: 0.38rem;
  margin-top: 0.62rem;
}

.trend-saturation-compact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.trend-saturation-compact-label,
.trend-saturation-compact-score {
  margin: 0;
}

.trend-saturation-compact-label {
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-home .trend-saturation-compact .saturation-status-text {
  display: inline;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.page-home .trend-saturation-compact .saturation-status-text.is-open-window {
  color: #2f6b4f;
}

.page-home .trend-saturation-compact .saturation-status-text.is-heating-up {
  color: #947229;
}

.page-home .trend-saturation-compact .saturation-status-text.is-crowded {
  color: #b4682f;
}

.page-home .trend-saturation-compact .saturation-status-text.is-saturated {
  color: #8f2d3f;
}

.trend-saturation-compact-score {
  color: var(--muted);
  font-size: 0.82rem;
}

.traffic-dot.is-filled {
  background: var(--accent);
}

.card-stack {
  display: grid;
  gap: 0.95rem;
  margin-top: 1rem;
}

.card-step p {
  margin: 0.2rem 0 0;
}

.card-step-inline {
  flex: 1 1 auto;
}

.score-shape-step {
  margin-top: 0.9rem;
}

.signal-card .score-shape-step .radar-chart-block {
  margin-top: 0;
}

.signal-card .score-shape-step .radar-chart-svg-compact {
  max-width: 9.25rem;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}

.inline-link {
  color: var(--accent);
  font-weight: 600;
}

.card-title-link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(0, 113, 227, 0.24);
  text-underline-offset: 0.18em;
}

.card-title-link:hover,
.card-title-link:focus-visible {
  color: var(--accent);
  text-decoration-color: rgba(0, 113, 227, 0.7);
}

.card-title-link-plain,
.card-title-link-plain:hover,
.card-title-link-plain:focus-visible {
  text-decoration: none;
}

.mini-list,
.topic-link-list,
.plain-list,
.source-list,
.input-file-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mini-list li,
.topic-link-list li,
.input-file-list li,
.source-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.mini-list li:last-child,
.topic-link-list li:last-child,
.input-file-list li:last-child,
.source-list li:last-child {
  border-bottom: 0;
}

.mini-list li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.mini-list-label-with-marker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.mini-list-marker {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 2px;
  flex: 0 0 auto;
}

.mini-list li > a:hover,
.mini-list li > a:focus-visible,
.chart-legend li a:hover,
.chart-legend li a:focus-visible {
  color: var(--accent);
}

.source-list li,
.topic-link-list li {
  flex-direction: column;
}

.bar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.bar-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 1.3fr) auto;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
}

.bar-track {
  height: 0.62rem;
  background: #e8edf3;
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}

.bar-value {
  color: var(--muted);
  font-size: 0.92rem;
}

.score-breakdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.score-breakdown-panel-compact {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}

.score-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.15rem 0 0.9rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.score-total strong {
  color: var(--text);
  font-weight: 600;
}

.score-breakdown-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(120px, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
}

.score-breakdown-label {
  min-width: 0;
}

.score-breakdown-meter {
  height: 0.62rem;
  background: #e8edf3;
  border-radius: 999px;
  overflow: hidden;
}

.score-breakdown-fill {
  display: block;
  height: 100%;
  min-width: 0.35rem;
  background: var(--accent);
  border-radius: 999px;
}

.score-breakdown-value {
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

.article-meta-card .score-breakdown-row {
  grid-template-columns: minmax(0, 1.2fr) minmax(84px, 1fr) auto;
  gap: 0.55rem;
}

.article-meta-card .score-breakdown-label,
.article-meta-card .score-breakdown-value,
.article-meta-card .score-total {
  font-size: 0.86rem;
}

.radar-chart-block {
  margin-top: 1rem;
}

.radar-chart-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.radar-chart-svg-compact {
  max-width: 18rem;
  margin: 0 auto;
}

.radar-ring,
.radar-axis {
  fill: none;
  stroke: var(--line-soft);
  stroke-width: 1;
}

.radar-area {
  fill: rgba(0, 113, 227, 0.14);
}

.radar-stroke {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
}

.radar-point {
  fill: var(--accent);
}

.radar-label {
  fill: var(--muted);
  font-size: 10px;
}

.analytics-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.4rem;
}

.analytics-card {
  overflow: visible;
}

.analytics-subroot {
  display: grid;
  gap: 0.9rem;
}

.analytics-svg-wrap {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.timeline-scroll-panel {
  max-height: 520px;
  overflow-y: auto;
  overflow-x: auto;
  padding-right: 0.35rem;
}

.analytics-svg {
  min-width: 38rem;
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  max-width: 100%;
}

.analytics-axis,
.analytics-grid-line {
  stroke: var(--line-soft);
  stroke-width: 1;
}

.analytics-grid-line {
  stroke-dasharray: 3 5;
}

.analytics-grid-line-vertical {
  stroke-dasharray: 2 6;
  opacity: 0.9;
}

.analytics-axis-label {
  fill: var(--muted);
  font-size: 11px;
}

.analytics-axis-label-strong {
  fill: var(--text);
  font-weight: 600;
}

.analytics-axis-label-x {
  font-size: 10px;
}

.analytics-bar {
  fill: var(--accent);
}

.analytics-bar-longevity {
  fill: #7f8a98;
}

.analytics-bar-gradient {
  fill: url(#analytics-score-gradient);
}

.analytics-bar-track {
  fill: #e8edf3;
}

.analytics-bar-track-rect,
.analytics-bar-rect {
  rx: 2px;
}

.analytics-score-pill {
  fill: rgba(178, 58, 72, 0.12);
}

.analytics-score-pill-text {
  fill: #8e2d3a;
  font-size: 11px;
  font-weight: 700;
}

.analytics-count-label {
  font-size: 10px;
}

.analytics-point {
  fill: #b23a48;
  opacity: 0.88;
}

.analytics-area-fill {
  fill: url(#analytics-area-gradient);
}

.analytics-area-stroke {
  fill: none;
  stroke: #b23a48;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.analytics-area-point {
  fill: #b23a48;
  stroke: #ffffff;
  stroke-width: 1.4;
}

.analytics-select-label {
  display: grid;
  gap: 0.35rem;
  margin: 0.85rem 0 1rem;
}

.analytics-select-label span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.analytics-select-inline {
  margin: 0;
}

.analytics-panel[hidden] {
  display: none;
}

.analytics-pie-shell {
  align-items: center;
}

.analytics-pie {
  width: 11.75rem;
  height: 11.75rem;
}

.analytics-pie-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.analytics-note {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.analytics-note-warning {
  color: #8e5a16;
}

.time-basis-note {
  margin-top: 0.5rem;
}

.heatmap-wrap {
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
}

.heatmap-wrap-compact {
  overflow-x: hidden;
}

.heatmap-grid {
  min-width: 40rem;
  display: grid;
  grid-template-columns: 4.8rem repeat(7, minmax(3.4rem, 1fr));
  gap: 0.35rem;
  align-items: stretch;
}

.heatmap-head,
.heatmap-cell {
  border-radius: 0.8rem;
  padding: 0.6rem 0.45rem;
  text-align: center;
  font-size: 0.8rem;
}

.heatmap-head {
  color: var(--muted);
  font-weight: 600;
}

.heatmap-side {
  text-align: left;
}

.heatmap-cell {
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.05);
}

.home-heatmap-card-compact .section-copy {
  margin-bottom: 0.45rem;
}

.home-heatmap-card-compact .analytics-note {
  margin-bottom: 0.45rem;
}

.home-heatmap-card-compact .analytics-select-label {
  margin: 0.65rem 0 0.75rem;
}

.home-trending-range-label {
  margin: 0.65rem 0 0.75rem;
}

.notable-range-label {
  margin: 0;
}

.notable-results-note {
  margin-bottom: 0.7rem;
}

.home-heatmap-card-compact .heatmap-grid {
  min-width: 0;
  grid-template-columns: 3.2rem repeat(7, minmax(2.35rem, 1fr));
  gap: 0.22rem;
}

.home-heatmap-card-compact .heatmap-head,
.home-heatmap-card-compact .heatmap-cell {
  border-radius: 0.62rem;
  padding: 0.42rem 0.18rem;
  font-size: 0.69rem;
}

.topic-chart-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin: 0.9rem 0 1rem;
  overflow: visible;
  max-width: 100%;
}

.timeline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.timeline-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.timeline-legend-swatch {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 2px;
  display: inline-block;
}

.timeline-legend-short {
  background: #a55a5a;
}

.timeline-legend-medium {
  background: #a78635;
}

.timeline-legend-long {
  background: #4f8264;
}

.timeline-legend-neutral {
  background: #7b8797;
}

.timeline-track {
  fill: #eef1f5;
}

.timeline-bar-group {
  cursor: pointer;
  outline: none;
}

.timeline-bar {
  transition: transform 120ms ease, fill-opacity 120ms ease, stroke 120ms ease, stroke-width 120ms ease, filter 120ms ease;
  transform-box: fill-box;
  transform-origin: center;
}

.timeline-bar-group:hover .timeline-bar,
.timeline-bar-group:focus-visible .timeline-bar {
  transform: translateY(-2px) scale(1.01);
  fill-opacity: 1 !important;
  stroke: rgba(17, 24, 39, 0.28);
  stroke-width: 1.2;
  filter: drop-shadow(0 5px 10px rgba(15, 23, 42, 0.12));
}

.chart-shell-no-legend {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0.65rem;
}

.chart-shell-no-legend.chart-shell-compact,
.chart-shell-no-legend.chart-shell-regular {
  grid-template-columns: 1fr;
}

.chart-shell-compact {
  grid-template-columns: 86px minmax(0, 1fr);
}

.chart-shell-regular {
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
}

.trending-categories-card-statistics .topic-chart-shell.chart-shell-regular {
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: 1rem;
}

.trending-categories-card-statistics .topic-donut {
  max-width: 210px;
  justify-self: center;
}

.topic-donut {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.06);
  overflow: visible;
}

.chart-shell-no-legend .topic-donut {
  width: min(100%, 104px);
}

.topic-donut-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.chart-segment-path {
  fill: rgba(255, 255, 255, 0.001);
  stroke: transparent;
  stroke-width: 1.1;
  transition: fill 140ms ease, stroke 140ms ease;
  pointer-events: auto;
  cursor: pointer;
  outline: none;
}

.chart-segment-path:hover,
.chart-segment-path:focus-visible {
  fill: rgba(255, 255, 255, 0.14);
  stroke: rgba(255, 255, 255, 0.72);
}

.chart-tooltip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  max-width: 13rem;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  background: rgba(17, 24, 39, 0.94);
  color: #f8fafc;
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
  pointer-events: none;
  white-space: normal;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
  transform: translate(-50%, calc(-100% - 0.75rem));
}

.chart-tooltip[hidden] {
  display: none;
}

.chart-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(17, 24, 39, 0.94);
}

.chart-tooltip.is-below {
  transform: translate(-50%, 0.75rem);
}

.chart-tooltip.is-below::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: rgba(17, 24, 39, 0.94);
}

.topic-donut-hole {
  position: absolute;
  inset: 18%;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}

.topic-donut-hole strong {
  font-size: 1.25rem;
  line-height: 1;
}

.topic-donut-hole span {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.2rem;
}

.statistics-card-compact .radar-chart-svg-compact,
.statistics-card-compact .radar-chart-svg {
  max-width: 11rem;
  margin: 0 auto;
}

.page-about .statistics-card-wide .radar-chart-svg,
.page-about .statistics-card-wide .radar-chart-svg-compact {
  max-width: 20rem;
}

.chart-shell-compact .topic-donut-hole strong {
  font-size: 1rem;
}

.chart-shell-compact .topic-donut-hole span {
  font-size: 0.7rem;
}

.chart-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.chart-legend li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: inherit;
}

.chart-legend-main {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.chart-legend-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  flex: 0 0 auto;
}

.chart-legend-meta {
  color: var(--muted);
  white-space: nowrap;
}

.topics-overview-card {
  padding: 1.55rem;
}

.topics-dashboard-grid {
  align-items: start;
}

.topics-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1rem 0 1.1rem;
}

.topics-filter-bar label {
  display: grid;
  gap: 0.45rem;
  min-width: min(100%, 220px);
}

.topics-filter-label {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topic-results-card {
  margin-top: 1rem;
}

.topics-results-shell {
  display: grid;
  gap: 0.95rem;
}

.article-shell {
  max-width: 1040px;
  padding: 4rem 0;
}

.article-insight-grid {
  margin: 1.35rem 0 1.55rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.article-header {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.article-meta-card {
  padding: 1.35rem;
  position: sticky;
  top: 1rem;
}

.detail-signal-health {
  display: grid;
  gap: 1rem;
}

.article-meta-card .card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.article-meta-card .trend-meta {
  margin: 0;
}

.article-meta-card .trend-meta-attention {
  display: flex;
  align-items: center;
  column-gap: 0.8rem;
  margin-bottom: 0.85rem;
}

.meta-list {
  margin: 1rem 0 0;
}

.meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.meta-list div:last-child {
  border-bottom: 0;
}

.meta-list dt {
  color: var(--muted);
}

.summary-copy,
.faq-answer,
.signalmeaning-detail-note {
  margin: 0;
  color: var(--text);
}

.article-header-copy > .article-insight-card,
.article-header-copy > .signal-validity-card,
.article-header-copy > .trend-saturation-card {
  margin-top: 1rem;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line-soft);
}

.faq-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.faq-question {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.article-faq-card {
  margin-top: 0.75rem;
}

.article-footnote-card {
  margin-top: 1.25rem;
}

.article-footnote-note {
  margin-top: 1.35rem;
}

.signalmeaning-detail-note {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.plain-list-compact li {
  padding: 0.45rem 0;
}

.muted-inline-small {
  font-size: 0.84rem;
  color: var(--muted);
}

.summary-card-block {
  min-height: 0;
}

.statistics-summary-grid .summary-card-block {
  height: 100%;
}

.summary-card-meter {
  display: block;
  margin-top: 0.55rem;
  width: 100%;
  height: 0.42rem;
  border-radius: 999px;
  overflow: hidden;
  background: #e8edf3;
}

.summary-card-meter span {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.meta-list-stack div {
  align-items: flex-start;
}

.meta-list-stack dd {
  text-align: left;
}

.meta-list dd {
  margin: 0;
  text-align: right;
}

.article-section {
  margin-top: 1.7rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line-soft);
}

.subpage-badge {
  margin: 1rem 0 0;
}

.statistics-signal-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.statistics-signal-card {
  min-height: 100%;
}

.statistics-signal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.statistics-signal-link {
  margin: 0.9rem 0 0;
}

.site-footer {
  margin-top: 2rem;
  padding: 2rem 0 2.4rem;
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 3.65fr) minmax(136px, 0.58fr) minmax(176px, 0.8fr);
  gap: 0.44rem;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@keyframes blink-caret {
  50% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-subtitle-typed.is-typing::after {
    animation: none;
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .statistics-summary-grid,
  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .statistics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-header,
  .footer-grid,
  .newsletter-card {
    grid-template-columns: 1fr;
  }

  .newsletter-card {
    align-items: flex-start;
  }

  .statistics-card-wide {
    grid-column: span 1;
  }

  .statistics-card-full {
    grid-column: span 1;
  }

  .statistics-card-compact {
    grid-column: span 1;
    max-width: none;
  }

  .topic-chart-shell,
  .chart-shell-compact,
  .chart-shell-regular {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 1rem 1rem;
    background: rgba(29, 29, 31, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .subpage-hero {
    padding-top: 3.7rem;
    padding-bottom: 2rem;
  }

  .page-home .hero h1 {
    font-size: clamp(2.45rem, 8vw, 3.2rem);
    line-height: 1.08;
  }

  .search-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.5rem 0.6rem;
    border-radius: 16px;
    margin-bottom: 1rem;
  }

  .page-home .search-field {
    min-height: 2.9rem;
    padding: 0 0.72rem;
    gap: 0.48rem;
    border-radius: 16px;
  }

  .page-home .search-strip input {
    font-size: 0.95rem;
  }

  .page-home .search-strip .batch-select {
    min-height: 2.9rem;
    padding: 0 0.8rem;
    font-size: 0.95rem;
    border-radius: 14px;
  }

  .page-home .statistics-preview {
    padding-top: 0.45rem;
    padding-bottom: 0.65rem;
  }

  .page-home .search-section {
    padding-top: 0.2rem;
    padding-bottom: 0.3rem;
  }

  .page-home .search-range-select {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .page-home .search-icon,
  .page-home .search-icon svg {
    width: 0.9rem;
    height: 0.9rem;
  }

  .page-home .search-strip,
  .page-home .search-field,
  .page-home .statistics-preview .overview-card,
  .page-home .statistics-preview .analytics-card,
  .page-home .statistics-preview .topic-chart-shell,
  .page-home .statistics-preview .heatmap-wrap,
  .page-home .statistics-preview .heatmap-grid,
  .page-statistics .analytics-card,
  .page-statistics .topic-chart-shell,
  .page-statistics .analytics-svg-wrap,
  .page-statistics .analytics-svg,
  .page-statistics .heatmap-wrap,
  .page-statistics .heatmap-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
  }

  .page-home .statistics-group-shell,
  .page-statistics .statistics-group-shell {
    padding: 1rem;
  }

  .page-home .statistics-preview .overview-grid,
  .page-home .statistics-preview .statistics-grid,
  .page-statistics .statistics-grid,
  .page-statistics .analytics-grid {
    gap: 1rem;
  }

  .analytics-svg-wrap,
  .heatmap-wrap,
  .timeline-scroll-panel {
    overflow-x: visible;
    padding-bottom: 0;
  }

  .analytics-svg {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .analytics-axis-label {
    font-size: 9.5px;
  }

  .analytics-axis-label-x {
    font-size: 8.5px;
  }

  .heatmap-grid {
    min-width: 0;
    grid-template-columns: 2.95rem repeat(7, minmax(1.95rem, 1fr));
    gap: 0.18rem;
  }

  .heatmap-head,
  .heatmap-cell {
    border-radius: 0.58rem;
    padding: 0.34rem 0.14rem;
    font-size: 0.66rem;
  }

  .home-heatmap-card-compact .heatmap-grid {
    grid-template-columns: 2.8rem repeat(7, minmax(2rem, 1fr));
    gap: 0.18rem;
  }

  .home-heatmap-card-compact .heatmap-head,
  .home-heatmap-card-compact .heatmap-cell {
    padding: 0.34rem 0.12rem;
    font-size: 0.64rem;
  }

  .bar-link {
    grid-template-columns: 1fr;
  }

  .statistics-grid {
    grid-template-columns: 1fr;
  }

  .statistics-summary-grid {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    margin-top: 1.2rem;
  }

  .section-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .signal-scroll-grid {
    grid-auto-columns: minmax(280px, 88vw);
  }

  .search-result-meta {
    flex-direction: column;
    gap: 0.3rem;
  }

  .published-date-list li > a {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .topic-scroll-panel {
    max-height: 21rem;
  }

  .chart-tooltip {
    max-width: 10rem;
  }
}
