/* Keep the captured system styles; these rules implement only the requested delta. */
[hidden] { display: none !important; }
button, input { font: inherit; text-rendering: inherit; }
button { cursor: pointer; }
button:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid #1890ff; outline-offset: 3px; }
.reference-link { color: #1890ff; }
.synthetic-avatar { display: block; width: 50px; height: 50px; flex: 0 0 auto; border-radius: 10px; background-image: url('assets/synthetic-avatars.png'); background-size: 700% 400%; background-repeat: no-repeat; }
.synthetic-avatar-large { width: 64px; height: 64px; border: 2px solid #fff; border-radius: 50%; box-shadow: 5px 5px 10px #888; }
.initial-avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 50px; height: 50px; border-radius: 10px; background: #edf0f7; color: #586582; font-size: 24px; }
.initial-avatar-large { width: 64px; height: 64px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 3px 8px #0002; font-size: 28px; }
.employee-status { border: 1px solid #d9d9d9; padding: 0 5px; color: #888; font-size: 12px; white-space: nowrap; }
.department-title { display: flex; align-items: center; gap: 10px; }
.department-name { border: 0; padding: 0; color: inherit; font: inherit; background: none; text-align: left; }
.department-profile-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 4px; border: 0; border-radius: 3px; color: #ff6857; background: transparent; font-size: 20px; }
.department-profile-icon:hover { background: #fff1ed; }
.department-name:hover { color: #ff6857; }
.demo-empty { padding: 90px 16px; text-align: center; color: #a2a4a8; }
.department-dialog { position: fixed; inset: 0; width: 680px; max-width: calc(100vw - 40px); height: fit-content; max-height: calc(100vh - 48px); margin: auto; padding: 0; overflow: auto; border: 0; border-radius: 2px; background: #fff; color: rgba(0,0,0,.85); box-shadow: 0 6px 16px rgba(0,0,0,.16), 0 3px 6px -4px rgba(0,0,0,.12); }
.department-dialog::backdrop { background: rgba(0,0,0,.45); }
body:has(.department-dialog[open]) { overflow: hidden; }
.dialog-header { position: relative; padding: 16px 24px; border-bottom: 1px solid #f0f0f0; }
.dialog-header h2 { margin: 0; font-size: 16px; line-height: 24px; font-weight: 500; }
.dialog-close { position: absolute; top: 0; right: 0; width: 56px; height: 56px; padding: 0; border: 0; background: transparent; color: #8c8c8c; font-size: 25px; font-weight: 300; }
.dialog-close:hover { color: #262626; }
.dialog-body { padding: 24px; }
.dialog-department { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-size: 16px; font-weight: 500; }
.sample-label { color: #a2a4a8; font-size: 12px; font-weight: 400; }
.department-history-wrap { overflow-x: auto; }
.department-history { width: 100%; border-collapse: collapse; table-layout: fixed; }
.department-history th, .department-history td { padding: 12px 16px; border: 1px solid #f0f0f0; text-align: left; font-size: 14px; line-height: 22px; overflow-wrap: anywhere; }
.department-history th { background: #fafafa; font-weight: 500; }
.department-history tr:hover td { background: #fafafa; }
.dialog-footer { border-top: 1px solid #f0f0f0; padding: 10px 16px; text-align: right; }
.dialog-footer button { min-width: 64px; }
.appointment-type { padding: 0; border: 0; background: transparent; text-align: left; color: inherit; line-height: inherit; }
.appointment-type:hover { color: #ff6857; }
.department-info-trigger { display: inline-flex; align-items: center; padding: 0; margin-left: 8px; border: 0; background: transparent; color: #ff6857; font-size: 16px; line-height: 1; vertical-align: -.125em; }
.department-info-trigger:hover { color: #ff4733; }
.department-info-tooltip { position: fixed; z-index: 10000; max-width: min(250px, calc(100vw - 24px)); }
.department-info-tooltip .ant-tooltip-arrow { left: var(--arrow-left, 50%); }
.assignment-label { display: inline-block; margin-left: 6px; padding: 0 4px; color: #8c8c8c; font-size: 11px; line-height: 16px; border: 1px solid #e5e6e8; border-radius: 2px; white-space: nowrap; }
.appointment-type { color: #ff6857; border-bottom: 1px dotted #ff6857; }
.appointment-tooltip { position: fixed; z-index: 10000; width: max-content; max-width: calc(100vw - 24px); padding: 8px 12px; border-radius: 2px; background: rgba(0,0,0,.85); color: #fff; font-size: 14px; line-height: 23px; box-shadow: 0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px rgba(0,0,0,.08); }
.tooltip-period { white-space: nowrap; color: rgba(255,255,255,.85); }
.demo-pagination { display: flex; justify-content: flex-end; gap: 8px; margin: 16px 0; }
.demo-pagination button { min-width: 32px; height: 32px; border: 1px solid #d9d9d9; border-radius: 2px; background: #fff; color: rgba(0,0,0,.85); }
.demo-pagination button[aria-current="page"] { color: #1890ff; border-color: #1890ff; }
.demo-pagination button:disabled { color: #d9d9d9; cursor: not-allowed; }
.return-directory { display: inline-block; margin-left: 24px; color: #acb4cc; font-size: 12px; font-weight: 400; }
.return-directory:hover { color: #fff; }
.prof-table-tip[aria-expanded="false"] .dropIcon { transform: rotate(180deg); }
.cardHeader___4hsiv { cursor: pointer; }
.employee-summary .info_item.summary-right { margin-left: 50%; }
.employee-summary .discipline-summary { display: flex; align-items: flex-start; }
.employee-summary .discipline-summary .info_label { flex: 0 0 27%; white-space: nowrap; }
.discipline-records { flex: 1; min-width: 0; margin: 0; padding: 0; list-style: none; }
.discipline-records li { color: #f5222d; line-height: 22px; overflow-wrap: anywhere; }
.discipline-records li + li { margin-top: 6px; }
#demo-watermark { position: fixed; inset: -70px -150px; z-index: 9990; display: grid; grid-template-columns: repeat(7, 260px); grid-auto-rows: 135px; overflow: hidden; pointer-events: none; opacity: .035; }
#demo-watermark span { display: block; align-self: center; transform: rotate(-20deg); color: #7d8490; font: 16px/23px Georgia, serif; text-align: center; white-space: pre-line; }
@media (max-width: 850px) {
  body[data-view="employee"] #root > div { display: block !important; }
  .profile-detail { width: 100%; padding: 10px !important; }
  .profile-detail div[style*="width: 1200px"] { width: 100% !important; flex-direction: column; }
  .profile-detail div[style*="width: 838px"], .profile-detail div[style*="width: 356px"] { width: 100% !important; margin-right: 0 !important; }
  .profile-detail .employee-topbar { min-width: 0; }
  .cardContent___Id_vS { padding-left: 16px; padding-right: 16px; }
  .change-table .ant-table-content { overflow-x: auto; }
  .change-table table { min-width: 700px; }
  .tab-ctn > div[style*="display: flex"] { display: block !important; }
  .tab-ctn > div > div[style*="width: 260px"] { width: 100% !important; max-height: 200px; overflow: auto; }
  .tab-ctn > div > div[style*="calc(100% - 260px)"] { width: 100% !important; padding: 20px !important; }
  .person-container > .item { width: calc(50% - 12px); margin-right: 24px; }
  .person-container > .item:nth-child(3n) { margin-right: 24px; }
  .person-container > .item:nth-child(2n) { margin-right: 0; }
  .department-history th, .department-history td { padding: 10px 8px; }
  .department-history { min-width: 520px; }
  .department-history th:first-child, .department-history td:first-child { width: 96px; white-space: nowrap; }
  .department-history col:first-child { width: 100px !important; }
  .dialog-body { padding: 20px 16px; }
  .employee-identity { height: auto !important; padding: 22px 20px 14px; flex-direction: column; align-items: stretch !important; gap: 16px; }
  .employee-identity > div { width: 100% !important; padding: 0 !important; justify-content: flex-start !important; }
  .employee-identity .employee-name { font-size: 28px !important; margin-left: 20px !important; white-space: nowrap; }
  .employee-identity > div:last-child > div { display: flex; gap: 24px; }
  .employee-summary .info_ctn { display: grid; grid-template-columns: 1fr; padding: 0 20px; }
  .employee-summary .info_item { width: 100% !important; min-width: 0; display: flex; align-items: baseline; padding: 5px 0; }
  .employee-summary .info_label { width: 100px; min-width: 100px; text-align: left; white-space: nowrap; }
  .employee-summary .info_value { width: auto; }
  .employee-summary .info_item.summary-right { margin-left: 0; }
  .employee-summary .discipline-summary { align-items: flex-start; }
  .job-summary { flex-direction: column; gap: 12px; }
  .job-summary > div { width: 100% !important; padding: 0 !important; }
  .job-summary .ant-descriptions-item-content { overflow-wrap: anywhere; }
}

.department-change-kind { display: inline-block; white-space: nowrap; }
