:root {
  color-scheme: light;
  font: 14px/1.5 "Segoe UI", "Microsoft YaHei UI", system-ui, sans-serif;
  color: #202639;
  background: #f7f8fa;
  --ink: #202639;
  --muted: #555f75;
  --line: #dce2ed;
  --accent: #294ec6;
  --warm: #a7422e;
  --mono: "Cascadia Code", Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button:focus-visible, a:focus-visible, pre:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.top { background: #fff; border-bottom: 1px solid var(--line); }
.top-inner, main { width: min(100% - 64px, 1200px); margin: 0 auto; }
.top-inner { display: flex; align-items: center; min-height: 61px; }
.demo-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 780; }
main { flex: 1; padding-bottom: 20px; }
.eyebrow { font: 700 11px/1.5 var(--mono); color: var(--accent); margin: 0 0 5px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 36px; line-height: 1.18; font-weight: 780; }
h2 { font-size: 19px; line-height: 1.35; }
h3 { font-size: 14px; }
label { display: block; min-width: 0; }
select { display: block; width: 100%; border: 1px solid #d9dce4; border-radius: 5px; background: #fff; padding: 7px 10px; color: var(--ink); }
select:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.button { display: inline-flex; gap: 6px; align-items: center; justify-content: center; min-height: 36px; border: 1px solid transparent; border-radius: 5px; padding: 6px 12px; font-weight: 650; white-space: nowrap; cursor: pointer; }
.button:disabled { opacity: .48; cursor: not-allowed; }
.neutral { background: #fff; border-color: #d9dce4; color: var(--ink); }
.text-button { background: transparent; color: var(--accent); padding: 5px 7px; }
.primary { color: #fff; background: var(--accent); }
.button:not(:disabled):hover { filter: brightness(.94); }
pre { margin: 0; background: #f0f3fa; border: 1px solid var(--line); color: var(--ink); padding: 14px 13px; overflow: auto; font: 12px/1.65 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
dialog { width: min(100% - 28px, 600px); max-height: calc(100% - 28px); padding: 20px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
dialog::backdrop { background: #26335461; }
summary { cursor: pointer; color: var(--accent); margin-top: 9px; font-weight: 600; }
@media (max-width: 860px) {
  .top-inner, main { width: calc(100% - 36px); }
}
@media (max-width: 520px) {
  .top-inner, main { width: calc(100% - 28px); }
  .top-inner { min-height: 57px; }
  .brand { font-size: 17px; gap: 3px; }
  .brand img { width: 25px; height: 25px; }
  h1 { font-size: 27px; }
}
