/* Project Center Group by header rows. Colours come from the theme variables, so both themes pass. */
.pcg-head > .pcg-cell { padding: 0; background: var(--ms-gray-bg); border-top: 1px solid var(--ms-border-dark); border-bottom: 1px solid var(--ms-border); }
/* Body cells clip (grid-columns.css), which would make the cell the sticky toggle's scroller instead of .grid-wrap. */
.gc-table tbody td.pcg-cell { overflow: visible; }
/* Sticky at the left of the scrolled grid and as wide as its visible part, so the label stays in view sideways. */
.pcg-toggle { position: sticky; left: 0; box-sizing: border-box; display: flex; align-items: center; gap: 8px; width: 100%; max-width: var(--pcg-visible-width, none); min-height: 2.25em; padding: .3em 10px; border: 0; background: transparent; color: var(--ms-text); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.pcg-toggle:hover { background: var(--ms-row-hover); }
.pcg-toggle:focus-visible { outline-offset: -2px; }
.pcg-text { min-width: 0; overflow-wrap: anywhere; }
.pcg-count { color: var(--ms-text-sec); font-weight: 600; }
.pcg-chevron { flex: none; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 6px solid currentColor; transform: rotate(90deg); }
.pcg-toggle[aria-expanded="false"] .pcg-chevron { transform: rotate(0deg); }
@media (prefers-reduced-motion: no-preference) {
  .pcg-chevron { transition: transform .12s ease; }
}
@media (forced-colors: active) {
  .pcg-head > .pcg-cell { border-color: CanvasText; }
  .pcg-chevron { border-left-color: ButtonText; }
}
