/* ==============================================================================
   DEBUG INFO PANEL
   ==============================================================================
   Debug information display for development and troubleshooting
*/

.ms__debug-info {
  margin-top: calc(0.4 * var(--ms-rem));
  padding: calc(0.4 * var(--ms-rem));
  background-color: var(--ms-debug-bg);
  border: 1px solid var(--ms-debug-border-color);
  border-radius: var(--ms-debug-border-radius);
  font-size: calc(1.2 * var(--ms-rem));
  color: var(--ms-debug-text-color);
}

.ms__debug-info details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ms-debug-summary-color);
  user-select: none;
  padding: calc(0.4 * var(--ms-rem));
  border-radius: var(--ms-debug-summary-border-radius);
}

.ms__debug-info details summary:hover {
  background-color: var(--ms-debug-summary-bg-hover);
}

.ms__debug-info details summary:focus {
  outline: 2px solid var(--ms-debug-summary-outline-color);
  outline-offset: 2px;
}

.ms__debug-info .ms__debug-stats {
  display: flex;
  flex-direction: column;
  gap: calc(0.4 * var(--ms-rem));
  margin-top: calc(0.4 * var(--ms-rem));
  padding: calc(0.4 * var(--ms-rem));
  background-color: var(--ms-debug-stats-bg);
  border-radius: var(--ms-debug-stats-border-radius);
}

.ms__debug-info .ms__debug-stats span {
  display: flex;
  justify-content: space-between;
  padding: 2px 4px;
  font-family: monospace;
  font-size: calc(1 * var(--ms-rem));
}

.ms__debug-info .ms__debug-stats span::before {
  content: '•';
  margin-inline-end: calc(0.4 * var(--ms-rem));
  color: var(--ms-debug-bullet-color);
}
