@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Mono:wght@500;600;700&family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@600;700&display=swap");

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

html { min-width: 20rem; background: var(--edge-color-canvas); }

body {
  min-height: 100dvh;
  margin: 0;
  background: var(--edge-canvas-glow), var(--edge-color-canvas);
  background-attachment: fixed;
  color: var(--edge-color-text);
  font-family: var(--edge-font-body);
  font-size: var(--edge-text-md);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
/* !important is deliberate here, not a workaround: the hidden attribute
   is meant to unconditionally suppress rendering, but at equal
   specificity any component's own `display` rule that merely loads
   later in the cascade (e.g. .edge-button's display:inline-flex) silently
   wins over a plain [hidden]{display:none} -- exactly what was happening
   to the Trading Lab bulk-action buttons, which had the hidden attribute
   correctly set in the DOM but kept rendering anyway. */
[hidden] { display: none !important; }

:focus-visible {
  outline: none;
  box-shadow: none;
}

.edge-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.edge-data { font-family: var(--edge-font-data); font-variant-numeric: tabular-nums; }
