/* Analytics (15.10.2026, 16.10.2026): progress and pace of a brief, terms marks, comparison table, economics chart, funnel, retention, rating. Text is never smaller than 12 px. */
.content-grid.an-single{grid-template-columns:minmax(0,1fr)}
.an-panel{margin-bottom:24px}
.an-progress{height:8px;border-radius:4px;background:var(--surface-3);overflow:hidden;margin:6px 0 12px}
.an-progress span{display:block;height:100%;border-radius:4px;background:var(--purple);min-width:0}
.an-progress.done span{background:var(--green)}
.an-plan-item{padding:16px 22px;border-top:1px solid var(--line)}
.an-plan-item:first-of-type{border-top:0}
.an-plan-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:baseline;margin-bottom:8px}
.an-plan-head small,.an-line small,.an-brief small{font-size:12px;color:var(--muted)}
.an-line{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px}
.an-brief{margin:0 0 16px}
.an-brief .an-soon{display:block;color:var(--amber);margin-top:4px}
.an-closing{display:grid;gap:8px;justify-items:start}
.an-closing p{font-size:13px}
.an-stats .btn.small{margin-top:6px}
.an-strong{font-weight:650}
.an-sub{margin:16px 0 6px}
.an-table td small{font-size:12px}
.an-table .number-cell{white-space:nowrap}
.an-total td{font-weight:650;background:var(--surface)}
.an-bad{color:var(--red)}
.pill.an-out{background:var(--warning-soft);color:var(--amber);font-size:12px}
.pill.an-check{background:var(--surface-3);color:var(--red);font-size:12px}
.an-step{display:grid;grid-template-columns:minmax(130px,210px) minmax(80px,1fr) 64px minmax(110px,190px);gap:14px;align-items:center;padding:6px 0;font-size:13px}
.an-step .an-progress{margin:0}
.an-step small{font-size:12px;color:var(--muted)}
@media (max-width:700px){.an-step{grid-template-columns:1fr 64px}.an-step .an-progress{grid-column:1/3;order:3}.an-step small{grid-column:1/3;order:4}.an-plan-item{padding:14px 16px}}
.an-panel .status-row small{display:block;font-size:12px;margin-top:2px}
.an-order{display:block;margin-top:4px}
.an-line small{white-space:nowrap}

.an-pace{display:block;font-size:12px;color:var(--muted);margin:-4px 0 12px}
.an-chart{padding:8px 22px 0}
.an-chart svg{display:block;height:auto}
.an-bar-revenue{fill:var(--purple)}
.an-bar-cost{fill:var(--text-3)}
.an-axis{font-size:12px;fill:var(--muted)}
.an-axis-line{stroke:var(--line);stroke-width:1}
.an-legend{display:flex;gap:16px;font-size:12px;color:var(--muted);padding:6px 0 12px}
.an-dot{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.an-dot.revenue{background:var(--purple)}
.an-dot.cost{background:var(--accent)}
.an-order .segmented{margin-right:8px}
