/* =====================================================================
   v038 — Finger vs stylus on the Original paper  (gesture fix)
   ---------------------------------------------------------------------
   Problem: the source-ink canvas started a stroke for every pointer type,
   so swiping with a finger while the Pen was selected left a stray mark
   (and the paper never scrolled). Now a stylus always writes and a finger
   scrolls, with a toolbar chip to force finger-writing when needed.
   The behaviour lives in v029-source-ink.mjs; this file only styles the
   chip. No earlier stylesheet is modified.
   ===================================================================== */

.paperSourceInkToolbar .sourceFingerModeBtn{
  display:inline-flex;
  align-items:center;
  gap:4px;
  cursor:pointer;
}
.paperSourceInkToolbar .sourceFingerModeBtn b{
  font-weight:900;
  letter-spacing:.01em;
}
/* Finger writes: highlight it, because that is the non-default choice
   on a device that has a stylus. */
.paperSourceInkToolbar .sourceFingerModeBtn[data-finger-mode="draw"]{
  background:#edf2ff!important;
  color:#315efb!important;
  border-color:#bdccec!important;
}
/* Finger scrolls: quiet neutral chip. */
.paperSourceInkToolbar .sourceFingerModeBtn[data-finger-mode="scroll"]{
  background:#f3f5f8!important;
  color:#5b6478!important;
  border-color:#d9e0ea!important;
}

/* The canvas now owns finger panning in JS, so give it a scroll cursor
   whenever a finger will pan rather than draw. */
.v029SourceInkCanvas{overscroll-behavior:contain}
