* {
  box-sizing: border-box;
}
:root {
  color-scheme: light only;
  font-family:
    Geist, Inter, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
}
body {
  margin: 0;
  background: Canvas;
  color: CanvasText;
}
.demo-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
}
.demo-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid GrayText;
}
.demo-brand {
  color: CanvasText;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.demo-notice strong,
.demo-title,
.demo-card-title {
  font-family: Inter, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
}
.demo-notice strong {
  display: block;
  font-size: 16px;
}
.demo-notice p,
.demo-footer {
  margin: 6px 0 0;
  color: GrayText;
  font-size: 13px;
  line-height: 1.6;
}
.demo-main {
  display: grid;
  gap: 24px;
  padding: 24px 0;
}
.demo-query {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  padding: 18px;
  border: 1px solid GrayText;
}
.demo-eyebrow,
.demo-field-label {
  color: GrayText;
  font-family: 'Geist Mono', Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.demo-query-value {
  margin-top: 8px;
  font-family: 'Geist Mono', Consolas, monospace;
  font-size: 18px;
  overflow-wrap: anywhere;
}
.demo-badge {
  border: 1px solid CanvasText;
  padding: 6px 9px;
  font-family: 'Geist Mono', Consolas, monospace;
  font-size: 11px;
  white-space: nowrap;
}
.demo-section {
  display: grid;
  gap: 12px;
}
.demo-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.demo-title {
  margin: 0;
  font-size: 20px;
}
.demo-section-note {
  color: GrayText;
  font-size: 12px;
}
.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.demo-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid GrayText;
  background: Canvas;
}
.demo-card-title {
  margin: 8px 0 14px;
  font-size: 17px;
  overflow-wrap: anywhere;
}
.demo-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.demo-fields > div {
  min-width: 0;
}
.demo-fields dt,
.demo-fields dd {
  margin: 0;
}
.demo-fields dd {
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.demo-code-list {
  display: grid;
  gap: 8px;
}
.demo-code {
  padding: 12px 14px;
  border-left: 3px solid CanvasText;
  background: color-mix(in srgb, CanvasText 5%, Canvas);
  font-family: 'Geist Mono', Consolas, monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.demo-footer {
  padding-top: 18px;
  border-top: 1px solid GrayText;
}
@media (max-width: 640px) {
  .demo-shell {
    width: min(100% - 24px, 920px);
    padding: 16px 0;
  }
  .demo-header,
  .demo-query,
  .demo-grid {
    grid-template-columns: 1fr;
  }
  .demo-header,
  .demo-main {
    gap: 16px;
  }
  .demo-badge {
    width: fit-content;
  }
}
