.li-outreach-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
}

.li-outreach-panel {
  width: min(520px, 96vw);
  max-height: min(92vh, 640px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.li-outreach-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 12px;
  border-bottom: 1px solid #f1f5f9;
}

.li-outreach-panel__title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.li-outreach-panel__subtitle {
  margin-top: 4px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
}

.li-outreach-panel__close {
  border: none;
  background: #f8fafc;
  color: #64748b;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

.li-outreach-panel__close:hover {
  background: #f1f5f9;
  color: #334155;
}

.li-outreach-panel__body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

.li-outreach-panel__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  font-size: 14px;
  color: #0f172a;
}

.li-outreach-panel__company {
  font-size: 13px;
  color: #64748b;
}

.li-outreach-panel__profile-link {
  font-size: 12px;
  color: #0a66c2;
  word-break: break-all;
  text-decoration: none;
}

.li-outreach-panel__profile-link:hover {
  text-decoration: underline;
}

.li-outreach-panel__warn {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 12px;
  line-height: 1.5;
}

.li-outreach-panel__label {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.li-outreach-panel__select,
.li-outreach-panel__message {
  width: 100%;
  box-sizing: border-box;
}

.li-outreach-panel__message {
  min-height: 96px;
  resize: vertical;
  font-size: 14px;
  line-height: 1.5;
}

.li-outreach-panel__hint {
  margin: 0;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.45;
}

.li-outreach-panel__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  padding: 14px 20px 18px;
  border-top: 1px solid #f1f5f9;
  background: #fafafa;
}

.contact-detail-header-contact-link--linkedin {
  color: #0a66c2 !important;
  -webkit-text-fill-color: #0a66c2 !important;
}

.mm-contact-action-btn--linkedin {
  color: #0a66c2;
}

.mm-contact-action-btn--linkedin:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.task-linkedin-btn {
  padding: 6px 11px;
  font-size: 11px;
  background: #eff6ff;
  color: #0a66c2;
  border: 1px solid #93c5fd;
  border-radius: 7px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.task-linkedin-btn:hover {
  background: #dbeafe;
}

/* ── Batch queue ── */
.li-outreach-queue-backdrop {
  align-items: flex-start;
  padding-top: 24px;
}

.li-outreach-queue {
  width: min(960px, 96vw);
  max-height: min(92vh, 820px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.li-outreach-queue__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 12px;
  border-bottom: 1px solid #f1f5f9;
}

.li-outreach-queue__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.li-outreach-queue__title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.li-outreach-queue__help-btn {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.li-outreach-queue__help-btn:hover {
  border-color: #94a3b8;
  color: #0f172a;
  background: #f8fafc;
}

.li-desk-help-overlay {
  position: fixed;
  inset: 0;
  z-index: 11050;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.li-desk-help-overlay--open {
  opacity: 1;
}

.li-desk-help-dialog {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  max-width: 560px;
  width: 100%;
  max-height: min(86vh, 720px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.li-desk-help-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e2e8f0;
}

.li-desk-help-dialog__title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

.li-desk-help-dialog__close {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.li-desk-help-dialog__close:hover {
  color: #0f172a;
}

.li-desk-help-dialog__body {
  padding: 14px 18px 18px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
}

.li-desk-help-dialog__body h4 {
  margin: 14px 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.li-desk-help-dialog__body p,
.li-desk-help-dialog__body ul,
.li-desk-help-dialog__body ol {
  margin: 0 0 8px;
}

.li-desk-help-dialog__body ul,
.li-desk-help-dialog__body ol {
  padding-left: 1.25em;
}

.li-desk-help-dialog__body li {
  margin: 0 0 4px;
}

.li-desk-help-dialog__body code {
  font-size: 11px;
  background: #f1f5f9;
  padding: 1px 5px;
  border-radius: 4px;
}

.li-outreach-queue__subtitle {
  margin-top: 4px;
  font-size: 13px;
  color: #64748b;
}

.li-outreach-queue__toolbar {
  padding: 10px 20px;
  border-bottom: 1px solid #f1f5f9;
  background: #fafafa;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.li-outreach-queue__filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #475569;
  font-weight: 600;
}

.li-outreach-queue__hint {
  font-size: 12px;
  color: #94a3b8;
}

.li-outreach-queue__desk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 0 20px 12px;
  background: #fafafa;
  border-bottom: 1px solid #f1f5f9;
}

.li-outreach-queue__desk-cap {
  font-size: 12px;
  color: #64748b;
}

.li-outreach-queue__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 0;
}

.li-outreach-queue__table-wrap {
  overflow: auto;
}

.li-outreach-queue__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.li-outreach-queue__table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1;
}

.li-outreach-queue__table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #0f172a;
}

.li-outreach-queue__table tr.is-missing-li {
  background: #fffbeb;
}

.li-outreach-queue__table tr.is-opened {
  background: #eff6ff;
}

.li-outreach-queue__preview {
  max-width: 280px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.li-outreach-queue__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  white-space: nowrap;
}

.li-outreach-queue__done {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border-color: #86efac !important;
  font-weight: 800 !important;
}

.li-outreach-queue__empty {
  padding: 48px 24px;
  text-align: center;
  color: #64748b;
}

.li-outreach-queue__empty-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.li-outreach-queue__foot {
  padding: 14px 20px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: flex-end;
  background: #fafafa;
}

/* Inline queue under Contacts list pane */
.contact-list.contact-list--linkedin-queue {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  padding: 0;
  overflow: hidden;
}

.li-outreach-queue.li-outreach-queue--inline {
  width: 100%;
  max-width: none;
  max-height: none;
  flex: 1 1 auto;
  min-height: 0;
  border: none;
  border-radius: 12px;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.72);
}

.li-outreach-queue--inline .li-outreach-queue__head {
  padding: 14px 16px 10px;
}

.li-outreach-queue--inline .li-outreach-queue__toolbar {
  padding: 8px 16px;
}

.contact-layout-btn--linkedin.contact-layout-btn--active {
  background: #eff6ff;
  color: #0a66c2;
}

.contact-layout-btn--linkedin.contact-layout-btn--active .priority-layout-icon-svg--linkedin {
  color: #0a66c2;
}

.contact-layout-btn--linkedin.contact-layout-btn--has-badge {
  position: relative;
}

.contact-layout-btn--linkedin.contact-layout-btn--has-badge::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a66c2;
  box-shadow: 0 0 0 1.5px #fff;
}
