
.hod-filters,
.hod-table-shell {
  width: 100%;
  min-width: 0;
  font-family: inherit;
  color: #0B2148;
  box-sizing: border-box;
}

.hod-filters *,
.hod-table-shell * {
  box-sizing: border-box;
}

.hod-fields {
  display: grid;
  grid-template-columns:
    minmax(180px, 1.35fr)
    minmax(130px, .72fr)
    minmax(190px, 1.15fr)
    minmax(155px, .9fr)
    auto;
  gap: 14px;
  align-items: end;
}

.hod-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hod-field-label {
  font-size: 13px;
  line-height: 1.25;
  font-weight: 850;
  color: #0B2148;
}

.hod-control-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.hod-control-wrap input,
.hod-control-wrap select {
  width: 100%;
  min-width: 0;
  height: 43px;
  padding: 0 13px;
  background: #FFFFFF !important;
  color: #173D72 !important;
  border: 1px solid #DDE4EE !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  outline: none;
  font: inherit;
  font-size: 14px !important;
  line-height: 1.35;
}

.hod-control-wrap input:focus,
.hod-control-wrap select:focus {
  border-color: #173D72 !important;
  box-shadow: 0 0 0 3px rgba(23, 61, 114, .1) !important;
}

.hod-search-wrap input {
  padding-left: 39px !important;
}

.hod-search-wrap > svg {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #657B99;
  stroke-width: 1.8;
  stroke-linecap: round;
  pointer-events: none;
}

.hod-control-wrap select {
  cursor: pointer;
  text-overflow: ellipsis;
}

.hod-control-wrap select:disabled {
  background: #EEF3F8 !important;
  color: #8997AC !important;
  border-color: #DDE4EE !important;
  opacity: 1 !important;
  cursor: not-allowed;
}

.hod-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 43px;
  padding: 0 14px !important;
  white-space: nowrap;
  background: #EEF3F8 !important;
  color: #173D72 !important;
  border: 1px solid #DDE4EE !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  cursor: pointer;
  transition:
    background .18s ease,
    color .18s ease,
    border-color .18s ease;
}

.hod-reset:hover {
  background: #173D72 !important;
  color: #FFFFFF !important;
  border-color: #173D72 !important;
}

.hod-reset:focus-visible {
  outline: 2px solid #173D72;
  outline-offset: 3px;
}

.hod-reset svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hod-active {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  font-size: 11px;
  color: #657B99;
  font-weight: 700;
}

.hod-active[hidden] {
  display: none !important;
}

.hod-active > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hod-chip {
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  background: #ECF2FA;
  color: #173D72;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.hod-chip:hover {
  background: #DDE8F6;
}

.hod-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 7px;
}

.hod-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px !important;
  color: #173D72;
}

.hod-table thead {
  background: #EDF3F9;
}

.hod-table th,
.hod-table td {
  padding: 11px 12px;
  vertical-align: top;
  border-bottom: 1px solid #E8EDF3;
}

.hod-table thead th {
  color: #0B2148;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.hod-table th:nth-child(1) {
  width: 27%;
}

.hod-table th:nth-child(2) {
  width: 10%;
}

.hod-table th:nth-child(3) {
  width: 43%;
}

.hod-table th:nth-child(4) {
  width: 20%;
}

.hod-table .hod-person {
  color: #102A4C;
  font-size: 13px;
  font-weight: 850;
}

.hod-table .hod-year,
.hod-table .hod-variant {
  color: #516B90;
}

.hod-table tbody tr:last-child th,
.hod-table tbody tr:last-child td {
  border-bottom: 0;
}

.hod-table tbody tr:hover {
  background: #F8FAFD;
}

.hod-sort {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-align: left;
}

.hod-sort span {
  font-size: 10px;
  color: #6D83A1;
}

.hod-sort:hover {
  color: #BA231F;
}

.hod-empty {
  padding: 24px !important;
  text-align: center;
  color: #657B99 !important;
}

.hod-pagination-bar {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto
    minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  min-height: 38px;
}

.hod-pagination-spacer {
  min-width: 0;
}

.hod-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.hod-page {
  height: 34px;
  min-width: 34px;
  padding: 0 7px;
  border: 1px solid #DDE4EE;
  background: #FFFFFF;
  color: #173D72;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.hod-page:hover:not(:disabled) {
  background: #EDF3F9;
}

.hod-page.is-active {
  background: #0B2148;
  border-color: #0B2148;
  color: #FFFFFF;
}

.hod-page:disabled {
  opacity: .42;
  cursor: default;
}

.hod-page:focus-visible {
  outline: 2px solid #173D72;
  outline-offset: 2px;
}

.hod-page-size {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  color: #0B2148;
  font-size: 13px;
  font-weight: 850;
}

.hod-page-size select {
  width: 72px;
  height: 38px;
  padding: 0 9px;
  border: 1px solid #DDE4EE !important;
  border-radius: 8px !important;
  background: #FFFFFF !important;
  color: #173D72 !important;
  font-family: inherit;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer;
}

.hod-page-size select:focus-visible {
  outline: 2px solid #173D72;
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .hod-fields {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .hod-field-search {
    grid-column: 1 / -1;
  }

  .hod-reset {
    justify-self: end;
  }
}

@media (max-width: 600px) {
  .hod-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .hod-field-search {
    grid-column: auto;
  }

  .hod-reset {
    width: 100%;
    justify-self: stretch;
  }

  .hod-table {
    min-width: 610px;
  }

  .hod-pagination-bar {
    grid-template-columns: 1fr;
    row-gap: 9px;
  }

  .hod-pagination-spacer {
    display: none;
  }

  .hod-pagination {
    grid-column: 1;
    grid-row: 1;
  }

  .hod-page-size {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
  }
}
