/* Document defaults and the shared frame utilities used by DemoFrame. */
:root {
  color-scheme: dark;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

:root[data-embedded] {
  overflow-y: hidden;
}

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

body {
  margin: 0;
  padding: clamp(12px, 2vw, 24px);
  background: #0b0d13;
  color: #fafafa;
  font: 400 16px/1.5 Inter, system-ui, sans-serif;
}

h2, h3, p, ul, ol, figure {
  margin: 0;
}

button, input, select {
  font: inherit;
}

a {
  color: #a5b4fc;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

#dashboard-demo {
  border: 1px solid rgb(255 255 255 / .15);
  border-radius: 12px;
}

#dashboard-demo > header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 8px 16px;
  border-bottom: 1px solid rgb(255 255 255 / .1);
}

#dashboard-demo > header h2 {
  font-size: .875rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

#dashboard-demo > header > span {
  padding: .25rem .5rem;
  border: 1px solid rgb(255 255 255 / .15);
  border-radius: 4px;
  font: .6875rem/1 var(--font-mono);
}

#dashboard-demo > figcaption {
  padding: .75rem 1rem;
  border-top: 1px solid rgb(255 255 255 / .1);
  color: #a1a1aa;
  font-size: .75rem;
}
