.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
}
.modal-backdrop[hidden] { display: none; }

.modal {
  width: min(900px, 95vw);
  max-height: 90vh; overflow: auto;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-4);
}

.modal .head { display: flex; justify-content: space-between; align-items: center; }
.modal .head .close {
  background: transparent; border: 1px solid var(--border);
  color: var(--text); width: 28px; height: 28px; border-radius: var(--radius-sm); cursor: pointer;
}
.modal h3 { margin: 0 0 var(--space-2); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

.modal .big-chart { width: 100%; height: 440px; }
.modal ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-1); }
.modal ul li { padding: var(--space-2); background: var(--surface); border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 12px; }
