/* Static previews for the dashboard guide. No analytics queries. */
.knowledge-article-header-visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; gap: 40px; max-width: none; }
.knowledge-article-header-visual > div { min-width: 0; }
.knowledge-article-header-visual h1 { font-size: clamp(34px, 3.8vw, 48px); }
.knowledge-article-header-visual .knowledge-answer { padding: 20px 24px; }
.knowledge-article-header-visual .knowledge-answer p { font-size: 16px; line-height: 1.75; }
.knowledge-article-header-visual > .knowledge-example { min-width: 0; margin: 0; }
.knowledge-example { margin: 28px 0; overflow: hidden; border: 1px solid #d8e2ed; border-radius: 12px; background: #f8fafc; color: #152b42; box-shadow: 0 3px 12px #152b4208; }
.knowledge-example-topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #e2e8f0; background: white; }
.knowledge-example-site { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 12px; font-weight: 650; }
.knowledge-example-site > span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 6px; background: #e8f2ff; color: #176ac2; font-size: 18px; }
.knowledge-example-badge { padding: 3px 8px; border: 1px solid #b9d7f4; border-radius: 999px; background: #f0f7ff; color: #14589e; font-size: 10px; font-weight: 650; }
.knowledge-example-content { padding: 18px; }
.knowledge-example-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.knowledge-example-title { font-size: 18px; line-height: 1.35; letter-spacing: -.02em; }
.knowledge-example-heading > span { color: #586b7d; font-size: 11px; }
.knowledge-example-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.knowledge-example-metrics.has-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.knowledge-example-metrics > div { min-width: 0; padding: 14px; border: 1px solid #e2e8f0; border-radius: 8px; background: white; }
.knowledge-example-metrics span { display: block; min-height: 32px; color: #586b7d; font-size: 11px; line-height: 1.45; }
.knowledge-example-metrics strong { display: block; margin-top: 6px; font-size: 23px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.knowledge-example-chart { margin-bottom: 16px; padding: 16px 14px 0; border: 1px solid #e2e8f0; border-radius: 8px; background: white; }
.knowledge-example-chart-title { display: block; font-size: 13px; line-height: 1.5; }
.knowledge-example-plot { display: grid; grid-template-columns: 40px minmax(0, 1fr); margin-top: 12px; }
.knowledge-example-scale { display: flex; flex-direction: column; justify-content: space-between; padding: 12px 8px 12px 0; color: #586b7d; font-size: 10px; text-align: right; font-variant-numeric: tabular-nums; }
.knowledge-example-plot svg { display: block; width: 100%; height: 170px; }
.knowledge-example-grid { fill: none; stroke: #e2e8f0; vector-effect: non-scaling-stroke; }
.knowledge-example .example-blue { --example-color: #2563eb; }
.knowledge-example .example-purple { --example-color: #7c3aed; }
.knowledge-example .example-green { --example-color: #047857; }
.knowledge-example .example-amber { --example-color: #b45309; }
.knowledge-example .example-rose { --example-color: #db2777; }
.knowledge-example .example-cyan { --example-color: #0e7490; }
.knowledge-example-line { fill: none; stroke: var(--example-color); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.knowledge-example-line.example-purple, .knowledge-example-line.example-amber { stroke-dasharray: 6 4; }
.knowledge-example-bar { fill: var(--example-color); }
.knowledge-example-dates { display: flex; justify-content: space-between; gap: 6px; margin-left: 40px; color: #586b7d; font-size: 10px; }
.knowledge-example .knowledge-example-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; margin: 14px 0; padding: 0; list-style: none; }
.knowledge-example .knowledge-example-legend li { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: #425a70; font-size: 11px; line-height: 1.5; }
.knowledge-example-swatch { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--example-color); }
.knowledge-example-values { margin-top: 14px; border-top: 1px solid #e2e8f0; }
.knowledge-example-values summary { padding: 10px 0; color: #176ac2; font-size: 11px; font-weight: 650; }
.knowledge-example-values summary::before { content: "+"; display: inline-block; width: 14px; }
.knowledge-example-values[open] summary::before { content: "−"; }
.knowledge-example-table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid #e2e8f0; border-radius: 8px; background: white; }
.knowledge-example-table-scroll table { width: 100%; min-width: 480px; border-collapse: collapse; text-align: left; font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.knowledge-example-table-scroll caption { padding: 12px; color: #586b7d; text-align: left; font-size: 11px; }
.knowledge-example-table-scroll th, .knowledge-example-table-scroll td { padding: 10px 12px; vertical-align: top; }
.knowledge-example-table-scroll thead { background: #f8fafc; color: #586b7d; }
.knowledge-example-table-scroll tbody tr { border-top: 1px solid #e2e8f0; }
.knowledge-example-values .knowledge-example-table-scroll { margin-bottom: 12px; }
.knowledge-example figcaption { padding: 13px 18px; border-top: 1px solid #e2e8f0; background: white; color: #586b7d; font-size: 11px; line-height: 1.65; }
.knowledge-example-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.knowledge-example .knowledge-example-tile { display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 14px 8px; min-width: 0; padding: 16px; border: 1px solid #e2e8f0; border-radius: 8px; background: white; text-decoration: none; }
.knowledge-example-tile svg { grid-column: 1 / -1; width: 23px; height: 23px; color: var(--example-color); }
.knowledge-example-tile strong { font-size: 12px; line-height: 1.5; }
.knowledge-example-tile > span { color: #176ac2; font-size: 13px; }
.knowledge-example-tile:hover { border-color: #176ac2; }
.knowledge-example-more { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 11px; }
.knowledge-example-more > span { flex-basis: 100%; color: #586b7d; }
.knowledge-example-more a { color: #176ac2; }
.knowledge-example-heatmap { margin-top: 20px; }
.knowledge-example-heatmap-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 12px; }
.knowledge-example-heatmap-heading > span { color: #586b7d; font-size: 11px; }
.knowledge-example-webpage { overflow: hidden; border: 1px solid #d8e2ed; border-radius: 8px; background: white; }
.knowledge-example-webnav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 14px; border-bottom: 1px solid #e2e8f0; font-size: 10px; }
.knowledge-example-webnav > span { color: #586b7d; }
.knowledge-example-webhero { display: grid; justify-items: center; gap: 14px; padding: 28px 16px; background: #f5f8fc; text-align: center; }
.knowledge-example-webhero > strong { font-size: 19px; line-height: 1.35; }
.knowledge-example-webcopy { width: 55%; height: 5px; border-radius: 4px; background: #d9e3ed; }
.knowledge-example-hot, .knowledge-example-warm, .knowledge-example-cool { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 14px; border-radius: 7px; font-size: 12px; font-weight: 600; }
.knowledge-example-hot { background: #fff0df; color: #9a3412; box-shadow: 0 0 12px 12px #fb923c29; }
.knowledge-example-warm { background: #fff7dd; color: #854d0e; box-shadow: 0 0 10px 5px #eab30817; }
.knowledge-example-cool { background: #e5f2ff; color: #175998; box-shadow: 0 0 10px 5px #60a5fa14; }
.knowledge-example-webcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 20px; }
.knowledge-example-heatmap-key { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; color: #586b7d; font-size: 10px; }
.knowledge-example-heatmap-key i { width: 90px; height: 6px; border-radius: 4px; background: linear-gradient(90deg, #60a5fa, #fde047, #fb923c); }
@media (max-width: 1000px) {
  .knowledge-article-header-visual { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 700px) {
  .knowledge-example-content { padding: 12px; }
  .knowledge-example-topbar { padding: 12px; }
  .knowledge-example-metrics, .knowledge-example-metrics.has-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .knowledge-example-metrics > div { padding: 12px; }
  .knowledge-example-metrics strong { font-size: 21px; }
  .knowledge-example-chart { padding-inline: 10px; }
  .knowledge-example-plot svg { height: 150px; }
  .knowledge-example-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .knowledge-example .knowledge-example-tile { padding: 12px; }
  .knowledge-example-webcards { gap: 10px; padding: 16px 12px; }
  .knowledge-example-warm, .knowledge-example-cool { gap: 8px; padding: 10px; }
  .knowledge-example figcaption { padding: 12px; }
}
