/* Drexorra HRMS · Multiple selection, Inactive, dashboard name lists, review dates */
/* extras: multiple selection, Inactive, dashboard name lists */
.msel {
  position: relative;
}
.msel-b {
  min-width: 170px;
  text-align: left;
  cursor: pointer;
  padding-right: 30px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 52%,
    calc(100% - 11px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.msel.on .msel-b {
  border-color: var(--gold, #b7791f);
  font-weight: 700;
}
.msel-p {
  position: absolute;
  z-index: 60;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  max-width: 340px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-hi);
  padding: 10px;
}
.msel-q {
  margin-bottom: 8px;
}
.msel-l {
  max-height: 260px;
  overflow: auto;
  display: grid;
  gap: 2px;
}
.msel-o {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}
.msel-o:hover {
  background: var(--card2);
}
.msel-o[hidden] {
  display: none;
}
.msel-f {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
tr.inact-hl td {
  background: var(--warnbg);
}
.hl-name {
  background: var(--bad);
  color: #fff;
  padding: 3px 10px;
  border-radius: 8px;
  font-weight: 800;
  display: inline-block;
}
.inact-p {
  border-left: 4px solid var(--warn);
}
.inact-p.done {
  border-left-color: var(--bad);
}
.rate {
  cursor: pointer;
  padding: 7px 16px;
  border-radius: 99px;
  font-weight: 800;
  border: 2px solid var(--line);
}
.rate input {
  margin-right: 4px;
}
.rate-good:has(input:checked) {
  border-color: var(--ok);
  background: var(--okbg);
  color: var(--ok);
}
.rate-average:has(input:checked) {
  border-color: var(--warn);
  background: var(--warnbg);
  color: var(--warn);
}
.rate-bad:has(input:checked) {
  border-color: var(--bad);
  background: var(--badbg);
  color: var(--bad);
}
.kpi.click {
  cursor: pointer;
}
.kpi.click:focus-visible {
  outline: 3px solid var(--gold, #b7791f);
}
.dl-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: -4px 0 16px;
}
.dl-chip {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 99px;
  padding: 7px 14px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
}
.dl-chip:hover {
  background: var(--card2);
}
.dl-chip b {
  margin-left: 4px;
}
td.wrap {
  white-space: normal;
  min-width: 160px;
  max-width: 320px;
}
.rv-dates {
  display: block;
  white-space: normal;
  min-width: 90px;
  max-width: 180px;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
  text-align: right;
}
