.archive-cell-wrap {
  position: relative;
}

.archive-cell-wrap.open {
  z-index: 21;
}

.archive-cell-button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.archive-cell-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
  max-height: 220px;
  overflow: auto;
  z-index: 8;
  border: 1px solid #cfd8e5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(17, 31, 56, 0.22);
  padding: 6px;
  display: none;
}

.archive-cell-wrap.open .archive-cell-menu {
  display: grid;
  gap: 4px;
}

.archive-cell-option {
  min-height: 24px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  padding: 3px 8px;
  color: #1f3556;
  font-size: 11px;
}

.archive-cell-option:hover,
.archive-cell-option.is-active {
  background: #e7effb;
}

.archive-inline-edit {
  width: 100%;
  min-height: 16px;
  border: 0;
  background: transparent;
  padding: 0 3px;
  color: #1d3353;
  font: inherit;
  font-size: 10px;
  text-align: left;
  cursor: text;
}

.employee-inline-input {
  width: 100%;
  min-height: 16px;
  border: 0;
  background: transparent;
  padding: 0 3px;
  color: #1d3353;
  font: inherit;
  font-size: 10px;
  text-align: left;
}

.employee-lead-inline-input {
  width: 100%;
  min-height: 16px;
  border: 0;
  background: transparent;
  padding: 0 3px;
  color: #1d3353;
  font: inherit;
  font-size: 10px;
  text-align: left;
}

.employee-lead-inline-input:focus {
  outline: 1px solid #7ea5d6;
  border-radius: 4px;
  background: #f6f9fe;
}

.employee-inline-input:focus {
  outline: 1px solid #7ea5d6;
  border-radius: 4px;
  background: #f6f9fe;
}

.employee-cell-input,
.employee-lead-cell-input {
  width: 100%;
  min-height: 16px;
  border: 0;
  background: transparent;
  padding: 0 3px;
  color: #1d3353;
  font: inherit;
  font-size: 10px;
  text-align: left;
}

.employee-inline-input::placeholder,
.employee-lead-inline-input::placeholder,
.employee-cell-input::placeholder,
.employee-lead-cell-input::placeholder {
  color: rgba(29, 51, 83, 0.2);
}

.employee-inline-input:focus::placeholder,
.employee-lead-inline-input:focus::placeholder,
.employee-cell-input:focus::placeholder,
.employee-lead-cell-input:focus::placeholder {
  color: rgba(29, 51, 83, 0.32);
}

.employee-cell-input:focus,
.employee-lead-cell-input:focus {
  outline: 1px solid #7ea5d6;
  border-radius: 4px;
  background: #f6f9fe;
}

.employee-cell-input.employee-cell-invalid,
.employee-lead-cell-input.employee-cell-invalid {
  background: #fff0f0;
  outline: 1px solid #d36363;
  border-radius: 4px;
}

.employee-cell-input[type="date"],
.employee-lead-cell-input[type="date"] {
  min-width: 120px;
  color: #1d3353;
}

.employee-cell-input[type="date"].employee-date-empty,
.employee-lead-cell-input[type="date"].employee-date-empty {
  color: rgba(29, 51, 83, 0.2);
}

.employee-cell-input[type="date"].employee-date-empty::-webkit-datetime-edit,
.employee-lead-cell-input[type="date"].employee-date-empty::-webkit-datetime-edit {
  color: rgba(29, 51, 83, 0.2);
}

.employee-cell-input[type="date"]::-webkit-datetime-edit,
.employee-lead-cell-input[type="date"]::-webkit-datetime-edit {
  color: #1d3353;
}

.employee-cell-input[type="date"]::-webkit-calendar-picker-indicator,
.employee-lead-cell-input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.46;
}

.employee-readonly-cell {
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  color: #1d3353;
  font-weight: 700;
}

.employee-option-pill {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  border-radius: 999px;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 700;
}

.employee-option-white {
  color: #334f70;
  background: #ffffff;
  border: 1px solid #b6cbe3;
}

.employee-plus-btn {
  min-width: 132px;
  padding: 5px 10px;
}

.emp-list-cell-wrap,
.emp-lead-cell-wrap {
  position: relative;
}

.emp-list-cell-button,
.emp-lead-cell-button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.emp-list-cell-menu,
.emp-lead-cell-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 190px;
  max-height: 180px;
  overflow: auto;
  background: #f4f8fe;
  border: 1px solid #9eb8d6;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(14, 30, 52, 0.24);
  display: none;
  z-index: 25;
  padding: 4px;
}

.emp-list-cell-wrap.open .emp-list-cell-menu,
.emp-lead-cell-wrap.open .emp-lead-cell-menu {
  display: block;
}

.emp-list-cell-option,
.emp-lead-cell-option {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: flex-start;
  padding: 4px;
  border-radius: 6px;
  cursor: pointer;
}

.emp-list-cell-option:hover,
.emp-list-cell-option.is-active,
.emp-lead-cell-option:hover,
.emp-lead-cell-option.is-active {
  background: #e4edf9;
}

.employee-opt-overlay {
  position: fixed;
  inset: 0;
  z-index: 450;
  background: rgba(9, 19, 35, 0.44);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.employee-opt-dialog {
  width: min(440px, 96vw);
  border: 1px solid #27507e;
  border-radius: 10px;
  background: linear-gradient(180deg, #15355d 0%, #112b4d 100%);
  box-shadow: 0 14px 30px rgba(4, 12, 23, 0.45);
  padding: 12px;
}

.employee-opt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.employee-opt-head h3 {
  margin: 0;
  color: #edf5ff;
  font-size: 13px;
}

.employee-opt-close {
  border: 0;
  background: transparent;
  color: #d8e8ff;
  font-size: 18px;
  cursor: pointer;
}

.employee-opt-row {
  display: flex;
  gap: 8px;
}

.employee-opt-input {
  flex: 1;
  min-height: 30px;
  border: 1px solid #466a95;
  border-radius: 8px;
  background: #f4f8ff;
  color: #1f3556;
  padding: 6px 10px;
  font: inherit;
  font-size: 12px;
}

.employee-opt-caption {
  margin-top: 9px;
  margin-bottom: 6px;
  color: #d8e8ff;
  font-size: 11px;
}

.employee-opt-colors,
.employee-opt-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.employee-opt-color-btn {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 0;
}

.employee-opt-color-btn.is-active {
  border-color: #fff;
  box-shadow: 0 0 0 1px #2c527e;
}

.employee-opt-color-btn.is-active::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.employee-opt-color-white {
  background: #ffffff;
  border-color: #91abd0;
}

.employee-opt-color-white.is-active::after {
  color: #2a4a70;
  text-shadow: none;
}

.employee-opt-toggle {
  margin-top: 8px;
  color: #d8e8ff;
  font-size: 11px;
}

.employee-opt-toggle input {
  margin-right: 6px;
}

.employee-opt-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.employee-opt-item-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 999px;
  background: #b84b4b;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  display: none;
  cursor: pointer;
}

.employee-opt-item:hover .employee-opt-item-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.employee-opt-confirm {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  display: none;
  gap: 5px;
  padding: 5px;
  border: 1px solid #6688b0;
  border-radius: 7px;
  background: #eef5ff;
  z-index: 4;
}

.employee-opt-confirm.open {
  display: inline-flex;
}

.employee-opt-confirm-yes,
.employee-opt-confirm-no {
  border: 1px solid #7a9ec8;
  border-radius: 6px;
  background: #f8fbff;
  color: #1e3657;
  font-size: 10px;
  font-weight: 700;
  min-height: 20px;
  padding: 0 8px;
  cursor: pointer;
}

.employee-opt-confirm-yes {
  border-color: #cf8787;
  color: #7d2d2d;
  background: #ffecec;
}

.employee-opt-empty {
  color: #d8e8ff;
  font-size: 11px;
}

.archive-inline-edit.is-empty {
  color: #9aa7b9;
}

