/* Cap micro visuals — каждая карточка уникальна, без повторяющихся bar-chart */

.cap__micro {
  flex: 1 1 100%;
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cap__spark { display: none; }

/* landing — browser + CTA */
.cm-land { width: 100%; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.cm-land__bar { height: 5px; background: rgba(255,255,255,0.05); }
.cm-land__body { padding: 4px; display: flex; gap: 3px; align-items: center; }
.cm-land__body i { flex: 1; height: 6px; background: rgba(0,255,163,0.15); border-radius: 2px; }
.cm-land__body b { font-size: 0.42rem; padding: 2px 5px; border-radius: 999px; background: var(--accent-dim); color: var(--accent); font-weight: 500; }

/* shop — 2 tiles */
.cm-shop { display: flex; gap: 3px; width: 100%; }
.cm-shop i { flex: 1; height: 22px; border: 1px solid var(--border); border-radius: 3px; background: rgba(0,255,163,0.06); }

/* webapp — form */
.cm-form { width: 100%; display: flex; flex-direction: column; gap: 2px; }
.cm-form i { display: block; height: 7px; border: 1px solid var(--border); border-radius: 3px; background: rgba(255,255,255,0.03); }
.cm-form i:last-child { width: 40%; background: var(--accent-dim); border-color: rgba(0,255,163,0.25); }

/* crm funnel */
.cm-funnel { display: flex; flex-direction: column; gap: 2px; width: 100%; align-items: center; }
.cm-funnel i { display: block; height: 5px; background: rgba(0,255,163,0.15); border-radius: 2px; }
.cm-funnel i:nth-child(1) { width: 100%; }
.cm-funnel i:nth-child(2) { width: 75%; opacity: 0.7; }
.cm-funnel i:nth-child(3) { width: 50%; opacity: 0.5; }

/* erp grid */
.cm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; width: 100%; }
.cm-grid i { aspect-ratio: 1; border: 1px solid var(--border); border-radius: 2px; background: rgba(255,255,255,0.03); font-size: 0; }
.cm-grid i.on { background: rgba(0,212,255,0.12); border-color: rgba(0,212,255,0.25); }

/* dashboard gauge */
.cm-gauge { position: relative; width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; margin: 0 auto; }
.cm-gauge b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.48rem; color: var(--accent); }

/* telegram */
.cm-tg { width: 100%; text-align: center; font-size: 0.48rem; color: var(--accent-2); padding: 0.3rem; border-radius: 5px; background: rgba(0,136,204,0.15); border: 1px solid rgba(0,136,204,0.25); }

/* bot chat */
.cm-chat { width: 100%; display: flex; flex-direction: column; gap: 2px; }
.cm-chat i { display: block; height: 6px; border-radius: 4px; max-width: 75%; }
.cm-chat i:first-child { align-self: flex-end; background: rgba(255,255,255,0.08); width: 60%; }
.cm-chat i:last-child { align-self: flex-start; background: var(--accent-dim); width: 80%; border: 1px solid rgba(0,255,163,0.2); }

/* loyalty stars */
.cm-stars { display: flex; align-items: center; gap: 4px; width: 100%; justify-content: center; font-size: 0.55rem; color: var(--gold); letter-spacing: 1px; }
.cm-stars small { font-family: var(--mono); font-size: 0.42rem; color: var(--text-muted); }

/* ai nodes */
.cm-nodes { display: flex; align-items: center; gap: 3px; width: 100%; justify-content: center; }
.cm-nodes i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--accent); background: var(--accent-dim); }
.cm-nodes span { font-size: 0.45rem; color: var(--accent); opacity: 0.4; }

/* content pipeline */
.cm-pipe { display: flex; align-items: center; gap: 2px; width: 100%; font-family: var(--mono); font-size: 0.4rem; color: var(--text-muted); justify-content: center; }
.cm-pipe em { font-style: normal; padding: 2px 4px; border: 1px solid var(--border); border-radius: 3px; }
.cm-pipe em.on { color: var(--accent); border-color: rgba(0,255,163,0.3); }

/* forecast line */
.cm-line { width: 100%; height: 28px; }
.cm-line svg { width: 100%; height: 100%; }
.cm-line polyline { fill: none; stroke: var(--accent-2); stroke-width: 1.5; }
.cm-line polygon { fill: rgba(0,212,255,0.1); }

/* n8n chain */
.cm-chain { display: flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: 0.4rem; justify-content: center; width: 100%; }
.cm-chain i { padding: 2px 4px; border: 1px solid var(--border); border-radius: 3px; color: var(--text-muted); font-style: normal; }
.cm-chain i.on { color: var(--accent); border-color: rgba(0,255,163,0.3); }

/* api json */
.cm-json { font-family: var(--mono); font-size: 0.42rem; color: var(--text-muted); width: 100%; text-align: center; }
.cm-json .k { color: var(--accent-2); }
.cm-json .v { color: var(--accent); }

/* integrations */
.cm-links { display: flex; flex-wrap: wrap; gap: 2px; justify-content: center; width: 100%; }
.cm-links i { font-style: normal; font-family: var(--mono); font-size: 0.38rem; padding: 2px 4px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); }

/* wireframe */
.cm-wire { width: 100%; border: 1px dashed rgba(0,255,163,0.25); border-radius: 4px; padding: 4px; display: flex; flex-direction: column; gap: 2px; }
.cm-wire i { height: 4px; background: rgba(255,255,255,0.06); border-radius: 1px; }
.cm-wire i:nth-child(2) { width: 70%; }

/* design system buttons */
.cm-btns { display: flex; gap: 3px; width: 100%; justify-content: center; }
.cm-btns i { font-style: normal; font-size: 0.4rem; padding: 3px 6px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-muted); }
.cm-btns i:first-child { background: var(--accent); color: #031a12; border-color: transparent; }

/* brand */
.cm-brand { display: flex; align-items: center; gap: 5px; justify-content: center; width: 100%; }
.cm-brand i { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.cm-brand b { font-size: 0.55rem; font-weight: 700; letter-spacing: -0.02em; }

/* marketplace avatars */
.cm-avatars { display: flex; justify-content: center; width: 100%; }
.cm-avatars i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--border); background: rgba(0,255,163,0.1); margin-left: -4px; }
.cm-avatars i:first-child { margin-left: 0; }

/* saas billing */
.cm-bill { display: flex; align-items: baseline; justify-content: center; gap: 2px; width: 100%; font-family: var(--mono); }
.cm-bill b { font-size: 0.75rem; color: var(--accent); }
.cm-bill small { font-size: 0.42rem; color: var(--text-muted); }

/* quiz */
.cm-quiz { width: 100%; display: flex; flex-direction: column; gap: 2px; }
.cm-quiz i { display: flex; align-items: center; gap: 4px; font-size: 0.42rem; color: var(--text-muted); font-style: normal; }
.cm-quiz i::before { content: ""; width: 6px; height: 6px; border: 1px solid var(--border); border-radius: 50%; flex-shrink: 0; }
.cm-quiz i.on::before { background: var(--accent); border-color: var(--accent); }

/* analytics funnel icon */
.cm-analytics { width: 24px; height: 24px; margin: 0 auto; clip-path: polygon(0 0, 100% 0, 65% 100%, 35% 100%); background: linear-gradient(180deg, rgba(0,255,163,0.3), rgba(0,255,163,0.05)); border: 1px solid rgba(0,255,163,0.2); }

/* monitor */
.cm-monitor { display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; font-family: var(--mono); font-size: 0.42rem; }
.cm-monitor i { font-style: normal; color: var(--accent); }
.cm-monitor span { color: var(--text-muted); padding: 2px 5px; border: 1px solid var(--border); border-radius: 3px; }

/* mvp sprint */
.cm-mvp { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; font-family: var(--mono); font-size: 0.45rem; }
.cm-mvp b { color: var(--accent); font-size: 0.65rem; }
.cm-mvp span { color: var(--text-muted); }

@media (max-width: 768px) {
  .cap__micro { min-height: 32px; }
}
