.structure-drawer-trigger{display:inline-flex;align-items:center;justify-content:center;min-height:36px;margin:8px 0 0;padding:6px 14px;border:1px solid #75a8ef;border-radius:8px;background:#f1f7ff;color:#0756b3;font-family:inherit;font-size:14px;font-weight:600;line-height:1.3;cursor:pointer}
.reg-fields>.structure-drawer-trigger,.bv-field-grid>.structure-drawer-trigger,.self-form-grid>.structure-drawer-trigger{grid-column:1/-1;justify-self:start;margin:0 0 8px}
.molecule-draw-search{display:block;margin:8px auto 0;background:#ffffffcf}
.structure-drawer-trigger:hover,.structure-drawer-trigger:focus-visible{background:#e2efff;border-color:#1269d3}
.structure-drawer-dialog{width:min(1120px,calc(100vw - 32px));height:min(790px,calc(100dvh - 32px));max-width:none;max-height:none;padding:0;border:1px solid #bfd3ee;border-radius:16px;box-shadow:0 26px 80px #112e5670;overflow:hidden;color:#152840}
.structure-drawer-dialog::backdrop{background:#102138a8}
.structure-drawer-shell{display:flex;flex-direction:column;height:100%;background:#fff}
.structure-drawer-head{display:flex;justify-content:space-between;align-items:start;gap:16px;padding:16px 22px;border-bottom:1px solid #dce8f6}
.structure-drawer-head span{font-size:12px;font-weight:700;color:#1473d4}.structure-drawer-head h2{font-size:22px;line-height:1.25;margin:3px 0}.structure-drawer-head p{font-size:13px;color:#61758c;margin:0}
.structure-drawer-close{width:36px;height:36px;flex:none;border:0;border-radius:8px;background:#eff4fa;color:#263b55;font-size:26px;cursor:pointer}
.structure-drawer-stage{flex:1;min-height:0;background:#fff}.structure-drawer-stage iframe{display:block;width:100%;height:100%;border:0}
.structure-drawer-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;border-top:1px solid #dce8f6;background:#f8fbff}.structure-drawer-foot>span{font-size:13px;color:#526b85}.structure-drawer-foot>div{display:flex;gap:9px;flex:none}
.structure-drawer-foot button{min-height:38px;padding:8px 14px;border-radius:8px;font-weight:700;cursor:pointer}.structure-drawer-secondary{border:1px solid #b9cce5;background:#fff;color:#34516f}.structure-drawer-primary{border:1px solid #0862ce;background:#0862ce;color:#fff}.structure-drawer-primary:disabled{opacity:.55;cursor:wait}
body.has-structure-drawer{overflow:hidden}
@media(max-width:680px){.structure-drawer-dialog{width:100vw;height:100dvh;margin:0;border:0;border-radius:0}.structure-drawer-head{padding:12px}.structure-drawer-head h2{font-size:18px}.structure-drawer-head p{font-size:11px}.structure-drawer-foot{padding:10px 12px;align-items:stretch;flex-direction:column}.structure-drawer-foot>div{justify-content:flex-end}}
