/* Notice detail only. Keep SVGs fluid, leave raster pixels at native size unless they must shrink. */
.notice-preview-body { min-width: 0; max-width: 100%; overflow-x: auto; }
.notice-preview-body img { display: block; max-width: 100%; height: auto !important; max-height: none; object-fit: contain; }
/* The renderer sets a 700px inline width; SVG pages can use the whole reading column. */
.notice-preview-body .hwp-paper img { width: 100% !important; }
.notice-preview-toggle { width: 1.1rem; height: 1.1rem; margin: 1rem .4rem .3rem 0; vertical-align: middle; }
.notice-preview-label { font-weight: 700; cursor: pointer; }
.notice-preview-help { display: block; margin: .15rem 0 .5rem; font-size: .92rem; }
/* Place overflow on the article body, not the page. Auto margins resolve to zero when too wide. */
.notice-preview-toggle:checked ~ .notice-preview-body img { width: auto !important; max-width: none !important; }
@media print {
  .notice-preview-toggle, .notice-preview-label, .notice-preview-help { display: none; }
  .notice-preview-toggle:checked ~ .notice-preview-body img { max-width: 100% !important; }
  .notice-preview-body { overflow: visible; }
}
