/* Pre-writing paths: one wide row per path, big enough for a crayon. The list is held to the page height and each
   row gives up a little height when the paths would not fit (Letter is shorter than A4, and 6 paths), so the
   drawing scales down a few millimetres instead of running off the page. */
.sheet-fit:has(> .pw){height:100%}
.pw{flex:1;min-height:0;list-style:none;margin:0;padding:0;display:flex;flex-direction:column;justify-content:space-around;gap:3mm}
.pw li{flex:0 1 auto;min-height:0;display:flex;break-inside:avoid;border:.3mm solid #ddd;border-radius:3mm;padding:2mm 0}
.pw-fig{display:block;width:100%;height:auto;min-height:0}
