.pc-visually-hidden,
.pc-worker-native-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.pc-unit-select {
  position: relative;
  min-width: 390px;
  max-width: 520px;
}

.pc-unit-select__trigger {
  display: grid;
  grid-template-columns: 1fr auto;
  width: 100%;
  padding: 2px 6px 4px;
  color: #0b2540;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.pc-unit-select__label {
  grid-column: 1;
  color: #0b2540;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pc-unit-select__value {
  grid-column: 1;
  overflow: hidden;
  color: #0b2540;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-unit-select__chevron {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  padding-left: 10px;
  font-size: 20px;
}

.pc-unit-select__menu {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 8px);
  left: 0;
  width: min(520px, calc(100vw - 40px));
  max-height: min(420px, calc(100vh - 190px));
  padding: 8px;
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(10, 33, 60, .18);
}

.pc-unit-select__search { position: sticky; top: 0; z-index: 2; padding: 4px 4px 8px; background: #fff; }
.pc-unit-select__search input { width: 100%; min-height: 42px; padding: 9px 12px; font: inherit; border: 1px solid #cbd8e8; border-radius: 9px; outline: none; }
.pc-unit-select__search input:focus { border-color: #1746c7; box-shadow: 0 0 0 3px rgba(23,70,199,.12); }
.pc-unit-select__options { max-height: min(350px, calc(100vh - 260px)); overflow-y: auto; }

.pc-unit-select__option {
  display: grid;
  grid-template-columns: 1fr auto;
  width: 100%;
  padding: 11px 12px;
  color: #102a43;
  text-align: left;
  background: #fff;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.pc-unit-select__option small { grid-column: 1; display: block; margin-top: 2px; color: #58708a; font-size: 12px; }
.pc-unit-select__option > span:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding-left: 12px; font-weight: 800; }

.pc-unit-select__option:hover,
.pc-unit-select__option[data-selected="true"] {
  color: #fff;
  background: #1239b7;
}
.pc-unit-select__option:hover small,
.pc-unit-select__option[data-selected="true"] small { color: #dce7ff; }

.pc-header-page-context,
.pc-header-page-separator { display: none !important; }
.pc-header-actions { margin-left: auto !important; flex-shrink: 0; }
.pc-header-user { min-width: 0; max-width: 340px; }
.pc-header-user p:last-child { max-width: 340px; overflow: hidden; white-space: normal !important; line-height: 1.2; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.pc-unit-toast { position: fixed; z-index: 2000; top: 82px; right: 24px; padding: 11px 16px; color: #fff; font-weight: 700; background: #1239b7; border-radius: 10px; box-shadow: 0 12px 28px rgba(10,33,60,.22); animation: pc-toast-in .18s ease-out; }
@keyframes pc-toast-in { from { opacity: 0; transform: translateY(-8px); } }

.pc-worker-search {
  position: relative;
  margin-top: 6px;
}

.pc-worker-search__label {
  display: block;
  margin-bottom: 7px;
  color: #132b43;
  font-weight: 700;
}

.pc-worker-search__input input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  color: #132b43;
  font: inherit;
  background: #f8fbfd;
  border: 1px solid #d8e2ea;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(15, 35, 55, .09);
}

.pc-worker-search__results {
  position: absolute;
  z-index: 1100;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  max-height: 280px;
  padding: 5px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #d8e2ea;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(15, 35, 55, .16);
}

.pc-worker-search__option,
.pc-worker-search__new {
  display: block;
  width: 100%;
  padding: 10px 12px;
  color: #132b43;
  text-align: left;
  background: #fff;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.pc-worker-search__option:hover { background: #eef4ff; }
.pc-worker-search__new { margin-top: 4px; color: #047857; font-weight: 700; background: #ecfdf5; }

.pc-worker-search__tag {
  margin-top: 8px;
  padding: 8px 11px;
  overflow: hidden;
  color: #0b5e49;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 700px) {
  .pc-unit-select { min-width: 0; width: 100%; }
  .pc-unit-select__menu { width: calc(100vw - 24px); }
}
