/* Demo page — CSS mock dashboards (no real screenshots) */
.rpt-mock {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--c-border-l);
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  overflow: hidden;
  color: #1a2b3c;
  font-size: .78rem;
}
.rpt-mock * { box-sizing: border-box; }
.rpt-top {
  padding: 14px 16px 10px;
  border-bottom: 1px solid #e8eef5;
  background: linear-gradient(180deg, #f7fafc 0%, #fff 100%);
}
.rpt-top h4 {
  margin: 0 0 4px; font-size: .92rem; font-weight: 700; color: #0a2540;
}
.rpt-top p { margin: 0; font-size: .72rem; color: #5a6f85; line-height: 1.45; }
.rpt-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 12px 14px;
}
.rpt-kpi {
  background: #f4f8fc; border: 1px solid #e2ebf4; border-radius: 10px;
  padding: 10px 8px; text-align: center;
}
.rpt-kpi .n {
  font-size: 1.35rem; font-weight: 800; color: #0066cc;
  font-family: Inter, system-ui, sans-serif; line-height: 1.1;
}
.rpt-kpi .n.warn { color: #e6a100; }
.rpt-kpi .n.ok { color: #00a35c; }
.rpt-kpi .l { font-size: .68rem; color: #6a7f94; margin-top: 4px; }
.rpt-charts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 0 14px 12px;
}
.rpt-charts.three { grid-template-columns: 1fr 1fr 1fr; }
.rpt-chart {
  background: #fafcfe; border: 1px solid #e8eef5; border-radius: 10px;
  padding: 10px; min-height: 110px;
}
.rpt-chart-t { font-size: .68rem; font-weight: 700; color: #3d556e; margin-bottom: 8px; }
.donut {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto;
  background: conic-gradient(#00c864 0 86%, #ff5f57 86% 92%, #e8eef5 92% 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.donut::after {
  content: attr(data-label);
  width: 44px; height: 44px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 800; color: #0a2540;
}
.donut.cad { background: conic-gradient(#1a7fe8 0 72%, #e8eef5 72% 100%); }
.donut.non { background: conic-gradient(#00c864 0 100%); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; padding: 0 4px; }
.bars i {
  flex: 1; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #1a7fe8, #00d4ff);
  min-width: 0;
}
.radar-svg { display: block; margin: 0 auto; width: 90px; height: 90px; }
.gauge {
  width: 90px; height: 48px; margin: 8px auto 0; position: relative;
  overflow: hidden;
}
.gauge-arc {
  width: 90px; height: 90px; border-radius: 50%;
  background: conic-gradient(from 180deg, #ff5f57 0deg, #ffa000 40deg, #00c864 100deg, #e8eef5 100deg 180deg);
  -webkit-mask: radial-gradient(farthest-side, transparent 58%, #000 59%);
  mask: radial-gradient(farthest-side, transparent 58%, #000 59%);
}
.gauge-val {
  position: absolute; left: 0; right: 0; bottom: 2px; text-align: center;
  font-size: .95rem; font-weight: 800; color: #00a35c;
}
.rpt-table { padding: 0 14px 14px; }
.rpt-table table { width: 100%; border-collapse: collapse; font-size: .7rem; }
.rpt-table th, .rpt-table td {
  text-align: left; padding: 6px 8px; border-bottom: 1px solid #eef3f8;
}
.rpt-table th { color: #6a7f94; font-weight: 600; background: #f7fafc; }
.rpt-table td { color: #1a2b3c; }
.pill {
  display: inline-block; padding: 1px 7px; border-radius: 10px;
  font-size: .65rem; font-weight: 700;
}
.pill.hi { background: #ffe8e6; color: #c0392b; }
.pill.mid { background: #fff3d6; color: #b07a00; }
.pill.lo { background: #e6f7ef; color: #0a7a45; }
.pill.ok { background: #e6f7ef; color: #0a7a45; }

/* OCR result panel (light, inside dark chat) */
.ocr-mock {
  background: #fff; border-radius: 10px; padding: 12px;
  color: #1a2b3c; font-size: .74rem;
  border: 1px solid rgba(255,255,255,.15);
}
.ocr-mock table { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.ocr-mock th, .ocr-mock td {
  padding: 6px 8px; border-bottom: 1px solid #eef3f8; text-align: left;
}
.ocr-mock th { font-size: .66rem; color: #6a7f94; background: #f7fafc; }
.ocr-conf { font-weight: 700; }
.ocr-conf.ok { color: #00a35c; }
.ocr-conf.warn { color: #e6a100; }
.ocr-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ocr-btn {
  font-size: .68rem; font-weight: 600; padding: 5px 10px; border-radius: 6px;
  border: none; cursor: default; background: #1a7fe8; color: #fff;
}
.ocr-btn.ghost { background: #eef3f8; color: #3d556e; }

/* Feature catalog mock */
.cat-mock {
  background: linear-gradient(160deg, #0a1628, #0f2543);
  border-radius: 12px; padding: 16px; color: #fff;
  border: 1px solid rgba(0,212,255,.25);
}
.cat-mock-h { font-size: .78rem; color: var(--c-cyan); font-weight: 700; margin-bottom: 10px; }
.cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.cat-tile {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 10px 8px; font-size: .72rem; text-align: center;
}
.cat-tile.on {
  border-color: rgba(0,212,255,.5); background: rgba(0,212,255,.12);
  color: var(--c-cyan); font-weight: 700;
}
.cat-prompts {
  margin-top: 12px; display: flex; flex-direction: column; gap: 6px;
}
.cat-prompts span {
  display: block; padding: 7px 10px; border-radius: 8px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  font-size: .7rem; color: rgba(255,255,255,.8); font-family: monospace;
}

/* STT recording mock */
.stt-mock {
  background: linear-gradient(160deg, #0a1628, #122a48);
  border-radius: 12px; padding: 20px 16px; text-align: center;
  border: 1px solid rgba(0,212,255,.28); color: #fff;
}
.stt-mic {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px;
  background: radial-gradient(circle at 40% 35%, #ff6b6b, #c0392b);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 0 0 8px rgba(255,95,87,.15), 0 0 0 16px rgba(255,95,87,.08);
  animation: stt-pulse 1.6s ease-in-out infinite;
}
@keyframes stt-pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(255,95,87,.15), 0 0 0 16px rgba(255,95,87,.08); }
  50% { box-shadow: 0 0 0 12px rgba(255,95,87,.22), 0 0 0 24px rgba(255,95,87,.1); }
}
.stt-wave {
  display: flex; align-items: center; justify-content: center; gap: 3px;
  height: 28px; margin: 8px 0 12px;
}
.stt-wave i {
  width: 3px; border-radius: 2px; background: var(--c-cyan);
  animation: stt-bar 0.9s ease-in-out infinite alternate;
}
.stt-wave i:nth-child(1) { height: 8px; animation-delay: 0s; }
.stt-wave i:nth-child(2) { height: 16px; animation-delay: .1s; }
.stt-wave i:nth-child(3) { height: 22px; animation-delay: .2s; }
.stt-wave i:nth-child(4) { height: 14px; animation-delay: .15s; }
.stt-wave i:nth-child(5) { height: 10px; animation-delay: .05s; }
@keyframes stt-bar { from { transform: scaleY(.4); } to { transform: scaleY(1); } }
.stt-text { font-size: .8rem; color: rgba(255,255,255,.75); }

/* Multi-render mock (keeps product art) */
.render-mock-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px;
}
.render-mock-row img {
  width: 100%; border-radius: 8px; border: 1px solid rgba(255,255,255,.12);
  display: block;
}

@media (max-width: 700px) {
  .rpt-charts, .rpt-charts.three, .cat-grid, .render-mock-row { grid-template-columns: 1fr 1fr; }
  .rpt-kpis { grid-template-columns: 1fr 1fr; }
}
