/* 🧑‍💼 GROUP HR desk (js/hrdesk.js) */
.ghr-kpis .kpi[data-drill] { cursor: pointer; }
.ghr-n { background: none; border: 0; padding: 2px 4px; font: inherit; font-weight: 700; color: var(--text); border-radius: 6px; cursor: pointer; text-decoration: underline dotted color-mix(in srgb, var(--muted) 60%, transparent); text-underline-offset: 3px; }
.ghr-n:hover, .ghr-n:focus-visible { background: var(--soft); } .ghr-n.bad { color: var(--bad); }
.ghr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; align-items: center; } .ghr-chips .lbl { font-size: .8rem; color: var(--muted); margin-right: 2px; }
.ghr-chips .chip.on, .ghr-page .chip.on { background: var(--accent-soft); border-color: var(--accent); font-weight: 600; }
.ghr-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 8px; margin-top: 8px; }
.ghr-p { display: flex; gap: 10px; align-items: center; text-align: left; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); border-left: 5px solid var(--cc, var(--accent)); background: var(--card); min-width: 0; width: 100%; }
.ghr-p:hover { border-color: var(--cc, var(--accent)); } .ghr-p[disabled] { opacity: 1; cursor: default; }
.ghr-pt { flex: 1; min-width: 0; } .ghr-pt b, .ghr-pt small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ghr-pt small { color: var(--muted); font-size: .8rem; }
.ghr-av { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--c, var(--cc, var(--accent))); font-size: 1.2rem; flex: none; }
.ghr-av.sm { width: 38px; height: 38px; font-size: .9rem; background: var(--cc, var(--accent)); }
.ghr-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; margin-bottom: 10px; }
.ghr-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.ghr-row span { color: var(--muted); } .ghr-row b { text-align: right; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.ghr-pol { min-height: 120px; } .ghr-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; }
.ghr-trs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: 10px; }
.ghr-tr { border-left: 5px solid var(--line); } .ghr-tr.warn { border-left-color: var(--warn); } .ghr-tr.ok { border-left-color: var(--ok); } .ghr-tr.bad { border-left-color: var(--bad); } .ghr-tr.info { border-left-color: var(--info); }
.ghr-aps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ghr-ap { display: flex; flex-direction: column; gap: 3px; padding: 8px; border-radius: 10px; background: var(--soft); min-width: 0; }
.ghr-ap small { color: var(--muted); font-size: .76rem; overflow-wrap: anywhere; } .ghr-ap.ok { background: var(--accent-soft); } .ghr-ap.ok b { color: var(--ok); } .ghr-ap.bad { background: var(--bad-soft); } .ghr-ap.bad b { color: var(--bad); }
.ghr-cal th { font-size: .74rem; white-space: nowrap; text-align: center; } .ghr-cal th i { font-style: normal; margin-left: 2px; }
.ghr-cal td.ghr-cw { min-width: 26px; padding: 0; border-left: 1px solid var(--line); } .ghr-cal td.away { background: color-mix(in srgb, var(--info) 45%, transparent); } .ghr-cal td.clash { background: color-mix(in srgb, var(--bad) 55%, transparent); }
.ghr-cal .linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.ghr-gtab input { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--text); font: inherit; }
@media (max-width: 640px) { .ghr-aps { grid-template-columns: 1fr; } .ghr-gtab td[data-l]::before { content: none; } }
