/* Project Center keeps its view buttons at the right of the title row. */
.ph-bar { align-items:center; justify-content:space-between; }
.col-act { width:1%; white-space:nowrap; }
/* A row is focusable so Enter opens Edit Project; the ring is drawn inside it so the grid does not clip it. */
#projBody tr:focus-visible { outline-offset:-2px; }
.pc-edit-record { display:inline-flex; height:24px; padding:0 9px; font-size:12px; color:var(--ms-blue); border-color:var(--ms-border-dark); text-decoration:none; }
.pc-edit-record:hover { background:var(--ms-blue-light); }
/* No colour (before Planning): a hollow circle, so it is told apart by shape as well. */
.dot.grey { background:transparent; border:2px solid var(--ms-text-sec); box-sizing:border-box; }
/* Check In and Check Out come with exclusive check-out (build plan 7.2), so they are shown but cannot be used. */
.ribbon .rb-btn:disabled, .ribbon .rb-btn[aria-disabled="true"] { opacity:.55; cursor:default; }
.ribbon .rb-btn:disabled:hover, .ribbon .rb-btn[aria-disabled="true"]:hover { background:var(--ms-surface); }
/* CR 1367586: Start Date in Edit Project once it is read-only. */
#np_start[readonly] { background:var(--ms-gray-bg); color:var(--ms-text-sec); cursor:not-allowed; }
/* CR 1373506: the Group by and Filter menus, the filter chips and the layout picker. */
.pc-menu { position:fixed; z-index:600; min-width:180px; max-width:320px; max-height:60vh; overflow-y:auto; padding:4px 0; background:var(--ms-surface); border:1px solid var(--ms-border-dark); border-radius:2px; box-shadow:0 4px 16px rgba(0,0,0,.18); }
.pc-menu:focus { outline:none; }
.pc-menu-item { position:relative; display:block; width:100%; padding:6px 12px 6px 28px; border:0; background:transparent; color:var(--ms-text); font:inherit; font-size:12.5px; text-align:left; cursor:pointer; }
.pc-menu-item:hover, .pc-menu-item:focus-visible { background:var(--ms-row-hover); }
.pc-menu-item:focus-visible { outline:2px solid var(--ms-blue); outline-offset:-2px; }
.pc-menu-item[aria-checked="true"]::before { content:'\2713'; position:absolute; left:10px; }
.pc-menu-empty { margin:0; padding:6px 12px; color:var(--ms-text-sec); font-size:12.5px; }
.pc-filter-chips { padding:6px 14px 0; }
/* A long layout name is cut short on the toolbar; the button still carries the whole name. */
#pcLayoutName { display:inline-block; max-width:180px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; vertical-align:bottom; }
/* PBI 1369695 (D1): the unsaved-changes marker after the layout name. */
.pc-layout-dirty { font-weight:700; }
/* CR 1373506: the layout buttons make the toolbar wider than a 1440px screen; it wraps rather than hiding Export. */
.ribbon { height:auto; min-height:40px; flex-wrap:wrap; row-gap:4px; padding-top:6px; padding-bottom:6px; }
@media (forced-colors: active) { .pc-menu { border-color:CanvasText; } }
/* ADO 1373330: the health column's header shows the rows' dot at the same size, in a neutral colour. */
.pc-health-head { background:var(--ms-text-sec); vertical-align:middle; flex-shrink:0; }
#projTable .col-ind { text-align:center; }
/* ADO 1373330 re-test: centre the heading's dot over the rows' dots. The grid gives headings 12px on the right and the
   sort arrow a place in the button, so the dot sat 3px left; the arrow is pinned to the right instead. */
#projTable thead th.col-ind { padding-left:10px; padding-right:10px; }
#projTable thead th.col-ind .gc-sort { display:flex; justify-content:center; width:100%; }
#projTable thead th.col-ind .gc-sort-ind { position:absolute; top:50%; right:8px; transform:translateY(-50%); }
#projTable td.col-num { text-align:right; font-variant-numeric:tabular-nums; }
#projTable .pc-health-text { margin-left:6px; }
/* Compact density: shorter rows, so more projects fit on screen. */
#projTable.gc-compact tbody td, #projTable.gc-compact tbody th { height:26px; padding-top:1px; padding-bottom:1px; font-size:12.5px; }
#projTable.gc-compact .pc-edit-record { height:20px; }
#btnDensity[aria-pressed="true"] { background:var(--ms-blue-light); border-color:var(--ms-blue); }
.pc-row-count { font-variant-numeric:tabular-nums; }
