.image-dialog{padding:0;width:min(1040px,calc(100% - 32px));max-height:calc(100dvh - 32px);border:1px solid #cdb18c;border-radius:16px 21px 14px 19px;background:#fffdf6 url('/assets/zhini/paper.svg');color:#302a24;overflow:hidden;overscroll-behavior:contain}
.image-dialog[open]{display:flex;flex-direction:column}.image-dialog::backdrop{background:#302a247a}.image-dialog-header{flex:none;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 22px;border-bottom:1px dashed #cfb58e;background:#fff5dd url('/assets/zhini/paper.svg');z-index:2}.image-dialog-header h2{font-size:22px}.image-fixed-actions{display:flex;gap:12px;justify-content:flex-end}.image-fixed-actions .button{font-size:14px;min-height:46px;padding:10px 15px;white-space:nowrap}.image-fixed-actions .doodle-icon{width:20px}.image-dialog-body{overflow-y:auto;overscroll-behavior:contain;padding:24px;min-height:0}.image-export-status{font-size:17px;font-weight:700;margin:0 0 16px}.pdf-reminder{padding:16px 19px;background:#edf2e2;border-radius:10px 14px 11px 15px;margin-bottom:17px;color:#4c5a38}.pdf-reminder strong{font-size:16px}.pdf-reminder p{font-size:14px;margin-top:8px}.image-dialog-body>.muted{font-size:14px;margin-bottom:24px}.image-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.image-gallery.long-image-gallery{grid-template-columns:1fr;max-width:760px;margin:auto}.image-page{margin:0;min-width:0}.image-page img{display:block;max-width:100%;width:100%;height:auto;border:1px solid #ded5c8;background:#fffdf6}.image-page figcaption{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin:16px 0;font-size:14px}.image-page .button,.image-page .text-button{font-size:14px}
@media(max-width:650px){.image-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.image-dialog-header{padding:13px 12px;display:block}.image-dialog-header h2{font-size:17px;margin-bottom:13px}.image-fixed-actions{gap:10px}.image-fixed-actions .button{font-size:13px;padding:10px 11px;min-height:45px}.image-fixed-actions .doodle-icon{display:none}.image-dialog-body{padding:20px 14px}.image-gallery{grid-template-columns:1fr;gap:28px}.image-export-status{font-size:16px}.pdf-reminder{padding:14px}.pdf-reminder p{font-size:13px}.image-page figcaption{gap:10px}.image-page figcaption>span{width:100%}}
