:root{font-family:system-ui,sans-serif}body{margin:0;background:#f4f6f7;color:#17202a}main{max-width:1200px;margin:auto;padding:12px}button,a{min-height:44px;padding:8px 12px;border:1px solid #789;border-radius:7px;background:white;font-weight:650}.toolbar,.actions{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}button.active{background:#174a7e;color:#fff}#viewport{height:70vh;overflow:auto;background:#777;border-radius:8px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}#stage{position:relative;transform-origin:0 0;width:max-content;line-height:0}#stage img,#draw{position:absolute;left:0;top:0;max-width:none}#mask{opacity:.5;mix-blend-mode:multiply}#draw{touch-action:none}.pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pair img{width:100%;height:auto;background:white}.pair>div{background:white;padding:8px;border-radius:8px}textarea{width:100%;min-height:65px}@media(max-width:750px){.pair{grid-template-columns:1fr}.pair img{max-height:70vh;object-fit:contain}}