.design-page{color:#182338;max-width:1000px;margin:auto;padding:0 28px 40px}.design-top{border-bottom:1px solid #dbe0e6;justify-content:space-between;align-items:center;padding:22px 0;display:flex}.design-top a,.design-tabs button,.demo-top b,.demo-who,.demo-file,.demo-preview>b{align-items:center;gap:8px;display:flex}.design-top a{color:#20352e;font-size:24px;font-weight:700;text-decoration:none}.design-top button,.design-tabs button{border:1px solid #d5dae2;border-radius:9px;padding:6px 13px}.design-intro{margin:28px 0 16px}.design-intro h1{font-size:clamp(29px,5vw,44px);line-height:1.35}.design-intro p,.design-desc p{color:#596372}.design-tabs{flex-wrap:wrap;gap:6px;margin:16px 0;display:flex}.design-tabs button{background:#fff;font-size:15px}.design-tabs button[aria-pressed=true]{background:#e9edf5;border-color:#414f6c;font-weight:700}.swatch{border-radius:5px;width:15px;height:15px;display:inline-block}.swatch.focus{background:#2b6656}.swatch.studio{background:#5268b6}.swatch.night{background:#372653}.design-frame{--frame:#eff4ee;--surface:#fff;--line:#dae2da;--accent:#285741;--type:#203a2e;--bubble:#e8f2e9;background:var(--surface);color:var(--type);border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 14px 36px #1e27300d}.design-frame.studio{--surface:#fbfcff;--frame:#edf1fa;--line:#d9e0ee;--accent:#4259a4;--type:#23325a;--bubble:#e8edfb}.design-frame.night{--surface:#181621;--frame:#24212d;--line:#373240;--accent:#d4c2ff;--type:#f6f1ff;--bubble:#332d43}.demo-top{border-bottom:1px solid var(--line);background:var(--frame);align-items:center;gap:16px;padding:12px 18px;display:flex}.demo-top small{margin-inline-start:auto}.demo-top b{color:var(--accent);font-size:19px}.demo-top span,.demo-top small{font-size:13px}.demo-body{min-height:315px;display:flex}.demo-rail{border-inline-end:1px solid var(--line);background:var(--frame);flex-direction:column;align-items:center;gap:21px;padding:15px 12px;display:flex}.demo-rail svg{width:16px}.demo-chat{flex:1;max-width:680px;margin:auto;padding:20px 26px}.demo-kicker{color:var(--accent);margin-bottom:10px;font-size:13px;font-weight:700;display:block}.demo-question{background:var(--bubble);border-radius:10px;width:fit-content;margin-bottom:14px;padding:8px 13px}.demo-who{color:var(--accent)}.demo-who span{display:flex}.demo-chat p{margin:4px 0 12px}.demo-file{border:1px solid var(--line);border-radius:9px;width:fit-content;padding:6px 12px;font-size:13px}.demo-composer{border:1px solid var(--line);background:var(--frame);border-radius:13px;margin-top:22px;padding:10px 14px;font-size:14px}.demo-composer>div{color:var(--accent);justify-content:space-between;align-items:center;margin-top:6px;display:flex}.demo-preview{border-inline-start:1px solid var(--line);background:#fff;width:37%;padding:19px 20px}.demo-preview>b{font:600 14px system-ui}.demo-preview table{border-collapse:collapse;width:100%;margin:15px 0 8px;font-size:14px}.demo-preview th,.demo-preview td{text-align:start;border:1px solid var(--line);padding:4px 6px}.demo-preview th{background:var(--frame)}.demo-bars{border-bottom:1px solid var(--line);align-items:end;gap:10px;height:62px;padding:0 12px;display:flex}.demo-bars i{background:#8092cd;border-radius:4px 4px 0 0;width:20%}.demo-bars i:nth-child(2){background:#6179bb}.demo-bars i:nth-child(3){background:#4259a4}.night .demo-chat{max-width:760px}.night .demo-top{background:#211d2b}.design-desc{padding:14px 4px}.design-desc h2{font-size:21px}.demo-switch{display:none}@media (max-width:650px){.design-page{padding-inline:14px}.demo-chat{padding:16px}.demo-top{gap:8px}.design-frame.studio .demo-body{display:block}.studio .demo-rail,.studio .demo-chat,.studio .demo-preview{display:none}.studio .demo-chat.show,.studio .demo-preview.show{border:0;width:100%;display:block}.demo-switch{background:var(--frame);gap:8px;padding:5px 12px;display:flex}.demo-switch button{border-radius:6px;font-size:14px}.demo-switch button[aria-pressed=true]{background:#fff;font-weight:700}.design-tabs button{padding:5px 8px}.demo-top span{max-width:40%;overflow:hidden}}
