:root{--demo-accent:#38bdf8;--demo-footer:64px}.demo-screen{border:1px solid var(--line);background:var(--surface);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;border-radius:8px;min-width:0;height:440px;position:relative;overflow:hidden}@media (width>=1000px){.writing-screen{height:605px}}.demo-caption{z-index:2;min-height:var(--demo-footer);background:var(--surface);border-top:1px solid var(--line);text-align:center;color:var(--text);pointer-events:none;flex-direction:column;justify-content:center;gap:2px;padding:8px 16px;font-size:14px;font-weight:500;line-height:1.35;display:flex;position:absolute;inset:auto 0 0}.demo-screen[role=group]{--demo-footer:80px}.demo-progress{pointer-events:auto;justify-content:center;gap:4px;display:flex;position:relative}.demo-progress i{background:var(--line);width:22px;height:2px}.demo-progress i.active{background:var(--demo-accent)}.demo-progress button{width:28px;height:24px;color:var(--muted);cursor:pointer;background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:flex}.demo-progress:not(.demo-progress--flow) button:before{content:"";background:var(--line);width:22px;height:2px;transition:background .15s,height .15s}.demo-progress:not(.demo-progress--flow) button.active:before{background:var(--demo-accent)}.demo-progress:not(.demo-progress--flow) button:hover:before,.demo-progress:not(.demo-progress--flow) button:focus-visible:before{background:var(--demo-accent);height:4px}.demo-progress button:focus-visible{outline:1px solid var(--demo-accent);outline-offset:2px;border-radius:3px}.demo-progress button:after{content:attr(data-scene-label);z-index:3;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:100%;color:var(--text);opacity:0;pointer-events:none;border-radius:4px;padding:6px 10px;font-size:14px;font-weight:400;line-height:1.35;position:absolute;bottom:calc(100% + 4px);left:50%;transform:translate(-50%)}.demo-progress button[data-scene-label]:hover:after,.demo-progress button[data-scene-label]:focus-visible:after{opacity:1}@media (width<=500px){.demo-screen{height:460px}}.demo-screen:has(.demo-progress--flow){--demo-footer:84px}.demo-progress--flow{order:-1;align-items:center;gap:0}.demo-progress--flow i{width:auto;height:auto;color:var(--muted);background:0 0;align-items:center;font-size:14px;font-style:normal;font-weight:400;display:flex}.demo-progress--flow i+i:before{content:"→";color:var(--muted);margin-inline:7px;font-weight:400}.demo-progress--flow i.active{color:var(--demo-accent);background:0 0;font-weight:650}.demo-progress--flow button{width:auto;height:24px;font:inherit;font-weight:500}.demo-progress--flow button:before{display:none}.demo-progress--flow button+button{margin-left:7px}.demo-progress--flow button+button:before{content:"→";width:auto;height:auto;color:var(--muted);background:0 0;margin-right:7px;font-weight:400;display:block}.demo-progress--flow button.active,.demo-progress--flow button:hover,.demo-progress--flow button:focus-visible{color:var(--demo-accent)}.demo-caption:has(.demo-progress--flow){gap:6px;padding:10px 12px}@container (width<=360px){.demo-progress--flow button+button{margin-left:2px}.demo-progress--flow button+button:before{margin-right:2px}.demo-progress--flow i+i:before{margin-inline:2px}}
