.photo-editor-full[open]{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none!important;max-height:none!important;border-radius:0;background:#17232d;color:white}.photo-editor-full #dialog-body{display:flex;flex-direction:column;min-height:0;height:calc(100% - 50px);gap:10px}.editor-toolbar,.editor-text{display:flex;flex-wrap:wrap;gap:8px}.editor-text input{flex:1;min-width:80px}.editor-toolbar button{min-height:38px;padding:8px}.editor-toolbar label{display:flex;align-items:center;gap:5px}.editor-toolbar input{width:40px;padding:0;height:32px}.editor-canvas-wrap{position:relative;flex:1;min-height:80px;display:grid;place-items:center;overflow:hidden}.editor-canvas-wrap canvas{max-width:100%;max-height:100%;object-fit:contain;touch-action:none}.editor-canvas-wrap #photo-crop{position:absolute;width:100%;height:100%;object-fit:contain}#photo-editor{width:100%;height:100%;object-fit:contain}.share-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.share-options a,.share-options button{min-height:50px;text-align:center}

.editor-canvas-wrap #photo-crop{left:50%;top:50%;transform:translate(-50%,-50%)}

body.demo-connected-ui #dialog.photo-editor-full[open]{inset:0;margin:0;transform:none;width:100vw;height:100dvh;max-height:none;border-radius:0;background:#17232d;color:#fff;padding:12px;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}body.demo-connected-ui #dialog.photo-editor-full::before{display:none}#dialog.photo-editor-full #close{float:none;align-self:flex-end;min-height:40px;margin:0}#dialog.photo-editor-full #dialog-body{flex:1;height:auto;min-height:0}#dialog.photo-editor-full h2{margin:0 0 6px;font-size:20px}

.signature-full[open]{padding:0!important;background:white;grid-template-rows:1fr}.signature-full #dialog-body{position:absolute;inset:0;width:100%;height:100%;display:block;background:white;overflow:hidden}.signature-full #signature-pad{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!important;background:transparent!important;z-index:1}.signature-full .signature-guide{position:absolute;left:6%;right:6%;top:76%;border-top:1px solid #91a2a6;pointer-events:none}.signature-full #dialog-body>h2{position:absolute;top:10px;left:16px;right:80px;margin:0!important;font-size:16px;pointer-events:none;z-index:2}.signature-full #dialog-body>.row{position:absolute;bottom:10px;right:16px;left:16px;z-index:2;margin:0;justify-content:flex-end}.signature-full #dialog-body>.row button{flex:0 1 auto}.signature-full #close{position:absolute;right:8px;top:8px;z-index:4}.signature-full #dialog-notice:not(:empty){z-index:5;top:48px}.signature-full::backdrop{background:white}@media(orientation:portrait){.signature-full #dialog-body{width:100dvh;height:100dvw;transform-origin:0 0;transform:rotate(90deg) translateY(-100%)}}

.signature-full #dialog-body>.row{pointer-events:none}.signature-full #dialog-body>.row button{pointer-events:auto}
