/* One narrow, arrow-free scrollbar style for the complete application. */
:root {
  --system-scrollbar-size: 4px;
  --system-scrollbar-thumb: #c9cdd3;
  --system-scrollbar-thumb-hover: #aeb4bd;
  --apple-table-header-bg: rgb(251, 251, 252);
  --apple-table-key-bg: rgb(224, 239, 255);
}
* { scrollbar-width: thin; scrollbar-color: var(--system-scrollbar-thumb) transparent; }
@supports selector(::-webkit-scrollbar) {
  *, .automation-cockpit-page .automation-timeline-list { scrollbar-width: auto !important; scrollbar-color: auto !important; }
  *::-webkit-scrollbar,
  .automation-cockpit-page .automation-timeline-list::-webkit-scrollbar { width: var(--system-scrollbar-size) !important; height: var(--system-scrollbar-size) !important; }
  *::-webkit-scrollbar-track { margin: 0 !important; border: 0 !important; background: transparent !important; }
  *::-webkit-scrollbar-thumb,
  .automation-cockpit-page .automation-timeline-list::-webkit-scrollbar-thumb {
    border: 0 !important; border-radius: 999px !important;
    background: var(--system-scrollbar-thumb) !important; background-clip: border-box !important;
  }
  *::-webkit-scrollbar-thumb:hover,
  .automation-cockpit-page .automation-timeline-list::-webkit-scrollbar-thumb:hover { background: var(--system-scrollbar-thumb-hover) !important; }
  *::-webkit-scrollbar-corner { background: transparent !important; }
  *::-webkit-scrollbar-button,
  *::-webkit-scrollbar-button:single-button,
  *::-webkit-scrollbar-button:double-button,
  *::-webkit-scrollbar-button:start,
  *::-webkit-scrollbar-button:end {
    display: none !important; width: 0 !important; height: 0 !important;
    min-width: 0 !important; min-height: 0 !important;
  }
  /* Keep intentional horizontal carousels hidden. */
  :is(.ad-metric-strip, .automation-plan-switch-track, .ad-report-summary-cards,
      .ad-data-report-tabs, .ad-data-overview-summary-head > div:first-child) {
    scrollbar-width: none !important;
  }
  :is(.ad-metric-strip, .automation-plan-switch-track, .ad-report-summary-cards,
      .ad-data-report-tabs, .ad-data-overview-summary-head > div:first-child)::-webkit-scrollbar {
    display: none !important; width: 0 !important; height: 0 !important;
  }
  /* Rounded menus, dialogs and nested lists reserve only the curved ends.
     Track margins do not change content, scroll positions or floating shadows. */
  .system-rounded-scroll::-webkit-scrollbar-track:vertical {
    margin-top: var(--system-scrollbar-inset-top, 0px) !important;
    margin-bottom: var(--system-scrollbar-inset-bottom, 0px) !important;
  }
  .system-rounded-scroll::-webkit-scrollbar-track:horizontal {
    margin-left: var(--system-scrollbar-inset-left, 0px) !important;
    margin-right: var(--system-scrollbar-inset-right, 0px) !important;
  }
  /* The native thumb starts below the pinned heading. Paint its reserved
     gutter in the same solid material as the adjacent header cell. */
  .system-table-scroll::-webkit-scrollbar:vertical {
    background: linear-gradient(to bottom,
      var(--system-table-header-edge, rgb(251, 251, 252)) 0,
      var(--system-table-header-edge, rgb(251, 251, 252)) var(--system-table-header-height, 36px),
      transparent var(--system-table-header-height, 36px)) !important;
  }
  .system-table-scroll::-webkit-scrollbar-track:vertical {
    margin-top: max(var(--system-table-header-height, 36px), var(--system-scrollbar-inset-top, 0px)) !important;
    margin-bottom: var(--system-scrollbar-inset-bottom, 0px) !important;
  }
}
.system-table-scroll { scrollbar-gutter: auto !important; }
.system-table-scroll > table > thead,
.system-table-scroll > .user-account-head {
  position: sticky; top: 0; z-index: 10;
}
.system-table-scroll thead th {
  opacity: 1; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
