.summary-image-dialog{width:min(1400px,96vw);max-width:96vw;max-height:94vh;padding:24px;box-sizing:border-box}.summary-image-actions{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}#summaryImagePreview img{display:block;width:100%;height:auto;border:1px solid #ddd;border-radius:8px}.summary-images-edit{margin-top:24px}.summary-images-edit summary{font-weight:bold;color:#a45600;cursor:pointer}.summary-image-fields{display:grid;grid-template-columns:1fr 1fr;gap:24px}.summary-image-fields form{padding:18px;border:1px solid #ddd;border-radius:8px}.summary-image-fields label{display:block;margin:12px 0;font-size:14px}.summary-image-fields input{display:block;box-sizing:border-box;width:100%;margin-top:6px;padding:10px;border:1px solid #ccc;border-radius:6px}.summary-image-fields input[type=file]{white-space:normal}.summary-upload-status{font-size:14px;overflow-wrap:anywhere}@media(max-width:700px){.summary-image-fields{grid-template-columns:1fr}.summary-image-dialog{padding:16px}.summary-image-dialog .dialog-head h2{font-size:20px}.summary-image-actions button{flex:1}}
#summaryImagePreview img[data-format="email"]{max-width:600px;margin:0 auto}.summary-image-actions label{display:flex;align-items:center;gap:10px}.summary-image-actions select{padding:12px;border:1px solid #ccc;border-radius:6px}
.summary-image-actions button.dark:hover,.summary-image-actions button.dark:focus-visible{background:#243031;color:#fff;border-color:#243031}
.summary-photo-dialog{width:min(900px,96vw);max-width:96vw;max-height:94vh;padding:18px;box-sizing:border-box}.summary-photo-dialog .dialog-head{gap:12px}.summary-photo-dialog h2{font-size:20px}.summary-photo-body{display:grid;place-items:center;min-height:100px}.summary-photo-body img{display:block;max-width:100%;max-height:76vh;width:auto;height:auto;object-fit:contain}
