/* one canonical ID presentation; PIN stays visible but subordinate. */
.ui-identity-cell{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:83px;line-height:1.2;white-space:nowrap}
.ui-identity-cell strong{font-size:12px;letter-spacing:.02em;font-weight:750;color:#176849;font-variant-numeric:tabular-nums}
.ui-identity-cell small,.ui-identity-pin{display:block;font-size:10px;font-weight:400;color:#83928d;letter-spacing:0;line-height:1.3}
.people-pin .ui-identity-cell{align-items:flex-start}
.hris-profile-fact .ui-identity-pin{margin-top:4px}
.hris-employee-basic-grid .ui-employee-identity-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px;grid-column:1/-1}
.ui-employee-identity-fields>label{min-width:0}
.ui-employee-identity-fields input{width:100%;max-width:100%;min-width:0}
.ui-identity-readonly{background:#f3f7f5!important;color:#2f7860!important;font-weight:650}
@media(max-width:700px){.hris-employee-basic-grid .ui-employee-identity-fields{grid-template-columns:1fr;gap:12px}}

/* table UI refinement for Employee + Daily Attendance identity columns. */
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table col.people-width-pin{width:8.5%!important}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table col.people-width-name{width:22%!important}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table col.people-width-code{width:8.5%!important}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table col.people-width-work{width:46%!important}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table col.people-width-status{width:15%!important}
.app-shell .workspace .employee-workspace .hris-people-table tbody td.people-pin,
.app-shell .workspace .employee-workspace .hris-people-table thead th:first-child{
  text-align:center!important;
}
.app-shell .workspace .employee-workspace .hris-people-table tbody td.people-pin{
  padding:7px 8px!important;
}
.app-shell .workspace .employee-workspace .hris-people-table tbody td.people-code,
.app-shell .workspace .employee-workspace .hris-people-table thead th:nth-child(3){
  text-align:center!important;
}
.app-shell .workspace .employee-workspace .hris-people-table tbody td.people-code{
  padding:8px 10px!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-code code{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  padding:3px 8px!important;
  border-radius:999px!important;
  background:#f4f8f5!important;
  color:#547362!important;
  border:1px solid #e3ece6!important;
  line-height:1.1!important;
}
.ui-identity-cell{
  width:100%;
  min-width:0;
  gap:1px;
}
.ui-identity-cell strong{
  display:block;
  width:100%;
  line-height:1.08;
  text-align:inherit;
}
.ui-identity-cell small,.ui-identity-pin{
  line-height:1.08;
}
.people-pin .ui-identity-cell{
  align-items:center;
  justify-content:center;
  gap:1px;
}
.people-pin .ui-identity-cell strong{
  font-size:13px;
}
.people-pin .ui-identity-cell small{
  font-size:10px;
  margin-top:0;
}
.legacy-report-table tbody td.report-identity-col{
  text-align:center!important;
  vertical-align:middle!important;
  padding-left:8px!important;
  padding-right:8px!important;
}
.legacy-report-table tbody td.report-identity-col::before,
.legacy-report-table tbody td.report-identity-col::after,
.legacy-report-table tbody td.report-identity-col .report-identity-cell::before,
.legacy-report-table tbody td.report-identity-col .report-identity-cell::after,
.legacy-report-table tbody td.report-identity-col .report-identity-cell strong::before,
.legacy-report-table tbody td.report-identity-col .report-identity-cell strong::after{
  content:none!important;
  display:none!important;
}
.legacy-report-table tbody td.report-identity-col .report-identity-cell{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  gap:1px!important;
}
.legacy-report-table tbody td.report-identity-col .report-identity-cell strong{
  font-size:12px!important;
  line-height:1.06!important;
  letter-spacing:.015em!important;
}
.legacy-report-table tbody td.report-identity-col .report-identity-cell small{
  font-size:10px!important;
  line-height:1.06!important;
  margin-top:0!important;
}


/* Root fix: legacy rules set display:flex on Employee <td>
   elements, breaking native table geometry and leaving vertical KODE borders
   disconnected between rows. Keep flex only on content INSIDE table cells. */
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table tbody td.people-pin,
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table tbody td.people-code {
  display:table-cell!important;
  vertical-align:middle!important;
  box-sizing:border-box!important;
}
/* PIN remains subordinate, with a comfortable (not cramped) gap. */
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table tbody td.people-pin .ui-identity-cell {
  display:inline-flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  gap:4px!important;
}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table tbody td.people-pin .ui-identity-cell strong {
  line-height:1.12!important;
}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table tbody td.people-pin .ui-identity-cell small {
  line-height:1.12!important;
}

/* Employee Aktif: balanced 5-column layout. Keep native table geometry.
   table-cell fix and every other Employee / Report view are retained. */
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table col.people-width-pin{width:13%!important}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table col.people-width-name{width:21%!important}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table col.people-width-code{width:9%!important}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table col.people-width-work{width:42%!important}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table col.people-width-status{width:15%!important}
/* Match header/cell borders for uninterrupted grid lines, including KODE. */
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table{
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table tbody td{
  height:54px!important;
  padding:9px 10px!important;
  vertical-align:middle!important;
  border-right:1px solid #e6eee9!important;
  border-bottom:1px solid #e9f0eb!important;
}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table thead th{
  padding:12px 10px!important;
  border-right:1px solid #e6eee9!important;
}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table thead th:last-child,
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table tbody td:last-child{
  border-right:0!important;
}
/* A larger, centered ID; smaller quiet PIN with intentional breathing room. */
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table tbody td.people-pin{
  display:table-cell!important;
  text-align:center!important;
  padding:8px 8px!important;
}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table tbody td.people-pin .ui-identity-cell{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  width:100%!important;
  gap:4px!important;
  white-space:nowrap!important;
}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table tbody td.people-pin .ui-identity-cell strong{
  color:#146747!important;
  font-size:13.5px!important;
  font-weight:750!important;
  line-height:1.12!important;
  letter-spacing:.01em!important;
  text-align:center!important;
}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table tbody td.people-pin .ui-identity-cell small{
  color:#87978f!important;
  font-size:10px!important;
  font-weight:400!important;
  line-height:1.12!important;
  text-align:center!important;
  margin:0!important;
}
/* Respect table boundaries: CODE badge centered without changing <td> display. */
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table tbody td.people-code{
  display:table-cell!important;
  text-align:center!important;
  padding:8px 7px!important;
}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table tbody td.people-code code{
  vertical-align:middle!important;
  margin:0 auto!important;
}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table tbody td.ui-employee-work{
  padding:9px 11px!important;
}

/* Profile 360° header: balanced ID, Department, Position fact cards.
   Presentation only; the employee identity data and business logic are unchanged. */
.app-shell .workspace .employee-profile-panel .hris-profile-facts-variant {
  align-items:stretch!important;
  grid-auto-rows:1fr!important;
  gap:12px!important;
}
.app-shell .workspace .employee-profile-panel .hris-profile-facts-variant > .hris-profile-fact {
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:0!important;
  min-width:0!important;
  min-height:100px!important;
  height:100%!important;
  padding:15px 18px!important;
  background:rgba(255,255,255,.72)!important;
  border:1px solid #dce5e3!important;
  border-radius:12px!important;
  box-shadow:0 1px 2px rgba(38,68,58,.025)!important;
}
.app-shell .workspace .employee-profile-panel .hris-profile-facts-variant > .hris-profile-fact > small {
  display:block!important;
  width:100%!important;
  margin:0 0 8px!important;
  padding:0!important;
  color:#71857f!important;
  font-size:11px!important;
  font-weight:500!important;
  line-height:1.25!important;
  text-align:left!important;
}
.app-shell .workspace .employee-profile-panel .hris-profile-facts-variant > .hris-profile-fact > strong {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  color:#214c3b!important;
  font-size:13.5px!important;
  font-weight:700!important;
  line-height:1.38!important;
  text-align:left!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
.app-shell .workspace .employee-profile-panel .hris-profile-facts-variant > .hris-profile-fact:first-child > strong {
  font-size:14px!important;
  letter-spacing:.012em!important;
  font-variant-numeric:tabular-nums!important;
}
.app-shell .workspace .employee-profile-panel .hris-profile-facts-variant > .hris-profile-fact > .ui-identity-pin {
  display:block!important;
  width:100%!important;
  margin:3px 0 0!important;
  padding:0!important;
  color:#84918c!important;
  font-size:10.5px!important;
  font-weight:400!important;
  line-height:1.25!important;
  text-align:left!important;
  font-variant-numeric:tabular-nums!important;
}
@media(max-width:540px) {
  .app-shell .workspace .employee-profile-panel .hris-profile-facts-variant {gap:9px!important;}
  .app-shell .workspace .employee-profile-panel .hris-profile-facts-variant > .hris-profile-fact {
    min-height:90px!important;
    padding:13px 14px!important;
  }
  .app-shell .workspace .employee-profile-panel .hris-profile-facts-variant > .hris-profile-fact > strong {
    font-size:12.5px!important;
  }
  .app-shell .workspace .employee-profile-panel .hris-profile-facts-variant > .hris-profile-fact:first-child > strong {
    font-size:13px!important;
  }
}

/* all non-Employee data tables display the canonical employee ID only.
   The Employee listing retains its existing ID + PIN stack. */
.app-shell .workspace table .ui-identity-cell.ui-id-only{
  display:inline-flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%;
  min-width:0;
  gap:0!important;
  vertical-align:middle;
}
.app-shell .workspace table .ui-identity-cell.ui-id-only strong{
  display:block;
  width:100%;
  text-align:center;
  line-height:1.3;
  white-space:nowrap;
}

/* Employee management: reference-inspired hierarchy; only the Employee workspace. */
.app-shell .workspace .employee-workspace{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important}
.app-shell .workspace .employee-workspace .emp-ref-summary{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}
.app-shell .workspace .employee-workspace .emp-ref-card{display:flex;align-items:center;gap:13px;min-width:0;padding:18px 17px;border-radius:14px;border:1px solid #e1ebe6;background:#fff;box-shadow:0 5px 19px rgba(28,77,57,.06)}
.app-shell .workspace .employee-workspace .emp-ref-icon{display:grid;place-items:center;flex:0 0 49px;width:49px;height:49px;border-radius:15px;background:#dcf7e9;color:#148d59;font-size:23px}
.app-shell .workspace .employee-workspace .emp-ref-stat{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.app-shell .workspace .employee-workspace .emp-ref-stat small{font-size:12px;font-weight:650;color:#405f54}
.app-shell .workspace .employee-workspace .emp-ref-stat strong{font-size:27px;font-weight:800;color:#123d30;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.app-shell .workspace .employee-workspace .emp-ref-stat>span{font-size:10px;color:#819188;line-height:1.3}
.app-shell .workspace .employee-workspace .emp-ref-active{background:linear-gradient(120deg,#fff 35%,#e9faf0)}
.app-shell .workspace .employee-workspace .emp-ref-permanent{background:linear-gradient(120deg,#fff 35%,#eef8f2)}
.app-shell .workspace .employee-workspace .emp-ref-permanent .emp-ref-icon{background:#e0f4e8;color:#158a5b}
.app-shell .workspace .employee-workspace .emp-ref-contract{background:linear-gradient(120deg,#fff 35%,#eef6fc)}
.app-shell .workspace .employee-workspace .emp-ref-contract .emp-ref-icon{background:#e5f2fd;color:#2984c9}
.app-shell .workspace .employee-workspace .emp-ref-outsourcing{background:linear-gradient(120deg,#fff 35%,#fcf6ec)}
.app-shell .workspace .employee-workspace .emp-ref-outsourcing .emp-ref-icon{background:#fff1de;color:#cf861f}
.app-shell .workspace .employee-workspace>.panel-head{padding:15px 16px!important;background:#fff!important;border:1px solid #e0ebe5!important;border-radius:14px!important;margin-bottom:13px!important;box-shadow:0 3px 13px rgba(25,76,58,.035)!important}
.app-shell .workspace .employee-workspace .panel-tools.employee-tools{display:grid!important;grid-template-columns:minmax(200px,1.45fr) minmax(165px,1fr) minmax(165px,1fr) minmax(170px,.9fr);align-items:center;gap:10px;width:100%!important}
.app-shell .workspace .employee-workspace .employee-tools>.searchbox,.app-shell .workspace .employee-workspace .employee-tools>hris-org-select,.app-shell .workspace .employee-workspace .employee-tools>.employee-employment-multi{width:100%!important;min-width:0!important;max-width:none!important}
.app-shell .workspace .employee-workspace .emp-ref-status-toggle{display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:3px;border:1px solid #dce8e1;border-radius:10px;background:#f8faf9;min-height:41px;gap:3px}
.app-shell .workspace .employee-workspace .emp-ref-status-toggle button{border:0;border-radius:7px;background:transparent;color:#607369;font-size:12px;font-weight:650;cursor:pointer;padding:9px 6px;white-space:nowrap;min-width:0}
.app-shell .workspace .employee-workspace .emp-ref-status-toggle button.is-current{background:#d8f7e3;color:#116c45;box-shadow:0 1px 3px rgba(23,98,58,.08)}
.app-shell .workspace .employee-workspace .emp-ref-toolbar-bottom{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:11px;padding-top:4px}
.app-shell .workspace .employee-workspace .emp-ref-toolbar-spacer{flex:1}
.app-shell .workspace .employee-workspace .emp-ref-page-size{display:inline-flex;align-items:center;gap:9px;color:#5d6c67;font-size:12px}
.app-shell .workspace .employee-workspace .emp-ref-page-size select{border:1px solid #dce7e1;border-radius:9px;padding:8px 10px;background:#fff;color:#304c40;min-width:64px}
.app-shell .workspace .employee-workspace .emp-ref-filter-caption{font-size:11px;color:#72867a}
.app-shell .workspace .employee-workspace .emp-ref-toolbar-bottom>.btn,.app-shell .workspace .employee-workspace .emp-ref-toolbar-bottom .btn{min-height:38px!important}
.app-shell .workspace .employee-workspace .hris-people-surface{border:1px solid #e0eae4!important;border-radius:14px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 6px 18px rgba(33,72,54,.05)!important}
.app-shell .workspace .employee-workspace table.emp-ref-table{min-width:850px!important;width:100%!important;table-layout:fixed!important}
.app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-person{width:29%!important}
.app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-work{width:32%!important}
.app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-status{width:15%!important}
.app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-period{width:19%!important}
.app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-action{width:5%!important}
.app-shell .workspace .employee-workspace table.emp-ref-table thead th{background:#eaf5ee!important;color:#204c39!important;border-right:0!important;text-align:left!important;padding:14px 16px!important;font-size:11px!important;letter-spacing:0!important}
.app-shell .workspace .employee-workspace table.emp-ref-table thead th:nth-child(n+3){text-align:center!important}
.app-shell .workspace .employee-workspace table.emp-ref-table tbody td{height:68px!important;min-height:68px!important;padding:11px 15px!important;border-right:0!important;background:#fff!important;vertical-align:middle!important;overflow:visible!important}
.app-shell .workspace .employee-workspace table.emp-ref-table tbody tr:nth-child(even) td{background:#fcfdfc!important}
.app-shell .workspace .employee-workspace table.emp-ref-table tbody tr:hover td,.app-shell .workspace .employee-workspace table.emp-ref-table tbody tr:focus-within td{background:#effaf3!important}
.app-shell .workspace .employee-workspace table.emp-ref-table tbody tr{cursor:pointer}
.app-shell .workspace .employee-workspace table.emp-ref-table tbody td.emp-ref-person{display:table-cell!important;text-align:left!important}
.app-shell .workspace .employee-workspace .emp-ref-person>.emp-ref-avatar{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;border:1px solid #cee5d8;background:linear-gradient(145deg,#dff4e9,#f1f8f3);color:#368568;font-size:13px;font-weight:800;letter-spacing:.02em;margin-right:10px}
.app-shell .workspace .employee-workspace .emp-ref-person-copy{display:inline-flex;vertical-align:middle;flex-direction:column;gap:5px;max-width:calc(100% - 60px);min-width:0;align-items:flex-start}
.app-shell .workspace .employee-workspace .emp-ref-identity{display:flex;gap:7px;align-items:center;max-width:100%;min-width:0;flex-wrap:wrap;font-size:10px;color:#89948c}
.app-shell .workspace .employee-workspace .emp-ref-identity strong{display:inline-block;padding:0;border-radius:0;background:transparent;color:#17654b;font-size:10px;font-weight:750;white-space:nowrap;box-shadow:none}
.app-shell .workspace .employee-workspace .emp-ref-identity code{background:#f3f6f4;color:#78877f;padding:2px 5px;border-radius:5px;font-size:9px;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.app-shell .workspace .employee-workspace button.emp-ref-name{display:block!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;color:#173c30!important;font-weight:750!important;font-size:12.5px!important;text-align:left;max-width:100%;white-space:normal;line-height:1.3;cursor:pointer;box-shadow:none!important}
.app-shell .workspace .employee-workspace button.emp-ref-name:hover{color:#059467!important}
.app-shell .workspace .employee-workspace table.emp-ref-table tbody td.emp-ref-work{padding-left:16px!important}
.app-shell .workspace .employee-workspace .emp-ref-work>strong{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:750;color:#283c36;line-height:1.3;white-space:normal}
.app-shell .workspace .employee-workspace .emp-ref-work>strong i,.app-shell .workspace .employee-workspace .emp-ref-work-meta>i{color:#768780;font-size:12px;flex-shrink:0}
.app-shell .workspace .employee-workspace .emp-ref-work-meta{display:flex;gap:5px;align-items:baseline;padding-left:20px;margin-top:5px;flex-wrap:wrap;font-size:10.5px;color:#64776c;line-height:1.35}
.app-shell .workspace .employee-workspace .emp-ref-work-meta>i{margin-left:-20px;margin-right:3px}
.app-shell .workspace .employee-workspace .emp-ref-work-meta em{color:#7c8d82;font-style:italic}
.app-shell .workspace .employee-workspace .emp-ref-dot{color:#aebbb2}
.app-shell .workspace .employee-workspace table.emp-ref-table .emp-ref-employment{text-align:center!important}
.app-shell .workspace .employee-workspace table.emp-ref-table .emp-ref-employment>.people-employment{display:inline-block!important;max-width:100%!important;white-space:normal!important;font-size:10.5px!important;padding:5px 9px!important;border-radius:7px!important}
.app-shell .workspace .employee-workspace table.emp-ref-table .emp-ref-period{text-align:left!important;color:#394a42;font-size:11.5px!important;line-height:1.4}
.app-shell .workspace .employee-workspace .emp-ref-period-date{display:flex;gap:8px;align-items:center;white-space:normal}
.app-shell .workspace .employee-workspace .emp-ref-period-date i{color:#7e8d84;font-size:12px;flex-shrink:0}
.app-shell .workspace .employee-workspace .emp-ref-period small{display:block;padding-left:20px;color:#7b8981;font-size:10px;margin-top:3px;white-space:normal}
.app-shell .workspace .employee-workspace .emp-ref-period small.emp-ref-period-expired{color:#b26052}
.app-shell .workspace .employee-workspace table.emp-ref-table .emp-ref-actions{text-align:center!important;padding:7px!important}
.app-shell .workspace .employee-workspace .emp-ref-actions button{min-width:33px;min-height:33px;border-radius:9px;border:1px solid #e0e8e3;background:#fff;color:#536c5e;cursor:pointer;box-shadow:0 1px 4px rgba(20,70,50,.045)}
.app-shell .workspace .employee-workspace .emp-ref-actions button:hover{background:#e6f7ed;border-color:#b9e4c8;color:#147c53}
.app-shell .workspace .employee-workspace .hris-people-pagination{background:#fff!important;border-top:1px solid #e8eeea!important}
.app-shell .workspace .employee-workspace .hris-people-pagination>.hris-page-size{display:none!important}
.app-shell .workspace .emp-ref-heading-summary{display:none!important}
@media(max-width:1150px){.app-shell .workspace .employee-workspace .emp-ref-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .workspace .employee-workspace .panel-tools.employee-tools{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.app-shell .workspace .employee-workspace .emp-ref-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:11px}.app-shell .workspace .employee-workspace .emp-ref-card{gap:8px;padding:12px 10px;border-radius:11px}.app-shell .workspace .employee-workspace .emp-ref-icon{width:36px;height:36px;flex-basis:36px;font-size:17px;border-radius:11px}.app-shell .workspace .employee-workspace .emp-ref-stat strong{font-size:22px}.app-shell .workspace .employee-workspace .emp-ref-stat small{font-size:10px}.app-shell .workspace .employee-workspace .emp-ref-stat>span{font-size:9px}.app-shell .workspace .employee-workspace .panel-tools.employee-tools{grid-template-columns:minmax(0,1fr)!important}.app-shell .workspace .employee-workspace .emp-ref-toolbar-bottom{gap:8px}.app-shell .workspace .employee-workspace .emp-ref-filter-caption{display:none}.app-shell .workspace .employee-workspace .emp-ref-toolbar-bottom>.btn{flex:1}.app-shell .workspace .employee-workspace table.emp-ref-table{min-width:760px!important}}

/* Keep the Employee layout intact when width is reduced, without clipping toolbars. */
.app-shell .workspace.fm28-page-employees .employee-workspace .emp-ref-summary{width:100%;min-width:0}
.app-shell .workspace.fm28-page-employees .employee-workspace .emp-ref-card{overflow:hidden}
.app-shell .workspace.fm28-page-employees .employee-workspace .employee-tools .emp-ref-toolbar-bottom{min-width:0}
.app-shell .workspace.fm28-page-employees .employee-workspace .emp-ref-person .emp-ref-person-copy{min-width:0}
.app-shell .workspace.fm28-page-employees .employee-workspace .emp-ref-period-date{overflow-wrap:anywhere}
@media(max-width:1350px){.app-shell .workspace.fm28-page-employees .employee-workspace .emp-ref-card{padding:13px 11px;gap:8px}.app-shell .workspace.fm28-page-employees .employee-workspace .emp-ref-icon{width:42px;height:42px;flex-basis:42px}.app-shell .workspace.fm28-page-employees .employee-workspace .emp-ref-stat strong{font-size:24px}.app-shell .workspace.fm28-page-employees .employee-workspace .emp-ref-card .emp-ref-stat small{font-size:11px}}
@media(max-width:950px){.app-shell .workspace.fm28-page-employees .employee-workspace .panel-tools.employee-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.app-shell .workspace.fm28-page-employees .employee-workspace .panel-tools.employee-tools{grid-template-columns:minmax(0,1fr)!important}}

/* Employee: consolidated quiet enterprise presentation (2026-11-21). */
.app-shell .workspace .employee-workspace .emp-ref-summary{gap:10px!important;margin-bottom:12px!important}
.app-shell .workspace .employee-workspace .emp-ref-card{background:#fff!important;box-shadow:0 2px 9px rgba(25,68,48,.035)!important;border:1px solid #e4ebe7!important;border-radius:11px!important;padding:14px 17px!important;gap:12px!important}
.app-shell .workspace .employee-workspace .emp-ref-icon{background:#f0f7f3!important;color:#25825c!important;border-radius:10px!important;width:41px!important;height:41px!important;flex-basis:41px!important;font-size:19px!important}
.app-shell .workspace .employee-workspace .emp-ref-stat small{font-size:11px!important;font-weight:650!important;color:#587064!important}
.app-shell .workspace .employee-workspace .emp-ref-stat strong{font-size:24px!important;font-weight:750!important;line-height:1.2!important}
.app-shell .workspace .employee-workspace .emp-ref-stat>span{font-size:10px!important;color:#89978d!important}
.app-shell .workspace .employee-workspace>.panel-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:5px!important;height:auto!important;min-height:0!important;padding:11px 14px!important;border-radius:11px!important;margin-bottom:12px!important}
.app-shell .workspace .employee-workspace .panel-tools.employee-tools{display:grid!important;grid-template-columns:minmax(220px,1.6fr) minmax(145px,1fr) minmax(165px,1fr) minmax(160px,.8fr)!important;gap:10px!important;align-items:center!important}
.app-shell .workspace .employee-workspace .emp-ref-status-toggle{display:flex!important;gap:3px!important;min-width:0!important;width:100%!important;height:40px!important;min-height:40px!important;padding:3px!important;background:#f5f8f6!important;border:1px solid #dce7e0!important;border-radius:9px!important;box-sizing:border-box!important}
.app-shell .workspace .employee-workspace .emp-ref-status-toggle button{flex:1 1 0!important;width:50%!important;min-width:0!important;min-height:32px!important;height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:7px!important;font-size:12px!important;font-weight:650!important;padding:0 6px!important;color:#60766a!important;box-shadow:none!important}
.app-shell .workspace .employee-workspace .emp-ref-status-toggle button.is-current{background:#fff!important;color:#08754a!important;box-shadow:0 1px 4px rgba(15,80,52,.11)!important}
.app-shell .workspace .employee-workspace>.panel-head>.emp-ref-toolbar-bottom{position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-width:0!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important;flex-wrap:wrap!important;margin:0!important;padding:3px 0 0!important;border-top:1px solid #eef2ef!important;box-sizing:border-box!important;overflow:visible!important}
.app-shell .workspace .employee-workspace .emp-ref-applied-filters{display:flex!important;flex:1 1 260px!important;min-width:0!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important}
.app-shell .workspace .employee-workspace .emp-ref-applied-title{font-size:11px;color:#65786c;font-weight:650;white-space:nowrap}
.app-shell .workspace .employee-workspace .emp-ref-no-filter{font-size:11px;color:#96a39a}
.app-shell .workspace .employee-workspace .emp-ref-filter-chip{display:inline-flex!important;align-items:center!important;gap:6px!important;font-size:10.5px!important;font-weight:600!important;color:#2a7350!important;background:#edf7f0!important;border:1px solid #d9ebdf!important;padding:6px 9px!important;border-radius:7px!important;cursor:pointer!important}
.app-shell .workspace .employee-workspace .emp-ref-filter-chip i{font-size:9px}
.app-shell .workspace .employee-workspace .emp-ref-clear-filters{background:none!important;border:0!important;padding:5px!important;font-size:11px!important;color:#317a58!important;text-decoration:underline!important;cursor:pointer!important}
.app-shell .workspace .employee-workspace .emp-ref-toolbar-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important;flex:0 0 auto!important;flex-wrap:wrap!important}
.app-shell .workspace .employee-workspace .emp-ref-toolbar-actions .report-export-menu{position:static!important;display:flex!important;align-items:center!important;margin:0!important;padding:0!important;transform:none!important}
.app-shell .workspace .employee-workspace .emp-ref-toolbar-actions .btn{display:inline-flex!important;position:static!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:auto!important;min-height:38px!important;white-space:nowrap!important;transform:none!important;margin:0!important;padding:0 13px!important}
.app-shell .workspace .employee-workspace .emp-ref-page-size{white-space:nowrap!important}
.app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-person{width:29%!important}
.app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-work{width:35%!important}
.app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-status{width:16%!important}
.app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-period{width:20%!important}
.app-shell .workspace .employee-workspace table.emp-ref-table thead th:nth-child(4){text-align:left!important}
.app-shell .workspace .employee-workspace .emp-ref-person>.emp-ref-avatar{background:#f0f6f2!important;border-color:#dceae1!important;color:#5a9a77!important;font-size:17px!important;font-weight:normal!important;letter-spacing:normal!important}
@media(max-width:1150px){.app-shell .workspace .employee-workspace .panel-tools.employee-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.app-shell .workspace .employee-workspace .panel-tools.employee-tools{grid-template-columns:1fr!important}.app-shell .workspace .employee-workspace .emp-ref-toolbar-actions{width:100%!important;justify-content:space-between!important}.app-shell .workspace .employee-workspace .emp-ref-toolbar-actions .btn{padding:0 9px!important}.app-shell .workspace .employee-workspace .emp-ref-card{padding:11px!important}}

/* Employee: filter aktif hanya tampil ketika digunakan; ukuran halaman tetap di footer. */
.app-shell .workspace .employee-workspace>.panel-head>.emp-ref-toolbar-bottom{padding-top:2px!important;gap:6px!important;border-top:0!important}
.app-shell .workspace .employee-workspace .emp-ref-applied-filters{flex:1 1 340px!important;gap:6px!important}
.app-shell .workspace .employee-workspace .emp-ref-applied-title{font-size:11px!important;font-weight:600!important;color:#72867a!important;margin-right:3px!important}
.app-shell .workspace .employee-workspace .emp-ref-filter-chip{background:#f3f8f5!important;border:1px solid #e2ebe5!important;color:#34634d!important;font-size:11px!important;font-weight:500!important;border-radius:6px!important;padding:5px 8px!important;box-shadow:none!important}
.app-shell .workspace .employee-workspace .emp-ref-filter-chip:hover{background:#e9f4ec!important;border-color:#cbded0!important}
.app-shell .workspace .employee-workspace .emp-ref-clear-filters{color:#667e6e!important;text-decoration:none!important;font-weight:600!important;padding:5px 8px!important}
.app-shell .workspace .employee-workspace .emp-ref-clear-filters:hover{text-decoration:underline!important;color:#19734b!important}
.app-shell .workspace .employee-workspace .emp-ref-toolbar-actions{margin-left:auto!important}
.app-shell .workspace .employee-workspace .hris-people-pagination .hris-page-size{display:inline-flex!important;align-items:center!important;gap:7px!important}

/* Employee header controls: Export and Add sit in the title card, not the filter bar. */
.app-shell .workspace.fm28-page-employees .fm27-module-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;flex-wrap:wrap!important}
.app-shell .workspace.fm28-page-employees .emp-title-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important;margin-left:auto!important;min-width:0!important;flex-wrap:wrap!important}
.app-shell .workspace.fm28-page-employees .emp-title-actions .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:38px!important;height:38px!important;width:auto!important;position:static!important;margin:0!important;padding:0 15px!important;white-space:nowrap!important;transform:none!important}
@media(max-width:600px){.app-shell .workspace.fm28-page-employees .fm27-module-heading{align-items:stretch!important}.app-shell .workspace.fm28-page-employees .emp-title-actions{justify-content:flex-start!important;margin-left:0!important;width:100%!important}.app-shell .workspace.fm28-page-employees .emp-title-actions .btn{flex:1 1 auto!important;padding:0 10px!important}}

/* Employee refinement: filter chips and active/nonactive toggle polish (2026-11-21). */
.app-shell .workspace .employee-workspace .emp-ref-clear-filters,
.app-shell .workspace .employee-workspace .emp-ref-clear-filters:hover,
.app-shell .workspace .employee-workspace .emp-ref-clear-filters:focus,
.app-shell .workspace .employee-workspace .emp-ref-clear-filters:focus-visible{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
  padding:0 2px!important;
  border-radius:0!important;
  text-decoration:none!important;
}
.app-shell .workspace .employee-workspace .emp-ref-clear-filters{
  color:#5f7669!important;
  font-size:11px!important;
  font-weight:600!important;
}
.app-shell .workspace .employee-workspace .emp-ref-clear-filters:hover,
.app-shell .workspace .employee-workspace .emp-ref-clear-filters:focus-visible{
  color:#1d724a!important;
}

.app-shell .workspace .employee-workspace .emp-ref-status-toggle{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  padding:3px!important;
  gap:3px!important;
  border:1px solid #dbe4e0!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
.app-shell .workspace .employee-workspace .emp-ref-status-toggle button{
  min-width:0!important;
  width:100%!important;
  height:30px!important;
  min-height:30px!important;
  padding:0 8px!important;
  border-radius:7px!important;
  font-size:12px!important;
  font-weight:600!important;
  color:#667b70!important;
  background:transparent!important;
  box-shadow:none!important;
}
.app-shell .workspace .employee-workspace .emp-ref-status-toggle button:hover{
  background:#f6faf7!important;
}
.app-shell .workspace .employee-workspace .emp-ref-status-toggle button.is-current{
  background:#eaf6ef!important;
  color:#166c47!important;
  box-shadow:none!important;
}
.app-shell .workspace .employee-workspace .emp-ref-status-toggle button:last-child.is-current{
  background:#fdecee!important;
  color:#b54452!important;
}
@media(max-width:900px){
  .app-shell .workspace .employee-workspace .emp-ref-status-toggle{
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    border-radius:13px!important;
  }
  .app-shell .workspace .employee-workspace .emp-ref-status-toggle button{
    height:36px!important;
    min-height:36px!important;
  }
}

/* Employee: kontrak terlihat jelas tanpa menambah kolom, tinggi baris, atau badge besar. */
.app-shell .workspace .employee-workspace .emp-period-main{
  display:flex;align-items:center;gap:7px;min-width:0;
  color:#41564c;font-size:11px;line-height:1.35;
}
.app-shell .workspace .employee-workspace .emp-period-main>i,
.app-shell .workspace .employee-workspace .emp-period-missing>i{
  flex:0 0 auto;color:#84938a;font-size:12px;
}
.app-shell .workspace .employee-workspace .emp-period-main strong{
  font-size:11.5px;font-weight:750;color:#234b3a;font-variant-numeric:tabular-nums;
}
.app-shell .workspace .employee-workspace .emp-period-note{
  display:block;margin:3px 0 0 19px!important;padding:0!important;
  font-size:10.5px!important;font-weight:650!important;line-height:1.3;
  color:#537665;
}
.app-shell .workspace .employee-workspace .emp-period-contract.is-near .emp-period-main strong,
.app-shell .workspace .employee-workspace .emp-period-note.is-near{color:#a66a15!important}
.app-shell .workspace .employee-workspace .emp-period-contract.is-expired .emp-period-main strong,
.app-shell .workspace .employee-workspace .emp-period-note.is-expired{color:#b64750!important}
.app-shell .workspace .employee-workspace .emp-period-missing{
  display:flex;align-items:center;gap:7px;font-size:10.5px;color:#9a6d43;
}


/* Employee refinement: period column tighter, contract keeps end date + tenure, cards less plain (2026-11-21). */
.app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-work{width:37%!important}
.app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-status{width:15%!important}
.app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-period{width:18%!important}
.app-shell .workspace .employee-workspace .emp-ref-period{font-size:11px!important;line-height:1.35!important}
.app-shell .workspace .employee-workspace .emp-ref-period-date{gap:6px!important}
.app-shell .workspace .employee-workspace .emp-ref-period small{padding-left:18px!important;margin-top:2px!important}
.app-shell .workspace .employee-workspace .emp-period-main{font-size:10.8px!important;gap:6px!important}
.app-shell .workspace .employee-workspace .emp-period-main strong{font-size:11.4px!important}
.app-shell .workspace .employee-workspace .emp-period-prefix{font-weight:700;color:#61766b}
.app-shell .workspace .employee-workspace .emp-period-submeta{display:block;margin:2px 0 0 18px!important;padding:0!important;color:#6c7f74!important;font-size:10px!important;line-height:1.3!important}
.app-shell .workspace .employee-workspace .emp-period-inline-label{font-weight:650;color:#54685d}
.app-shell .workspace .employee-workspace .emp-period-missing{display:flex;flex-direction:column;align-items:flex-start;gap:2px;font-size:10.5px;color:#9a6d43}
.app-shell .workspace .employee-workspace .emp-period-missing>span{display:flex;align-items:center;gap:7px}
.app-shell .workspace .employee-workspace .emp-period-missing>span i{color:#8b9a92;font-size:12px}

/* Cards follow the existing HRIS mint palette: no decoration or colored stripes. */
.app-shell .workspace .employee-workspace .emp-ref-card{
  position:relative!important;
  background:#ffffff!important;
  border:1px solid #e2ebe5!important;
  border-radius:12px!important;
  box-shadow:0 3px 12px rgba(20,72,48,.045)!important;
  padding:15px 17px!important;
  gap:12px!important;
}
.app-shell .workspace .employee-workspace .emp-ref-card::before,
.app-shell .workspace .employee-workspace .emp-ref-card::after{content:none!important;display:none!important}
.app-shell .workspace .employee-workspace .emp-ref-icon,
.app-shell .workspace .employee-workspace .emp-ref-permanent .emp-ref-icon,
.app-shell .workspace .employee-workspace .emp-ref-contract .emp-ref-icon,
.app-shell .workspace .employee-workspace .emp-ref-outsourcing .emp-ref-icon{
  background:#edf7f1!important;
  border:1px solid #e2efe7!important;
  color:#258360!important;
  border-radius:10px!important;
  width:40px!important;height:40px!important;flex-basis:40px!important;
  font-size:18px!important;box-shadow:none!important;
}
.app-shell .workspace .employee-workspace .emp-ref-stat small{color:#5e7568!important;font-weight:650!important}
.app-shell .workspace .employee-workspace .emp-ref-stat strong{color:#123e31!important;font-weight:750!important}
@media(max-width:1200px){
  .app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-work{width:36%!important}
  .app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-period{width:19%!important}
}


/* Employee: compact and consistently left-aligned tenure / contract column. */
.app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-person{width:29%!important}
.app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-work{width:40%!important}
.app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-status{width:15%!important}
.app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-period{width:16%!important}
.app-shell .workspace .employee-workspace table.emp-ref-table td.emp-ref-period{
  padding-left:10px!important;padding-right:8px!important;text-align:left!important;
}
.app-shell .workspace .employee-workspace .emp-tenure-details{
  display:flex;flex-direction:column;align-items:stretch;gap:2px;min-width:0;
  font-size:10.5px;line-height:1.3;color:#4d6559;
}
.app-shell .workspace .employee-workspace .emp-tenure-line{
  display:flex;align-items:baseline;gap:5px;min-width:0;overflow-wrap:normal;
}
.app-shell .workspace .employee-workspace .emp-tenure-line>i{
  flex:0 0 12px;width:12px;color:#8a9a90;font-size:11px;align-self:center;
}
.app-shell .workspace .employee-workspace .emp-tenure-line>span{
  display:block;min-width:0;
}
.app-shell .workspace .employee-workspace .emp-tenure-line:not(:has(>i)){
  padding-left:17px;
}
.app-shell .workspace .employee-workspace .emp-tenure-line b{
  font-weight:600;color:#667b6f;
}
.app-shell .workspace .employee-workspace .emp-tenure-end strong{
  font-weight:750;color:#244b38;
}
.app-shell .workspace .employee-workspace .emp-tenure-end.is-expired strong{color:#b64750}
.app-shell .workspace .employee-workspace .emp-tenure-end.is-near strong{color:#a66a15}
.app-shell .workspace .employee-workspace .emp-tenure-secondary{
  font-size:10px;color:#819086;
}
.app-shell .workspace .employee-workspace .emp-tenure-unrecorded{color:#82938a}
@media(max-width:1200px){
  .app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-work{width:39%!important}
  .app-shell .workspace .employee-workspace table.emp-ref-table col.emp-ref-col-period{width:17%!important}
}

/* Employee - Opsi C: masa kerja sebagai informasi utama, tanggal sebagai pelengkap. */
.app-shell .workspace .employee-workspace .emp-period-option-c{
  display:flex;flex-direction:column;gap:4px;align-items:flex-start;min-width:0;
  padding:0 2px;color:#28493a;line-height:1.35;text-align:left;
}
.app-shell .workspace .employee-workspace .emp-period-option-c .emp-period-primary{
  font-size:11.5px;font-weight:700;color:#244738;line-height:1.35;
}
.app-shell .workspace .employee-workspace .emp-period-option-c .emp-period-primary.emp-period-unavailable{
  color:#91a097;font-size:10.5px;font-weight:500;
}
.app-shell .workspace .employee-workspace .emp-period-option-c .emp-period-secondary{
  font-size:10.5px;color:#73857a;line-height:1.4;overflow-wrap:break-word;
}
.app-shell .workspace .employee-workspace .emp-period-option-c .emp-period-secondary span:first-child{font-weight:500}
.app-shell .workspace .employee-workspace .emp-period-option-c .emp-period-secondary strong{
  color:#526d5f;font-weight:600;
}
.app-shell .workspace .employee-workspace .emp-period-option-c .emp-period-secondary.is-near strong{color:#a66a15}
.app-shell .workspace .employee-workspace .emp-period-option-c .emp-period-secondary.is-expired strong{color:#b64750}
