
/* V21: editor layout: never float close over actions; buttons must wrap without overlap */
#dz-ca-modal.dz-ca-editor-v201 .dz-ca-editor-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr)) auto!important;align-items:center!important;gap:8px!important;padding:14px 0!important;position:sticky!important;top:0!important;z-index:20!important;background:var(--dz-popup,#fff)!important}
#dz-ca-modal.dz-ca-editor-v201 .dz-ca-editor-tab{min-width:0!important;width:100%!important;box-sizing:border-box!important}
#dz-ca-modal.dz-ca-editor-v201 .dz-ca-editor-close{position:static!important;float:none!important;margin:0!important;min-width:80px!important;max-width:100%!important;white-space:normal!important;line-height:1.2!important;align-self:stretch!important}
#dz-ca-modal.dz-ca-editor-v201 .dz-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;min-width:0!important}
#dz-ca-modal.dz-ca-editor-v201 .dz-actions>button{position:static!important;float:none!important;transform:none!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;flex:0 1 auto!important;margin:0!important}
#dz-ca-modal.dz-ca-editor-v201 #dz-ca-access .dz-actions>button{flex:1 1 160px!important;min-width:0!important}
#dz-ca-modal.dz-ca-editor-v201 #dz-ca-form input[type=file],#dz-ca-modal.dz-ca-editor-v201 #dz-ca-dog-form input[type=file]{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:hidden!important;font-size:13px!important}
#dz-ca-modal.dz-ca-editor-v201 #dz-ca-first-dog{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
#dz-ca-modal.dz-ca-editor-v201 .dz-ca-save-actions{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;bottom:0!important;padding:12px 0!important}
#dz-ca-modal.dz-ca-editor-v201 .dz-ca-save-actions>button{width:auto!important;min-width:0!important;max-width:100%!important}
#dz-ca-modal.dz-ca-editor-v201 .dz-ca-save-actions>button.primary{width:100%!important}
@media(max-width:560px){#dz-ca-modal.dz-ca-editor-v201 .dz-ca-editor-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;padding:12px 0!important}#dz-ca-modal.dz-ca-editor-v201 .dz-ca-editor-close{grid-column:1/-1!important;min-height:40px!important}#dz-ca-modal.dz-ca-editor-v201 #dz-ca-access .dz-actions>button{flex:1 1 100%!important}#dz-ca-modal.dz-ca-editor-v201 .dz-ca-save-actions{grid-template-columns:minmax(0,1fr) auto!important}}
/* Preserve usable modal actions throughout the application */
dialog[open] .dz-actions,dialog[open] .actions{flex-wrap:wrap;min-width:0}
dialog[open] button{max-width:100%;overflow-wrap:anywhere}
