*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--pyxis-bg);
  color: var(--pyxis-text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  overflow: hidden;
}

button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.mono { font-family: var(--font-mono); }
.instrument { font-family: var(--font-instrument); }
.sec { color: var(--fg2); }
.amber { color: var(--accent); }
.muted { color: var(--fg3); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.06); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.12); }

/* Blazor reconnect / error UI */
#blazor-error-ui {
  color-scheme: light only;
  background: #1a1300;
  color: #e8a832;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0,0,0,0.4);
  box-sizing: border-box;
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
  font-size: 13px;
}
#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}
