.image-dialog[open]{grid-template-rows:auto minmax(0,1fr)}
.image-tools{min-height:60px;align-items:center;flex-wrap:wrap;flex:none;gap:8px}
.image-tools button{min-height:44px;flex:none}.image-gesture-hint{font:13px/1.4 Arial,sans-serif;color:#d7c29c;margin-inline-end:auto;max-width:45%}
.image-dialog .image-stage,.image-dialog.zoomed .image-stage{position:relative;display:block;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;min-height:0;cursor:default}
.image-dialog .image-stage img,.image-dialog.zoomed .image-stage img{position:absolute;left:0;top:0;display:block;max-width:none;max-height:none;min-width:0;object-fit:contain;transform-origin:0 0;will-change:transform;touch-action:none;user-select:none;-webkit-user-drag:none;cursor:inherit}
.image-stage.image-magnified{cursor:grab}.image-stage.image-magnified:active{cursor:grabbing}
.book-feedback-email{font-weight:700;white-space:nowrap;direction:ltr;unicode-bidi:isolate;text-decoration:underline;text-underline-offset:3px}
.preface-feedback{padding:14px 18px;border:1px solid #8b7046;background:#203c30a8;border-radius:6px;font:16px/1.6 Arial,sans-serif;color:#eee0c5}.preface-feedback a{color:#f5ce83;font-weight:700;display:inline-block;min-height:36px;line-height:36px;text-underline-offset:4px;direction:ltr;unicode-bidi:isolate}
@media(max-width:600px){.image-tools{padding:6px 8px;gap:6px}.image-gesture-hint{order:3;flex:1 0 100%;max-width:100%;font-size:12px;text-align:center}.image-tools button:first-of-type{margin-inline-start:auto}.preface-feedback{padding:12px 14px;overflow-wrap:anywhere}.preface-feedback a{font-size:16px}}
