.searching-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #5a6e74;
}
.searching-bar__form {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 900px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
}
.searching-bar__form::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='11' cy='11' r='7' stroke='%235A6E74' stroke-width='2'/%3E%3Cpath d='M20 20L16.65 16.65' stroke='%235A6E74' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.searching-bar__input {
  width: 100%;
  height: 70px;
  padding: 0 160px 0 55px;
  border: none;
  outline: none;
  font-size: 18px;
}
.searching-bar__button {
  position: absolute;
  right: 0;
  top: 0;
  height: 70px;
  min-width: 150px;
  border: none;
  background: #da801f;
  color: var(--c-btn-text-color);
  font-size: 18px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .searching-bar__input {
    padding: 0 130px 0 55px;
    font-size: 16px;
  }
  .searching-bar__button {
    min-width: 120px;
    font-size: 16px;
  }
}
@media (max-width: 520px) {
  .searching-bar__form {
    flex-direction: column;
    background: transparent;
    gap: 10px;
  }
  .searching-bar__form::before {
    top: 35px;
  }
  .searching-bar__input {
    padding-left: 50px;
    border-radius: 12px;
    background: white;
  }
  .searching-bar__button {
    position: static;
    width: 100%;
    border-radius: 12px;
  }
}
.status-dropdown {
  position: relative;
  min-width: 180px;
}
.status-dropdown.is-open .status-dropdown__trigger {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.status-dropdown.is-open .status-dropdown__arrow {
  transform: rotate(180deg);
}
.status-dropdown__trigger {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #d7dce5;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.status-dropdown__label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}
.status-dropdown__arrow {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.status-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  width: 100%;
  min-width: 220px;
  max-height: 280px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #d7dce5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}
.status-dropdown__options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.status-dropdown__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.status-dropdown__option:hover {
  background: #f5f7fb;
}
.status-dropdown__radio {
  margin: 0;
  flex-shrink: 0;
}
.status-dropdown__option-text {
  font-size: 14px;
  line-height: 1.3;
}
.status-dropdown__error {
  font-size: 13px;
  color: #b91c1c;
  padding: 8px;
}

.personnel-table__status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.personnel-table__status--success {
  background: #dcfce7;
  color: #166534;
}
.personnel-table__status--warning {
  background: #fef3c7;
  color: #92400e;
}
.personnel-table__status--danger {
  background: #fee2e2;
  color: #991b1b;
}
.personnel-table__status--info {
  background: #dbeafe;
  color: #1d4ed8;
}
.personnel-table__status--neutral {
  background: #e5e7eb;
  color: #374151;
}

.personnel-table {
  padding: 24px 0;
  background: #f4f6f8;
}
.personnel-table__container {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 16px;
}
.personnel-table__card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  overflow: visible;
  min-height: 360px;
}
.personnel-table__wrapper {
  width: 100%;
  overflow: visible;
}
.personnel-table__table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
}
.personnel-table__head {
  background: #f8fafc;
}
.personnel-table__row {
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
}
.personnel-table__row:hover {
  background: #fafafa;
}
.personnel-table__row--head:hover {
  background: transparent;
}
.personnel-table__cell {
  padding: 18px 16px;
  vertical-align: middle;
  font-size: 14px;
  color: #111827;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.personnel-table__cell--head {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #6b7280;
  text-align: left;
  text-transform: uppercase;
  white-space: normal;
}
.personnel-table__cell--name {
  width: 27%;
  min-width: 220px;
}
.personnel-table__cell--unit {
  width: 28%;
  min-width: 200px;
}
.personnel-table__cell--position {
  width: 14%;
  min-width: 100px;
}
.personnel-table__cell--status {
  width: 14%;
  min-width: 140px;
}
.personnel-table__cell--timeline {
  width: 17%;
  min-width: 170px;
}
.personnel-table__person {
  display: flex;
  align-items: center;
  gap: 16px;
}
.personnel-table__avatar {
  position: relative;
  width: 80px;
  height: 80px;
  min-width: 80px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: #dbeafe;
  color: #1e3a8a;
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.2);
  cursor: default;
}
.personnel-table__avatar--skeleton {
  background: linear-gradient(90deg, #e5e7eb 20%, #f3f4f6 50%, #e5e7eb 80%);
  background-size: 200% 100%;
  animation: personnel-avatar-skeleton 1.15s ease-in-out infinite;
}
.personnel-table__avatar--skeleton .personnel-table__avatar-initial {
  opacity: 0;
}
.personnel-table__avatar-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.personnel-table__avatar-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: opacity 0.18s ease;
}
.personnel-table__avatar-preview {
  position: fixed;
  left: 0;
  top: 0;
  width: 160px;
  height: 213px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.26);
  border: 1px solid rgba(148, 163, 184, 0.28);
  pointer-events: none;
  z-index: 9999;
}
.personnel-table__avatar-preview[hidden] {
  display: none;
}
.personnel-table__avatar-preview-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.personnel-table__person-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.personnel-table__fullname {
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  word-break: break-word;
}
.personnel-table__subtext {
  font-size: 12px;
  color: #6b7280;
}
.personnel-table__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.status-dropdown__trigger .personnel-table__status {
  max-width: 100%;
  min-height: 30px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-break: break-word;
  line-height: 1.2;
}
.personnel-table__status--success {
  background: #dcfce7;
  color: #166534;
}
.personnel-table__status--warning {
  background: #fef3c7;
  color: #92400e;
}
.personnel-table__status--danger {
  background: #fee2e2;
  color: #991b1b;
}
.personnel-table__status--info {
  background: #dbeafe;
  color: #1d4ed8;
}
.personnel-table__status--neutral {
  background: #e5e7eb;
  color: #374151;
}
.personnel-table__timeline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.personnel-table__timeline-button:hover {
  background: #f9fafb;
  border-color: #cbd5e1;
}
.personnel-table__timeline-button:active {
  transform: translateY(1px);
}
.personnel-table__empty-row {
  background: #fff;
}
.personnel-table__empty-cell {
  padding: 28px 16px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}

@keyframes personnel-avatar-skeleton {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.status-dropdown {
  position: relative;
  width: 100%;
  min-width: 0;
}
.status-dropdown__trigger {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 12px 6px 10px;
  border: 1px solid #cfd8e3;
  border-radius: 12px;
  background: #fff;
  color: #111827;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, filter 0.2s ease;
}
.status-dropdown__trigger:hover {
  border-color: #b8c4d3;
  background: #f8fafc;
}
.status-dropdown__trigger:focus-visible {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}
.status-dropdown__trigger[aria-expanded=true] {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.2);
  background: #f8fbff;
}
.status-dropdown__trigger:has(.personnel-table__status--success) {
  background: #dcfce7;
  color: #166534;
  border-color: rgba(22, 101, 52, 0.22);
}
.status-dropdown__trigger:has(.personnel-table__status--warning) {
  background: #fef3c7;
  color: #92400e;
  border-color: rgba(146, 64, 14, 0.22);
}
.status-dropdown__trigger:has(.personnel-table__status--danger) {
  background: #fee2e2;
  color: #991b1b;
  border-color: rgba(153, 27, 27, 0.22);
}
.status-dropdown__trigger:has(.personnel-table__status--info) {
  background: #dbeafe;
  color: #1d4ed8;
  border-color: rgba(29, 78, 216, 0.18);
}
.status-dropdown__trigger:has(.personnel-table__status--neutral) {
  background: #e5e7eb;
  color: #374151;
  border-color: rgba(55, 65, 81, 0.18);
}
.status-dropdown__label {
  min-width: 0;
  flex: 1 1 auto;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.status-dropdown__label-main {
  max-width: 100%;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.2px;
}
.status-dropdown__label-sub {
  max-width: 100%;
  justify-content: center;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 600;
  opacity: 0.9;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  word-break: break-word;
}
.status-dropdown__arrow {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  font-size: 12px;
  line-height: 1;
  opacity: 0.72;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.status-dropdown__trigger[aria-expanded=true] .status-dropdown__arrow {
  transform: rotate(180deg);
  opacity: 1;
}
.status-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  width: 260px;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
  overflow: visible;
}
.status-dropdown__panels {
  position: relative;
}
.status-dropdown__panel {
  min-width: 0;
  max-width: none;
  width: 100%;
}
.status-dropdown__panel--locations {
  position: absolute;
  top: 0;
  width: 260px;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
}
.status-dropdown__panel--locations.is-open-right {
  left: calc(100% + 8px);
}
.status-dropdown__panel--locations.is-open-left {
  right: calc(100% + 8px);
}
.status-dropdown__panel-title {
  margin-bottom: 8px;
  padding: 4px 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6b7280;
}
.status-dropdown__options {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
}
.status-dropdown__option {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.status-dropdown__option:hover {
  background: #f8fafc;
}
.status-dropdown__option.is-active {
  background: #eff6ff;
  color: #1d4ed8;
}
.status-dropdown__option.has-children {
  padding-right: 10px;
}
.status-dropdown__option-text {
  font-size: 14px;
  color: inherit;
  line-height: 1.35;
}
.status-dropdown__option-arrow, .status-dropdown__option-check {
  flex: 0 0 auto;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 992px) {
  .personnel-table__cell {
    padding: 14px 12px;
  }
  .personnel-table__fullname {
    font-size: 14px;
  }
  .personnel-table__subtext {
    font-size: 11px;
  }
}
@media (max-width: 640px) {
  .personnel-table {
    padding: 16px 0;
  }
  .personnel-table__container {
    padding: 0 10px;
  }
  .personnel-table__card {
    border-radius: 14px;
  }
  .personnel-table__avatar {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .personnel-table__status {
    font-size: 12px;
    padding: 6px 10px;
  }
  .status-dropdown__trigger {
    min-height: 38px;
    padding-right: 10px;
  }
  .status-dropdown__menu {
    width: 220px;
    min-width: 220px;
  }
  .status-dropdown__panel--locations {
    width: 220px;
  }
}
@media (max-width: 1024px) {
  .personnel-table__card {
    min-height: 320px;
  }
  .personnel-table__table {
    table-layout: auto;
  }
  .personnel-table__cell--name, .personnel-table__cell--unit, .personnel-table__cell--position, .personnel-table__cell--status, .personnel-table__cell--timeline {
    width: auto;
    min-width: 0;
  }
}
.personnel-table__timeline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid #d0d7e2;
  border-radius: 12px;
  background: #fff;
  color: #1e293b;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.personnel-table__timeline-button:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}
.personnel-table__timeline-button.is-open {
  border-color: #60a5fa;
  background: #dbeafe;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}
.personnel-table__timeline-row {
  background: #f8fafc;
}
.personnel-table__timeline-row.is-open {
  animation: personnelTimelineFadeIn 0.22s ease;
}
.personnel-table__timeline-cell {
  padding: 0 !important;
  background: #f8fafc;
  border-top: 0;
  max-width: 0;
  overflow: hidden;
}
.personnel-table__timeline {
  width: 100%;
  max-width: 100%;
  padding: 18px 20px 20px;
  border-top: 1px solid #e2e8f0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(248, 250, 252, 0.94) 100%);
}
.personnel-table__timeline-scroll {
  display: flex;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 8px;
  scroll-behavior: smooth;
}
.personnel-table__timeline-scroll::-webkit-scrollbar {
  height: 8px;
}
.personnel-table__timeline-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}
.personnel-table__timeline-scroll::-webkit-scrollbar-track {
  background: #eef2f7;
  border-radius: 999px;
}
.personnel-table__timeline-item {
  position: relative;
  flex: 0 0 320px;
  min-width: 320px;
  max-width: 320px;
  min-height: 110px;
  padding: 14px 16px 16px;
  border: 1px solid #dbe3ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}
.personnel-table__timeline-item--success {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.08);
}
.personnel-table__timeline-item--warning {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.08);
}
.personnel-table__timeline-item--info {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.08);
}
.personnel-table__timeline-item--danger {
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.08);
}
.personnel-table__timeline-item--neutral {
  border-color: rgba(148, 163, 184, 0.4);
  box-shadow: 0 10px 24px rgba(100, 116, 139, 0.06);
}
.personnel-table__timeline-line {
  position: absolute;
  top: 28px;
  right: -15px;
  width: 16px;
  height: 2px;
  background: #cbd5e1;
}
.personnel-table__timeline-item:last-child .personnel-table__timeline-line {
  display: none;
}
.personnel-table__timeline-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.personnel-table__timeline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 16px;
  border-radius: 999px;
  background: #f1f5f9;
  flex-shrink: 0;
}
.personnel-table__timeline-title-group {
  min-width: 0;
}
.personnel-table__timeline-status {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}
.personnel-table__timeline-substatus {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  color: #64748b;
}
.personnel-table__timeline-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.personnel-table__timeline-period {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: 14px;
  line-height: 1.5;
}
.personnel-table__timeline-period-prefix {
  color: #64748b;
  font-weight: 500;
}
.personnel-table__timeline-datetime {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.personnel-table__timeline-date {
  color: #334155;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.personnel-table__timeline-time {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
}
.personnel-table__timeline-current {
  color: #166534;
  font-weight: 700;
}
.personnel-table__timeline-empty {
  padding: 8px 0;
  font-size: 14px;
  color: #64748b;
}

@keyframes personnelTimelineFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.personnel-table__cell--name,
.personnel-table__cell--unit,
.personnel-table__cell--position {
  position: relative;
  overflow: visible;
}

.personnel-table__filter-head {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: visible;
}
.personnel-table__filter-head:focus-within {
  z-index: 30;
}

.personnel-table__filter-trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}
.personnel-table__filter-trigger:hover {
  background: #f7f9fc;
  border-color: #dbe3ef;
}
.personnel-table__filter-trigger:focus-visible {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.personnel-table__filter-trigger[aria-expanded=true] {
  background: #eef5ff;
  border-color: #bfd7ff;
  color: #1d4ed8;
}

.personnel-table__filter-trigger-text {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-overflow: initial;
}

.personnel-table__filter-trigger-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: #6b7280;
  transition: transform 160ms ease, color 160ms ease;
}

.personnel-table__filter-trigger[aria-expanded=true] .personnel-table__filter-trigger-icon {
  transform: rotate(180deg);
  color: #1d4ed8;
}

.personnel-table__filter-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 40;
  width: min(460px, 90vw);
  min-width: 340px;
  max-width: 460px;
  border: 1px solid #d9dee8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  animation: personnel-unit-filter-fade-in 160ms ease;
}

.personnel-table__filter-dropdown[hidden] {
  display: none;
}

@keyframes personnel-unit-filter-fade-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.personnel-table__filter-menu {
  max-height: 420px;
  overflow: auto;
  padding: 8px 0;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.personnel-table__filter-menu::-webkit-scrollbar {
  width: 10px;
}
.personnel-table__filter-menu::-webkit-scrollbar-track {
  background: transparent;
}
.personnel-table__filter-menu::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: #cbd5e1;
  background-clip: padding-box;
}
.personnel-table__filter-menu::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
  background-clip: padding-box;
}

.personnel-table__filter-divider {
  height: 1px;
  margin: 6px 0;
  background: #eef2f7;
}

.personnel-table__filter-options {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.personnel-table__filter-options .personnel-table__filter-options {
  margin-left: 16px;
  padding-left: 12px;
  border-left: 1px solid #dbe3ef;
}

.personnel-table__filter-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: #111827;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.personnel-table__filter-option:hover, .personnel-table__filter-option:focus-visible {
  background: #f3f6fb;
  outline: none;
}
.personnel-table__filter-option.is-active {
  background: #eaf2ff;
  color: #1d4ed8;
}

.personnel-table__filter-option-label {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.personnel-table__filter-option-check {
  flex: 0 0 auto;
  color: #2563eb;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.personnel-unit-filter__empty,
.personnel-unit-filter__loading,
.personnel-unit-filter__error {
  padding: 14px;
  font-size: 14px;
  line-height: 1.4;
}

.personnel-unit-filter__empty,
.personnel-unit-filter__loading {
  color: #6b7280;
}

.personnel-unit-filter__error {
  color: #b91c1c;
}

@media screen and (max-width: 767px) {
  .personnel-table__filter-dropdown {
    left: auto;
    right: 0;
    width: min(360px, 100vw - 32px);
    min-width: min(360px, 100vw - 32px);
    max-width: min(360px, 100vw - 32px);
  }
  .personnel-table__filter-menu {
    max-height: 70vh;
  }
  .personnel-table__filter-option {
    padding: 10px 12px;
  }
}
.personnel-table__filter-head {
  position: relative;
}
.personnel-table__filter-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #d7deea;
  border-radius: 10px;
  background-color: #fff;
  color: #1f2937;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.personnel-table__filter-trigger:hover, .personnel-table__filter-trigger[aria-expanded=true] {
  border-color: #9fb3d9;
  background-color: #f8fbff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}
.personnel-table__filter-trigger-text {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: normal;
}
.personnel-table__filter-trigger-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background-color: #e8eefc;
  color: #23408e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.personnel-table__filter-trigger-icon {
  flex: 0 0 auto;
  color: #667085;
  font-size: 12px;
}
.personnel-table__filter-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  width: min(320px, 92vw);
  max-width: calc(100vw - 32px);
}
.personnel-table__filter-menu {
  border: 1px solid #d7deea;
  border-radius: 14px;
  background-color: #fff;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}
.personnel-table__filter-menu--checkboxes {
  display: flex;
  flex-direction: column;
  max-height: 420px;
  padding: 12px;
}
.personnel-table__filter-search {
  margin-bottom: 10px;
}
.personnel-table__filter-search-input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d7deea;
  border-radius: 10px;
  background-color: #fff;
  color: #1f2937;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.personnel-table__filter-search-input::placeholder {
  color: #98a2b3;
}
.personnel-table__filter-search-input:focus {
  border-color: #7c9fe8;
  box-shadow: 0 0 0 4px rgba(124, 159, 232, 0.16);
}
.personnel-table__filter-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}
.personnel-table__filter-action {
  border: none;
  background: none;
  padding: 0;
  color: #335cbd;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.personnel-table__filter-action:disabled {
  opacity: 0.45;
  cursor: default;
}
.personnel-table__filter-divider {
  height: 1px;
  margin: 0 -12px 10px;
  background-color: #e5e7eb;
}
.personnel-table__filter-options {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 320px;
  overflow-x: hidden;
  overflow-y: auto;
}
.personnel-table__filter-options--checkboxes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 4px;
}
.personnel-table__checkbox-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: flex-start;
  column-gap: 10px;
  row-gap: 4px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.personnel-table__checkbox-option:hover {
  background-color: #f8fafc;
}
.personnel-table__checkbox-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.personnel-table__checkbox-box {
  grid-column: 1;
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid #b8c3d9;
  border-radius: 5px;
  background-color: #fff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.personnel-table__checkbox-label {
  grid-column: 2;
  display: block;
  min-width: 0;
  width: 100%;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.personnel-table__checkbox-input:checked + .personnel-table__checkbox-box {
  border-color: #335cbd;
  background-color: #335cbd;
}
.personnel-table__checkbox-input:checked + .personnel-table__checkbox-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.personnel-table__filter-empty {
  padding: 12px 8px;
  color: #667085;
  font-size: 14px;
  text-align: center;
}
.personnel-table__filter-head[data-status-filter] .personnel-table__filter-dropdown {
  width: min(720px, 100vw - 32px);
  overflow: visible;
}
.personnel-table__filter-menu--status {
  min-width: 100%;
  overflow: visible;
}
.personnel-table__status-filter-layout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.personnel-table__status-filter-panel {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 18px;
  background-color: #fff;
}
.personnel-table__status-filter-panel--statuses {
  min-width: 0;
}
.personnel-table__status-filter-panel--locations {
  flex: 0 0 min(300px, 42%);
  min-height: 280px;
  padding: 12px;
  border: 1px solid #dbe3f0;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}
.personnel-table__status-filter-child-title {
  margin-bottom: 10px;
  padding: 2px 4px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}
.personnel-table__status-filter-child-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 308px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
}
.personnel-table__checkbox-option--parent {
  grid-template-columns: 18px minmax(0, 1fr) auto;
  background-color: #f8fafc;
}
.personnel-table__checkbox-option--parent.is-active {
  background-color: #eff6ff;
  color: #1d4ed8;
}
.personnel-table__checkbox-option--parent.has-children {
  padding-right: 12px;
}
.personnel-table__status-filter-arrow {
  grid-column: 3;
  justify-self: end;
  align-self: center;
  color: currentColor;
  font-size: 13px;
  font-weight: 700;
}
.personnel-table__checkbox-option--nested {
  padding-top: 8px;
  padding-bottom: 8px;
}
.personnel-table__checkbox-option--disabled {
  cursor: pointer;
  opacity: 1;
}
.personnel-table__checkbox-option--disabled:hover {
  background-color: #f8fafc;
}
.personnel-table__filter-empty--inline {
  padding: 18px 8px;
}

@media (max-width: 900px) {
  .personnel-table__filter-head[data-status-filter] .personnel-table__filter-dropdown {
    width: min(420px, 100vw - 24px);
  }
  .personnel-table__status-filter-layout {
    flex-direction: column;
  }
  .personnel-table__status-filter-panel {
    width: 100%;
  }
  .personnel-table__status-filter-panel--locations {
    flex-basis: auto;
    min-height: 0;
  }
}
.personnel-table__filter-head[data-status-filter] .personnel-table__filter-dropdown {
  width: min(340px, 100vw - 32px);
  overflow: visible;
}
.personnel-table__filter-menu--status {
  min-width: 100%;
  max-height: 420px;
  overflow: hidden;
}
.personnel-table__status-filter-panel--statuses {
  min-width: 0;
}
.personnel-table__status-filter-submenu {
  position: absolute;
  top: 84px;
  z-index: 41;
  width: min(280px, 100vw - 32px);
  max-width: calc(100vw - 32px);
  padding: 12px;
  border: 1px solid #dbe3f0;
  border-radius: 18px;
  background-color: #fff;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}
.personnel-table__status-filter-submenu.is-open-right {
  left: calc(100% + 12px);
  right: auto;
}
.personnel-table__status-filter-submenu.is-open-left {
  right: calc(100% + 12px);
  left: auto;
}
.personnel-table__status-filter-submenu-title {
  margin-bottom: 10px;
  padding: 2px 4px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}
.personnel-table__status-filter-child-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 308px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
}
.personnel-table__checkbox-option--parent {
  grid-template-columns: 18px minmax(0, 1fr) auto;
  background-color: #f8fafc;
}
.personnel-table__checkbox-option--parent.is-active {
  background-color: #eff6ff;
  color: #1d4ed8;
}
.personnel-table__checkbox-option--parent.has-children {
  padding-right: 12px;
}
.personnel-table__status-filter-arrow {
  grid-column: 3;
  justify-self: end;
  align-self: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.personnel-table__checkbox-option--nested {
  padding-top: 8px;
  padding-bottom: 8px;
}
.personnel-table__checkbox-option--disabled {
  cursor: pointer;
  opacity: 1;
}
.personnel-table__checkbox-option--disabled:hover {
  background-color: #f8fafc;
}

@media (max-width: 900px) {
  .personnel-table__filter-head[data-status-filter] .personnel-table__filter-dropdown {
    width: min(340px, 100vw - 24px);
  }
  .personnel-table__status-filter-submenu {
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    width: min(340px, 100vw - 24px);
  }
  .personnel-table__status-filter-submenu.is-open-left, .personnel-table__status-filter-submenu.is-open-right {
    left: 0;
    right: auto;
  }
}

/*# sourceMappingURL=tabel.css.map */
