/* QuietTrends article enhancement helpers
   Purpose: reusable article-level styling for the compact signal snapshot,
   conversational mini-lists, buyer takeaways, and opportunity-analysis signal blocks.

   Usage guidance:
   - Keep the top signal treatment compact.
   - Use qt-signal-snapshot after Executive Summary.
   - Put deeper source analysis and buyer questions inside Opportunity Analysis.
   - Use qt-mini-list and qt-short-line to avoid blocky article paragraphs.
*/

.qt-short-line {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
  font-weight: 650;
}

.qt-mini-list {
  margin: 0.9rem 0 1.25rem 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.qt-mini-list li::marker {
  color: #00f0ff;
}

.qt-takeaway {
  margin-top: 1.1rem;
  border-left: 3px solid #38ff20;
  padding: 0.85rem 1rem;
  background: rgba(56, 255, 32, 0.055);
  color: rgba(255, 255, 255, 0.78);
  border-radius: 0 10px 10px 0;
}

.qt-takeaway strong {
  color: #ffffff;
}

.qt-signal-snapshot {
  border: 1px solid rgba(0, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.08), rgba(4, 8, 18, 0.88));
  box-shadow: 0 0 28px rgba(0, 255, 255, 0.06);
  padding: 1.15rem;
}

.qt-signal-snapshot-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: stretch;
}

.qt-signal-snapshot-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.24);
  border-radius: 10px;
  padding: 0.85rem;
}

.qt-signal-snapshot-item span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-family: monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.qt-signal-snapshot-item strong {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.15;
}

.qt-signal-snapshot-item.primary strong {
  color: #38ff20;
}

.qt-signal-source-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.qt-signal-source-list li {
  border-left: 3px solid #00f0ff;
  padding-left: 0.85rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  line-height: 1.55;
}

.qt-signal-source-list strong {
  color: #ffffff;
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.qt-question-stream {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.7rem;
}

.qt-question-stream div {
  font-family: monospace;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  padding: 0.75rem 0.9rem;
}

.qt-question-stream span {
  color: #38ff20;
  margin-right: 0.55rem;
}

.qt-chart-shell {
  position: relative;
  width: 100%;
  height: 300px;
  max-height: 300px;
}

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

@media (max-width: 900px) {
  .qt-signal-snapshot-grid,
  .qt-signal-source-list {
    grid-template-columns: 1fr;
  }

  .qt-chart-shell {
    height: 340px;
    max-height: 340px;
  }
}
