/* Voucher mail editor: keep controls and preview inside the modal at every size. */
body.ge-app #editor:has(#editor-form[data-voucher-template-key="voucher_mail"]){width:min(1100px,calc(100vw - 40px));max-width:100%;}
body.ge-app #editor .voucher-mail-editor>*,body.ge-app #editor .voucher-mail-editor details{min-width:0;}
body.ge-app #editor .voucher-mail-editor textarea{min-height:0;}
body.ge-app #editor .voucher-mail-editor details>summary{margin-bottom:14px;}
body.ge-app #editor .voucher-mail-editor select{width:100%;min-width:0;background-position:right 18px center!important;padding-right:48px!important;}
body.ge-app #editor .voucher-mail-editor input[type=file]{width:100%;min-width:0;max-width:100%;}
body.ge-app #editor .voucher-mail-editor .ticket-mail-design-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
body.ge-app #editor .voucher-mail-editor .ticket-mail-preview{overflow:hidden;}
body.ge-app #editor .voucher-mail-editor [role=status]:empty{display:none;}
body.ge-app #editor .voucher-mail-editor [role=status]{color:var(--danger,#b14f3b);overflow-wrap:anywhere;}
body.ge-app #editor .voucher-mail-editor .voucher-template-sample{padding:0;background:transparent;min-width:0;}
body.ge-app #editor .voucher-mail-editor .voucher-template-sample>strong{margin:8px 0;}
@media(max-width:760px){body.ge-app #editor:has(#editor-form[data-voucher-template-key="voucher_mail"]){width:100%;max-width:100%;}body.ge-app #editor .voucher-mail-editor .ticket-mail-design{padding:12px;}body.ge-app #editor .voucher-mail-editor .ticket-mail-preview{padding:12px;}}
