/* Android-specific corrections belong here only. */
html.rc-platform-android { --rc-platform: android; }

/*
 * Capacitor / installed Android: keep a single document scroller.
 * Nested overflow-y:auto + overscroll-behavior:contain kills Chrome WebView fling.
 * Browser tabs without .rc-store-shell / .rc-display-standalone are unchanged.
 */
@media (max-width: 760px) {
  html.rc-platform-android.rc-store-shell .rc-person-picker,
  html.rc-platform-android.rc-store-shell .employee-picker,
  html.rc-platform-android.rc-store-shell .assignment-member-picker,
  html.rc-platform-android.rc-store-shell .meeting-participant-picker,
  html.rc-platform-android.rc-store-shell .meeting-participants-panel,
  html.rc-platform-android.rc-store-shell .employee-picker-panel,
  html.rc-platform-android.rc-store-shell .participant-selection-panel,
  html.rc-platform-android.rc-store-shell .rc-person-picker__groups,
  html.rc-platform-android.rc-store-shell .employee-picker-groups,
  html.rc-platform-android.rc-store-shell .assignment-member-groups,
  html.rc-platform-android.rc-store-shell .meeting-participant-groups,
  html.rc-platform-android.rc-store-shell .meeting-participants-list,
  html.rc-platform-android.rc-store-shell .meeting-participant-list,
  html.rc-platform-android.rc-store-shell .rc-person-picker__options,
  html.rc-platform-android.rc-store-shell .employee-picker-options,
  html.rc-platform-android.rc-store-shell .assignment-member-options,
  html.rc-platform-android.rc-store-shell .meeting-participant-options,
  html.rc-platform-android.rc-store-shell .staff-choice-list,
  html.rc-platform-android.rc-display-standalone .rc-person-picker,
  html.rc-platform-android.rc-display-standalone .employee-picker,
  html.rc-platform-android.rc-display-standalone .assignment-member-picker,
  html.rc-platform-android.rc-display-standalone .meeting-participant-picker,
  html.rc-platform-android.rc-display-standalone .meeting-participants-panel,
  html.rc-platform-android.rc-display-standalone .employee-picker-panel,
  html.rc-platform-android.rc-display-standalone .participant-selection-panel,
  html.rc-platform-android.rc-display-standalone .rc-person-picker__groups,
  html.rc-platform-android.rc-display-standalone .employee-picker-groups,
  html.rc-platform-android.rc-display-standalone .assignment-member-groups,
  html.rc-platform-android.rc-display-standalone .meeting-participant-groups,
  html.rc-platform-android.rc-display-standalone .meeting-participants-list,
  html.rc-platform-android.rc-display-standalone .meeting-participant-list,
  html.rc-platform-android.rc-display-standalone .rc-person-picker__options,
  html.rc-platform-android.rc-display-standalone .employee-picker-options,
  html.rc-platform-android.rc-display-standalone .assignment-member-options,
  html.rc-platform-android.rc-display-standalone .meeting-participant-options,
  html.rc-platform-android.rc-display-standalone .staff-choice-list {
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
  }

  html.rc-platform-android.rc-store-shell #tab-dds,
  html.rc-platform-android.rc-store-shell #tab-dds .panel,
  html.rc-platform-android.rc-store-shell #tab-dds .nested-panel,
  html.rc-platform-android.rc-store-shell #tab-supplies,
  html.rc-platform-android.rc-store-shell #tab-supplies .panel,
  html.rc-platform-android.rc-store-shell #tab-supplies .nested-panel,
  html.rc-platform-android.rc-store-shell #tab-today,
  html.rc-platform-android.rc-store-shell #tab-today .panel,
  html.rc-platform-android.rc-store-shell #tab-today .nested-panel,
  html.rc-platform-android.rc-store-shell #tab-today .checks-subnav,
  html.rc-platform-android.rc-store-shell #tab-today #todayStats,
  html.rc-platform-android.rc-store-shell #tab-today #tasksList,
  html.rc-platform-android.rc-store-shell #tab-today .metric-row,
  html.rc-platform-android.rc-store-shell #tab-today .task-list,
  html.rc-platform-android.rc-store-shell #tab-today .checklist-workspace,
  html.rc-platform-android.rc-display-standalone #tab-dds,
  html.rc-platform-android.rc-display-standalone #tab-dds .panel,
  html.rc-platform-android.rc-display-standalone #tab-dds .nested-panel,
  html.rc-platform-android.rc-display-standalone #tab-supplies,
  html.rc-platform-android.rc-display-standalone #tab-supplies .panel,
  html.rc-platform-android.rc-display-standalone #tab-supplies .nested-panel,
  html.rc-platform-android.rc-display-standalone #tab-today,
  html.rc-platform-android.rc-display-standalone #tab-today .panel,
  html.rc-platform-android.rc-display-standalone #tab-today .nested-panel,
  html.rc-platform-android.rc-display-standalone #tab-today .checks-subnav,
  html.rc-platform-android.rc-display-standalone #tab-today #todayStats,
  html.rc-platform-android.rc-display-standalone #tab-today #tasksList,
  html.rc-platform-android.rc-display-standalone #tab-today .metric-row,
  html.rc-platform-android.rc-display-standalone #tab-today .task-list,
  html.rc-platform-android.rc-display-standalone #tab-today .checklist-workspace {
    position: static !important;
    inset: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
  }

  html.rc-platform-android.rc-store-shell .notifications-scroll,
  html.rc-platform-android.rc-display-standalone .notifications-scroll,
  html.rc-platform-android.rc-store-shell #goodDeedAssignmentMemberPicker .assignment-member-groups,
  html.rc-platform-android.rc-store-shell #warningMemberPicker .assignment-member-groups,
  html.rc-platform-android.rc-display-standalone #goodDeedAssignmentMemberPicker .assignment-member-groups,
  html.rc-platform-android.rc-display-standalone #warningMemberPicker .assignment-member-groups {
    max-height: none !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
  }

  html.rc-platform-android.rc-store-shell #pullToRefresh,
  html.rc-platform-android.rc-display-standalone.rc-store-shell #pullToRefresh {
    display: none !important;
    pointer-events: none !important;
  }
}
