.bs-foot{flex-wrap:wrap}
.sdex-embed-trigger{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:6px 9px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--bs-text,#f8fafc);font:600 12px/1.25 system-ui,sans-serif;cursor:pointer}
.sdex-embed-trigger:hover{background:var(--bs-surface2,#172136);border-color:var(--bs-border,#334155)}
.sdex-embed-trigger:focus-visible,.sdex-embed-dialog :focus-visible{outline:2px solid #a78bfa;outline-offset:3px}
.sdex-embed-dialog{--se-bg:#101827;--se-panel:#0b1220;--se-text:#f8fafc;--se-muted:#a8b4c8;--se-line:#334155;box-sizing:border-box;width:min(560px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:24px;border:1px solid var(--se-line);border-radius:20px;background:var(--se-bg);color:var(--se-text);font:14px/1.6 system-ui,sans-serif;box-shadow:0 24px 90px #0009;color-scheme:dark}
.sdex-embed-dialog::backdrop{background:#020617bd;backdrop-filter:blur(5px)}
.sdex-embed-dialog *{box-sizing:border-box}
.sdex-embed-dialog h2{margin:0 40px 8px 0;font-size:23px;line-height:1.25;letter-spacing:-.5px}
.sdex-embed-dialog p{margin:8px 0 16px;color:var(--se-muted)}
.sdex-embed-close{position:absolute;right:14px;top:12px;width:38px;height:38px;border:0;border-radius:9px;background:transparent;color:inherit;font:25px system-ui;cursor:pointer}
.sdex-embed-dialog label{display:block;margin:18px 0 7px;font-weight:700}
.sdex-embed-dialog input,.sdex-embed-dialog textarea{display:block;width:100%;padding:12px;border:1px solid var(--se-line);border-radius:10px;background:var(--se-panel);color:var(--se-text);font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;resize:vertical;overflow-wrap:anywhere}
.sdex-embed-dialog textarea{min-height:136px}
.sdex-embed-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:10px}
.sdex-embed-copy,.sdex-embed-preview{display:inline-flex;justify-content:center;align-items:center;min-height:42px;padding:10px 15px;border:1px solid var(--se-line);border-radius:10px;background:transparent;color:var(--se-text);font:650 13px system-ui;cursor:pointer;text-decoration:none}
.sdex-embed-copy-primary{background:#7352d6;border-color:#7352d6;color:#fff}
.sdex-embed-status{min-height:1.6em;margin-bottom:0!important;color:#c4b5fd!important}
.sdex-embed-note{padding:11px 12px;border:1px solid var(--se-line);border-radius:10px;font-size:12px}
.sdex-public-note{display:none}
html[data-sdex-public-embed] body.bs-standalone{display:block;min-height:0;margin:0;padding:0}
html[data-sdex-public-embed] .sdex-ui-header,html[data-sdex-public-embed] .sdex-home-nav{display:none!important}
html[data-sdex-public-embed] .bs-root{display:block;width:100%;max-width:none;min-height:0;padding:0;background:none}
html[data-sdex-public-embed] .bs-card{width:100%;max-width:none;min-height:0;border:0;border-radius:0;padding:18px 16px;box-shadow:none}
html[data-sdex-public-embed] .sdex-public-note{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:7px;padding:11px 0 0;font:11px/1.5 system-ui,sans-serif;color:var(--bs-muted,#94a3b8)}
.sdex-public-note a{color:var(--bs-text,#f8fafc);font-weight:650;text-decoration:none;padding:6px 0}
.sdex-embed-guide{margin:0;background:#080d16;color:#f8fafc;font:15px/1.6 system-ui,sans-serif}
.sdex-embed-guide main{display:grid;grid-template-columns:minmax(260px,1fr) minmax(320px,480px);gap:48px;max-width:1100px;margin:auto;padding:48px 24px;align-items:start}
.sdex-embed-guide h1{font-size:clamp(30px,5vw,46px);line-height:1.1;letter-spacing:-1.5px;margin:20px 0}
.sdex-embed-guide p{color:#a8b4c8}.sdex-embed-guide a{color:#c4b5fd}
.sdex-embed-guide #sdex-embed-trigger{border-color:#7352d6;background:#7352d6;padding:12px 18px;font-size:14px}
.sdex-preview-widths{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.sdex-preview-widths button{border:1px solid #334155;border-radius:9px;background:#101827;color:#f8fafc;padding:10px 13px;cursor:pointer}
.sdex-preview-widths button[aria-pressed=true]{border-color:#a78bfa;background:#322257}
.sdex-embed-guide iframe{display:block;width:480px;max-width:100%;height:760px;border:1px solid #334155;border-radius:20px;background:#101827}
@media(max-width:760px){.sdex-embed-guide main{grid-template-columns:1fr;gap:24px;padding:28px 18px}.sdex-embed-guide iframe{margin:auto}}
html[data-theme=light] .sdex-embed-dialog{--se-bg:#fff;--se-panel:#f5f7fb;--se-text:#172036;--se-muted:#526177;--se-line:#d9e0eb;color-scheme:light}
@media(max-width:420px){.sdex-embed-dialog{padding:20px 16px}.sdex-embed-dialog h2{font-size:21px}.sdex-embed-actions>*{flex:1}.sdex-embed-dialog input{font-size:11px}}
