:root { color-scheme: light; font: 16px system-ui, sans-serif; color: #202020; background: #e8e6e1; }
body { margin: 0; }
.print-viewer { max-width: 100rem; padding: clamp(0.75rem, 2vw, 1.5rem); margin: auto; }
header { display: flex; gap: 0.75rem 1.5rem; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
h1 { font-size: clamp(1.15rem, 2vw, 1.65rem); margin: 0; }
a { color: inherit; text-underline-offset: 0.18em; }
fieldset { margin: 0; padding: 0; border: 0; display: flex; gap: 0.375rem; }
button { min-height: 2.75rem; font: inherit; border: 1px solid #696764; border-radius: 0.25rem; background: #f8f7f3; color: inherit; padding: 0 0.75rem; }
button:enabled { cursor: pointer; }
:focus-visible { outline: 3px solid #9b5032; outline-offset: 3px; }
#image-instructions, #viewer-status { margin: 0.5rem 0; font-size: 0.875rem; }
#print-image { position: relative; height: max(18rem, calc(100dvh - 9rem)); background: #2d2c2a; }
noscript img { display: block; max-width: 100%; margin: 1rem auto; }
