.performance-nav-item { margin-bottom: 2px; }
.performance-nav-icon { color: #8eaffc; }
.performance-toolbar { padding: 13px 24px; display: flex; align-items: end; gap: 10px; border-bottom: 1px solid var(--border); background: #111419; }
.performance-toolbar > label, .performance-custom-dates label { min-width: 145px; display: grid; gap: 6px; color: var(--muted-2); font-size: 9px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.performance-toolbar .select, .performance-toolbar .input { width: 100%; height: 34px; }
.performance-custom-dates { display: flex; gap: 10px; }
.performance-custom-dates.hidden { display: none; }
.performance-apply { height: 34px; margin-left: auto; }
.performance-filter-note { min-height: 36px; padding: 8px 24px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--border-soft); background: #101318; color: var(--muted-2); font-size: 9px; }
.performance-filter-note span:first-child { color: #829bd0; }
.performance-content { padding: 18px 24px 30px; }
.performance-coverage { min-height: 50px; padding: 10px 13px; display: flex; align-items: center; gap: 10px; border: 1px solid #293442; border-radius: 8px; background: linear-gradient(90deg, rgba(91,140,255,.08), rgba(91,140,255,.025)); }
.performance-live-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(67,208,154,.08); }
.performance-coverage > div { display: flex; flex-direction: column; gap: 4px; }
.performance-coverage strong { color: #d3d8e0; font-size: 11px; }
.performance-coverage span, .performance-coverage time { color: var(--muted-2); font-size: 9px; }
.performance-coverage time { margin-left: auto; }
.performance-summary-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
.performance-summary-card { position: relative; min-width: 0; min-height: 100px; padding: 14px; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); }
.performance-summary-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: #668ff1; }
.performance-summary-card.violet::before { background: #a087ff; }
.performance-summary-card.green::before { background: #43c894; }
.performance-summary-card.amber::before { background: #e4ad59; }
.performance-summary-card.cyan::before { background: #52b7c7; }
.performance-summary-card > span { display: block; color: var(--muted-2); font-size: 9px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.performance-summary-card strong { display: block; margin-top: 13px; overflow: hidden; color: #eef1f6; font: 20px "DM Mono", monospace; text-overflow: ellipsis; white-space: nowrap; }
.performance-summary-card small { display: block; margin-top: 8px; overflow: hidden; color: var(--muted-2); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.performance-chart-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.performance-chart-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 9px; background: var(--panel); }
.performance-chart-head { min-height: 61px; padding: 12px 14px; display: flex; align-items: flex-start; border-bottom: 1px solid var(--border-soft); }
.performance-chart-head h2 { margin: 0; color: #dce0e7; font-size: 12px; }
.performance-chart-head p { margin: 6px 0 0; color: var(--muted-2); font-size: 9px; line-height: 1.4; }
.performance-chart-head > span { margin-left: auto; padding: 4px 6px; border-radius: 4px; background: #1e232b; color: var(--muted-2); font: 8px "DM Mono", monospace; text-transform: uppercase; }
.performance-chart { position: relative; height: 240px; padding: 10px 12px 8px; }
.performance-chart canvas { width: 100% !important; height: 100% !important; }
.performance-chart-empty { min-height: 220px; padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--muted-2); }
.performance-chart-empty > span { color: #596473; font-size: 30px; }
.performance-chart-empty strong { margin-top: 8px; color: #b9c0ca; font-size: 11px; }
.performance-chart-empty p { margin: 6px 0 0; font-size: 9px; }
.performance-error { min-height: 420px; }

@media (max-width: 1180px) {
  .performance-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .performance-toolbar { flex-wrap: wrap; }
  .performance-apply { margin-left: 0; }
}

@media (max-width: 820px) {
  .performance-chart-grid { grid-template-columns: 1fr; }
  .performance-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .performance-toolbar, .performance-content { padding-left: 15px; padding-right: 15px; }
  .performance-toolbar > label, .performance-custom-dates, .performance-custom-dates label { width: 100%; }
  .performance-custom-dates { flex-direction: column; }
  .performance-filter-note { padding-left: 15px; padding-right: 15px; align-items: flex-start; flex-direction: column; gap: 4px; }
  .performance-summary-grid { grid-template-columns: 1fr; }
}
