/* ============================================================
   TRICOLORE — Native-app feel CSS (linked from every page)
   ============================================================ */

/* Remove tap highlight flash on every element */
*, *::before, *::after {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none; /* disable iOS callout on long-press */
}

/* Single-tap everywhere — no 300ms delay, no double-tap zoom */
html {
  touch-action: manipulation;
}

/* No pull-to-refresh, no overscroll bounce */
body {
  overscroll-behavior-y: none;
}

/* Interactive elements: fast touch, no text selection */
button,
a,
label,
[role="button"],
[role="tab"],
[role="radio"],
.option-row,
.segment,
.role-tab,
.task-card,
.page-link {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

/* Re-enable selection inside inputs */
input,
textarea,
select {
  -webkit-user-select: text;
  user-select: text;
  touch-action: auto;
}

/* Smooth momentum scrolling on scrollable containers */
.sheet,
.task-grid,
body {
  -webkit-overflow-scrolling: touch;
}
