.zaoba-editor .image-motif-dialog{width:min(790px,calc(100vw - 24px));max-width:790px;padding:24px;background:#fffcf5}
.motif-upload-modes{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:5px 0 13px}
.motif-mode{border:1px solid #d6d9cc;border-radius:13px;background:#fffdf6;padding:14px;text-align:left;min-height:77px}
.motif-mode[aria-pressed=true]{background:#f5e3e7;border:1.5px solid #345573;box-shadow:0 2px 0 #345573}
.motif-mode strong,.motif-mode small,.motif-style strong,.motif-style small{display:block}
.motif-mode strong{font-size:15px}.motif-mode small{font-size:11px;color:#838774;margin-top:4px}
.motif-upload-guidance{font-size:11px;color:#7f8374;line-height:1.8;margin:10px 0 14px}
.motif-style-options{border:0;margin:0 0 16px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.motif-style-options legend{font-size:12px;font-weight:600;margin-bottom:8px}
.motif-style{min-height:70px;padding:11px 7px;border:1px solid #d9d9cb;border-radius:10px;background:#fffdf4;text-align:center}
.motif-style[aria-pressed=true]{border:1.5px solid #45624f;background:#edf1e4}
.motif-style strong{font-size:13px}.motif-style small{font-size:10px;color:#808875;margin-top:5px}
.image-motif-dialog .image-motif-picture{height:200px}.image-motif-dialog .image-motif-subject input{font-size:16px}
.image-motif-dialog .image-motif-actions{display:flex;flex-wrap:wrap;gap:8px}
.image-motif-dialog .image-motif-actions button{min-height:44px;flex:1 1 auto}
.image-motif-dialog [hidden]{display:none!important}
@media(max-width:560px){.zaoba-editor .image-motif-dialog{padding:17px 14px;width:calc(100vw - 14px);max-height:calc(100dvh - 20px)}.motif-mode{padding:11px 9px;min-height:74px}.motif-mode strong{font-size:13px}.motif-mode small{font-size:10px}.motif-style-options{gap:6px}.motif-style strong{font-size:12px}.motif-style small{font-size:9px}.image-motif-dialog .image-motif-picture{height:148px}.image-motif-dialog .image-motif-actions button{font-size:12px}.motif-upload-guidance{font-size:10px}}
.my-images-dialog{width:min(920px,calc(100vw - 24px));max-height:90dvh;overflow:auto;padding:24px;border:1px solid #e5d9ce;border-radius:24px;background:#fffaf3;color:#173f73}.my-images-dialog::backdrop{background:#1d2e4155}.my-images-head{display:flex;justify-content:space-between;align-items:center}.my-images-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}.my-image-card{padding:14px;border:1px solid #e2d8d0;background:#fff;border-radius:18px}.my-image-card>img{width:100%;height:210px;object-fit:contain;background:#fff9f4;border-radius:12px}.my-image-actions{display:flex;gap:8px;flex-wrap:wrap}.my-images-dialog button{min-height:40px;border-radius:12px;padding:8px 12px;cursor:pointer}.my-image-meta,.my-images-status{font-size:13px;line-height:1.6}.my-image-edit{display:grid;gap:10px;margin-top:12px}.my-image-edit input,.my-image-edit select{width:100%;box-sizing:border-box;padding:10px;border:1px solid #ddcfc1;border-radius:10px}.my-image-edit-preview svg{width:100%;height:200px}.my-image-edit-preview.thin-risk{outline:2px dashed #d34242;border-radius:12px}.motif-print-notice{font-size:13px;color:#a83434;padding:10px;background:#fff0ed;border-radius:12px;line-height:1.5}.motif-style-options{grid-template-columns:repeat(2,minmax(0,1fr))}

.my-image-original{min-height:210px;display:grid;place-content:center;background:#fff9f4;border-radius:12px;overflow:hidden}.my-image-original img{width:100%;height:210px;object-fit:contain}.my-image-edit-preview img{width:100%;max-height:210px;object-fit:contain}.my-image-original p{padding:16px;text-align:center}
