/* Shared canvas — the paper is the point; everything else stays out of its way. */

main { max-width: 940px; }
.lede { color: var(--soft); margin-bottom: 20px; }

.paperWrap {
  background: #fbf7ef;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 10px 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}

canvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  cursor: crosshair;
  touch-action: none;      
  background: #fbf7ef;
}

.readout {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 10px 4px 12px;
  font-size: 13px;
  color: var(--soft);
}
.readout b { color: var(--ink); font-weight: 600; margin: 0 2px }
.pending { color: var(--accent) }

.controls { margin: 18px 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center }
.penRow { font-size: 14px; color: var(--soft); display: flex; align-items: center; gap: 8px }
.dot { width: 18px; height: 18px; border-radius: 50%; display: inline-block; border: 1px solid var(--line) }

.note { font-size: 13px; margin-top: 18px }
