.store-stats__periods .btn.active {
  background: var(--panel-accent);
  border-color: var(--panel-accent);
  color: #fff;
}
.st-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.st-card, .st-panel {
  background: var(--panel-surface);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  padding: 0.9rem 1rem;
}
.st-card__label {
  color: var(--panel-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.st-card__value {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0.15rem 0;
}
.st-card__sub { color: var(--panel-muted); font-size: 0.78rem; }
.st-up { color: #3dd68c; }
.st-down { color: #ff8a96; }
html[data-theme="light"] .st-up { color: #1b7a3d; }
html[data-theme="light"] .st-down { color: #b42332; }
.st-panel { margin-bottom: 1rem; }
.st-panel h3 { font-size: 1rem; margin: 0 0 0.75rem; }
.st-funnel { display: flex; flex-direction: column; gap: 0.45rem; }
.st-funnel__row { display: grid; grid-template-columns: 9.5rem 1fr auto; gap: 0.6rem; align-items: center; font-size: 0.86rem; }
.st-funnel__bar { height: 0.55rem; background: var(--panel-action-bg); border-radius: 99px; overflow: hidden; }
.st-funnel__bar > span { display: block; height: 100%; background: var(--panel-accent); border-radius: 99px; }
.st-hours { display: flex; align-items: flex-end; gap: 2px; height: 72px; }
.st-hours i {
  display: block;
  flex: 1;
  min-height: 2px;
  background: #d97706;
  border-radius: 2px 2px 0 0;
}
.st-split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 0.75rem; }
.st-table { width: 100%; font-size: 0.86rem; }
.st-table td, .st-table th { padding: 0.35rem 0.4rem; vertical-align: top; }
.st-note { color: var(--panel-muted); font-size: 0.78rem; margin: 0.6rem 0 0; }
@media (max-width: 900px) {
  .st-grid, .st-split { grid-template-columns: 1fr 1fr; }
  .st-funnel__row { grid-template-columns: 1fr; gap: 0.15rem; }
}
@media (max-width: 560px) {
  .st-grid { grid-template-columns: 1fr 1fr; }
}
