.t2-workspace {
  display: grid;
  gap: 12px;
  width: min(1600px, 100%);
  margin: 0 auto;
  color: #18384f;
}

.t2-command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid #bfcfda;
  border-radius: 10px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(46, 157, 205, .3), transparent 28%),
    linear-gradient(120deg, #0e354f, #124c6d);
  box-shadow: 0 10px 28px rgba(15, 55, 80, .13);
}

.t2-command-copy {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.t2-command-mark {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 9px;
  background: rgba(255, 255, 255, .1);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.t2-command h2,
.t2-command p {
  margin: 0;
}

.t2-command h2 {
  font-size: 17px;
}

.t2-command p {
  margin-top: 4px;
  color: #c8e1ee;
  font-size: 9px;
}

.t2-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.t2-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.t2-button {
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid #c9d6df;
  border-radius: 7px;
  color: #20455e;
  background: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.t2-button:hover {
  border-color: #75acd0;
  background: #f2f9fd;
}

.t2-button.primary {
  border-color: #1484bd;
  color: #fff;
  background: #147db3;
}

.t2-button.danger {
  border-color: #d8a3a8;
  color: #a5313c;
  background: #fff7f7;
}

.t2-command .t2-button {
  border-color: rgba(255, 255, 255, .25);
  color: #fff;
  background: rgba(255, 255, 255, .09);
}

.t2-command .t2-button.primary {
  border-color: #4eb4df;
  background: #1689c2;
}

.t2-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.t2-kpis.t2-kpis-six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.t2-kpi {
  position: relative;
  min-height: 86px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid #d2dde5;
  border-radius: 9px;
  background: #fff;
}

.t2-kpi::after {
  position: absolute;
  right: -20px;
  bottom: -25px;
  width: 72px;
  height: 72px;
  border: 15px solid #eef6fa;
  border-radius: 50%;
  content: "";
}

.t2-kpi small,
.t2-kpi strong,
.t2-kpi span {
  position: relative;
  z-index: 1;
  display: block;
}

.t2-kpi small {
  color: #6f8391;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.t2-kpi strong {
  margin-top: 7px;
  color: #173b53;
  font-size: 22px;
}

.t2-kpi span {
  margin-top: 3px;
  color: #7b8d99;
  font-size: 9px;
}

.t2-kpi.warning strong {
  color: #a76b13;
}

.t2-kpi.critical strong {
  color: #b73543;
}

.t2-tabs {
  display: flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid #d4dfe6;
  border-radius: 8px;
  background: #eef3f6;
}

.t2-tab {
  min-height: 30px;
  padding: 6px 11px;
  border: 0;
  border-radius: 6px;
  color: #607786;
  background: transparent;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.t2-tab.active {
  color: #125f8b;
  background: #fff;
  box-shadow: 0 2px 7px rgba(26, 63, 85, .08);
}

.t2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 10px;
}

.t2-panel {
  min-width: 0;
  border: 1px solid #d3dfe6;
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
}

.t2-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  border-bottom: 1px solid #dde6eb;
  background: #f8fafb;
}

.t2-panel-head h3,
.t2-panel-head p {
  margin: 0;
}

.t2-panel-head h3 {
  color: #28485d;
  font-size: 12px;
}

.t2-panel-head p {
  margin-top: 3px;
  color: #7a8d99;
  font-size: 10px;
}

/* Governance note: the rule behind a panel or action, one click away. */
.t2-note {
  display: inline-block;
  margin: 3px 0 0;
  font-size: 10px;
  vertical-align: top;
}

.t2-note summary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  list-style: none;
  color: #3a6f8a;
  font-weight: 600;
  user-select: none;
}

.t2-note summary::-webkit-details-marker {
  display: none;
}

.t2-note summary::before {
  content: 'ⓘ';
  font-size: 12px;
  line-height: 1;
}

.t2-note[open] summary {
  color: #254c62;
}

.t2-note p,
.t2-note > p {
  max-width: 64ch;
  margin: 6px 0 0;
  color: #5b7382;
  font-size: 11px;
  line-height: 1.45;
}

.t2-callout .t2-note,
.t2-detail-body .t2-note {
  font-size: 11px;
}

.t2-table-wrap {
  overflow: auto;
}

.t2-table {
  width: 100%;
  border-collapse: collapse;
}

.t2-table th,
.t2-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #e7edf1;
  text-align: left;
  vertical-align: middle;
}

.t2-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #718491;
  background: #fcfdfe;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.t2-table td {
  color: #29495e;
  font-size: 10px;
}

.t2-table tbody tr[data-id] {
  cursor: pointer;
}

.t2-table tbody tr[data-id]:hover,
.t2-table tbody tr.selected {
  background: #f0f8fc;
}

.t2-table tr:last-child td {
  border-bottom: 0;
}

.t2-primary {
  display: block;
  color: #21455c;
  font-size: 11px;
  font-weight: 850;
}

.t2-secondary {
  display: block;
  margin-top: 2px;
  color: #7c8f9b;
  font-size: 9px;
}

.t2-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 19px;
  padding: 2px 6px;
  border-radius: 10px;
  color: #326078;
  background: #e8f2f7;
  font-size: 9px;
  font-weight: 850;
  text-transform: capitalize;
}

.t2-status::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2b87b3;
  content: "";
}

.t2-status.critical,
.t2-status.overdue,
.t2-status.rejected,
.t2-status.reaction {
  color: #a3303c;
  background: #fde9eb;
}

.t2-status.critical::before,
.t2-status.overdue::before,
.t2-status.rejected::before,
.t2-status.reaction::before {
  background: #c33e4b;
}

.t2-status.warning,
.t2-status.due_soon,
.t2-status.pending,
.t2-status.quarantine {
  color: #94600e;
  background: #fff0d4;
}

.t2-status.warning::before,
.t2-status.due_soon::before,
.t2-status.pending::before,
.t2-status.quarantine::before {
  background: #d68a17;
}

.t2-status.success,
.t2-status.active,
.t2-status.available,
.t2-status.final,
.t2-status.completed,
.t2-status.hr_approved,
.t2-status.acknowledged {
  color: #177050;
  background: #e3f5ed;
}

.t2-status.success::before,
.t2-status.active::before,
.t2-status.available::before,
.t2-status.final::before,
.t2-status.completed::before,
.t2-status.hr_approved::before,
.t2-status.acknowledged::before {
  background: #1b9c70;
}

.t2-detail {
  min-height: 260px;
}

.t2-detail-body {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.t2-detail-hero {
  padding: 12px;
  border: 1px solid #d6e1e7;
  border-radius: 8px;
  background: linear-gradient(135deg, #f7fbfd, #eef7fb);
}

.t2-detail-hero h3,
.t2-detail-hero p {
  margin: 0;
}

.t2-detail-hero h3 {
  font-size: 14px;
}

.t2-detail-hero p {
  margin-top: 4px;
  color: #718591;
  font-size: 10px;
}

.t2-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.t2-fact {
  min-width: 0;
  padding: 8px;
  border: 1px solid #dce5ea;
  border-radius: 7px;
}

.t2-fact small,
.t2-fact strong {
  display: block;
}

.t2-fact small {
  color: #7a8d98;
  font-size: 9px;
  text-transform: uppercase;
}

.t2-fact strong {
  margin-top: 4px;
  overflow: hidden;
  color: #28495d;
  font-size: 11px;
  text-overflow: ellipsis;
}

.t2-list {
  display: grid;
  gap: 6px;
}

.t2-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 9px;
  border: 1px solid #dce5ea;
  border-radius: 7px;
  background: #fff;
}

.t2-list-item strong,
.t2-list-item small {
  display: block;
}

.t2-list-item strong {
  font-size: 10px;
}

.t2-list-item small {
  margin-top: 3px;
  color: #7b8e99;
  font-size: 9px;
}

.t2-empty,
.t2-loading,
.t2-error {
  display: grid;
  min-height: 190px;
  place-items: center;
  padding: 24px;
  color: #718793;
  text-align: center;
  font-size: 11px;
}

.t2-error {
  color: #a53640;
}

.t2-form-dialog {
  width: min(620px, calc(100vw - 30px));
  /* A tall form used to grow past the viewport and get clipped off-screen
     (reported 2026-08-16). Bound the height and let the field area scroll so
     the header and the action footer always stay reachable. */
  max-height: calc(100vh - 40px);
  margin: auto;
  padding: 0;
  border: 1px solid #becfd9;
  border-radius: 11px;
  color: #1f4056;
  box-shadow: 0 28px 80px rgba(14, 42, 60, .28);
}

.t2-form-dialog form {
  display: flex;
  max-height: calc(100vh - 42px);
  flex-direction: column;
}

.t2-form-dialog header,
.t2-form-dialog footer {
  flex: none;
}

.t2-form-dialog .t2-form {
  min-height: 0;
  overflow-y: auto;
}

/* Live patient lookup (replaces the numeric-id-only field) */
.t2-patient-picker {
  position: relative;
  display: block;
}

.t2-patient-picker > input[type="text"] {
  width: 100%;
}

.t2-patient-picker.resolved > input[type="text"] {
  border-color: #57a879;
  background: #f4fbf7;
  font-weight: 700;
}

.t2-patient-results {
  position: absolute;
  z-index: 5;
  top: calc(100% + 3px);
  right: 0;
  left: 0;
  max-height: 210px;
  overflow-y: auto;
  border: 1px solid #cfdde6;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 47, 68, .18);
}

.t2-patient-hit {
  display: block;
  width: 100%;
  padding: 8px 11px;
  border: 0;
  border-bottom: 1px solid #eef3f6;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.t2-patient-hit:last-child {
  border-bottom: 0;
}

.t2-patient-hit:hover,
.t2-patient-hit:focus-visible {
  background: #f1f8fc;
}

.t2-patient-hit strong {
  display: block;
  color: #234459;
  font-size: 10px;
}

.t2-patient-hit small {
  display: block;
  margin-top: 2px;
  color: #7d8e9b;
  font-size: 8px;
}

.t2-patient-empty {
  padding: 9px 11px;
  color: #7d8e9b;
  font-size: 9px;
}

.t2-form-dialog::backdrop {
  background: rgba(8, 30, 45, .48);
  backdrop-filter: blur(2px);
}

.t2-form-dialog header,
.t2-form-dialog footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  background: #f7fafb;
}

.t2-form-dialog header {
  border-bottom: 1px solid #dbe5ea;
}

.t2-form-dialog footer {
  justify-content: flex-end;
  border-top: 1px solid #dbe5ea;
}

.t2-form-dialog h3,
.t2-form-dialog p {
  margin: 0;
}

.t2-form-dialog h3 {
  font-size: 12px;
}

.t2-form-dialog p {
  margin-top: 3px;
  color: #748995;
  font-size: 10px;
}

.t2-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 15px;
}

.t2-field {
  display: grid;
  gap: 5px;
}

.t2-field.full {
  grid-column: 1 / -1;
}

.t2-field span {
  color: #405e70;
  font-size: 11.5px;
  font-weight: 800;
}

/* Focusing a control inside a scrolling form scrolls it flush to the top of
   the scroll box, which pushes its own label out of sight. The reserved
   margin keeps the label visible while the field is being filled. */
.t2-field input,
.t2-field select,
.t2-field textarea {
  scroll-margin-top: 30px;
  width: 100%;
  min-height: 35px;
  padding: 8px 9px;
  border: 1px solid #cbd8e0;
  border-radius: 7px;
  color: #173a50;
  background: #fff;
  font: inherit;
  font-size: 11px;
}

.t2-field textarea {
  min-height: 72px;
  resize: vertical;
}

.t2-callout {
  padding: 10px 11px;
  border: 1px solid #bcd8e8;
  border-radius: 8px;
  color: #23556f;
  background: #eff8fc;
  font-size: 10px;
  line-height: 1.5;
}

.t2-callout.warning {
  border-color: #e2c68f;
  color: #825715;
  background: #fff8e8;
}

.t2-onboarding-journey {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: 5px;
  margin-top: 8px;
}

.t2-onboarding-journey span {
  padding: 7px;
  border: 1px solid #dce5ea;
  border-radius: 7px;
  color: #718793;
  background: #f6f9fa;
  font-size: 9px;
  line-height: 1.35;
}

.t2-onboarding-journey span.complete {
  border-color: #a8d9c0;
  color: #236444;
  background: #eef9f3;
}

.t2-onboarding-journey span.current {
  border-color: #e2c68f;
  color: #825715;
  background: #fff8e8;
}

.t2-onboarding-journey span.locked {
  opacity: .72;
}

@media (max-width: 900px) {
  .t2-onboarding-journey {
    grid-template-columns: 1fr;
  }
}

.t2-inline-error {
  color: #a9323d;
  font-size: 10px;
}

.t2-field-error {
  min-height: 1.2em;
  color: #a9323d;
  font-size: 10px;
  font-weight: 700;
}

.t2-field :is(input, select, textarea)[aria-invalid="true"] {
  border-color: #b63845;
  box-shadow: 0 0 0 2px #b6384520;
}

@media (max-width: 1250px) {
  .t2-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .t2-kpis.t2-kpis-six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .t2-grid {
    grid-template-columns: 1fr;
  }

  .t2-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .t2-kpis.t2-kpis-six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .t2-command {
    align-items: flex-start;
    flex-direction: column;
  }

  .t2-actions {
    justify-content: flex-start;
  }

  .t2-kpis,
  .t2-kpis.t2-kpis-six,
  .t2-form {
    grid-template-columns: 1fr;
  }
}

.employee-service-control {
  display: grid;
  gap: 12px;
}

.employee-service-command,
.employee-statement-picker > header,
.employee-service-control .t2-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.employee-service-command {
  padding: 16px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(118deg, #073c59, #087bac);
}

.employee-service-command span,
.employee-statement-head span {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.employee-service-command h3,
.employee-service-command p,
.employee-service-control .t2-panel h3,
.employee-service-control .t2-panel p {
  margin: 3px 0;
}

.employee-evidence-stamp,
.employee-print-stamp {
  margin: 10px 0;
  padding: 9px 11px;
  border-inline-start: 4px solid #0c91bf;
  background: #eef8fc;
  color: #28586d;
  font-size: 11px;
}

.employee-month-lines span {
  display: block;
  margin: 3px 0;
}

.employee-month-lines strong {
  white-space: nowrap;
}

.employee-picker-list {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-top: 10px;
}

.employee-picker-list .t2-button {
  flex: 0 0 auto;
}

.employee-service-statement {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid #b9d0dc;
  border-radius: 12px;
  background: #fff;
  color: #16394b;
}

.employee-statement-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 13px;
  border-bottom: 3px solid #0c91bf;
}

.employee-statement-head h2,
.employee-statement-head p,
.employee-service-statement h3 {
  margin: 4px 0;
}

.employee-statement-identity {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.employee-statement-identity > div,
.employee-statement-columns > div {
  padding: 10px;
  border: 1px solid #dce8ee;
  border-radius: 7px;
  background: #f9fcfd;
}

.employee-statement-identity small,
.employee-statement-identity strong,
.employee-statement-identity span,
.employee-service-statement td small,
.employee-service-statement footer small,
.employee-statement-columns small {
  display: block;
}

.employee-statement-identity small {
  color: #648292;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.employee-evidence-stamp {
  border-color: #c7920a;
  background: #fff8dc;
  color: #664c0a;
  font-weight: 800;
}

.employee-statement-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.employee-statement-columns p,
.employee-service-statement footer p {
  margin: 7px 0;
  padding-bottom: 7px;
  border-bottom: 1px solid #e2ebef;
}

@media (max-width: 900px) {
  .employee-service-command,
  .employee-statement-picker > header,
  .employee-statement-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .employee-statement-identity,
  .employee-statement-columns {
    grid-template-columns: 1fr;
  }
}

@media print {
  body * {
    visibility: hidden !important;
  }

  .employee-service-statement,
  .employee-service-statement * {
    visibility: visible !important;
  }

  .employee-service-statement {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 10mm;
    border: 0;
    border-radius: 0;
    color: #102f3e;
  }

  .employee-statement-print {
    display: none !important;
  }

  .employee-service-statement section,
  .employee-service-statement tr {
    break-inside: avoid;
  }
}

/* HR Enterprise: two-level navigation and readable operational records. */
.hr-workspace {
  width: 100%;
  min-width: 0;
  min-height: 100%;
  align-content: start;
  direction: ltr;
  text-align: left;
}

.hr-workspace [data-workspace-body] {
  width: 100%;
  min-width: 0;
}

.hr-employee-file { border: 1px solid #cedce5; border-radius: 12px; background: #fff; text-align: start; }
.hr-employee-file-header { position: sticky; top: 0; z-index: 12; padding: 18px 24px 0; border-bottom: 1px solid #cedce5; border-radius: 12px 12px 0 0; background: #fff; }
.hr-employee-file-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; }
.hr-employee-file-heading h2 { margin: 4px 0; color: #173c52; font-size: 24px; }
.hr-employee-file-heading small, .hr-employee-file-heading p { color: #617986; }
.hr-employee-file-heading p { margin: 5px 0 14px; }
.hr-employee-file-links { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.hr-employee-file-tabs { display: flex; gap: 8px; overflow-x: auto; }
.hr-employee-file-tabs button { flex: 1; min-width: 110px; padding: 13px 16px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #617986; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.hr-employee-file-tabs button[aria-selected="true"] { border-bottom-color: #147d85; color: #126d75; background: #f0f8f8; }
.hr-employee-file-content { padding: 24px; min-height: 320px; }
.hr-employee-file-content > section + section { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e1e9ef; }
.hr-employee-file-content h3, .hr-employee-file-content h4 { margin-top: 0; }
.hr-employee-file .t2-button { font-size: 12px; }
.hr-employee-file [data-employee-file-facts] .t2-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
.hr-employee-file .t2-fact { padding: 12px; }
.hr-employee-file .t2-fact small { font-size: 12px; }
.hr-employee-file .t2-fact strong { font-size: 14px; overflow-wrap: anywhere; }
@media (min-width: 701px) and (max-width: 1000px) {
  .hr-employee-file [data-employee-file-facts] .t2-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .hr-employee-file-header { padding: 14px 12px 0; }
  .hr-employee-file-heading h2 { font-size: 20px; }
  .hr-employee-file-content { padding: 16px 12px; }
  .hr-employee-file [data-employee-file-facts] .t2-facts { grid-template-columns: minmax(0, 1fr); }
}

.hr-navigation {
  display: grid;
  gap: 7px;
}

.hr-layer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid #c8d8e2;
  border-radius: 8px;
  background: #e8f0f5;
}

.hr-layer-nav button {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #405f72;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.hr-layer-nav button:hover {
  border-color: #b6cfde;
  background: #f7fbfd;
}

.hr-layer-nav button.active {
  border-color: #74abc9;
  color: #0d5f8c;
  background: #fff;
  box-shadow: 0 3px 10px rgba(21, 72, 101, .1);
}

.hr-workspace .hr-view-nav {
  overflow-x: auto;
}

.hr-workspace .hr-view-nav .t2-tab {
  min-height: 32px;
  font-size: 11px;
  white-space: nowrap;
}

.hr-workspace .t2-panel-head h3 {
  font-size: 13px;
}

.hr-workspace .t2-panel-head p,
.hr-workspace .t2-list-item small,
.hr-workspace .t2-secondary {
  font-size: 10px;
  line-height: 1.45;
}

.hr-workspace .t2-list-item strong,
.hr-workspace .t2-table td {
  font-size: 11px;
  line-height: 1.4;
}

.hr-workspace .t2-table th {
  color: #496779;
  font-size: 10px;
  letter-spacing: .025em;
}

.hr-enterprise-grid {
  align-items: start;
}

.hr-enterprise-grid + .hr-enterprise-grid,
.hr-workspace .t2-grid + .hr-enterprise-grid {
  margin-top: 8px;
}

@media (max-width: 1180px) {
  .hr-workspace .hr-enterprise-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Operational HR panels marked full must actually span the workspace. Without
   this the attendance calendar and reports are squeezed into the side column. */
.hr-workspace .t2-grid > .t2-panel.full {
  grid-column: 1 / -1;
}

.hr-workspace .attendance-report .t2-panel-head {
  align-items: flex-start;
  flex-wrap: wrap;
}

.hr-workspace .attendance-report .t2-actions {
  max-width: 100%;
}

.hr-workspace .t2-attendance-report-table th:first-child,
.hr-workspace .t2-attendance-report-table td:first-child {
  min-width: 190px;
}

.hr-workspace .t2-attendance-report-table th:nth-child(3),
.hr-workspace .t2-attendance-report-table td:nth-child(3),
.hr-workspace .t2-attendance-report-table th:nth-child(4),
.hr-workspace .t2-attendance-report-table td:nth-child(4) {
  min-width: 150px;
}

.hr-workspace .t2-calendar-head,
.hr-workspace .t2-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(118px, 1fr));
  min-width: 826px;
}

.hr-workspace .t2-calendar-wrap {
  overflow-x: auto;
}

.hr-workspace .t2-calendar-head {
  background: #f4f8fb;
  border: 1px solid #d7e2ea;
  border-bottom: 0;
  color: #52697a;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.hr-workspace .t2-calendar-head span {
  padding: 9px 6px;
}

.hr-workspace .t2-calendar-grid {
  border-top: 1px solid #d7e2ea;
  border-left: 1px solid #d7e2ea;
}

.hr-workspace .t2-calendar-day {
  min-height: 108px;
  padding: 8px;
  border-right: 1px solid #d7e2ea;
  border-bottom: 1px solid #d7e2ea;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hr-workspace .t2-calendar-day.muted {
  opacity: .48;
  background: #f7f9fb;
}

.hr-workspace .t2-calendar-day.today {
  box-shadow: inset 0 0 0 2px #1787bd;
}

.hr-workspace .t2-calendar-day small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hr-workspace .t2-team-timesheet .t2-panel-head {
  align-items: flex-start;
  flex-wrap: wrap;
}

.hr-workspace .t2-team-timesheet .t2-panel-head .t2-actions {
  max-width: 100%;
}

.hr-workspace .t2-timesheet-scroll {
  max-height: min(68vh, 760px);
  overflow: auto;
  border-top: 1px solid #d7e2ea;
  border-bottom: 1px solid #d7e2ea;
}

.hr-workspace .t2-week-timesheet {
  min-width: 1420px;
  table-layout: fixed;
}

.hr-workspace .t2-week-timesheet thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  width: 145px;
  background: #edf5f8;
  text-align: center;
}

.hr-workspace .t2-week-timesheet .t2-timesheet-employee {
  position: sticky;
  inset-inline-start: 0;
  z-index: 3;
  width: 230px;
  min-width: 230px;
  background: #fff;
  text-align: start;
  box-shadow: -1px 0 0 #d7e2ea;
}

.hr-workspace .t2-week-timesheet thead .t2-timesheet-employee {
  z-index: 6;
  background: #edf5f8;
}

.hr-workspace .t2-timesheet-day {
  height: 104px;
  padding: 7px;
  vertical-align: top;
  border-inline-start: 4px solid transparent;
}

.hr-workspace .t2-timesheet-day strong,
.hr-workspace .t2-timesheet-schedule,
.hr-workspace .t2-timesheet-state,
.hr-workspace .t2-timesheet-total span,
.hr-workspace .t2-timesheet-total strong {
  display: block;
}

.hr-workspace .t2-timesheet-day strong {
  margin: 7px 0 3px;
  color: #17384c;
  font-size: 11px;
  white-space: nowrap;
}

.hr-workspace .t2-timesheet-schedule {
  color: #69808e;
  font-size: 9px;
  white-space: nowrap;
}

.hr-workspace .t2-timesheet-state {
  margin-top: 7px;
  font-size: 9px;
  font-weight: 800;
}

.hr-workspace .t2-timesheet-day.present {
  border-inline-start-color: #1c9b72;
  background: #eefaf6;
}

.hr-workspace .t2-timesheet-day.scheduled {
  border-inline-start-color: #1787bd;
  background: #f0f8fc;
}

.hr-workspace .t2-timesheet-day.observed {
  border-inline-start-color: #7868c5;
  background: #f4f1fd;
}

.hr-workspace .t2-timesheet-day.review {
  border-inline-start-color: #d7971c;
  background: #fff8e8;
}

.hr-workspace .t2-timesheet-day.absent {
  border-inline-start-color: #cf5454;
  background: #fff0f0;
}

.hr-workspace .t2-timesheet-day.leave,
.hr-workspace .t2-timesheet-day.holiday {
  border-inline-start-color: #36a2a0;
  background: #edfafa;
}

.hr-workspace .t2-timesheet-day.off {
  color: #79909d;
  background: #f7f9fa;
}

.hr-workspace .t2-timesheet-day.today {
  box-shadow: inset 0 0 0 2px #1688bd;
}

.hr-workspace .t2-timesheet-total {
  width: 145px;
  min-width: 145px;
  background: #f8fbfc;
}

.hr-workspace .t2-timesheet-total strong {
  color: #0879aa;
  font-size: 14px;
}

.hr-workspace .t2-timesheet-total .warning {
  color: #a26400;
  font-weight: 800;
}

.hr-workspace .t2-button.compact {
  min-height: 26px;
  margin-top: 6px;
  padding: 4px 7px;
  font-size: 9px;
}

.hr-workspace .t2-month-summary th:first-child,
.hr-workspace .t2-month-summary td:first-child {
  min-width: 220px;
}

.hr-workspace .t2-week-summary {
  display: grid;
  gap: 3px;
  min-width: 165px;
  color: #496673;
  font-size: 9px;
  white-space: nowrap;
}

.hr-workspace .t2-week-summary span {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  padding-bottom: 2px;
  border-bottom: 1px dashed #d8e3e8;
}

.hr-workspace .t2-timesheet-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: #587180;
  font-size: 10px;
}

.hr-workspace .t2-timesheet-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 12px 10px;
}

.hr-workspace .t2-timesheet-legend span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #f2f6f8;
  font-size: 9px;
  font-weight: 800;
}

.hr-workspace .t2-timesheet-legend .present { color: #147956; background: #e9f8f2; }
.hr-workspace .t2-timesheet-legend .scheduled { color: #0b729f; background: #eaf6fb; }
.hr-workspace .t2-timesheet-legend .observed { color: #6651b5; background: #f0ecfb; }
.hr-workspace .t2-timesheet-legend .review { color: #9b6508; background: #fff4da; }
.hr-workspace .t2-timesheet-legend .absent { color: #ad3333; background: #fdeaea; }
.hr-workspace .t2-timesheet-legend .off { color: #647b89; background: #f0f3f5; }

@media (max-width: 760px) {
  .hr-workspace .t2-timesheet-pagination {
    align-items: flex-start;
    flex-direction: column;
  }
}

.hr-span-all {
  grid-column: 1 / -1;
}

.hr-workflow-guide {
  overflow: hidden;
  border-color: #b9d8e7;
  background: linear-gradient(145deg, #f8fcfe, #eef8fb);
}

.hr-workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 12px;
  list-style: none;
}

.hr-workflow-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #d4e6ee;
  border-radius: 9px;
  background: rgba(255, 255, 255, .86);
}

.hr-workflow-steps li > span {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  background: #087eaa;
  font-size: 10px;
  font-weight: 900;
}

.hr-workflow-steps strong {
  color: #173f55;
  font-size: 11px;
}

.hr-workflow-steps small {
  color: #597480;
  font-size: 9px;
  line-height: 1.45;
}

.hr-workflow-note {
  margin: 0 12px 12px;
  padding: 8px 10px;
  border-inline-start: 3px solid #13a37f;
  color: #315868;
  background: #e8f8f3;
  font-size: 10px;
}

.payroll-workflow-steps {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.hr-kpis-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 8px;
}

.hr-case-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
}

.hr-case-columns section {
  min-width: 0;
  padding: 10px;
  border: 1px solid #dce6ec;
  border-radius: 7px;
  background: #fbfcfd;
}

.hr-case-columns h4 {
  margin: 0 0 8px;
  color: #28485d;
  font-size: 12px;
}

.hr-workspace code {
  color: #315d75;
  font-size: 10px;
}

/* Payroll Control is a contextual HR Administration workspace, not a separate app. */
.payroll-control {
  display: grid;
  gap: 10px;
  direction: ltr;
  text-align: left;
}

.payroll-inline-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0;
}

.payroll-inline-notice.danger {
  border-inline-start-color: #c43d48;
  color: #8d2933;
  background: #fff4f5;
}

.payroll-control-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid #bfd5e1;
  border-radius: 10px;
  color: #f7fcff;
  background:
    linear-gradient(118deg, rgba(9, 51, 74, .98), rgba(10, 105, 151, .94)),
    radial-gradient(circle at 85% 20%, rgba(66, 211, 178, .28), transparent 40%);
  box-shadow: 0 9px 24px rgba(8, 49, 72, .14);
}

.payroll-control-head span {
  display: block;
  margin-bottom: 3px;
  color: #73e4c3;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.payroll-control-head h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
}

.payroll-control-head p {
  max-width: 780px;
  margin: 5px 0 0;
  color: #cfe6f2;
  font-size: 11px;
  line-height: 1.55;
}

.payroll-ready,
.payroll-warning {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  font-size: 10px;
  white-space: nowrap;
}

.payroll-readiness-checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  padding: 14px;
}

.payroll-readiness-check {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--t2-line);
  border-radius: 10px;
  background: var(--t2-white);
}

.payroll-readiness-check > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 800;
}

.payroll-readiness-check.ready > span { background: #dcfce7; color: #166534; }
.payroll-readiness-check.attention > span { background: #fef3c7; color: #92400e; }
.payroll-readiness-check small { display: block; margin-top: 4px; color: var(--t2-muted); }

.payroll-ready {
  color: #083f36;
  background: #70e2bf;
}

.payroll-warning {
  color: #5c3900;
  background: #ffd88a;
}

.payroll-control-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 6px;
  border: 1px solid #d5e2e9;
  border-radius: 8px;
  background: #f5f9fb;
}

.payroll-control-nav .t2-button {
  min-height: 32px;
  white-space: nowrap;
}

.payroll-control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.payroll-control-grid > .t2-panel {
  grid-column: span 2;
}

.payroll-control-grid > .payroll-control-wide {
  grid-column: 1 / -1;
}

.payroll-run-detail {
  display: grid;
  gap: 12px;
}

.payroll-run-detail > section {
  min-width: 0;
  padding: 11px;
  border: 1px solid #dce7ed;
  border-radius: 8px;
  background: #fbfdfe;
}

.payroll-run-detail h4 {
  margin: 0 0 9px;
  color: #254c62;
  font-size: 12px;
}

/* HR Reports range form */
.hr-reports-range {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-end;
}

.hr-reports-range label {
  display: grid;
  gap: 3px;
  font-size: 10px;
  color: #5b7382;
}

.hr-reports-range input {
  min-height: 32px;
  padding: 4px 8px;
  border: 1px solid #adc7d7;
  border-radius: 5px;
  background: #fff;
  color: #173f57;
  font-size: 12px;
}

@media print {
  .hr-commandbar, .hr-view-nav, .hr-reports-range, .t2-note { display: none !important; }
  .hr-reports .t2-panel { break-inside: avoid; }
}

/* Monthly payroll wizard: Review → Approve & Post → Disburse */
.payroll-run-wizard {
  border-color: #b9d3e0 !important;
  background: #f4f9fc !important;
}

.payroll-wizard-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.payroll-wizard-step {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #d7e4ec;
  border-radius: 8px;
  background: #fff;
}

.payroll-wizard-step.is-current {
  border-color: #1f6f8b;
  box-shadow: inset 0 0 0 1px #1f6f8b;
}

.payroll-wizard-step.is-done {
  background: #eef8f1;
  border-color: #b9dcc4;
}

.payroll-wizard-step.is-upcoming {
  opacity: 0.72;
}

.payroll-wizard-index {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dfe9f0;
  color: #254c62;
  font-size: 12px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}

.payroll-wizard-step.is-current .payroll-wizard-index {
  background: #1f6f8b;
  color: #fff;
}

.payroll-wizard-step.is-done .payroll-wizard-index {
  background: #2f8f57;
  color: #fff;
}

.payroll-wizard-label {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.payroll-wizard-label strong {
  font-size: 12px;
  color: #1d3d4f;
}

.payroll-wizard-label small {
  color: #5b7382;
  font-size: 11px;
  line-height: 1.35;
}

.payroll-wizard-body {
  display: grid;
  gap: 10px;
}

.payroll-wizard-body h5 {
  margin: 0 0 6px;
  color: #254c62;
  font-size: 12px;
}

.payroll-wizard-columns {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 12px;
}

.payroll-wizard-next {
  margin: 0;
  color: #1d3d4f;
  font-size: 12px;
}

.payroll-wizard-checks {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.payroll-wizard-checks li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 6px 8px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e1eaf0;
  font-size: 12px;
}

.payroll-wizard-checks li span {
  flex: 0 0 auto;
  font-weight: 700;
}

.payroll-wizard-checks li.is-pass span { color: #2f8f57; }
.payroll-wizard-checks li.is-fail { border-color: #efc4c4; background: #fff6f6; }
.payroll-wizard-checks li.is-fail span { color: #b93a3a; }

.payroll-wizard-checks li small {
  display: block;
  color: #7a4a4a;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .payroll-wizard-steps,
  .payroll-wizard-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hr-layer-nav,
  .hr-case-columns,
  .payroll-control-grid {
    grid-template-columns: 1fr;
  }

  .hr-kpis-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payroll-control-grid > .t2-panel,
  .payroll-control-grid > .payroll-control-wide {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  .hr-kpis-four {
    grid-template-columns: 1fr;
  }

  .payroll-control-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Employee service statements: compact selection, readable evidence and print. */
.employee-service-control { min-width: 0; gap: 16px; }
.employee-service-control .employee-service-command {
  padding: 0 0 12px; border: 0; border-bottom: 1px solid #dce8ee;
  border-radius: 0; background: transparent; color: #16394b;
}
.employee-service-control .employee-service-command h3 { font-size: 20px; line-height: 1.35; }
.employee-service-control .employee-service-command p { color: #536f7e; font-size: 13px; }
.employee-service-control .employee-statement-picker {
  display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px;
  padding: 14px 16px; border: 1px solid #dce8ee; border-radius: 8px; background: #f8fbfd;
}
.employee-service-control .employee-statement-select-label { display: grid; gap: 6px; width: min(440px, 100%); min-width: 0; font-weight: 600; }
.employee-service-control .employee-statement-select-label select {
  width: 100%; min-width: 0; min-height: 40px; padding: 8px 12px; border: 1px solid #aec5d2;
  border-radius: 6px; background: white; color: #16394b; font: inherit; text-overflow: ellipsis;
}
.employee-service-control .employee-statement-select-label select:focus-visible { outline: 2px solid #087bac; outline-offset: 2px; }
.employee-service-control .employee-statement-workflow > header { flex-wrap: wrap; padding: 16px; border-bottom: 1px solid #dce8ee; }
.employee-service-control .employee-statement-workflow .t2-actions { flex-wrap: wrap; }
.employee-service-control .employee-statement-workflow-panel { min-width: 0; }
.employee-service-control .employee-statement-workflow-panel > summary { padding: 12px 0; cursor: pointer; color: #244d63; font-weight: 600; }
.employee-service-control .employee-statement-guidance { color: #536f7e; font-size: 13px; line-height: 1.6; }
.employee-service-control .employee-statement-guidance summary { cursor: pointer; font-weight: 600; }
.employee-service-control .employee-statement-guidance p { max-width: 88ch; }
.employee-service-statement { min-width: 0; box-sizing: border-box; gap: 24px; line-height: 1.5; }
.employee-service-statement .employee-statement-head { gap: 16px; border-bottom: 1px solid #c6d8e2; padding-bottom: 18px; }
.employee-service-statement .employee-statement-head h2 { font-size: 23px; line-height: 1.4; overflow-wrap: anywhere; }
.employee-service-statement .employee-statement-head p { color: #536f7e; font-size: 12px; }
.employee-service-statement .employee-statement-identity { gap: 12px; }
.employee-service-statement .employee-statement-identity > div { padding: 13px 14px; overflow-wrap: anywhere; }
.employee-service-statement .employee-statement-identity small { font-size: 11px; margin-bottom: 6px; letter-spacing: .04em; }
.employee-service-statement .employee-statement-identity strong { font-size: 14px; }
.employee-service-statement .employee-statement-identity span { margin-top: 3px; color: #536f7e; font-size: 12px; }
.employee-service-statement .employee-statement-section { min-width: 0; }
.employee-service-statement h3 { font-size: 16px; margin: 0 0 12px; line-height: 1.4; }
.employee-service-statement .employee-statement-note { margin: 8px 0 14px; font-size: 12px; color: #536f7e; }
.employee-service-statement .employee-evidence-stamp { font-size: 12px; font-weight: 600; line-height: 1.5; }
.employee-service-statement .t2-table-wrap,
.employee-service-control .employee-statement-workflow .t2-table-wrap { min-width: 0; max-width: 100%; overflow-x: auto; border: 1px solid #dce8ee; border-radius: 7px; }
.employee-service-statement .t2-table,
.employee-service-control .employee-statement-workflow .t2-table { width: 100%; min-width: 0; border-collapse: collapse; font-size: 13px; line-height: 1.55; table-layout: fixed; }
.employee-service-statement .t2-table th,
.employee-service-control .employee-statement-workflow .t2-table th { padding: 12px 14px; background: #eef4f7; color: #244d63; text-align: start; font-size: 12px; white-space: normal; }
.employee-service-statement .t2-table td,
.employee-service-control .employee-statement-workflow .t2-table td { padding: 13px 14px; border-top: 1px solid #dce8ee; text-align: start; vertical-align: top; overflow-wrap: anywhere; white-space: normal; }
.employee-service-statement .t2-table td small,
.employee-service-control .employee-statement-workflow .t2-table td small { display: block; margin-top: 5px; font-size: 11px; line-height: 1.5; color: #536f7e; }
.employee-service-statement .employee-month-lines span { margin: 0 0 6px; }
.employee-service-statement .employee-month-lines strong { display: block; white-space: normal; }
.employee-service-statement .employee-statement-columns { gap: 16px; }
.employee-service-statement .employee-statement-columns > div { padding: 16px; overflow-wrap: anywhere; }
.employee-service-statement .employee-print-stamp { font-size: 11px; font-weight: 400; }
@media screen and (max-width: 600px) {
  .employee-service-control .employee-statement-picker { padding: 12px; }
  .employee-service-control .employee-statement-select-label { width: 100%; }
  .employee-service-control .employee-statement-picker .t2-button { width: 100%; }
  .employee-service-statement { padding: 14px; gap: 20px; }
  .employee-service-statement .employee-statement-head h2 { font-size: 20px; }
  .employee-service-statement .employee-statement-head { flex-direction: column; }
  .employee-service-statement .employee-statement-identity,
  .employee-service-statement .employee-statement-columns { grid-template-columns: minmax(0, 1fr); }
  .employee-service-statement .t2-table,
  .employee-service-control .employee-statement-workflow .t2-table { display: block; }
  .employee-service-statement .t2-table thead,
  .employee-service-control .employee-statement-workflow .t2-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
  .employee-service-statement .t2-table tbody,
  .employee-service-control .employee-statement-workflow .t2-table tbody { display: block; }
  .employee-service-statement .t2-table tr,
  .employee-service-control .employee-statement-workflow .t2-table tr { display: block; border-top: 2px solid #c6d8e2; padding: 6px 0; }
  .employee-service-statement .t2-table tr:first-child,
  .employee-service-control .employee-statement-workflow .t2-table tr:first-child { border-top: 0; }
  .employee-service-statement .t2-table td,
  .employee-service-control .employee-statement-workflow .t2-table td { display: block; padding: 10px 12px; border: 0; }
  .employee-service-statement .t2-table td[data-label]::before,
  .employee-service-control .employee-statement-workflow .t2-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 5px; color: #536f7e; font-size: 11px; font-weight: 600; }
}
@media print {
  .employee-service-statement { width: auto; max-width: 100%; padding: 4mm; display: block; font-size: 10pt; line-height: 1.35; }
  .employee-service-statement .employee-statement-head { display: block; margin-bottom: 3mm; padding-bottom: 3mm; }
  .employee-service-statement .employee-statement-head h2 { font-size: 17pt; }
  .employee-service-statement section { break-inside: auto; margin-bottom: 3mm; }
  .employee-service-statement h3 { break-after: avoid; font-size: 11pt; }
  .employee-service-statement .employee-statement-identity { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .employee-service-statement .employee-statement-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .employee-service-statement .employee-statement-identity > div { padding: 2mm; }
  .employee-service-statement .t2-table-wrap { overflow: visible; border-radius: 0; }
  .employee-service-statement .t2-table { width: 100%; font-size: 9pt; table-layout: fixed; }
  .employee-service-statement .t2-table thead { display: table-header-group; }
  .employee-service-statement .t2-table th,
  .employee-service-statement .t2-table td { padding: 2mm; font-size: 9pt; }
  .employee-service-statement .t2-table td small { font-size: 8pt; }
  .employee-service-statement .employee-statement-note,
  .employee-service-statement .employee-evidence-stamp,
  .employee-service-statement .employee-print-stamp { font-size: 8pt; }
}
