:root {
  --bg: #ececef;
  --panel: #f7f7f8;
  --line: #d2d4d8;
  --text: #0f1115;
  --sub: #555b66;
  --dark: #0f1013;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Satoshi", "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 20% 0%, #f6f6f7 0%, var(--bg) 50%, #e1e3e6 100%);
  color: var(--text);
  padding-bottom: 66px;
}

.feedback-dock {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1190;
  display: flex;
  align-items: stretch;
}

.feedback-dock-tab {
  border: 1px solid #151820;
  border-right: 0;
  border-radius: 14px 0 0 14px;
  background: #0f1013;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-orientation: mixed;
  padding: 14px 8px;
  min-width: 40px;
  cursor: pointer;
}

.feedback-dock-tab:hover {
  background: #000000;
}

.feedback-dock-panel {
  width: min(360px, calc(100vw - 56px));
  background: rgba(247, 247, 248, 0.98);
  border: 1px solid #151820;
  border-right: 0;
  border-radius: 14px 0 0 14px;
  padding: 14px;
  box-shadow: -12px 16px 34px rgba(12, 14, 20, 0.22);
}

.feedback-dock-panel h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  line-height: 1.2;
}

.feedback-dock-fields {
  display: grid;
  gap: 10px;
}

.feedback-dock-fields input[readonly] {
  background: #f0f2f5;
}

.shell {
  max-width: 1520px;
  margin: 28px auto;
  padding: 0 20px 18px;
}

.app-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  background: #0e1014;
  color: #f6f7f8;
  border-top: 1px solid #1e2430;
  min-height: 50px;
  padding: 8px 16px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.app-footer-item {
  min-width: 132px;
  flex: 0 0 auto;
  display: grid;
  gap: 2px;
  justify-items: center;
  text-align: center;
}

.app-footer-label {
  font-size: 11px;
  color: #a8b0bf;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-footer-value {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-footer-value.is-warning {
  color: #f8b84e;
}

.app-footer-build {
  position: sticky;
  right: 0;
  justify-items: end;
  text-align: right;
  color: #ffffff;
  display: grid;
  gap: 2px;
  min-width: 200px;
  flex: 0 0 auto;
  margin-left: 18px;
  padding-left: 10px;
  background: #0e1014;
}

.app-footer-build strong {
  font-size: 12px;
  letter-spacing: 0.03em;
  white-space: normal;
  overflow-wrap: anywhere;
}

.app-footer-build span {
  font-size: 12px;
  color: #a8b0bf;
}

@media (max-width: 1100px) {
  .app-footer {
    min-height: 50px;
  }
  .app-footer-build {
    text-align: right;
  }
  body {
    padding-bottom: 64px;
  }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.topbar-left {
  display: flex;
  gap: 10px;
}

.topbar-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.pill {
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 14px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}

.pill.ghost {
  background: #ffffff;
  border-color: #c9ccd2;
}

.pill.ghost:hover {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.pill-static {
  cursor: default;
  pointer-events: none;
}

#currentUserDisplay {
  gap: 8px;
}

#currentUserDisplay::after {
  content: "⚙";
  font-size: 26px;
  line-height: 1;
}

.integration-chip {
  min-height: 34px;
  font-size: 12px;
  font-weight: 700;
  border-width: 1px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.integration-chip.is-ok {
  color: #067647;
  border-color: #067647;
  background: #ecfdf3;
}

.integration-chip.is-missing {
  color: #b42318;
  border-color: #b42318;
  background: #fef3f2;
}

.integration-chip.is-live {
  color: #067647;
  border-color: #067647;
  background: #ecfdf3;
  animation: metricLivePulseGreen 1.15s infinite;
}

.pill.soft {
  background: #ffffff;
  border-color: #d0d4da;
}

.brand-home-btn {
  gap: 0;
  padding: 0 10px;
  min-height: 46px;
}

.brand-home-icon {
  width: 238px;
  height: auto;
  display: block;
}

.pill.dark {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.pill.dark:hover {
  background: #000000;
  border-color: #000000;
  transform: translateY(-1px);
}

.pill.dark.strong {
  min-height: 38px;
  padding: 0 16px;
}

.pill.danger {
  background: #b42318;
  color: #ffffff;
  border-color: #b42318;
}

.pill.danger:hover {
  background: #8f1c13;
  border-color: #8f1c13;
  color: #ffffff;
  transform: translateY(-1px);
}

.pill.danger.strong {
  min-height: 38px;
  padding: 0 16px;
}

.pill.is-soft-disabled,
.job-sourcing-btn.is-soft-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

.pill.is-soft-disabled:hover,
.job-sourcing-btn.is-soft-disabled:hover {
  transform: none !important;
}

.pill.agent-stop {
  background: #b42318;
  color: #ffffff;
  border-color: #b42318;
}

.pill.agent-stop:hover {
  background: #8f1b13;
  border-color: #8f1b13;
  transform: translateY(-1px);
}

.pill.agent-stop:disabled {
  background: #f3b4af;
  border-color: #f3b4af;
  color: #ffffff;
  cursor: not-allowed;
  transform: none;
}

.layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.62fr) minmax(0, 1.78fr);
  gap: 16px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 16px 35px rgba(40, 44, 54, 0.08);
}

.is-hidden {
  display: none !important;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #111111;
}

h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
}

.subtitle {
  margin: 6px 0 0;
  color: var(--sub);
}

.help-panel {
  display: grid;
  gap: 18px;
}

.help-sections {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.help-section {
  border: 1px solid #d7dbe2;
  border-radius: 14px;
  padding: 16px 18px;
  background: #fbfbfc;
}

.help-section h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.help-section p {
  margin: 0;
  color: #1f2937;
  line-height: 1.55;
}

.help-section p + p {
  margin-top: 10px;
}

.help-footer {
  margin: 2px 0 0;
  color: #4b5563;
  font-size: 13px;
}

.help-footer a {
  color: #111111;
  text-decoration: underline;
}

.job-form {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.terms-checkbox-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.terms-checkbox-row input[type="checkbox"] {
  margin: 0;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.terms-checkbox-row span {
  margin: 0;
  line-height: 1.3;
}

.inline-link-btn {
  border: 0;
  background: transparent;
  color: #0f1013;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.terms-content {
  max-height: min(70vh, 680px);
  overflow: auto;
  padding-right: 8px;
  color: #111319;
  line-height: 1.5;
}

.terms-content p {
  margin: 0 0 12px;
}

.field-help-link {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
}

.field-help-link a {
  color: #0f1013;
  text-decoration: underline;
}

.sourcing-layout {
  display: grid;
  grid-template-columns: minmax(140px, 176px) minmax(0, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.sourcing-sidebar {
  display: grid;
  gap: 5px;
  align-content: start;
}

.sourcing-meta {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.sourcing-results {
  min-width: 0;
}

.sourcing-toolbar {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 2px;
}

.sourcing-sidebar label {
  gap: 3px;
  font-size: 11px;
}

.sourcing-sidebar label.sourcing-filter-disabled {
  opacity: 0.5;
}

.sourcing-location-field {
  position: relative;
}

.sourcing-location-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 2px);
  background: #101216;
  border: 1px solid #2a2d34;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  max-height: 180px;
  overflow: auto;
  z-index: 35;
}

.sourcing-location-suggestion {
  width: 100%;
  display: block;
  text-align: left;
  border: 0;
  background: transparent;
  color: #f2f3f5;
  padding: 6px 8px;
  font-size: 11px;
  cursor: pointer;
}

.sourcing-location-suggestion + .sourcing-location-suggestion {
  border-top: 1px solid #1f2229;
}

.sourcing-location-suggestion:hover,
.sourcing-location-suggestion:focus-visible {
  background: #181c23;
  outline: none;
}

.sourcing-location-suggestion small {
  display: block;
  color: #aeb3bd;
  font-size: 10px;
  margin-top: 1px;
}

.sourcing-location-suggestion.is-message {
  cursor: default;
  color: #c3c8d1;
  font-style: italic;
}

.sourcing-location-suggest-status {
  display: block;
  min-height: 14px;
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.25;
  color: #6a7280;
}

.sourcing-location-suggest-status.is-error {
  color: #b42318;
}

.sourcing-location-suggest-status.is-success {
  color: #067647;
}

.sourcing-agent-toggle {
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sourcing-agent-toggle span {
  line-height: 1;
}

.sourcing-sidebar input,
.sourcing-sidebar textarea {
  padding: 6px 7px;
  font-size: 11px;
  border-radius: 8px;
}

#sourcingSkillsInput {
  min-height: 68px;
}

#sourcingKeywordsInput {
  min-height: 44px;
}

.create-view {
  margin-top: 12px;
}

.users-subnav {
  margin-top: 14px;
  display: flex;
  gap: 8px;
}

.users-subnav--inner {
  margin-top: 0;
  margin-bottom: 12px;
}

.users-tab-panel {
  margin-top: 12px;
}

.users-monitoring-head {
  margin-bottom: 12px;
}

.users-monitoring-grid {
  display: grid;
  gap: 14px;
}

.users-monitoring-card {
  display: grid;
  gap: 8px;
}

.users-monitoring-card h3 {
  margin: 0;
  font-size: 14px;
}

.create-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
}

textarea {
  width: 100%;
  border: 1px solid #d2d3d8;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  background: #fdfdfe;
  resize: vertical;
}

input,
select {
  width: 100%;
  border: 1px solid #d2d3d8;
  border-radius: 12px;
  padding: 10px 11px;
  font: inherit;
  font-size: 14px;
  background: #fdfdfe;
}

input:focus,
select:focus {
  outline: 2px solid rgba(15, 16, 19, 0.2);
  border-color: #20232a;
}

textarea:focus {
  outline: 2px solid rgba(15, 16, 19, 0.2);
  border-color: #20232a;
}

.template-tag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #c9ced8;
  background: #ffffff;
  color: #20232a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.template-tag-btn:hover {
  border-color: #0f1013;
}

.template-tags-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.template-tags-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #616776;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inmail-modal-actions {
  margin-top: 14px;
}

.modal-select {
  width: auto;
  min-width: 88px;
  max-width: 108px;
  height: 30px;
  border: 1px solid #c9ccd2;
  border-radius: 999px;
  padding: 0 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #0f1115;
  background: #ffffff;
  flex: 0 0 auto;
}

.messaging-view-link {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: #0a66c2;
  text-decoration: none;
  line-height: 1.2;
}

.messaging-view-link:hover {
  text-decoration: underline;
}

.status {
  color: var(--sub);
  font-size: 13px;
}

.modal-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.status.is-error {
  color: #b42318;
}

.status.is-success {
  color: #067647;
}

.users-deletion-flag {
  color: #b42318;
  font-weight: 700;
}

.users-deletion-muted {
  color: #667085;
}

.captcha-row {
  display: flex;
  justify-content: flex-start;
}

.captcha-widget {
  min-height: 66px;
}

.side-panel {
  display: grid;
  gap: 12px;
}

.side-card {
  border-radius: 18px;
  padding: 16px;
  border: 1px solid #d6d8dc;
  background: #f8f8f9;
}

.side-card.metrics {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.metric-label {
  color: var(--sub);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-value {
  margin-top: 4px;
  font-size: 34px;
  font-weight: 700;
}

.metric-chip {
  background: #111111;
  color: #ffffff;
  border: 1px solid #111111;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
}

.metric-chip-stack {
  display: grid;
  gap: 8px;
  justify-items: end;
  align-content: start;
}

.metric-chip-stack .metric-chip {
  min-width: 170px;
  text-align: center;
}

.metric-chip-live {
  min-width: 74px;
  text-align: center;
  cursor: default;
  transition: border-color 140ms ease, color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.metric-chip-live.is-online {
  color: #067647;
  border-color: #067647;
  background: #ecfdf3;
  animation: metricLivePulseGreen 1.15s infinite;
}

.metric-chip-live.is-offline {
  color: #b42318;
  border-color: #b42318;
  background: #fef3f2;
  animation: metricLivePulseRed 1.15s infinite;
}

@keyframes metricLivePulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(6, 118, 71, 0.34); }
  60% { box-shadow: 0 0 0 8px rgba(6, 118, 71, 0.02); }
  100% { box-shadow: 0 0 0 0 rgba(6, 118, 71, 0); }
}

@keyframes metricLivePulseRed {
  0% { box-shadow: 0 0 0 0 rgba(180, 35, 24, 0.32); }
  60% { box-shadow: 0 0 0 8px rgba(180, 35, 24, 0.02); }
  100% { box-shadow: 0 0 0 0 rgba(180, 35, 24, 0); }
}

.side-card.accent {
  min-height: 220px;
  background: radial-gradient(circle at 10% 0%, #f2f2f2 0%, #e9eaec 45%, #d8dbe0 100%);
  border-color: #cdd1d8;
  display: block;
}

.side-card.accent:has(.setup-checklist.is-collapsed) {
  min-height: 0;
}

.setup-checklist {
  display: grid;
  gap: 10px;
}

.setup-checklist-note {
  margin: 0 0 2px;
  font-size: 12px;
  line-height: 1.45;
  color: #4b5563;
}

.setup-checklist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
}

.setup-checklist-title {
  margin: 0;
  font-size: 13px;
  color: var(--sub);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.setup-checklist-toggle-icon {
  font-size: 14px;
  color: #4b5563;
  line-height: 1;
}

.setup-checklist-toggle-icon.is-ok {
  color: #067647;
}

.setup-checklist-toggle-icon.is-missing {
  color: #b42318;
}

.setup-checklist-body {
  display: grid;
  gap: 10px;
}

.setup-checklist.is-collapsed .setup-checklist-body {
  display: none;
}

.setup-checklist.is-collapsed .setup-checklist-note {
  display: none;
}

.setup-checklist.is-collapsed .setup-checklist-toggle-icon {
  transform: rotate(-90deg);
}

.setup-checklist.is-collapsed .setup-checklist-toggle-icon.is-ok,
.setup-checklist.is-collapsed .setup-checklist-toggle-icon.is-missing {
  transform: none;
}

.setup-checklist-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1f2937;
}

.setup-checklist-item.is-linkable {
  cursor: pointer;
  border-radius: 8px;
  padding: 4px 6px;
  margin: 0 -6px;
}

.setup-checklist-item.is-linkable:hover {
  background: rgba(17, 24, 39, 0.06);
}

.setup-checklist-item.is-linkable span:last-child {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.setup-checklist-label {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.setup-checklist-inline-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  flex: 0 0 auto;
}

.saved-candidates-feedback-note {
  margin: -6px 0 12px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.4;
}

.candidates-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.saved-candidates-feedback-note .inline-link-btn {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  text-underline-offset: 2px;
}

.action-help-group {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.action-help-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid #1f2937;
  color: #1f2937;
  background: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  flex: 0 0 auto;
}

.action-help-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  min-width: 180px;
  max-width: 240px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #111111;
  background: #111111;
  color: #f5f5f5;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 500;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  white-space: normal;
  z-index: 50;
}

.action-help-icon:hover::after,
.action-help-icon:focus-visible::after {
  opacity: 1;
}

.table-help-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.saved-candidates-message-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: -4px 0 12px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.4;
}

.saved-candidates-message-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.saved-candidates-message-legend--toolbar {
  margin: 0;
  align-self: center;
  justify-content: center;
}

.messaging-mini-icon.is-mini {
  width: 18px;
  height: 15px;
  border-radius: 5px;
}

.messaging-mini-icon.is-mini svg {
  width: 12px;
  height: 12px;
}

.messaging-mini-icon.is-mini.is-unknown {
  background: #fff1f0;
  border-color: #f0b2ac;
}

.messaging-mini-icon.is-mini.is-unknown svg {
  stroke: #b42318;
}

.messaging-mini-icon.is-mini.is-sent {
  background: #fff7e6;
  border-color: #f8cf87;
}

.messaging-mini-icon.is-mini.is-sent svg {
  stroke: #ad6800;
}

.messaging-mini-icon.is-mini.is-queued {
  background: #eff6ff;
  border-color: #93c5fd;
}

.messaging-mini-icon.is-mini.is-queued svg {
  stroke: #1d4ed8;
}

.messaging-mini-icon.is-mini.is-connected {
  background: #ecfdf3;
  border-color: #9ad4b7;
}

.messaging-mini-icon.is-mini.is-connected svg {
  stroke: #067647;
}

.table-header-with-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.table-header-info-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid #c9ccd2;
  background: #ffffff;
  color: #6b7280;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
}

.saved-candidate-inline-info {
  flex: 0 0 auto;
  margin-left: 2px;
}

.table-header-info-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  width: 240px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #111111;
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  box-shadow: 0 10px 24px rgba(15, 16, 19, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
  z-index: 20;
  white-space: normal;
}

.table-header-info-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #111111;
  opacity: 0;
  transition: opacity 120ms ease;
  pointer-events: none;
  z-index: 20;
}

.table-header-info-icon:hover::after,
.table-header-info-icon:hover::before,
.table-header-info-icon:focus-visible::after,
.table-header-info-icon:focus-visible::before {
  opacity: 1;
}

.setup-checklist-inline-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.setup-checklist-icon {
  width: 18px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #b42318;
  color: #b42318;
  background: #fef3f2;
}

.setup-checklist-item.is-ok .setup-checklist-icon {
  border-color: #067647;
  color: #067647;
  background: #ecfdf3;
}

.subscription-card {
  display: grid;
  gap: 10px;
}

.subscription-card .metric-value {
  margin-top: 4px;
  font-size: 20px;
}

.jobs-panel {
  margin-top: 14px;
}

.jobs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.jobs-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.jobs-source-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--sub);
}

.jobs-source-filter select {
  min-height: 32px;
  border: 1px solid #c9ccd2;
  border-radius: 999px;
  padding: 0 12px;
  font: inherit;
  font-weight: 600;
  color: #111111;
  background: #ffffff;
}

.jobs-head h2 {
  margin: 0;
  font-size: 22px;
}

.jobs-meta {
  color: var(--sub);
  font-size: 13px;
}

.results-wrap {
  border: 1px solid #d8dadf;
  border-radius: 10px;
  overflow: auto;
  background: #fcfcfd;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.results-table th,
.results-table td {
  border-bottom: 1px solid #e0e3e8;
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
  font-size: 13px;
}

.results-table th {
  background: #f0f2f5;
  color: #343a46;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.results-table tr:last-child td {
  border-bottom: none;
}

.jobs-results-table {
  table-layout: fixed;
}

.jobs-results-table th,
.jobs-results-table td {
  padding-top: 8px;
  padding-bottom: 8px;
}

.jobs-results-table .text-cell {
  white-space: normal;
  line-height: 1.25;
}

.jobs-results-table th:nth-child(1),
.jobs-results-table td:nth-child(1) {
  width: 31%;
}

.jobs-results-table th:nth-child(2),
.jobs-results-table td:nth-child(2) {
  width: 21%;
}

.jobs-results-table th:nth-child(3),
.jobs-results-table td:nth-child(3) {
  width: 24%;
}

.jobs-results-table th:nth-child(4),
.jobs-results-table td:nth-child(4) {
  width: 24%;
}

.id-cell {
  width: 17%;
  font-weight: 700;
  color: #2f3644;
  white-space: nowrap;
}

.text-cell {
  line-height: 1.4;
  color: #202633;
  white-space: pre-wrap;
  word-break: break-word;
}

.muted {
  color: #6b7280;
}

.time-cell {
  width: 16%;
  color: #5a6070;
  white-space: nowrap;
}

.action-cell {
  white-space: nowrap;
}

.job-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
}

.feedback-cell textarea,
.feedback-cell input,
.feedback-cell select {
  min-width: 0;
  width: 100%;
  font-size: 12px;
}

.feedback-cell textarea {
  min-height: 64px;
  padding: 8px;
  border-radius: 10px;
}

.feedback-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
}

.feedback-row-btn {
  border: 1px solid #16181d;
  background: #0f1115;
  color: #f5f7fb;
  border-radius: 8px;
  min-width: 68px;
  height: 30px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.feedback-row-btn:hover {
  background: #1a1d24;
}

.feedback-row-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.feedback-row-remove {
  border-color: #742a2a;
  color: #ffd7d7;
}

.feedback-row-remove:hover {
  background: #2a1212;
}

.feedback-add-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.results-table th:last-child,
.results-table td:last-child {
  text-align: right;
}

.job-edit-btn,
.job-sourcing-btn,
.job-candidates-btn,
.job-inmail-btn,
.job-redflag-btn,
.job-remove-btn {
  border: 1px solid #21242b;
  background: #ffffff;
  color: #111111;
  border-radius: 9px;
  width: 30px;
  height: 30px;
  padding: 0;
  line-height: 1;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.job-edit-btn svg,
.job-sourcing-btn svg,
.job-candidates-btn svg,
.job-inmail-btn svg,
.job-redflag-btn svg,
.job-remove-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.job-edit-btn:hover,
.job-sourcing-btn:hover,
.job-candidates-btn:hover,
.job-inmail-btn:hover,
.job-redflag-btn:hover,
.job-remove-btn:hover {
  background: #111111;
  color: #ffffff;
  transform: translateY(-1px);
}

.job-remove-btn {
  border-color: #e8b4b4;
  color: #c75d5d;
  background: #fff7f7;
}

.job-remove-btn:hover {
  background: #c75d5d;
  color: #ffffff;
}

.empty-row {
  text-align: center;
  padding: 18px 12px;
  color: #667085;
  background: #fafbfc;
}

.results-table tbody tr.is-selected-row > td {
  background: #eceff3;
}

.results-table tbody tr:hover > td {
  background: #f3f4f6;
}

.results-table tbody tr.is-selected-row:hover > td {
  background: #e7ebf0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 17, 20, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 40;
}

#usersLanguageModal {
  z-index: 60;
}

#candidatesLoadingBackdrop {
  z-index: 90;
}

.modal-card {
  width: min(940px, 96vw);
  max-height: 90vh;
  overflow: auto;
  background: #f8f8f9;
  border: 1px solid #d7d7da;
  border-radius: 16px;
  padding: 18px;
  --sticky-head-offset: -18px;
}

.feedback-modal-card {
  width: min(1180px, 98vw);
}

#bulkMessagingModal .modal-card {
  width: min(1260px, 98vw);
}

#bulkMessagingModal .form-actions {
  margin-top: 14px;
}

.bulk-messaging-filters {
  align-items: end;
  padding-bottom: 10px;
}

.bulk-messaging-filters .field {
  min-width: 180px;
}

.bulk-messaging-filters .field-help-link {
  margin-bottom: 10px;
}

.user-edit-modal-card {
  width: min(620px, 96vw);
}

.small-modal-card {
  width: min(520px, 96vw);
}

#sourcingAgentStartModal .small-modal-card {
  width: min(620px, 96vw);
}

.agent-run-block {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid #d7d7da;
  border-radius: 14px;
  background: #ffffff;
}

.agent-run-headline {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
}

.agent-run-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.agent-run-stat {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #f8fafc;
}

.agent-run-stat-label {
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.agent-run-stat-value {
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}


.bulk-sequence-conflict-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.bulk-sequence-conflict-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(22, 22, 24, 0.12);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.03);
  font-size: 14px;
}

.bulk-sequence-conflict-item span:last-child {
  text-transform: capitalize;
  color: rgba(22, 22, 24, 0.65);
}

.agent-run-note {
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}

.agent-run-note.is-strong {
  color: #111827;
  font-weight: 800;
}

#sourcingAgentStartStatus {
  white-space: pre-line;
}

.request-deletion-modal-card {
  background: #ffffff;
  border-color: #d0d5dd;
  box-shadow: 0 28px 80px rgba(16, 24, 40, 0.26);
}

.request-deletion-modal-intro {
  margin: 6px 0 0;
  color: #475467;
  line-height: 1.6;
}

.request-deletion-modal-copy {
  margin-top: 6px;
  padding: 16px 18px;
  border: 1px solid #f1d1cd;
  border-radius: 14px;
  background: #fff4f2;
  color: #7a271a;
}

.request-deletion-modal-copy.is-error {
  border-color: #e3a8a1;
  background: #fef3f2;
  color: #912018;
}

.request-deletion-modal-copy p {
  margin: 0;
}

.account-deletion-inline {
  margin: 8px 0 0;
  color: #475467;
  line-height: 1.6;
}

.account-deletion-inline__action {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin-left: 8px;
  color: #b42318;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.account-deletion-inline__action:hover {
  color: #8f1c13;
}

.compact-modal-card {
  width: min(460px, 92vw);
}

.users-languages-head {
  margin-bottom: 14px;
}

.candidates-loading-modal {
  background: #0f1013;
  color: #f5f6f8;
  border-color: #12151c;
}

.candidates-loading-modal .modal-head {
  display: none;
}

.candidates-loading-modal .modal-head h3 {
  color: #f5f6f8;
}

.candidates-loading-body {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.candidates-loading-modal .status {
  color: #cfd4dc;
  text-align: center;
}

.candidates-loading-progress {
  --progress: 100;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: conic-gradient(
    from 90deg,
    rgba(255, 255, 255, 0.9) calc(var(--progress) * 1%),
    rgba(255, 255, 255, 0.12) 0
  );
}

.candidates-loading-progress::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: rgba(15, 16, 19, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.candidates-loading-progress-fill {
  display: none;
}

.candidates-loading-percent {
  position: relative;
  z-index: 1;
  color: #f5f6f8;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
}

.sync-project-matrix {
  border: 1px solid #d7d7da;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.sync-project-matrix-head,
.sync-project-matrix-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.sync-project-matrix-head {
  background: #f0f1f4;
  border-bottom: 1px solid #d7d7da;
}

.sync-project-matrix-head > div {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #202430;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sync-project-matrix-head > div + div,
.sync-project-matrix-row > div + div {
  border-left: 1px solid #d7d7da;
}

.sync-project-matrix-body {
  max-height: 260px;
  overflow: auto;
}

.sync-project-matrix-row + .sync-project-matrix-row {
  border-top: 1px solid #eceef2;
}

.sync-project-matrix-row > div {
  padding: 7px 10px;
  font-size: 13px;
  color: #131722;
  line-height: 1.3;
  word-break: break-word;
}

.job-project-cell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.subtle-unlink-btn {
  min-width: 0;
  height: 26px;
  padding: 2px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  position: sticky;
  top: var(--sticky-head-offset);
  z-index: 6;
  background: #f8f8f9;
  padding: 12px 0 10px;
  border-bottom: 1px solid #d9dde4;
}

.modal-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#redflagsModal .modal-head,
#redflagsModal .modal-head-actions,
#redflagsModal .brand-row,
#redflagsModal .action-help-group {
  position: relative;
  z-index: 30;
  overflow: visible;
}

#redflagsModal .action-help-icon::after {
  top: calc(100% + 8px);
  bottom: auto;
  transform: translateX(-50%);
  z-index: 120;
}

.modal-head h3 {
  margin: 0;
  font-size: 20px;
}

.redflags-add-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  align-items: flex-end;
  position: sticky;
  top: 56px;
  z-index: 5;
  background: #f8f8f9;
  padding: 10px 0 10px;
  border-bottom: 1px solid #e1e4ea;
}

.redflags-add-row input,
.redflags-add-row textarea {
  flex: 1;
  transition: min-height 120ms ease, box-shadow 120ms ease, transform 120ms ease;
  min-height: 88px;
}

#jobCriterionTextInput:focus,
#jobCriterionContextInput:focus {
  min-height: 140px;
  transform: translateY(-1px);
  box-shadow: 0 0 0 2px rgba(15, 16, 19, 0.12);
}

.redflags-columns {
  display: grid;
  grid-template-columns: 54px 74px 1.1fr 72px 1.4fr 120px;
  gap: 6px;
  margin-bottom: 6px;
  padding: 0 10px;
  color: #6b7280;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: sticky;
  top: 166px;
  z-index: 4;
  background: #f8f8f9;
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e1e4ea;
}

.redflags-list {
  display: grid;
  gap: 8px;
}

.redflags-section-title {
  margin-top: 8px;
  padding: 2px 4px;
  color: #3b4451;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.criterion-item {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) 72px minmax(220px, 1fr) 28px;
  gap: 6px;
  align-items: center;
  border: 1px solid #dfe2e7;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}

.criterion-item.is-language {
  grid-template-columns: minmax(180px, 1fr) 72px 86px minmax(260px, 1.4fr);
}

.criterion-item.is-language textarea {
  min-width: 0;
}

.stack-list {
  display: grid;
  gap: 10px;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.checkbox-label--compact {
  display: inline-flex;
  gap: 6px;
  justify-content: flex-start;
  justify-self: start;
  width: fit-content;
}

.checkbox-label--compact input[type="checkbox"] {
  margin-left: 0;
}

.redflag-item {
  display: grid;
  grid-template-columns: 54px 74px 1.1fr 72px 1.4fr 120px;
  gap: 6px;
  align-items: center;
  border: 1px solid #dfe2e7;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}

.criteria-type-cell {
  display: grid;
  gap: 6px;
  align-content: start;
}

.redflag-item input {
  min-width: 0;
}

.redflag-item textarea {
  min-width: 0;
}

.criterion-item input {
  min-width: 0;
}

.redflag-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  padding: 0;
  border-radius: 4px;
}

.redflag-item input[readonly] {
  background: #f4f5f7;
  border-color: #d7dce3;
  color: #3b4451;
}

.redflag-criterion-input,
.redflag-context-input {
  transition: min-height 120ms ease, box-shadow 120ms ease, transform 120ms ease;
  min-height: 92px;
  resize: vertical;
  line-height: 1.35;
}

.redflag-language-select {
  min-width: 0;
  min-height: 42px;
}

.redflag-criterion-input:focus,
.redflag-context-input:focus {
  min-height: 160px;
  transform: translateY(-1px);
  box-shadow: 0 0 0 2px rgba(15, 16, 19, 0.12);
}

.criteria-type-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  border-radius: 999px;
  border: 1px solid #cfd5dd;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #f2f4f7;
  color: #4a5565;
}

.criteria-type-chip.is-job {
  background: #e9f2ff;
  border-color: #bcd6ff;
  color: #1e4b8f;
}

.criteria-type-chip.is-global {
  background: #fff1f1;
  border-color: #ffd0d0;
  color: #8f1e1e;
}

.criteria-type-chip.is-hardcoded-global {
  background: #fff4e8;
  border-color: #ffd9ab;
  color: #9a4b00;
}

.criteria-manage-btn {
  min-height: 24px;
  height: 24px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 700;
}

.redflag-item.is-job {
  border-left: 4px solid #4b8bff;
}

.redflag-item.is-global {
  border-left: 4px solid #ff6b6b;
}

.redflag-item.is-hardcoded-global {
  border-left: 4px solid #ff9f43;
}

.redflag-action-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #21242b;
  background: #fff;
  color: #111111;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 120ms ease, color 120ms ease;
}

.redflag-action-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.redflag-action-btn:hover {
  background: #111111;
  color: #ffffff;
}


.saved-candidate-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  margin-right: 4px;
  border: 1px solid #a40000;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  background: #ffe8e8;
  color: #7a0000;
}

.candidate-source-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 1px solid #c9ced6;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  flex: 0 0 auto;
}

.candidates-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 14px 0 12px;
}

.candidates-toolbar-actions {
  margin-left: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 14px;
}

.candidates-toolbar-actions-left,
.candidates-toolbar-actions-right {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.candidates-toolbar-actions-right {
  margin-left: auto;
  justify-content: flex-end;
}

.candidates-filter--toolbar {
  align-items: flex-end;
}

#candidatesView .candidates-toolbar-actions,
#candidatesView .candidates-toolbar-actions-left,
#candidatesView .candidates-toolbar-actions-right {
  display: flex;
  flex-wrap: wrap;
}

#sourcingView .candidates-toolbar-actions {
  justify-content: flex-start;
}

#sourcingView .candidates-toolbar-actions-right {
  display: none;
}

#candidatesTotalsMeta {
  text-align: right;
}

.candidates-footer-meta {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.candidates-bottom-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 14px;
}

.candidates-bottom-row-right {
  margin-left: auto;
  display: inline-flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#candidatesView .candidates-bottom-row .candidates-pager {
  margin-top: 0;
}

.candidates-totals {
  color: #555b66;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.candidates-filters {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.candidates-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #475467;
}

.candidates-filter--multi {
  align-items: flex-start;
}

.candidates-filter input {
  height: 30px;
  min-width: 132px;
  padding: 0 9px;
  border-radius: 9px;
  border: 1px solid #cdd3dd;
  background: #ffffff;
  font-size: 12px;
}

.candidates-filter select {
  height: 30px;
  min-width: 108px;
  padding: 0 9px;
  border-radius: 9px;
  border: 1px solid #cdd3dd;
  background: #ffffff;
  font-size: 12px;
}

#candidatesBadgeExcludeFilter {
  min-width: 132px;
  height: 64px;
  padding: 4px 8px;
}

.candidates-filter input[type="number"] {
  min-width: 90px;
}

.candidates-filter--toggle {
  gap: 8px;
  padding: 0 10px;
  height: 30px;
  border: 1px solid #cdd3dd;
  border-radius: 999px;
  background: #ffffff;
}

.candidates-filter--toggle input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  min-width: 14px;
  margin: 0;
  padding: 0;
  border: 1px solid #98a2b3;
  border-radius: 4px;
  background: #ffffff;
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.candidates-filter--toggle input[type="checkbox"]:checked {
  border-color: #111111;
  background: #111111;
}

.candidates-filter--toggle input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0px;
  width: 4px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.candidates-wrap {
  border-radius: 12px;
  overflow: visible;
}

.candidates-table-top-actions {
  position: relative;
  z-index: 12;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 8px 10px;
  gap: 8px;
}

.candidates-table-top-actions-left,
.candidates-table-top-actions-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.candidates-table-top-actions-right {
  margin-left: auto;
}

.sourcing-table-top-actions {
  position: relative;
  z-index: 12;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 8px 10px;
  gap: 8px;
}

.candidates-pager {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.pager-btn {
  min-width: 30px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid #c7ccd6;
  border-radius: 8px;
  background: #ffffff;
  color: #1f2937;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.pager-btn:hover:not(:disabled) {
  border-color: #101318;
}

.pager-btn.is-active {
  border-color: #101318;
  background: #101318;
  color: #ffffff;
}

.pager-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.pager-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.candidates-table {
  min-width: 1160px;
}

.candidates-table th,
.candidates-table td {
  padding: 7px 6px;
  font-size: 11px;
  border-right: 1px solid #d3d8e0;
  border-bottom: 1px solid #d3d8e0;
  vertical-align: top;
}

.candidates-table .text-cell {
  white-space: normal;
}

#sourcingView .candidates-table th:nth-child(2),
#sourcingView .candidates-table td:nth-child(2) {
  width: 212px;
  min-width: 212px;
  max-width: 212px;
}

#sourcingView .candidates-table th:nth-child(3),
#sourcingView .candidates-table td:nth-child(3) {
  width: 198px;
  min-width: 198px;
  max-width: 198px;
}

#sourcingView .candidates-table th:nth-child(4),
#sourcingView .candidates-table td:nth-child(4) {
  width: 138px;
  min-width: 138px;
  max-width: 138px;
}

#sourcingView .candidates-table th:nth-child(5),
#sourcingView .candidates-table td:nth-child(5) {
  width: 182px;
  min-width: 182px;
  max-width: 182px;
}

#sourcingView .candidates-table th:nth-child(6),
#sourcingView .candidates-table td:nth-child(6) {
  width: 46px;
  min-width: 46px;
  max-width: 46px;
}

#sourcingView .candidates-wrap {
  overflow: visible;
}

#sourcingView .candidates-table {
  min-width: 0;
  width: 100%;
  table-layout: fixed;
}

#companiesView .companies-table th:nth-child(1),
#companiesView .companies-table td:nth-child(1) {
  width: 34px;
  min-width: 34px;
  max-width: 34px;
  text-align: center;
}

#companiesView .companies-table th:nth-child(2),
#companiesView .companies-table td:nth-child(2) {
  width: 280px;
  min-width: 280px;
  max-width: 280px;
}

#companiesView .companies-table th:nth-child(3),
#companiesView .companies-table td:nth-child(3) {
  width: 380px;
  min-width: 380px;
  max-width: 380px;
}

#companiesView .companies-table th:nth-child(4),
#companiesView .companies-table td:nth-child(4) {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
}

#companiesView .companies-table th:nth-child(5),
#companiesView .companies-table td:nth-child(5) {
  width: 110px;
  min-width: 110px;
  max-width: 110px;
}

#companiesView .companies-table th:nth-child(6),
#companiesView .companies-table td:nth-child(6) {
  width: 150px;
  min-width: 150px;
  max-width: 150px;
}

#companiesView .companies-table th:nth-child(7),
#companiesView .companies-table td:nth-child(7) {
  width: 80px;
  min-width: 80px;
  max-width: 80px;
}

#companiesView .companies-table td {
  vertical-align: middle;
}

.candidates-table tr > *:first-child {
  border-left: 1px solid #d3d8e0;
}

.candidates-table thead tr:first-child th {
  border-top: 1px solid #d3d8e0;
  background: #eef0f4;
  color: #2e3441;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  font-weight: 700;
}

.candidates-table thead th[data-sort-key] {
  cursor: pointer;
  user-select: none;
}

.candidates-table thead th[data-sort-key]:hover {
  background: #e6eaf0;
}

.candidates-table .c-select {
  width: 34px;
  text-align: center;
}

.candidates-table .action-cell {
  width: 52px;
  min-width: 52px;
  display: table-cell;
  margin-left: 0;
  text-align: center;
  vertical-align: middle;
}

.candidate-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
  min-width: 0;
}

.candidate-name-inline-btn {
  flex-shrink: 0;
}

.sourcing-name-cell {
  min-width: 0;
  max-width: 100%;
}

.candidate-popup-trigger {
  border: 1px solid #b9bec8;
  background: #ffffff;
  color: #232a38;
  border-radius: 999px;
  height: 22px;
  min-width: 22px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.candidate-popup-trigger:disabled {
  opacity: 0.45;
  cursor: default;
}

.candidate-popup-trigger--score.is-none {
  color: #5f6775;
  border-color: #d0d5dd;
  background: #f2f4f7;
}

.candidate-popup-trigger--score.is-low {
  color: #b42318;
  border-color: #f0b2ac;
  background: #fff1f0;
}

.candidate-popup-trigger--score.is-mid {
  color: #ad6800;
  border-color: #f8cf87;
  background: #fff7e6;
}

.candidate-popup-trigger--score.is-high {
  color: #067647;
  border-color: #9ad4b7;
  background: #ecfdf3;
}

.candidate-popup-trigger--score.has-extraction {
  border-width: 2px;
  border-color: #111111;
  font-weight: 800;
}

.candidates-actions {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.candidates-table td.action-cell {
  vertical-align: middle;
  white-space: nowrap;
}

.candidates-table td.action-cell .candidates-actions {
  width: 100%;
  justify-content: center;
}

#sourcingView .candidates-table td.action-cell {
  text-align: center;
  vertical-align: middle;
}

#sourcingView .candidates-table td.action-cell .tiny-action {
  margin: 0;
}

.tiny-action {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid #b9bec8;
  background: #ffffff;
  color: #232a38;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.tiny-action:hover {
  border-color: #0f1013;
}

.tiny-action:disabled {
  opacity: 0.45;
  cursor: default;
}

.tiny-action.is-danger {
  border-color: #c74b59;
  color: #c74b59;
}

.tiny-action.is-saved {
  border-color: #159f63;
  background: #159f63;
  color: #ffffff;
}

.tiny-action.is-saved:hover {
  border-color: #0d7c4c;
  background: #0d7c4c;
}

#sourcingView .candidates-table td.action-cell .candidates-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.tiny-action.sourcing-skip-btn {
  border-color: #e9b8bd;
  background: #fdeff1;
  color: #b94a56;
}

.tiny-action.sourcing-skip-btn:hover {
  border-color: #d56b76;
  background: #fbe3e6;
}

.tiny-action.sourcing-skip-btn.is-active {
  border-color: #b73040;
  background: #d34857;
  color: #ffffff;
}

.tiny-action.sourcing-skip-btn.is-active:hover {
  border-color: #962634;
  background: #ba3a49;
}

.bulk-message-open-btn {
  width: auto;
  min-width: 48px;
  padding: 0 10px;
  white-space: nowrap;
}

.bulk-messaging-table th:nth-child(1),
.bulk-messaging-table td:nth-child(1) {
  width: 22%;
}

.bulk-messaging-table th:nth-child(2),
.bulk-messaging-table td:nth-child(2) {
  width: 14%;
}

.bulk-messaging-table th:nth-child(3),
.bulk-messaging-table td:nth-child(3) {
  width: 14%;
}

.bulk-messaging-table th:nth-child(4),
.bulk-messaging-table td:nth-child(4) {
  width: 10%;
}

.bulk-messaging-table th:nth-child(5),
.bulk-messaging-table td:nth-child(5) {
  width: 9%;
}

.bulk-messaging-table th:nth-child(6),
.bulk-messaging-table td:nth-child(6) {
  width: 11%;
}

.bulk-messaging-table th:nth-child(7),
.bulk-messaging-table td:nth-child(7) {
  width: 10%;
}

.bulk-messaging-table th:nth-child(8),
.bulk-messaging-table td:nth-child(8) {
  width: 10%;
  text-align: left;
}

.bulk-sequence-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.bulk-sequence-actions .tiny-action {
  width: 24px;
  min-width: 24px;
  height: 24px;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 999px;
}

.bulk-feedback-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid #c9ced6;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: help;
}

.bulk-feedback-pill.is-success {
  border-color: #159f63;
  background: #e7f8ef;
  color: #117c4d;
}

.bulk-feedback-pill.is-failed {
  border-color: #d33;
  background: #ffecec;
  color: #c1272d;
}

.bulk-sequence-icon-btn {
  letter-spacing: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bulk-sequence-icon-btn svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  display: block;
}

.sequence-list-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 0 12px;
}

.sequence-list-filters .field {
  min-width: 140px;
  margin: 0;
}

.sequence-list-table th:nth-child(1),
.sequence-list-table td:nth-child(1) {
  width: 34%;
}

.sequence-list-table th:nth-child(2),
.sequence-list-table td:nth-child(2) {
  width: 12%;
}

.sequence-list-table th:nth-child(3),
.sequence-list-table td:nth-child(3) {
  width: 14%;
}

.sequence-list-table th:nth-child(4),
.sequence-list-table td:nth-child(4) {
  width: 12%;
}

.sequence-list-table th:nth-child(5),
.sequence-list-table td:nth-child(5) {
  width: 12%;
}

.sequence-list-table th:nth-child(6),
.sequence-list-table td:nth-child(6) {
  width: 16%;
}

.sequence-list-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.sequence-list-open-btn {
  width: auto !important;
  min-width: 52px;
  height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  letter-spacing: 0;
}

.sequence-list-delete-btn {
  width: auto !important;
  min-width: 56px;
  height: 24px;
  padding: 0 10px;
  white-space: nowrap;
}

.bulk-conn-indicator {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid #b9bec8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bulk-conn-indicator svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  display: block;
}

.bulk-conn-indicator.is-connected {
  border-color: #159f63;
  color: #159f63;
  background: #ecfdf3;
}

.bulk-conn-indicator.is-not-connected {
  border-color: #c74b59;
  color: #c74b59;
  background: #fff1f1;
}

.bulk-conn-indicator.is-pending {
  border-color: #e39b2f;
  color: #e39b2f;
  background: #fff8ea;
}

.bulk-messaging-table tbody td {
  padding-top: 2px;
  padding-bottom: 2px;
}

.results-table tr.bulk-row-light-red td {
  background: #fff1f1;
}

.results-table tr.bulk-row-light-orange td {
  background: #fff7eb;
}

.saved-candidate-skill-btn {
  width: auto;
  min-width: 30px;
  padding: 0 4px;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: lowercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 22px;
  padding: 0 10px;
  border: 1px solid #c7ccd6;
  border-radius: 999px;
  background: #ffffff;
  color: #1f2937;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.status-pill.is-active {
  border-color: #101318;
  background: #101318;
  color: #ffffff;
}

.messaging-status-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 132px;
}

.messaging-mini-col {
  display: grid;
  justify-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.messaging-mini-col:disabled {
  cursor: default;
  opacity: 0.55;
}

.messaging-mini-icon {
  width: 22px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #c7ccd6;
}

.messaging-mini-icon svg {
  width: 14px;
  height: 14px;
  stroke: #111111;
  stroke-width: 1.25;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.messaging-mini-col.is-unknown .messaging-mini-icon {
  background: #fff1f0;
  border-color: #f0b2ac;
}

.messaging-mini-col.is-unknown .messaging-mini-icon svg {
  stroke: #b42318;
}

.messaging-mini-col.is-sent .messaging-mini-icon {
  background: #fff7e6;
  border-color: #f8cf87;
}

.messaging-mini-col.is-sent .messaging-mini-icon svg {
  stroke: #ad6800;
}

.messaging-mini-col.is-queued .messaging-mini-icon {
  background: #eff6ff;
  border-color: #93c5fd;
}

.messaging-mini-col.is-queued .messaging-mini-icon svg {
  stroke: #1d4ed8;
}

.messaging-mini-col.is-connected .messaging-mini-icon {
  background: #ecfdf3;
  border-color: #9ad4b7;
}

.messaging-mini-col.is-connected .messaging-mini-icon svg {
  stroke: #067647;
}

.message-cell {
  width: 40px;
  min-width: 40px;
  text-align: center;
  vertical-align: middle;
}

.message-last-contact-cell {
  white-space: nowrap;
  min-width: 110px;
}

#connectRequestSubjectField {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #20232a;
}

.connect-request-text-block {
  margin-top: 8px;
}

.connect-request-source-block {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.connect-request-template-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.connect-request-source-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #667085;
}

.connect-request-source-toggle {
  display: inline-flex;
  gap: 8px;
}

.connect-request-source-toggle .pill.is-active {
  background: #111318;
  border-color: #111318;
  color: #ffffff;
}

.connect-request-preview-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.connect-request-preview {
  min-height: 120px;
  padding: 14px 15px;
  border: 1px solid #d2d3d8;
  border-radius: 14px;
  background: #ffffff;
  color: #20232a;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.connect-request-approval-block {
  margin-top: 12px;
}

.connect-request-actions-block {
  margin-top: 14px;
}

.linkedin-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  min-width: 18px;
  max-width: 18px;
  height: 18px;
  min-height: 18px;
  max-height: 18px;
  flex: 0 0 18px;
  border-radius: 3px;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: lowercase;
  line-height: 1;
  overflow: hidden;
  color: #ffffff;
  background: #0a66c2;
  vertical-align: top;
  cursor: pointer;
}

.linkedin-link-btn:hover {
  filter: brightness(1.06);
}

.linkedin-link-btn--recruiter {
  color: #0a66c2;
  background: #ffffff;
  border: 1px solid #0a66c2;
  text-transform: uppercase;
}

.truncate-cell {
  display: inline-block;
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

@keyframes rise {
  from {
    transform: translateY(4px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 940px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .side-card.accent p {
    font-size: 18px;
  }

  .create-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .action-cell {
    width: auto;
  }

}
