/* Shared file: master in Relay shared/grid/grid.css, copied by "php shared/sync.php". Edit the master, not this copy. sha256:06461a806608efaa48603dd2ef0fc9b09433a25388d88063ae1ae7e1c05fb497 */
/* "Who evaluates whom" grid (grid.js), as EM's step 2 grid. Independent of relay.css: the colours are variables with
   EM's values, so the file can be shared. */
.eg-box {--eg-accent:#A270D0; --eg-accent-light:#cdb3e6; --eg-head:#f3ecfa; --eg-side:#fbf8fe; --eg-on:#DFFF6E; --eg-on-line:#52A122}
.eg-box > summary {cursor:pointer; font-weight:500; margin:16px 0 8px}
.eg-box > summary small {font-weight:400}
.eg-tools {display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-bottom:8px; font-size:13px}
.eg-order {display:inline-flex; align-items:center; gap:6px; margin:0 8px 0 0; white-space:nowrap}
.eg-order select {font:inherit; padding:2px 4px}
.eg-zoom {font:inherit; min-width:28px; padding:2px 8px; border:1px solid var(--eg-accent); border-radius:10px; background:white; color:var(--eg-accent); cursor:pointer}
.eg-zoom:hover {background:var(--eg-head)}
.eg-scroll {max-height:70vh; overflow:auto; border:1px solid #e3e3e3; border-radius:8px}
.eg-grid {--eg-cell:22px; border-collapse:separate; border-spacing:0; font-size:calc(var(--eg-cell) * 0.55)}
.eg-grid thead th {position:sticky; top:0; z-index:2; background:var(--eg-head); vertical-align:bottom}
.eg-grid tbody th, .eg-grid .eg-corner {position:sticky; left:0; z-index:1; background:var(--eg-side)}
.eg-grid .eg-corner {z-index:3; text-align:left; color:var(--eg-accent); font-weight:400; font-size:12px; padding:4px 6px 2px}
.eg-axis {white-space:nowrap; font-weight:500}
.eg-axis-nr {text-align:right; font-weight:400; font-size:11px; margin-top:4px}
.eg-col {width:var(--eg-cell); min-width:var(--eg-cell); padding:4px 0 2px; font-weight:400; cursor:pointer}
.eg-col:hover, .eg-col:focus-visible {background:var(--eg-accent-light); outline:none}
.eg-grid thead th.eg-focus {background:var(--eg-accent)}
.eg-col.eg-focus .eg-col-name {color:white; font-weight:500}
.eg-col.eg-focus .eg-nr:not(.eg-warn):not(.eg-err) {color:white}
.eg-cell.eg-focus {border-left-color:var(--eg-accent); border-right-color:var(--eg-accent)}
.eg-focus-bar {display:inline-flex; align-items:center; gap:6px; white-space:nowrap}
.eg-focus-name {font-weight:500; color:var(--eg-accent)}
.eg-col-name {writing-mode:vertical-rl; transform:rotate(180deg); white-space:nowrap; max-height:180px; overflow:hidden; text-overflow:ellipsis;
	margin:0 auto 4px; color:#4D4D4D}
.eg-row {text-align:left; white-space:nowrap; font-weight:400; padding:0 6px; max-width:260px}
.eg-row-in {display:flex; justify-content:space-between; align-items:center; gap:8px}
.eg-row-name {color:#4D4D4D; overflow:hidden; text-overflow:ellipsis; flex:1}
.eg-row-cat {color:#888; font-size:0.9em; overflow:hidden; text-overflow:ellipsis; max-width:90px}
.eg-nr {display:block; font-family:monospace; font-size:11px; line-height:16px; color:var(--eg-accent); text-align:center; border-radius:3px; padding:0 2px}
.eg-row .eg-nr {display:inline-block}
.eg-nr.eg-warn {background:#fe6}
.eg-nr.eg-err {background:#f99}
.eg-nr.eg-odd {background:#9cd3ff; color:#1a3a5c}
.eg-cell {width:var(--eg-cell); height:var(--eg-cell); min-width:var(--eg-cell); border:1px solid #eee; padding:0; box-sizing:border-box}
.eg-cell.eg-on {background:var(--eg-on); box-shadow:inset 0 0 0 1px var(--eg-on-line)}
.eg-cell.eg-self {background:repeating-linear-gradient(45deg, #f4f4f4, #f4f4f4 3px, #e6e6e6 3px, #e6e6e6 6px)}
.eg-cell.eg-self.eg-on {background:var(--eg-head); text-align:center}
.eg-cell.eg-self.eg-on::after {content:"●"; color:var(--eg-accent); font-size:0.7em}
.eg-grid .eg-level-col {border-left:2px solid var(--eg-accent)}
.eg-grid tr.eg-level-row > * {border-top:2px solid var(--eg-accent)}
.eg-grid .eg-sub-col {border-left:1px solid var(--eg-accent-light)}
.eg-grid tr.eg-sub-row > * {border-top:1px solid var(--eg-accent-light)}
/* Org chart (EvalGrid.orgChart) */
.eg-org {max-height:70vh; overflow:auto; border:1px solid #e3e3e3; border-radius:8px; padding:6px 10px; font-size:13px}
.eg-org ul {list-style:none; margin:0; padding:0 0 0 18px; border-left:1px dotted var(--eg-accent-light)}
.eg-org > ul {padding-left:0; border-left:0}
.eg-org li {margin:1px 0}
.eg-org summary {cursor:pointer}
.eg-org li > .eg-org-line {padding-left:14px}
.eg-org-line {display:inline-flex; flex-wrap:wrap; align-items:baseline; gap:8px}
.eg-org-name {color:#4D4D4D}
.eg-org-boss {font-weight:500}
.eg-org-level {font-family:monospace; font-size:11px; color:var(--eg-accent)}
.eg-org-diff {font-size:11px; background:#fe6; border-radius:3px; padding:0 4px}
.eg-org-cats {color:#888; font-size:12px}
.eg-org-team {color:#aaa; font-size:11px}
.eg-order:has(input:disabled) {cursor:not-allowed; opacity:.6}
.eg-cell.eg-on.eg-added {background:#f2ffc4; box-shadow:inset 0 0 0 1px var(--eg-on-line); background-image:repeating-linear-gradient(135deg, transparent, transparent 3px, rgba(82,161,34,.18) 3px, rgba(82,161,34,.18) 5px)}
/* Changes since the sync file */
.eg-cell.eg-new {box-shadow:inset 0 0 0 2px #2a7de1}
.eg-cell.eg-removed {background:#ffe3e3; text-align:center}
.eg-cell.eg-removed::after {content:"✕"; color:#c33; font-size:0.7em}
.eg-sync {font-size:10px; line-height:14px; border-radius:3px; padding:0 4px; white-space:nowrap}
.eg-sync-1 {background:#d6f5d6; color:#1d6b1d}
.eg-sync-2, .eg-sync-3 {background:#ffe2b8; color:#7a4a00}
.eg-col-name.eg-sync-col-1 {color:#1d6b1d; font-weight:600}
.eg-col-name.eg-sync-col-2, .eg-col-name.eg-sync-col-3 {color:#b06a00; font-weight:600}
.eg-legend {display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; font-size:12px; color:#666; margin:-2px 0 8px}
.eg-legend-item {display:inline-flex; align-items:center; gap:4px}
.eg-sample {display:inline-block; width:14px; height:14px; border:1px solid #ddd; box-sizing:border-box; font-size:9px; line-height:12px; text-align:center}
.eg-sample.eg-new {box-shadow:inset 0 0 0 2px #2a7de1; background:var(--eg-on)}
.eg-sample.eg-removed {background:#ffe3e3}
.eg-sample.eg-removed::after {content:"✕"; color:#c33}
.eg-col-name.eg-sync-col-gone {color:#c33; font-weight:600}
.eg-legend-name {font-weight:600}
