.bo-modal-open { overflow:hidden; }
.bo-create-dialog { width:min(1140px,calc(100vw - 72px)); height:min(880px,calc(100dvh - 64px)); max-height:calc(100dvh - 64px); max-width:none; padding:0; border:1px solid #dcd3ec; border-radius:20px; box-shadow:0 28px 100px #1e103b45; overflow:hidden; background:#fff; }
.bo-create-dialog::backdrop { background:#21123373; backdrop-filter:blur(2px); }
.bo-create-dialog[data-size="small"] { width:min(680px,calc(100vw - 72px)); height:min(430px,calc(100dvh - 64px)); }
.bo-create-dialog[data-size="medium"] { width:min(820px,calc(100vw - 72px)); }
.bo-dialog-header { display:flex; align-items:center; justify-content:space-between; padding:18px 26px; border-bottom:1px solid #e9e3f1; background:#fff; }
.bo-dialog-header span { font-size:10px; letter-spacing:.12em; font-weight:700; color:#8a6ab1; }
.bo-dialog-header h2 { font-size:20px; margin:4px 0 0; color:#28193f; }
.bo-dialog-close { width:40px; height:40px; border:1px solid #e8e1ef; border-radius:50%; background:#faf8fd; font-size:25px; color:#73578e; cursor:pointer; }
#bo-create-frame { width:100%; height:calc(100% - 89px); border:0; background:#fff; display:block; }
#bo-create-frame[hidden],#bo-dialog-loading[hidden] { display:none; }
#bo-dialog-loading { padding:1rem 2rem; color:#6e617e; }
.bo-form-embedded { background:#fff; }
.bo-form-embedded .bo-main { padding:20px 26px 30px; width:100%; max-width:none; }
.bo-form-embedded .breadcrumbs,.bo-form-embedded .bo-page-head .eyebrow,.bo-form-embedded .bo-page-head h1 { display:none; }
.bo-form-embedded .bo-page-head { margin:0 0 14px; }
.bo-form-embedded .bo-page-head p { margin:0; font-size:13px; }
.bo-form-embedded .bo-form-panel { max-width:none; }
.bo-form-embedded .bo-form-actions { position:sticky; bottom:0; z-index:5; background:#fffefc; padding:16px 0; border-top:1px solid #eee7f5; }
@media(max-width:600px) { .bo-create-dialog,.bo-create-dialog[data-size] { width:calc(100vw - 20px); height:calc(100dvh - 32px); max-height:calc(100dvh - 32px); border-radius:14px; } .bo-dialog-header { padding:14px 16px; } .bo-form-embedded .bo-main { padding:16px; } #bo-create-frame { height:calc(100% - 81px); } }
/* Keep the surrounding screen visible, with the close button outside the scrolling body. */
.bo-create-dialog { box-sizing:border-box; display:none; margin:auto; }
.bo-create-dialog[open] { display:flex; flex-direction:column; }
.bo-dialog-header { flex:none; gap:16px; min-height:76px; box-sizing:border-box; }
.bo-dialog-header>div { min-width:0; }
.bo-dialog-header h2 { overflow-wrap:anywhere; max-height:3em; overflow:auto; }
.bo-dialog-close { flex:none; }
#bo-create-frame { flex:1; min-height:0; height:auto; }
.bo-expansion-embedded .bo-topbar,.bo-expansion-embedded .bo-sidebar,
.bo-expansion-embedded .platform-header,.bo-expansion-embedded #main-navigation,
.bo-expansion-embedded>.skip,.bo-expansion-embedded .nav-backdrop,
.bo-expansion-embedded>#bo-create-dialog { display:none!important; }
.bo-expansion-embedded .bo-shell,.bo-expansion-embedded .shell { display:block!important; margin:0!important; padding:0!important; min-height:0; }
.bo-expansion-embedded .bo-main,.bo-expansion-embedded #conteudo { width:100%; max-width:none; margin:0; padding:24px; box-sizing:border-box; }
.bo-create-dialog { background:var(--surface,#fff); color:var(--ink,#28193f); }
.bo-dialog-header { background:var(--surface,#fff); }
.bo-dialog-header h2 { color:inherit; }
.bo-dialog-close { background:var(--surface,#faf8fd); color:inherit; }
.bo-dialog-close:focus-visible { outline:3px solid #8b5cf6; outline-offset:2px; }
@media(max-width:600px) {
  .bo-create-dialog,.bo-create-dialog[data-size] { width:calc(100vw - 32px); height:calc(100dvh - 40px); max-height:calc(100dvh - 40px); }
  .bo-dialog-header { padding:12px 14px; }
  .bo-dialog-header h2 { font-size:17px; }
  .bo-expansion-embedded .bo-main,.bo-expansion-embedded #conteudo { padding:16px; }
}

.bo-create-dialog[data-size="picker"] {
  width: min(22rem, calc(100vw - 32px));
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: calc(100dvh - 40px);
}
