#code-dialog{width:min(1400px,96vw);max-width:96vw;height:min(940px,95dvh);max-height:95dvh;padding:0;border:0;border-radius:18px;background:#faf7f0;color:#302442;box-shadow:0 25px 100px #0009;overflow:auto;color-scheme:light}#code-dialog::backdrop{background:#070d1fd9}.code-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;border-bottom:1px solid #e0d9e9}.code-header h2{font-size:1.45rem;margin:0}.code-header p{margin:5px 0 0;color:#70657d;font-size:.85rem}.code-header button,#code-dialog button,#code-dialog select{color:#40334e;background:#eee8f3;border:1px solid #d9cee5}.code-tools{display:flex;flex-wrap:wrap;gap:14px;padding:16px 24px}.code-tools label{display:flex;flex-direction:column;gap:6px;font-size:.8rem;font-weight:700}.code-tools select{font:inherit;max-width:100%;min-height:44px;padding:9px 12px;border-radius:10px}.code-body{padding:0 24px 20px}.code-breadcrumbs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}.code-breadcrumbs button{font-size:.75rem;min-height:36px;padding:7px 10px}.code-breadcrumbs button:disabled{opacity:1;background:#ded2ef}#code-title{font-size:1.2rem;margin:14px 0 7px}#code-description{font-size:.9rem;line-height:1.6;max-width:950px;margin:0 0 12px}#code-blocks{height:440px;width:100%;border:1px solid #ded5e8;border-radius:12px;overflow:hidden;background:white;position:relative}.code-call{cursor:pointer!important}.code-call .blocklyPath:focus{outline:3px solid #d39a14;outline-offset:3px}#code-dialog .code-call:hover>.blocklyPath{filter:brightness(1.1)}#code-calls{display:flex;flex-wrap:wrap;gap:8px}#code-calls button{font-size:.8rem;text-align:left;padding:10px 13px;background:#f2d5e5;border-color:#d59abd}#code-calls-help{font-size:.86rem;color:#77536c;line-height:1.5}.code-extra{margin-top:15px;padding:12px 0;border-top:1px solid #ddd4e5}.code-extra summary{font-weight:700;cursor:pointer;font-size:.88rem}.code-extra p{font-size:.83rem;line-height:1.5}.code-extra .code-tools{padding:12px 0}#code-state{font-size:.76rem;color:#716578;margin:12px 0 0}#code-dialog a{color:#6443ac}#code-dialog button:focus-visible,#code-dialog select:focus-visible,#code-dialog summary:focus-visible{outline:3px solid #8054b4;outline-offset:3px}#code-dialog .blocklySvg{font-family:Arial,sans-serif}#code-dialog .blocklyText{font-family:Arial,sans-serif}.code-download{font-size:.8rem;margin-top:14px}@media(max-width:600px){#code-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.code-header{padding:14px;align-items:start}.code-header h2{font-size:1.2rem}.code-header p{font-size:.75rem}.code-header button{min-height:44px;padding:8px 12px}.code-tools{padding:12px 14px;gap:10px}.code-tools label{width:100%}.code-body{padding:0 14px 20px}#code-blocks{height:380px}#code-title{font-size:1.08rem}#code-description{font-size:.82rem}.code-breadcrumbs button{font-size:.7rem}#code-calls{flex-direction:column}#code-calls button{width:100%}}
#code-dialog .code-header{position:sticky;top:0;z-index:10;background:#faf7f0}#code-dialog button:disabled{cursor:default}
#code-dialog .code-call .blocklyText{pointer-events:none}

.code-breadcrumbs{scroll-margin-top:130px}
