.hr4b2EmployeeWorkspace {
  min-width: 0;
  padding-top: 28px;
}

.hr4b2EmployeeHeading,
.hr4b2EmployeeLedgerHeading,
.hr4b2EmployeeAction,
.hr4b2EmployeeDrawer header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.hr4b2EmployeeHeading {
  margin-bottom: 16px;
}

.hr4b2EmployeeHeading h1,
.hr4b2EmployeeLedgerHeading h2,
.hr4b2EmployeeAction h2,
.hr4b2EmployeeDrawer h2,
.hr4b2EmployeeDrawer h3 {
  margin: 0;
  color: var(--ink, #173f3b);
  font-size: 18px;
  line-height: 1.35;
}

.hr4b2EmployeeHeading .eyebrow,
.hr4b2EmployeeLedgerHeading .eyebrow,
.hr4b2EmployeeAction .eyebrow,
.hr4b2EmployeeDrawer .eyebrow {
  margin: 0 0 4px;
}

.hr4b2EmployeeAction {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--warning, #b57719);
  border-left: 4px solid var(--warning, #b57719);
  border-radius: 6px;
  background: var(--surface, #fff);
}

.hr4b2EmployeeAction p {
  margin: 6px 0 0;
  color: var(--muted, #63716f);
}

.hr4b2EmployeeActionMeta {
  display: grid;
  justify-items: end;
  gap: 8px;
  text-align: right;
}

.hr4b2EmployeeActionMeta small {
  color: var(--muted, #63716f);
}

.hr4b2EmployeeLedgerSection {
  min-width: 0;
}

.hr4b2EmployeeLedgerHeading {
  align-items: center;
  margin-bottom: 10px;
}

.hr4b2EmployeeLedgerHeading > span {
  color: var(--muted, #63716f);
  font-size: 13px;
}

.hr4b2EmployeeLedgerScroller {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line, #d7dfdd);
  border-radius: 6px;
  background: var(--surface, #fff);
}

.hr4b2EmployeeLedger {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

.hr4b2EmployeeLedger th,
.hr4b2EmployeeLedger td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line, #d7dfdd);
  color: var(--ink, #173f3b);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.hr4b2EmployeeLedger th {
  color: var(--muted, #63716f);
  font-weight: 600;
  white-space: nowrap;
  background: var(--surface-subtle, #f5f8f7);
}

.hr4b2EmployeeLedger tbody tr:last-child td {
  border-bottom: 0;
}

.hr4b2EmployeeLedger th:nth-child(1) { width: 92px; }
.hr4b2EmployeeLedger th:nth-child(2) { width: 150px; }
.hr4b2EmployeeLedger th:nth-child(3) { width: 175px; }
.hr4b2EmployeeLedger th:nth-child(4) { width: 108px; }
.hr4b2EmployeeLedger th:nth-child(5) { width: 88px; }
.hr4b2EmployeeLedger th:nth-child(6) { width: 145px; }
.hr4b2EmployeeLedger th:nth-child(7) { width: 64px; }

.hr4b2EmployeeStage {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line, #d7dfdd);
  border-radius: 6px;
  color: var(--ink, #173f3b);
  font-size: 12px;
  white-space: nowrap;
}

.hr4b2EmployeeStage.is-action {
  border-color: var(--warning, #b57719);
  color: var(--warning, #8a5712);
}

.hr4b2EmployeeEmpty,
.hr4b2EmployeeLoading,
.hr4b2EmployeeError,
.hr4b2EmployeeReadOnly {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line, #d7dfdd);
  border-radius: 6px;
  color: var(--muted, #63716f);
  background: var(--surface, #fff);
}

.hr4b2EmployeeError {
  border-color: var(--danger, #b34343);
  color: var(--danger, #b34343);
}

.hr4b2EmployeeDrawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 40;
  width: min(560px, 100vw);
  max-width: 100%;
  overflow-y: auto;
  padding: 20px;
  border-left: 1px solid var(--line, #d7dfdd);
  background: var(--surface, #fff);
  box-shadow: -12px 0 28px rgba(18, 53, 49, 0.16);
}

.hr4b2EmployeeDrawer header {
  position: sticky;
  top: -20px;
  z-index: 1;
  margin: -20px -20px 18px;
  padding: 20px;
  border-bottom: 1px solid var(--line, #d7dfdd);
  background: var(--surface, #fff);
}

.hr4b2EmployeeDrawer .iconCommand {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line, #d7dfdd);
  border-radius: 6px;
  color: var(--ink, #173f3b);
  background: var(--surface, #fff);
  font-size: 20px;
  line-height: 1;
}

.hr4b2EmployeeDetailFacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 20px;
  border-top: 1px solid var(--line, #d7dfdd);
  border-left: 1px solid var(--line, #d7dfdd);
}

.hr4b2EmployeeDetailFacts > div {
  min-width: 0;
  padding: 10px;
  border-right: 1px solid var(--line, #d7dfdd);
  border-bottom: 1px solid var(--line, #d7dfdd);
}

.hr4b2EmployeeDetailFacts span,
.hr4b2EmployeeDetailFacts strong {
  display: block;
}

.hr4b2EmployeeDetailFacts span {
  margin-bottom: 4px;
  color: var(--muted, #63716f);
  font-size: 12px;
}

.hr4b2EmployeeDetailFacts strong {
  color: var(--ink, #173f3b);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.hr4b2EmployeeDetailSection {
  margin-top: 20px;
}

.hr4b2EmployeeDetailSection h3 {
  margin-bottom: 10px;
  font-size: 15px;
}

.hr4b2EmployeeTimeline,
.hr4b2EmployeeAttachments {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hr4b2EmployeeTimeline li,
.hr4b2EmployeeAttachments li {
  padding: 10px;
  border: 1px solid var(--line, #d7dfdd);
  border-radius: 6px;
}

.hr4b2EmployeeTimeline strong,
.hr4b2EmployeeTimeline span,
.hr4b2EmployeeTimeline p,
.hr4b2EmployeeAttachments strong,
.hr4b2EmployeeAttachments small {
  display: block;
}

.hr4b2EmployeeTimeline strong,
.hr4b2EmployeeAttachments strong {
  color: var(--ink, #173f3b);
  font-size: 13px;
}

.hr4b2EmployeeTimeline span,
.hr4b2EmployeeTimeline p,
.hr4b2EmployeeAttachments small {
  margin: 4px 0 0;
  color: var(--muted, #63716f);
  font-size: 12px;
}

.hr4b2EmployeeAttachments li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.hr4b2EmployeeAttachments em {
  color: var(--success, #297657);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.hr4b2EmployeeFile,
.hr4b2EmployeeExplanation label {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: var(--ink, #173f3b);
  font-size: 13px;
}

.hr4b2EmployeeFile input,
.hr4b2EmployeeExplanation textarea {
  width: 100%;
  max-width: 100%;
  padding: 9px;
  border: 1px solid var(--line, #d7dfdd);
  border-radius: 6px;
  color: var(--ink, #173f3b);
  background: var(--surface, #fff);
  font: inherit;
}

.hr4b2EmployeeExplanation {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line, #d7dfdd);
}

.hr4b2EmployeeExplanation > p {
  margin: 0;
  color: var(--warning, #8a5712);
  font-size: 13px;
}

@media (max-width: 720px) {
  .hr4b2EmployeeWorkspace {
    padding-top: 18px;
  }

  .hr4b2EmployeeAction,
  .hr4b2EmployeeHeading,
  .hr4b2EmployeeLedgerHeading {
    align-items: stretch;
    flex-direction: column;
  }

  .hr4b2EmployeeActionMeta {
    justify-items: start;
    text-align: left;
  }

  .hr4b2EmployeeLedger {
    min-width: 0;
  }

  .hr4b2EmployeeLedger thead {
    display: none;
  }

  .hr4b2EmployeeLedger,
  .hr4b2EmployeeLedger tbody,
  .hr4b2EmployeeLedger tr,
  .hr4b2EmployeeLedger td {
    display: block;
    width: 100%;
  }

  .hr4b2EmployeeLedger tr {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line, #d7dfdd);
  }

  .hr4b2EmployeeLedger tr:last-child {
    border-bottom: 0;
  }

  .hr4b2EmployeeLedger td {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 8px;
    padding: 5px 0;
    border: 0;
  }

  .hr4b2EmployeeLedger td::before {
    color: var(--muted, #63716f);
    content: attr(data-label);
    font-size: 12px;
  }

  .hr4b2EmployeeDrawer {
    inset: auto 0 0;
    width: 100%;
    max-height: min(82vh, 720px);
    border-top: 1px solid var(--line, #d7dfdd);
    border-left: 0;
    border-radius: 6px 6px 0 0;
    box-shadow: 0 -10px 24px rgba(18, 53, 49, 0.14);
  }

  .hr4b2EmployeeDetailFacts {
    grid-template-columns: 1fr;
  }
}
