.csdemo{--accent:#7b3fbf;--btn-ink:#17121f;--btn-ink-text:#fff;--ground:#fff;--ground-2:#f7f5fa;--ink:#17121f;--ink-2:#3a3245;--line:#e9e5ef;--muted:#6b6577}.csdemo .dlgbd{color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,system-ui,sans-serif;font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;text-align:left}.csdemo .dlgbd *{box-sizing:border-box}.csdemo .dlgbd{position:fixed;inset:0;z-index:2000;background:rgba(23,18,31,.55);backdrop-filter:blur(3px);display:grid;place-items:center;padding:24px;opacity:0;pointer-events:none;visibility:hidden;transition:opacity .18s,visibility 0s linear .18s}.csdemo .dlgbd[data-open]{opacity:1;pointer-events:auto;visibility:visible;transition:opacity .18s}.csdemo .dlg{width:min(560px,100%);max-height:calc(100vh - 48px);overflow:auto;background:var(--ground);border-radius:18px;box-shadow:0 24px 80px rgba(23,18,31,.3);padding:30px;position:relative;transform:translateY(8px) scale(.99);transition:transform .18s;text-align:left}.csdemo .dlgbd[data-open] .dlg{transform:none}.csdemo .dlg .dlglogo{height:30px;width:auto;display:block;margin:0 auto 18px}.csdemo .dlg h2{font-size:1.3rem;line-height:1.2;font-weight:700;letter-spacing:-.024em;margin:0 0 6px}.csdemo .dlg .sub{margin:0 0 22px;font-size:.9rem;line-height:1.6;color:var(--muted)}.csdemo .dlg .x{position:absolute;top:16px;right:16px;width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:var(--ground);color:var(--muted);cursor:pointer;display:grid;place-items:center;padding:0}.csdemo .dlg .x:hover{background:var(--ground-2);color:var(--ink)}.csdemo .dlg .x svg{width:14px;height:14px}.csdemo .dlgrow{display:grid;grid-template-columns:1fr 1fr;gap:14px}.csdemo .dlgf{margin-bottom:14px}.csdemo .dlgf label{display:block;font-size:.8rem;font-weight:700;margin-bottom:6px;letter-spacing:-.01em}.csdemo .dlgf label i{font-style:normal;color:var(--accent)}.csdemo .dlgf input,.csdemo .dlgf select,.csdemo .dlgf textarea{width:100%;height:44px;border:1px solid var(--line);border-radius:11px;padding:0 13px;font-size:.93rem;font-family:inherit;color:var(--ink);background:var(--ground)}.csdemo .dlgf textarea{height:82px;padding:11px 13px;resize:vertical;line-height:1.55}.csdemo .dlgf input:focus,.csdemo .dlgf select:focus,.csdemo .dlgf textarea:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:transparent;box-shadow:none}.csdemo .dlgbtn{display:block;width:100%;background:var(--btn-ink);color:var(--btn-ink-text);border:0;border-radius:12px;padding:14px;font-size:.97rem;font-weight:650;cursor:pointer;font-family:inherit;margin-top:6px}.csdemo .dlgbtn:hover{opacity:.9}.csdemo .dlgnote{margin:13px 0 0;text-align:center;font-size:.82rem;color:var(--muted)}.csdemo .dlgchips{display:flex;flex-wrap:wrap;gap:14px;margin:0 0 20px}.csdemo .dlgchips span{display:inline-flex;align-items:center;gap:6px;font-size:.8rem;color:var(--ink-2)}.csdemo .dlgchips svg{width:12px;height:12px;stroke:var(--accent);flex:0 0 auto}.csdemo .dlgerr{margin:0 0 8px;font-size:.84rem;line-height:1.5;color:#b42318}.csdemo .dlgdone{border-radius:12px;padding:18px 20px;background:#e7f5ee;color:#0e5d3c}.csdemo .dlgdone b{display:block;font-size:1rem;margin-bottom:4px}.csdemo .dlgdone p{margin:0;font-size:.9rem;line-height:1.55}body.dlg-open{overflow:hidden}@media(max-width:560px){.csdemo .dlgrow{grid-template-columns:1fr}.csdemo .dlg{padding:24px}}@media(prefers-reduced-motion:reduce){.csdemo .dlg,.csdemo .dlgbd{transition:none}}