.trend-card { margin-bottom: 14px; padding: 20px; border: 1px solid #edf0f8; border-radius: 17px; background: #fff; box-shadow: 0 8px 24px #40547d0a; }
.trend-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.trend-heading h2 { margin: 1px 0 3px; color: var(--ink); font-size: 21px; letter-spacing: -.045em; }
.trend-heading small { color: #8a95ad; font-size: 12px; }
.trend-actions { display: flex; align-items: center; gap: 12px; }
.trend-legend { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; color: #6f7d99; font-size: 11px; font-weight: 700; }
.trend-legend span::before { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 50%; content: ""; }
.trend-series::before { background: var(--series-color); }
.legend-sales::before { background: #3b8eff; }.legend-revenue::before { background: #08bfa0; }.legend-buyout::before { background: #ee4fc4; }
.trend-scale { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; color: #7d89a3; font-size: 11px; font-variant-numeric: tabular-nums; }
.trend-chart { height: 215px; margin-top: 14px; padding: 12px 0 0; overflow: hidden; border-radius: 12px; background: linear-gradient(180deg, #fcfdff, #f7faff); }
.trend-chart svg { width: 100%; height: 180px; overflow: visible; }
.chart-grid { stroke: #e7ecf6; stroke-width: 1; }.chart-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }.chart-line.sales { stroke: #3b8eff; }.chart-line.revenue { stroke: #08bfa0; }.chart-line.buyout { stroke: #ee4fc4; stroke-dasharray: 7 5; }
.chart-point { opacity: 0; cursor: help; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }.chart-point.sales { fill: #3b8eff; }.chart-point.revenue { fill: #08bfa0; }.chart-point.buyout { fill: #ee4fc4; }.trend-chart svg:hover .chart-point { opacity: .7; }.chart-point:hover { opacity: 1!important; r: 7; }
.trend-labels { display: flex; justify-content: space-between; gap: 8px; padding: 0 4px; color: #8994ad; font-size: 10px; }.trend-empty { padding: 38px 0 18px; color: #8994ad; text-align: center; }
@media (max-width: 760px) { .trend-heading { display: block; }.trend-actions { justify-content: space-between; margin-top: 12px; }.trend-legend { padding-top: 0; }.trend-scale { display: grid; grid-template-columns: 1fr 1fr; }.trend-scale span:last-child { grid-column: span 2; }.trend-chart { height: 175px; }.trend-chart svg { height: 145px; }.trend-labels span:nth-child(even) { display: none; } }
