:root {
  font-size: 16px;
  --hs-bg: #040604;
  --hs-surface: rgba(13, 18, 14, 0.92);
  --hs-surface-2: rgba(255, 255, 255, 0.035);
  --hs-surface-3: rgba(255, 255, 255, 0.06);
  --hs-surface-raised: #111711;
  --hs-text: #f3f5ef;
  --hs-secondary: #a8b0a5;
  --hs-muted: rgba(243, 245, 239, 0.72);
  --hs-soft: rgba(243, 245, 239, 0.46);
  --hs-line: rgba(255, 255, 255, 0.1);
  --hs-border: #2a302c;
  --hs-accent: #7dc3f2;
  --hs-accent-dark: rgba(243, 245, 239, 0.52);
  --hs-pill: rgba(255, 255, 255, 0.06);
  --hs-good: #6fe694;
  --hs-warn: #fbb03b;
  --hs-danger: #ef4444;
  --hs-info-bg: rgba(125, 211, 252, 0.16);
  --hs-info-border: rgba(125, 211, 252, 0.3);
  --hs-info-text: #dff5ff;
  --hs-radius-sm: 5px;
  --hs-radius-md: 10px;
  --hs-radius-lg: 12px;
  --hs-radius-pill: 999px;
  --hs-shadow-panel: 0 20px 50px rgba(0, 0, 0, 0.24);
  --hs-shadow-popover: 0 24px 56px rgba(0, 0, 0, 0.28);
}

html,
body {
  background: #040604;
}

body.heatseeker-dashboard-page {
  margin: 0;
  background: #040604;
  color: var(--hs-text);
  font-family: Inter, "SF Pro Display", "SF Pro Text", "Segoe UI Variable", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.heatseeker-dashboard-page #wpadminbar {
  position: fixed;
}

.hs-app {
  min-height: 100vh;
  padding: 28px 18px 32px;
}

.hs-toast-stack {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.hs-toast {
  min-width: 260px;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(13, 18, 14, 0.92);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  color: var(--hs-text);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hs-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hs-toast strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.hs-toast p {
  margin: 4px 0 0;
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.5;
  word-break: break-word;
}

.hs-toast-warning {
  border-color: rgba(125, 211, 252, 0.24);
}

.hs-toast-success {
  border-color: rgba(16, 185, 129, 0.24);
}

.hs-toast-error {
  border-color: rgba(239, 68, 68, 0.24);
}

.hs-shell {
  max-width: 1540px;
  margin: 0 auto;
  position: relative;
}

.hs-sidebar {
  background: linear-gradient(180deg, #111111 0%, #0c0c0c 100%);
  border: 0;
  border-radius: 12px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: calc(100vh - 60px);
  position: fixed;
  top: 18px;
  right: 18px;
  width: 240px;
  transition: transform 0.22s ease, opacity 0.22s ease;
  overflow: hidden;
  z-index: 20;
  transform: translateX(calc(100% + 18px));
  opacity: 0;
}

.hs-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hs-brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.28) 0%, rgba(125, 211, 252, 0.14) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 16px 30px rgba(125, 211, 252, 0.16);
  overflow: hidden;
}

.hs-brand-photo {
  background: #1a1a1a;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

.hs-brand-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hs-brand strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hs-side-nav {
  display: grid;
  gap: 8px;
}

.hs-side-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  text-decoration: none;
  color: #d7d7d7;
  background: transparent;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hs-nav-icon {
  width: 16px;
  display: inline-flex;
  justify-content: center;
  flex: 0 0 16px;
  opacity: 0.9;
}

.hs-nav-label,
.hs-brand-copy {
  transition: opacity 0.18s ease, width 0.18s ease, margin 0.18s ease;
}

.hs-side-nav a.is-active,
.hs-side-nav a:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.05) 100%);
  border-color: rgba(255,255,255,0.06);
}

.hs-side-label {
  margin: 0 0 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(243, 245, 239, 0.46);
  font-weight: 500;
}

.hs-main {
  display: grid;
  gap: 18px;
}

.hs-youtube-route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hs-youtube-route-field-wide {
  grid-column: span 3;
}

.hs-youtube-route-plan {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--hs-radius-lg);
  background: rgba(255, 255, 255, 0.03);
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.hs-main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 35px;
  width: calc(100% + 36px);
  box-sizing: border-box;
  padding: 10px 84px 10px 16px;
  margin-left: -18px;
  margin-right: -18px;
  margin-top: -28px;
  background: linear-gradient(180deg, var(--hs-surface-2) 0%, var(--hs-surface) 100%);
  box-shadow: var(--hs-shadow-popover);
  position: relative;
  overflow: hidden;
}

.hs-main-nav::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.1) 20%, rgba(255,255,255,0.1) 80%, rgba(255,255,255,0.02) 100%);
  pointer-events: none;
}

.hs-main-nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  flex: 1 1 auto;
}

.hs-main-nav-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 4px;
}

.hs-main-nav-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding-right: 18px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.hs-main-nav-logo img {
  display: block;
  width: 132px;
  height: auto;
}

.hs-main-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
}

.hs-main-nav-links a {
  text-decoration: none;
  color: #b8b8b8;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--hs-radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  border: 1px solid transparent;
}

.hs-main-nav-links a.is-active,
.hs-main-nav-links a:hover {
  color: var(--hs-text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.06);
}

.hs-alerts-button {
  position: relative;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #b8b8b8;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.hs-alerts-button:hover {
  color: var(--hs-text);
}

.hs-alerts-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hs-alerts-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.hs-alerts-dot {
  position: absolute;
  top: 7px;
  left: 19px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff5a5f;
  box-shadow: 0 0 0 2px #171717;
}

.hs-notifications {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(360px, calc(100vw - 32px));
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(13, 18, 14, 0.92);
  border: 1px solid var(--hs-line);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
  z-index: 30;
}

.hs-notifications[hidden] {
  display: none !important;
}

.hs-notifications-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hs-notifications-head strong {
  display: block;
  font-size: 18px;
}

.hs-notifications-mark-read,
.hs-notifications-enable {
  border: 1px solid var(--hs-line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--hs-text);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  min-height: 32px;
  padding: 0 10px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.hs-notifications-mark-read:hover,
.hs-notifications-enable:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}

.hs-notifications-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hs-notifications-permission {
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}

.hs-notifications-list {
  display: grid;
  gap: 10px;
  max-height: 380px;
  overflow: auto;
}

.hs-alert-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hs-alert-card.is-unread {
  border-color: rgba(125, 211, 252, 0.18);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.05);
}

.hs-alert-card strong {
  font-size: 14px;
}

.hs-alert-card span {
  color: var(--hs-muted);
  font-size: 12px;
}

.hs-alert-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.hs-alert-card-copy {
  display: grid;
  gap: 4px;
}

.hs-alert-card-copy p {
  margin: 0;
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.45;
}

.hs-alert-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hs-alert-card-action {
  justify-self: start;
  border: 1px solid var(--hs-line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--hs-text);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  min-height: 30px;
  padding: 0 10px;
  cursor: pointer;
}

.hs-alert-card-action:hover {
  background: rgba(255, 255, 255, 0.07);
}

.hs-alert-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(243, 245, 239, 0.78);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.hs-alert-pill-analysis {
  border-color: rgba(125, 211, 252, 0.22);
  background: rgba(125, 211, 252, 0.08);
  color: #dff5ff;
}

.hs-alert-pill-completed {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.16);
  color: #d1fae5;
}

.hs-alert-pill-review {
  border-color: rgba(251, 146, 60, 0.3);
  background: rgba(251, 146, 60, 0.16);
  color: #fed7aa;
}

.hs-alert-pill-failed {
  border-color: rgba(239, 68, 68, 0.28);
  background: rgba(239, 68, 68, 0.16);
  color: #fecaca;
}

.hs-alert-empty {
  padding: 18px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  color: var(--hs-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.hs-alert-overdue {
  border-color: rgba(239, 68, 68, 0.28);
}

.hs-alert-today {
  border-color: rgba(125, 211, 252, 0.3);
}

.hs-workspace {
  display: grid;
  gap: 18px;
}

.hs-workspace[hidden] {
  display: none !important;
}

.hs-placeholder-panel {
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--hs-surface-2) 0%, var(--hs-surface) 100%);
  border: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.hs-placeholder-panel strong {
  display: block;
  font-size: 20px;
}

.hs-pipeline-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(240px, 1fr));
  gap: 14px;
  overflow-x: auto;
  align-items: start;
}

.hs-pipeline-column {
  min-height: 0;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--hs-surface-2) 0%, var(--hs-surface) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  display: grid;
  align-content: start;
  gap: 12px;
  align-self: start;
  transition: box-shadow 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.hs-pipeline-column.is-drop-target {
  background: linear-gradient(180deg, rgba(18, 25, 29, 0.96) 0%, rgba(13, 18, 20, 1) 100%);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.14), 0 22px 54px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.hs-pipeline-column.is-drag-temporary {
  opacity: 0.82;
}

.hs-pipeline-column.is-drag-temporary .hs-pipeline-cards {
  min-height: 56px;
}

.hs-pipeline-column.is-drag-temporary .hs-pipeline-empty {
  display: none;
}

.hs-pipeline-column-head {
  display: grid;
  gap: 2px;
  align-content: start;
}

.hs-pipeline-column-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hs-pipeline-column-head strong {
  font-size: 18px;
  outline: none;
}

.hs-pipeline-title {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  border-radius: 8px;
  padding: 6px 8px;
  margin: -6px -8px;
  cursor: text;
  transition: background-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.hs-pipeline-title:hover {
  background: rgba(255, 255, 255, 0.04);
}

.hs-pipeline-title.is-editing {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.28);
  color: var(--hs-text);
}

.hs-pipeline-count {
  color: var(--hs-muted);
  font-size: 12px;
}

.hs-pipeline-cards {
  display: grid;
  gap: 10px;
  min-height: 40px;
  transition: background-color 0.18s ease;
}

.hs-pipeline-cards.is-empty-target {
  min-height: 84px;
  align-content: start;
}

.hs-pipeline-add-card {
  min-height: 34px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: var(--hs-muted);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.hs-pipeline-add-card:hover {
  color: #f0f0f0;
}

.hs-pipeline-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  cursor: pointer;
  border-radius: 12px;
  background: #111;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
  -webkit-user-select: none;
  user-select: none;
}

.hs-pipeline-card:hover {
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.08), 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hs-pipeline-drag-clone {
  position: fixed;
  z-index: 60;
  pointer-events: none;
  margin: 0;
  opacity: 1;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(255,255,255,0.03);
}

.hs-pipeline-card.is-dragging {
  opacity: 1;
  cursor: grabbing;
  position: fixed;
  z-index: 60;
  pointer-events: none;
  transform: none;
  transition: none;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
}

.hs-pipeline-card.is-source-hidden {
  visibility: hidden;
}

.hs-pipeline-card.is-drop-snapped {
  animation: hs-pipeline-snap-in 220ms ease-out;
}

@keyframes hs-pipeline-snap-in {
  0% {
    transform: translateY(-4px) scale(0.992);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
  }

  100% {
    transform: translateY(0) scale(1);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
  }
}

body.hs-pipeline-dragging,
body.hs-pipeline-dragging * {
  -webkit-user-select: none;
  user-select: none;
  cursor: grabbing !important;
}

.hs-pipeline-card-placeholder {
  display: block;
  width: 100%;
  height: 10px !important;
  min-height: 10px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.7);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.12);
  margin: 6px 0;
}

.hs-pipeline-cards.is-empty-target .hs-pipeline-card-placeholder {
  height: 16px !important;
  min-height: 16px;
  margin-top: 10px;
}

.hs-pipeline-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hs-pipeline-card-head strong {
  font-size: 14px;
}

.hs-pipeline-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.hs-pipeline-followup,
.hs-pipeline-note {
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.5;
}

.hs-pipeline-note {
  margin: -2px 0 0;
}

.hs-pipeline-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(243, 245, 239, 0.78);
  font-size: 11px;
  font-weight: 700;
}

.hs-pipeline-score-good {
  background: rgba(111, 230, 148, 0.12);
  color: #8ff0ad;
}

.hs-pipeline-cadence {
  min-height: 22px;
  padding: 0 8px;
  font-size: 10px;
}

.hs-pipeline-verify-preview-default {
  background: rgba(255, 255, 255, 0.06);
  color: var(--hs-muted);
}

.hs-pipeline-verify-preview-good {
  background: rgba(111, 230, 148, 0.12);
  color: #8ff0ad;
}

.hs-pipeline-signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hs-pipeline-signal {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--hs-muted);
  font-size: 10px;
  line-height: 1;
}

.hs-pipeline-signal-link {
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.hs-pipeline-signal-link:hover {
  background: rgba(125, 211, 252, 0.08);
  color: #dff5ff;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.16);
}

.hs-pipeline-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  line-height: 1.5;
}

.hs-pipeline-modal-header {
  display: contents;
}

.hs-pipeline-modal-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: start;
  margin-top: -11px;
}

.hs-pipeline-modal-card .hs-review-modal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 6px;
  align-items: start;
}

#hs-pipeline-stage-label {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}

.hs-pipeline-modal-tools {
  grid-column: 2;
  grid-row: 1;
}

.hs-pipeline-title-row {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  flex-wrap: nowrap;
}

.hs-pipeline-title-row strong {
  flex: 0 0 auto;
  min-width: 0;
  white-space: nowrap;
}

.hs-pipeline-links-inline {
  flex: 0 0 auto;
  justify-content: flex-end;
  margin-left: auto;
  white-space: nowrap;
}

.hs-card-menu {
  position: relative;
}

.hs-card-menu-trigger {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: transparent;
  color: var(--hs-muted);
  cursor: pointer;
  user-select: none;
  line-height: 1;
}

.hs-card-menu-trigger::-webkit-details-marker {
  display: none;
}

.hs-card-menu-trigger:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--hs-text);
}

.hs-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hs-card-menu-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  padding: 8px;
  border-radius: 12px;
  background: linear-gradient(180deg, #171717 0%, #101010 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
  z-index: 8;
  display: grid;
  gap: 6px;
}

.hs-card-menu-section {
  display: grid;
  gap: 4px;
}

.hs-card-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 2px 0;
}

.hs-card-menu-item {
  border: 0;
  background: transparent;
  color: var(--hs-text);
  text-align: left;
  font: inherit;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.hs-card-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hs-card-menu-item-danger {
  color: #fecaca;
}

.hs-pipeline-links .hs-link {
  white-space: nowrap;
}

.hs-pipeline-link-separator {
  margin: 0 8px;
  color: var(--hs-muted);
}

.hs-pipeline-verification {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.hs-pipeline-verification-header {
  margin-bottom: 0;
}

.hs-verification-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.hs-verification-pill-default {
  background: rgba(255, 255, 255, 0.06);
  color: var(--hs-muted);
}

.hs-verification-pill-ai {
  background: rgba(111, 230, 148, 0.14);
  color: var(--hs-good);
}

.hs-verification-pill-manual {
  background: rgba(111, 230, 148, 0.14);
  color: var(--hs-good);
}

.hs-pipeline-verification-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hs-verification-toggle {
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--hs-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.hs-verification-toggle.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--hs-text);
}

#hs-pipeline-verify-ai.is-active {
  background: rgba(111, 230, 148, 0.14);
  color: var(--hs-good);
}

#hs-pipeline-verify-manual.is-active {
  background: rgba(111, 230, 148, 0.14);
  color: var(--hs-good);
}

.hs-pipeline-ai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hs-pipeline-ai-actions .hs-secondary-button,
.hs-pipeline-ai-actions .hs-primary-button {
  min-height: 36px;
}

.hs-pipeline-note-editor {
  display: grid;
  gap: 8px;
}

.hs-pipeline-note-editor span {
  color: var(--hs-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hs-pipeline-note-editor textarea {
  min-height: 92px;
  resize: vertical;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #f0f0f0;
  font: inherit;
  font-size: 12px;
  line-height: 1.55;
  padding: 12px;
}

.hs-pipeline-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hs-pipeline-modal-card {
  width: min(760px, calc(100vw - 40px));
  max-height: calc(100vh - 48px);
}

.hs-pipeline-modal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.hs-pipeline-modal-stat {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hs-pipeline-modal-stat span {
  color: var(--hs-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hs-pipeline-modal-stat strong {
  font-size: 16px;
}

.hs-pipeline-modal-section {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.hs-pipeline-empty {
  color: var(--hs-muted);
  font-size: 12px;
  padding: 10px 0;
}

.hs-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 15;
}

.hs-burger {
  position: absolute;
  top: -28px;
  right: -18px;
  width: 64px;
  height: 55px;
  border-radius: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 31;
}

.hs-burger span {
  width: 18px;
  height: 2px;
  background: #f2f2f2;
  border-radius: 12px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.hs-shell.is-sidebar-open .hs-sidebar {
  transform: translateX(0);
  opacity: 1;
}

.hs-shell.is-sidebar-open .hs-sidebar-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.hs-shell.is-sidebar-open .hs-burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hs-shell.is-sidebar-open .hs-burger span:nth-child(2) {
  opacity: 0;
}

.hs-shell.is-sidebar-open .hs-burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hs-header {
  display: grid;
  gap: 22px;
  margin-bottom: 0;
}

.hs-header-intro {
  min-width: 0;
}

.hs-summary-row {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.hs-header-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 10px;
  align-self: stretch;
  align-items: stretch;
}

.hs-header h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.hs-logo-heading {
  display: flex;
  align-items: center;
  min-height: 35px;
  margin-left: 0;
}

.hs-logo-heading img {
  display: block;
  width: min(200px, 100%);
  height: auto;
}

.hs-eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hs-accent-dark);
}

.hs-eyebrow-under-logo {
  margin-top: 5px;
  margin-bottom: 0;
  margin-left: 5px;
}

.hs-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
  background: var(--hs-surface-2);
  border: 0;
  color: #f0f0f0;
  font-weight: 600;
}

.hs-action-link.is-accent {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.hs-header-focus {
  min-width: 300px;
  max-width: 420px;
  min-height: 50px;
  padding: 8px 14px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(125, 211, 252, 0.14) 0%, rgba(125, 211, 252, 0.05) 100%),
    #151515;
  border: 0;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hs-header-focus strong {
  display: block;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
}

.hs-header-add-url {
  min-height: 50px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--hs-radius-lg);
  background: linear-gradient(180deg, var(--hs-surface-2) 0%, var(--hs-surface) 100%);
  color: var(--hs-text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  white-space: nowrap;
}

.hs-header-add-url:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.05) 100%), linear-gradient(180deg, var(--hs-surface-2) 0%, var(--hs-surface) 100%);
}

.hs-header-focus span {
  display: block;
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.5;
}

.hs-topbar,
.hs-metric-card,
.hs-table-wrap {
  background: var(--hs-surface);
  border: 1px solid var(--hs-line);
  box-shadow: var(--hs-shadow-panel);
  backdrop-filter: blur(18px);
}

.hs-dashboard-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: end;
  justify-content: flex-end;
  white-space: nowrap;
}

.hs-dashboard-tab {
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--hs-radius-sm);
  border: 1px solid var(--hs-line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--hs-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.hs-dashboard-tab.is-active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--hs-text);
  border-color: rgba(255, 255, 255, 0.14);
}

.hs-topbar {
  display: grid;
  grid-template-columns: minmax(320px, 1.3fr) auto auto;
  gap: 12px;
  align-items: end;
  border-radius: var(--hs-radius-sm);
  padding: 18px;
}

.hs-topbar-search {
  width: 100%;
}

.hs-topbar-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border-radius: var(--hs-radius-sm);
  border: 1px solid var(--hs-line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--hs-text);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
}

.hs-topbar-search input::placeholder,
.hs-filter input[type="search"]::placeholder {
  color: var(--hs-soft);
  font-size: 13px;
  font-weight: 500;
  opacity: 1;
}

.hs-topbar-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: end;
}

.hs-metric-card {
  border-radius: var(--hs-radius-lg);
  min-height: 50px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.hs-metric-label {
  display: block;
  margin-bottom: 2px;
  color: var(--hs-muted);
  font-size: 0.72rem;
}

.hs-metric-card strong {
  font-size: 1.15rem;
  line-height: 1;
}

.hs-filters {
  display: grid;
  grid-template-columns: minmax(280px, 2fr) repeat(2, minmax(180px, 1fr)) auto;
  gap: 14px;
  align-items: end;
  border-radius: var(--hs-radius-lg);
  padding: 18px;
  margin-bottom: 18px;
}

.hs-filter {
  display: grid;
  gap: 6px;
}

.hs-filter span {
  font-size: 12px;
  color: var(--hs-muted);
  white-space: nowrap;
}

.hs-filter input[type="search"],
.hs-filter select {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--hs-radius-sm);
  border: 1px solid var(--hs-line);
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--hs-text);
}

.hs-filter select {
  min-width: 132px;
}

.hs-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  white-space: nowrap;
}

.hs-checkbox span {
  margin: 0;
  color: var(--hs-text);
}

.hs-table-wrap {
  overflow: auto;
  border-radius: 5px;
}

.hs-analysis-wrap {
  border: 1px solid var(--hs-line);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  border-radius: 5px;
  overflow: hidden;
}

.hs-analysis-list {
  display: flex;
  flex-direction: column;
}

.hs-analysis-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--hs-line);
  background: transparent;
  transition: background 0.18s ease;
}

.hs-analysis-item:last-child {
  border-bottom: 0;
}

.hs-analysis-item:hover {
  background: rgba(255, 255, 255, 0.024);
}

.hs-analysis-item-main,
.hs-analysis-item-foot,
.hs-analysis-item-heading,
.hs-analysis-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hs-analysis-item-heading {
  justify-content: flex-start;
  flex: 1 1 auto;
  min-width: 0;
}

.hs-analysis-indicator {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hs-analysis-item.is-running .hs-analysis-indicator,
.hs-analysis-item.is-queued .hs-analysis-indicator {
  border-color: var(--hs-info-border);
  background: rgba(125, 211, 252, 0.22);
  box-shadow: 0 0 0 0 rgba(125, 211, 252, 0.34);
  animation: hs-analysis-pulse 1.2s ease-in-out infinite;
}

.hs-analysis-item.is-completed .hs-analysis-indicator {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.22);
}

.hs-analysis-item.is-failed .hs-analysis-indicator {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.22);
}

.hs-analysis-item-copy {
  min-width: 0;
}

.hs-analysis-item-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--hs-text);
}

.hs-analysis-item-copy p {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--hs-muted);
}

.hs-analysis-item-meta {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hs-analysis-route,
.hs-analysis-status,
.hs-analysis-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 21px;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(243, 245, 239, 0.78);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.hs-analysis-status-running,
.hs-analysis-status-queued {
  border-color: var(--hs-info-border);
  background: var(--hs-info-bg);
  color: var(--hs-info-text);
}

.hs-analysis-status-completed {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.16);
  color: #d1fae5;
}

.hs-analysis-status-failed {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.16);
  color: #fecaca;
}

.hs-analysis-item-foot {
  flex-wrap: wrap;
}

.hs-analysis-url {
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.5;
  word-break: break-all;
}

.hs-analysis-open {
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: var(--hs-text);
  border-radius: 5px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.hs-analysis-open:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.hs-analysis-item-empty .hs-analysis-item-copy p {
  max-width: 560px;
}

@keyframes hs-analysis-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(125, 211, 252, 0.32);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(125, 211, 252, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(125, 211, 252, 0);
  }
}

@keyframes hs-spin {
  to {
    transform: rotate(360deg);
  }
}

.hs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1180px;
  font-size: 11px;
}

.hs-table th,
.hs-table td {
  padding: 9px 19px;
  text-align: left;
  border-bottom: 1px solid var(--hs-line);
  vertical-align: middle;
}

.hs-table th.hs-col-center,
.hs-table td.hs-col-center {
  text-align: center;
}

.hs-table th:first-child,
.hs-table td:first-child {
  min-width: 170px;
}

.hs-table thead th {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.035);
  z-index: 1;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: none;
  color: #7D7A75;
}

.hs-table tbody tr {
  transition: background 0.18s ease;
}

.hs-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.045);
}

.hs-lead-row {
  cursor: pointer;
}

.hs-lead-row.is-newly-processing td {
  animation: hsProcessingPulse 2.2s ease;
}

.hs-lead-row td {
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

.hs-lead-row:hover td {
  background: rgba(255, 255, 255, 0.024);
}

.hs-lead-row:focus-visible {
  outline: none;
}

.hs-lead-row:focus-visible td {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.hs-lead-cell strong {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.hs-lead-cell {
  min-width: 170px;
}

.hs-lead-primary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.hs-lead-primary-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.hs-lead-primary-copy strong {
  display: block;
}

.hs-lead-company-link,
.hs-lead-company-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(223, 245, 255, 0.84);
  text-decoration: none;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hs-lead-company-link {
  cursor: pointer;
}

.hs-lead-company-link:hover {
  color: var(--hs-text);
  text-decoration: underline;
}

.hs-lead-website-link {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  color: var(--hs-soft);
  text-decoration: none;
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hs-lead-website-link:hover {
  color: var(--hs-text);
  text-decoration: underline;
}

.hs-lead-cell .hs-links-menu {
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  margin-left: auto;
  flex-shrink: 0;
}

.hs-lead-cell span {
  display: block;
  color: var(--hs-muted);
  font-size: 11px;
}

.hs-score-pill,
.hs-tag,
.hs-cadence-pill,
.hs-crm-pill,
.hs-processing-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 21px;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(243, 245, 239, 0.78);
  font-weight: 500;
  font-size: 12px;
  font-style: normal;
  line-height: 1;
}

.hs-score-pill {
  min-width: 56px;
}

.hs-score-stack {
  display: inline-flex;
  min-width: 72px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hs-score-intent {
  font-size: 11px;
  line-height: 1.55;
  color: var(--hs-muted);
  font-weight: 400;
}

.hs-score-pill-good {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.16);
  color: #d1fae5;
}

.hs-tag {
  min-width: 76px;
  border-color: rgba(20, 184, 166, 0.36);
  background: rgba(20, 184, 166, 0.28);
  color: #d8fffa;
  font-size: 12px;
  margin-top: 8px;
}

.hs-cadence-pill {
  min-width: 96px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(243, 245, 239, 0.78);
  font-size: 12px;
}

.hs-processing-pill {
  min-width: 96px;
}

.hs-processing-in_progress {
  border-color: var(--hs-info-border);
  background: var(--hs-info-bg);
  color: var(--hs-info-text);
}

.hs-processing-completed {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.16);
  color: #d1fae5;
}

.hs-processing-failed {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.16);
  color: #fecaca;
}

@keyframes hsProcessingPulse {
  0% {
    background: rgba(125, 211, 252, 0.1);
  }
  100% {
    background: transparent;
  }
}

.hs-cadence-very-active {
  border-color: var(--hs-info-border);
  background: var(--hs-info-bg);
  color: var(--hs-info-text);
}

.hs-cadence-active {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.16);
  color: #d1fae5;
}

.hs-cadence-sporadic {
  border-color: rgba(56, 189, 248, 0.28);
  background: rgba(56, 189, 248, 0.16);
  color: #d7f2ff;
}

.hs-link {
  color: var(--hs-accent-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
}

.hs-link:hover {
  text-decoration: underline;
}

.hs-empty {
  color: var(--hs-muted);
  font-style: italic;
}

.hs-follower-count {
  display: inline-block;
  min-width: 44px;
  color: var(--hs-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.hs-note {
  min-width: 360px;
  max-width: 520px;
  background: transparent;
  box-shadow: none;
  outline: none;
  color: var(--hs-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
}

.hs-lead-detail-card {
  width: min(840px, calc(100vw - 40px));
}

.hs-lead-detail-meta {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hs-lead-detail-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hs-lead-detail-summary-item {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.hs-lead-detail-summary-item span {
  color: var(--hs-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hs-lead-detail-summary-item strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--hs-text);
}

.hs-lead-detail-youtube-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hs-lead-detail-youtube-metric {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.026);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.hs-lead-detail-youtube-metric span {
  color: var(--hs-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hs-lead-detail-youtube-metric strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--hs-text);
}

.hs-lead-detail-youtube-videos {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.hs-lead-detail-youtube-insight {
  margin-top: 12px;
}

.hs-lead-detail-youtube-insight-copy {
  margin: 0;
  padding: 12px 13px;
  border-radius: 10px;
  background: rgba(125, 211, 252, 0.08);
  border: 1px solid rgba(125, 211, 252, 0.16);
  color: rgba(243, 245, 239, 0.86);
  font-size: 12px;
  line-height: 1.65;
}

.hs-lead-detail-youtube-channel {
  display: flex;
  justify-content: flex-start;
}

.hs-lead-detail-youtube-video-list {
  display: grid;
  gap: 8px;
}

.hs-lead-detail-youtube-video {
  display: grid;
  gap: 5px;
  padding: 11px 12px;
  border-radius: 8px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 120ms ease, background 120ms ease, transform 120ms ease;
}

.hs-lead-detail-youtube-video:hover {
  border-color: rgba(125, 211, 252, 0.24);
  background: rgba(125, 211, 252, 0.08);
  transform: translateY(-1px);
}

.hs-lead-detail-youtube-video-title {
  color: var(--hs-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.hs-lead-detail-youtube-video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--hs-muted);
  font-size: 11px;
  line-height: 1.4;
}

.hs-lead-detail-notes {
  margin: 0;
  color: var(--hs-muted);
  font-size: 13px;
  line-height: 1.7;
}

.hs-lead-detail-evidence {
  display: grid;
  gap: 8px;
}

.hs-lead-detail-evidence-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hs-lead-detail-evidence-main {
  display: grid;
  gap: 4px;
}

.hs-lead-detail-evidence-label {
  color: var(--hs-text);
  font-size: 12px;
  font-weight: 500;
}

.hs-lead-detail-evidence-value {
  color: var(--hs-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
}

.hs-lead-detail-evidence-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.hs-lead-detail-evidence-chip {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--hs-soft);
  font-size: 11px;
  font-weight: 500;
}

.hs-lead-detail-evidence-chip-high {
  color: #d1fae5;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.2);
}

.hs-lead-detail-evidence-chip-medium {
  color: #dff5ff;
  background: rgba(125, 211, 252, 0.12);
  border-color: rgba(125, 211, 252, 0.2);
}

.hs-lead-detail-evidence-chip-low {
  color: #fed7aa;
  background: rgba(251, 146, 60, 0.12);
  border-color: rgba(251, 146, 60, 0.2);
}

.hs-lead-detail-evidence-link {
  color: var(--hs-text);
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
}

.hs-lead-detail-evidence-link:hover {
  color: #dff5ff;
}

.hs-lead-detail-tech-stack {
  display: grid;
  gap: 10px;
}

.hs-lead-detail-relationships {
  display: grid;
  gap: 14px;
}

.hs-lead-detail-relationship-group {
  display: grid;
  gap: 8px;
}

.hs-lead-detail-relationship-label {
  color: var(--hs-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hs-lead-detail-relationship-items {
  display: grid;
  gap: 8px;
}

.hs-lead-detail-relationship-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hs-lead-detail-relationship-button,
.hs-lead-detail-relationship-name {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hs-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.hs-lead-detail-relationship-button {
  cursor: pointer;
}

.hs-lead-detail-relationship-button:hover {
  color: #dff5ff;
}

.hs-lead-detail-relationship-meta {
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.5;
}

.hs-lead-detail-relationship-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hs-tech-stack-row {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 12px;
  align-items: start;
}

.hs-tech-stack-label {
  color: var(--hs-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.4;
  padding-top: 5px;
}

.hs-tech-stack-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hs-tech-stack-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--hs-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.hs-tech-stack-chip-link {
  color: var(--hs-text);
  text-decoration: none;
}

.hs-tech-stack-chip-link:hover {
  border-color: rgba(125, 211, 252, 0.32);
  background: rgba(125, 211, 252, 0.12);
}

.hs-lead-detail-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hs-lead-detail-status {
  margin-top: 2px;
}

@media (max-width: 900px) {
  .hs-lead-detail-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hs-lead-detail-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hs-lead-detail-youtube-grid {
    grid-template-columns: 1fr;
  }

  .hs-tech-stack-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hs-lead-detail-evidence-row {
    flex-direction: column;
  }

  .hs-lead-detail-evidence-meta {
    justify-content: flex-start;
  }
}

.hs-add-url-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 2px;
  min-height: 24px;
  color: var(--hs-muted);
  font-size: 13px;
  line-height: 1.55;
}

.hs-add-url-indicator {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hs-add-url-status[data-state="loading"] {
  color: var(--hs-info-text);
}

.hs-add-url-status[data-state="loading"] .hs-add-url-indicator {
  background: rgba(125, 211, 252, 0.22);
  border-color: rgba(125, 211, 252, 0.34);
  box-shadow: 0 0 0 0 rgba(125, 211, 252, 0.34);
  animation: hs-analysis-pulse 1.2s ease-in-out infinite;
}

.hs-add-url-status[data-state="success"] {
  color: #d1fae5;
}

.hs-add-url-status[data-state="success"] .hs-add-url-indicator {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(16, 185, 129, 0.34);
}

.hs-add-url-status[data-state="error"] {
  color: #fecaca;
}

.hs-add-url-status[data-state="error"] .hs-add-url-indicator {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.34);
}

.hs-add-url-card {
  width: min(700px, 100%);
  padding: 18px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(13, 18, 14, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(125, 195, 242, 0.025);
  backdrop-filter: blur(26px) saturate(112%);
}

.hs-add-url-card .hs-review-modal-head {
  margin-bottom: 10px;
  align-items: flex-start;
}

.hs-add-url-card .hs-review-modal-head strong {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.hs-add-url-card .hs-side-label {
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(243, 245, 239, 0.38);
}

.hs-add-url-card .hs-modal-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(243, 245, 239, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.hs-add-url-card .hs-modal-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(243, 245, 239, 0.92);
}

.hs-add-url-intake {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
  padding: 8px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 12px 28px rgba(0, 0, 0, 0.14);
}

.hs-add-url-form {
  gap: 0;
  width: 100%;
}

.hs-add-url-form .hs-filter > span {
  display: none !important;
}

.hs-add-url-form .hs-filter {
  gap: 0;
  width: 100%;
}

.hs-add-url-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 15px;
  font-weight: 400;
  color: var(--hs-text);
  box-shadow: none;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.hs-add-url-form input::placeholder {
  color: rgba(243, 245, 239, 0.34);
}

.hs-add-url-form input:focus {
  outline: none;
  border-color: rgba(125, 195, 242, 0.12);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 0 3px rgba(125, 195, 242, 0.05);
}

.hs-add-url-actions {
  margin-top: 0;
  padding-top: 0;
  justify-content: flex-end;
}

.hs-add-url-actions .hs-primary-button {
  min-height: 46px;
  border-radius: 8px;
  min-width: 192px;
  background:
    linear-gradient(180deg, rgba(125, 195, 242, 0.22), rgba(125, 195, 242, 0.12)),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(125, 195, 242, 0.24);
  color: rgba(243, 245, 239, 0.96);
  box-shadow:
    0 0 0 1px rgba(125, 195, 242, 0.025),
    0 10px 26px rgba(125, 195, 242, 0.14),
    0 0 22px rgba(125, 195, 242, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hs-add-url-actions .hs-primary-button:hover {
  background:
    linear-gradient(180deg, rgba(125, 195, 242, 0.26), rgba(125, 195, 242, 0.16)),
    rgba(255, 255, 255, 0.06);
  border-color: rgba(125, 195, 242, 0.34);
  box-shadow:
    0 0 0 1px rgba(125, 195, 242, 0.04),
    0 12px 32px rgba(125, 195, 242, 0.16),
    0 0 28px rgba(125, 195, 242, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hs-add-url-copy {
  margin: 2px 0 0;
  color: rgba(243, 245, 239, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.hs-primary-button.is-loading {
  position: relative;
  padding-left: 30px;
}

.hs-primary-button.is-loading::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: rgba(255, 255, 255, 0.9);
  animation: hs-spin 0.8s linear infinite;
}

.hs-add-url-card[data-mode="progress"] {
  min-height: 236px;
}

.hs-add-url-card[data-mode="form"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 12px;
}

.hs-add-url-card[data-mode="form"] .hs-review-modal-head {
  grid-column: 1;
}

.hs-add-url-card[data-mode="form"] .hs-add-url-intake {
  grid-column: 1;
}

.hs-add-url-card[data-mode="form"] .hs-add-url-status {
  grid-column: 1;
  margin: 0;
  font-size: 12px;
  color: rgba(243, 245, 239, 0.56);
}

.hs-add-url-progress {
  display: flex;
  align-items: center;
  min-height: 132px;
}

.hs-add-url-progress[hidden],
.hs-add-url-form[hidden],
.hs-add-url-copy[hidden],
.hs-add-url-actions[hidden],
.hs-add-url-status[hidden] {
  display: none !important;
}

.hs-add-url-progress-shell {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 20px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.hs-add-url-progress[data-tone="success"] .hs-add-url-progress-shell {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(125, 211, 252, 0.055), rgba(125, 211, 252, 0.03)),
    rgba(255, 255, 255, 0.028);
}

.hs-add-url-progress-spinner {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(125, 211, 252, 0.9);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #d1fae5;
  animation: hs-spin 0.8s linear infinite;
}

.hs-add-url-progress[data-tone="success"] .hs-add-url-progress-spinner {
  border-color: rgba(125, 211, 252, 0.28);
  background: rgba(125, 211, 252, 0.14);
  animation: none;
}

.hs-add-url-progress-spinner[data-icon="check"] {
  line-height: 1;
}

.hs-add-url-progress-copy {
  min-width: 0;
}

.hs-add-url-progress-copy strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--hs-text);
}

.hs-add-url-progress-copy p {
  margin: 4px 0 0;
  color: rgba(243, 245, 239, 0.68);
  font-size: 14px;
  line-height: 1.65;
}

.hs-add-url-progress-url {
  display: block;
  margin-top: 8px;
  color: rgba(243, 245, 239, 0.42);
  font-size: 12px;
  line-height: 1.5;
  word-break: break-all;
}

@media (max-width: 720px) {
  .hs-add-url-card[data-mode="form"] {
    grid-template-columns: minmax(0, 1fr);
  }

  .hs-add-url-intake {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 10px;
  }

  .hs-add-url-actions .hs-primary-button {
    width: 100%;
    min-width: 0;
  }
}

.hs-crm-pill {
  min-height: 21px;
  min-width: 96px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(243, 245, 239, 0.78);
}

.hs-crm-pill-list {
  border-color: rgba(168, 85, 247, 0.38);
  background: rgba(168, 85, 247, 0.28);
  color: #f1dbff;
}

.hs-crm-pill-tag {
  border-color: rgba(20, 184, 166, 0.36);
  background: rgba(20, 184, 166, 0.28);
  color: #d8fffa;
}

.hs-crm-group {
  display: inline-block;
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.55;
}

.hs-status-stack,
.hs-followup-stack {
  display: grid;
  gap: 4px;
}

.hs-crm-pill-status {
  background: rgba(255, 255, 255, 0.06);
  color: #ececec;
}

.hs-crm-status-deep-dive {
  background: rgba(111, 230, 148, 0.12);
  color: #8ff0ad;
}

.hs-crm-status-qualified {
  background: rgba(125, 211, 252, 0.12);
  color: #dff5ff;
}

.hs-crm-status-reached-out,
.hs-crm-status-follow-up {
  background: rgba(125, 211, 252, 0.12);
  color: #dff5ff;
}

.hs-crm-verified {
  color: var(--hs-muted);
  font-size: 11px;
}

.hs-followup-date {
  color: var(--hs-muted);
  font-size: 11px;
  line-height: 1.4;
}

.hs-followup-pill-overdue {
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
}

.hs-followup-pill-today {
  background: rgba(125, 211, 252, 0.12);
  color: #dff5ff;
}

.hs-followup-pill-upcoming {
  background: rgba(111, 230, 148, 0.12);
  color: #8ff0ad;
}

.hs-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 190px;
}

.hs-ai-actions {
  display: inline-grid;
  gap: 8px;
}

.hs-ai-button,
.hs-primary-button,
.hs-secondary-button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: var(--hs-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.hs-ai-button.is-reviewed,
.hs-primary-button {
  color: var(--hs-text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.hs-ai-button:hover,
.hs-secondary-button:hover,
.hs-primary-button:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--hs-text);
}

.hs-ai-button.is-reviewed:hover,
.hs-primary-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.hs-save-button {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: var(--hs-soft);
  font-size: 18px;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.hs-save-button:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--hs-text);
}

.hs-save-button.is-saved {
  color: #dff5ff;
  border-color: rgba(125, 211, 252, 0.22);
  background: rgba(125, 211, 252, 0.08);
}

.hs-links-menu {
  position: relative;
}

.hs-links-menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--hs-soft);
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
  text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.hs-links-menu summary::-webkit-details-marker {
  display: none;
}

.hs-links-menu summary:hover,
.hs-links-menu[open] summary {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--hs-line);
  color: var(--hs-text);
}

.hs-links-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 88px;
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(13, 18, 14, 0.92);
  border: 1px solid var(--hs-line);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  z-index: 5;
}

.hs-links-popover .hs-link {
  display: block;
  padding: 4px 6px;
  border-radius: 4px;
  color: var(--hs-text);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease;
}

.hs-links-popover .hs-link:hover {
  background: rgba(255, 255, 255, 0.045);
  color: var(--hs-text);
  text-decoration: none;
}

.hs-pipeline-menu {
  position: relative;
}

.hs-pipeline-menu-trigger {
  list-style: none;
  cursor: pointer;
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.hs-pipeline-menu-trigger::-webkit-details-marker {
  display: none;
}

.hs-pipeline-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 150px;
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  background: #121212;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
  z-index: 8;
}

.hs-pipeline-option {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 12px;
  border: 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--hs-muted);
  text-align: left;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.hs-pipeline-option:hover,
.hs-pipeline-option.is-current {
  background: rgba(125, 211, 252, 0.08);
  color: #f0f0f0;
}

.hs-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(8px);
  z-index: 40;
}

.hs-modal-backdrop[hidden],
.hs-review-modal[hidden] {
  display: none !important;
}

.hs-review-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 41;
  overflow: hidden;
}

.hs-review-modal-card {
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  padding: 18px;
  border-radius: 12px;
  background: rgba(13, 18, 14, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.hs-review-modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.hs-review-modal-head strong {
  display: block;
  font-size: 20px;
}

.hs-review-hint {
  margin: 0 0 12px;
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.55;
}

.hs-review-modal textarea {
  width: 100%;
  min-height: 260px;
  padding: 14px;
  border-radius: 12px;
  border: 0;
  background: #101010;
  color: var(--hs-text);
  font: inherit;
  font-size: 13px;
  line-height: 1.6;
  resize: vertical;
  box-sizing: border-box;
}

.hs-review-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.hs-crm-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hs-crm-form input,
.hs-crm-form select,
.hs-crm-form textarea {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 0;
  background: #101010;
  color: var(--hs-text);
  font: inherit;
  box-sizing: border-box;
}

.hs-crm-form textarea {
  min-height: 120px;
  padding: 12px;
  resize: vertical;
}

.hs-notes-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  min-height: 66vh;
}

.hs-notes-sidebar,
.hs-notes-editor {
  border-radius: 12px;
  background: linear-gradient(180deg, var(--hs-surface-2) 0%, var(--hs-surface) 100%);
  border: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.hs-notes-sidebar {
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.hs-notes-sidebar-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.hs-notes-list {
  display: grid;
  gap: 8px;
}

.hs-notes-nav {
  display: flex;
  gap: 8px;
}

.hs-notes-search {
  gap: 6px;
}

.hs-notes-nav-button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  border: 0;
  background: #111;
  color: var(--hs-muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.hs-notes-nav-button.is-active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--hs-text);
}

.hs-note-list-item {
  width: 100%;
  text-align: left;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #111;
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 6px;
}

.hs-note-list-item.is-active {
  border-color: rgba(125, 211, 252, 0.22);
  background: rgba(125, 211, 252, 0.06);
}

.hs-note-list-item strong {
  font-size: 14px;
}

.hs-note-list-item span {
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.45;
}

.hs-notes-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hs-notes-editor-actions {
  display: flex;
  gap: 8px;
}

.hs-notes-meta {
  color: var(--hs-muted);
  font-size: 12px;
}

.hs-notes-editor {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.hs-note-title-input,
.hs-note-body-input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--hs-text);
  font: inherit;
  box-sizing: border-box;
  outline: none;
}

.hs-note-title-input {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hs-note-body-input {
  min-height: 50vh;
  resize: none;
  font-size: 15px;
  line-height: 1.7;
  color: #e8e8e8;
}

.hs-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 0;
  background: #101010;
  color: #f0f0f0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.hs-discovery-shell {
  display: grid;
  gap: 18px;
}

.hs-discovery-header,
.hs-discovery-panel,
.hs-discovery-stat {
  background: linear-gradient(180deg, var(--hs-surface-2) 0%, var(--hs-surface) 100%);
  border: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.hs-discovery-header {
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.hs-discovery-header strong {
  display: block;
  font-size: 24px;
  line-height: 1.05;
}

.hs-discovery-copy {
  margin: 10px 0 0;
  max-width: 680px;
  color: var(--hs-muted);
  font-size: 14px;
  line-height: 1.6;
}

.hs-discovery-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hs-discovery-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hs-discovery-stat {
  border-radius: 12px;
  min-height: 82px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hs-discovery-stat strong {
  font-size: 1.45rem;
  line-height: 1;
}

.hs-discovery-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.4fr);
  gap: 18px;
  align-items: start;
}

.hs-discovery-panel {
  border-radius: 12px;
  padding: 16px;
  display: grid;
  gap: 14px;
}

.hs-discovery-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.hs-discovery-panel-head strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.hs-discovery-jobs,
.hs-discovery-candidates {
  display: grid;
  gap: 12px;
}

.hs-discovery-empty {
  min-height: 120px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--hs-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  line-height: 1.6;
}

.hs-job-card,
.hs-candidate-card {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.hs-job-card.is-active {
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.14) 0%, rgba(125, 211, 252, 0.06) 100%);
}

.hs-job-card-head,
.hs-candidate-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.hs-job-card-head strong,
.hs-candidate-card-head strong {
  display: block;
  font-size: 16px;
  line-height: 1.15;
}

.hs-job-card-head span,
.hs-candidate-card-head span {
  color: var(--hs-muted);
  font-size: 12px;
}

.hs-job-card-meta,
.hs-candidate-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--hs-muted);
  font-size: 12px;
}

.hs-job-card-actions,
.hs-candidate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hs-job-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--hs-text);
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
  white-space: nowrap;
}

.hs-job-status-active,
.hs-job-status-completed {
  background: rgba(111, 230, 148, 0.14);
  color: #91f2af;
}

.hs-job-status-waiting-for-quota-reset,
.hs-job-status-paused-quota-exhausted {
  background: rgba(125, 211, 252, 0.14);
  color: #dff5ff;
}

.hs-candidate-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hs-candidate-reasons {
  margin: 0;
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.6;
}

.hs-secondary-button,
.hs-link-button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: var(--hs-text);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.hs-secondary-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.hs-link-button:hover,
.hs-secondary-button:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}

.hs-text-button {
  border: 0;
  background: transparent;
  color: var(--hs-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.hs-text-button:hover {
  color: var(--hs-text);
}

.hs-text-button-danger:hover {
  color: #fecaca;
}

.hs-discovery-modal-card {
  max-width: 920px;
}

.hs-discovery-deep-dive {
  display: grid;
  gap: 14px;
}

.hs-discovery-deep-dive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hs-discovery-deep-dive-panel {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.hs-discovery-overview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hs-discovery-overview-row strong {
  font-size: 24px;
  line-height: 1.05;
}

.hs-discovery-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.hs-density-compact .hs-table th,
body.hs-density-compact .hs-table td {
  padding: 12px 12px;
}

body.hs-density-compact .hs-lead-cell strong {
  margin-bottom: 4px;
}

body.hs-density-compact .hs-tag {
  margin-top: 6px;
}

body.hs-density-compact .hs-note {
  line-height: 1.4;
}

body.hs-density-comfortable .hs-table th,
body.hs-density-comfortable .hs-table td {
  padding: 20px 16px;
}

body.hs-density-comfortable .hs-lead-cell strong {
  margin-bottom: 8px;
}

body.hs-density-comfortable .hs-tag {
  margin-top: 10px;
}

body.hs-density-comfortable .hs-note {
  line-height: 1.65;
}

@media (max-width: 980px) {
  .hs-header,
  .hs-topbar,
  .hs-header-metrics {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hs-dashboard-nav,
  .hs-topbar-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hs-header {
    align-items: start;
  }

  .hs-notes-shell,
  .hs-crm-form {
    grid-template-columns: 1fr;
  }

  .hs-discovery-header,
  .hs-discovery-panel-head {
    flex-direction: column;
    align-items: stretch;
  }

  .hs-discovery-summary,
  .hs-discovery-grid {
    grid-template-columns: 1fr;
  }

  .hs-discovery-deep-dive-grid {
    grid-template-columns: 1fr;
  }

  .hs-main-nav {
    flex-wrap: wrap;
    min-height: auto;
    padding: 12px 16px;
  }

  .hs-main-nav-links {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hs-header-focus {
    min-width: 0;
    max-width: none;
  }

  .hs-topbar-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hs-youtube-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hs-youtube-route-field-wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .hs-youtube-route-grid {
    grid-template-columns: 1fr;
  }

  .hs-youtube-route-field-wide {
    grid-column: span 1;
  }
}
