/* Shared by the painted studies: the paper, and a painting that stands without words. */
:root { color-scheme: light; background: #f2f1e9; color: #334c59; font-family: Georgia, 'Times New Roman', serif; }
* { box-sizing: border-box; }
html, body { margin: 0; min-width: 280px; }
main { position: relative; min-height: 100svh; }
figure { margin: 0; }
canvas { display: block; width: 100%; height: 100svh; min-height: 560px; }
/* No words on the page: each caption is kept for screen readers only, and the controls are hidden
   (the motion still follows the reduced-motion setting). */
figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tools { display: none; }
/* Inside the gallery's strips (?embed): a strip can be narrower and shorter than a page would ever be,
   so the drawing fits it rather than overflowing and being cropped. */
.embed, .embed body { min-width: 0; }
.embed canvas { min-height: 0; }
@media print {
  @page { size: landscape; margin: 0; }
  canvas { height: 100vh; min-height: 0; }
}
