:root {
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #fafbff;
  color: #0a0b14;
  font-family: var(--font-sans);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

a {
  color: #6366f1;
  text-decoration: none;
}

a:hover {
  color: #4f46e5;
  text-decoration: underline;
}

button,
input,
textarea,
select {
  font-family: var(--font-sans);
}

*:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
  border-radius: 8px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulsedot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .35;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-thumb {
  background: rgba(15, 18, 40, .14);
  border-radius: 9px;
}

.app {
  min-height: 100vh;
  background: #fafbff;
  position: relative;
  overflow-x: hidden;
}

.bg-blobs {
  position: absolute;
  inset: 0 0 auto 0;
  height: 420px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: .4;
}

.blob-violet {
  width: 720px;
  height: 720px;
  left: -220px;
  top: -300px;
  background: radial-gradient(closest-side, #8b5cf6, transparent 70%);
}

.blob-blue {
  width: 640px;
  height: 640px;
  right: -180px;
  top: -260px;
  background: radial-gradient(closest-side, #3b82f6, transparent 70%);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(15, 18, 40, .06);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.brand-name {
  font-weight: 700;
  letter-spacing: -.015em;
  font-size: 17px;
  color: #0a0b14;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(15, 18, 40, .08);
  background: rgba(255, 255, 255, .7);
  color: #3d4255;
}

.tab-btn.on {
  border-color: rgba(99, 102, 241, .25);
  background: #eef0ff;
  color: #6366f1;
}

.notif-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ef4444;
  border: 2px solid #fff;
}

.short-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #6366f1;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.main {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 32px 72px;
}

.notif-popover {
  position: fixed;
  top: 76px;
  right: 32px;
  width: 380px;
  z-index: 60;
  background: #fff;
  border: 1px solid rgba(15, 18, 40, .06);
  border-radius: 20px;
  box-shadow: 0 24px 60px -20px rgba(15, 18, 40, .28);
  padding: 16px;
  animation: rise .22s ease;
}

.notif-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 18, 40, .06);
}

.notif-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #5b6175;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
  font-size: 11px;
  font-weight: 500;
  color: #6366f1;
  background: #eef0ff;
  border: 1px solid rgba(99, 102, 241, .25);
}

.badge.ml-auto {
  margin-left: auto;
}

.notif-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
}

.notif-item {
  padding: 12px;
  border-radius: 14px;
  background: #f6f7fd;
  border-left: 3px solid #6366f1;
}

.notif-item.muted {
  background: rgba(15, 18, 40, .03);
}

.notif-item-title {
  font-size: 13px;
  font-weight: 600;
}

.notif-item-text {
  font-size: 12px;
  color: #5b6175;
  margin-top: 4px;
  line-height: 1.5;
}

.notif-item-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: #9aa0b4;
  margin-top: 6px;
}

.search-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(15, 18, 40, .06);
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(15, 18, 40, .03), 0 12px 36px -16px rgba(15, 18, 40, .10);
  padding: 8px;
}

.search-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 4px;
}

.search-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-label-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #5b6175;
}

.platform-pills {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pill {
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(15, 18, 40, 0.06);
  background: #f3f4f8;
  color: #2e334b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
}

.pill.on {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 2px 8px -2px rgba(37, 99, 235, 0.4);
}

.search-textarea {
  width: 100%;
  min-height: 80px;
  max-height: 240px;
  resize: none;
  overflow-y: hidden;
  background: transparent;
  border: 0;
  outline: none;
  padding: 10px 16px;
  font-size: 16px;
  line-height: 1.6;
  color: #0a0b14;
}

.select-pill {
  display: inline-block;
  min-width: 140px;
  height: 42px;
  border-radius: 999px;
  background-color: #f3f4f8;
  border: 1px solid rgba(15, 18, 40, 0.08);
  padding: 0 32px 0 14px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: #1e2238;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236366f1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: all .15s ease;
}

.select-pill:hover,
.select-pill:focus {
  border-color: #6366f1;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.lang-dropdown {
  position: relative;
  display: inline-block;
  align-self: center;
}

.lang-dropdown-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 42px;
  border-radius: 999px;
  background-color: #f3f4f8;
  border: 1px solid rgba(15, 18, 40, 0.08);
  padding: 0 32px 0 14px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: #1e2238;
  cursor: pointer;
  outline: none;
  white-space: nowrap;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236366f1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: all .15s ease;
}

.lang-dropdown-btn:hover,
.lang-dropdown-btn:focus {
  border-color: #6366f1;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  max-width: 320px;
  max-height: 380px;
  background: #fff;
  border: 1px solid rgba(15, 18, 40, 0.08);
  border-radius: 12px;
  box-shadow: 0 18px 48px -18px rgba(15, 18, 40, 0.28);
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: rise .18s ease;
}

.lang-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(15, 18, 40, 0.06);
  flex-shrink: 0;
}

.lang-search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 13px;
  color: #0a0b14;
}

.lang-search-input::placeholder {
  color: #8c93a8;
}

.lang-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(15, 18, 40, 0.06);
  flex-shrink: 0;
}

.lang-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid rgba(15, 18, 40, 0.08);
  background: #f3f4f8;
  color: #2e334b;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}

.lang-chip:hover {
  border-color: #6366f1;
  color: #6366f1;
  background: #eef0ff;
}

.lang-chip.on {
  border-color: #6366f1;
  background: #6366f1;
  color: #fff;
  box-shadow: 0 2px 8px -2px rgba(99, 102, 241, 0.5);
}

.lang-list {
  overflow-y: auto;
  padding: 4px 0;
  flex: 1;
  max-height: 220px;
}

.lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background .12s ease;
}

.lang-item:hover {
  background: rgba(99, 102, 241, 0.06);
}

.lang-checkbox {
  flex-shrink: 0;
  accent-color: #6366f1;
  cursor: pointer;
}

.lang-name {
  font-size: 13px;
  color: #0a0b14;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-code {
  font-size: 11px;
  opacity: 0.6;
  font-family: var(--font-mono);
  color: #3d4255;
  flex-shrink: 0;
}

.country-dropdown {
  position: relative;
  display: inline-block;
  align-self: center;
}

.country-dropdown-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 42px;
  border-radius: 999px;
  background-color: #f3f4f8;
  border: 1px solid rgba(15, 18, 40, 0.08);
  padding: 0 32px 0 14px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: #1e2238;
  cursor: pointer;
  outline: none;
  white-space: nowrap;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236366f1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: all .15s ease;
}

.country-dropdown-btn:hover,
.country-dropdown-btn:focus {
  border-color: #6366f1;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.country-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  max-width: 320px;
  max-height: 380px;
  background: #fff;
  border: 1px solid rgba(15, 18, 40, 0.08);
  border-radius: 12px;
  box-shadow: 0 18px 48px -18px rgba(15, 18, 40, 0.28);
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: rise .18s ease;
}

.country-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(15, 18, 40, 0.06);
  flex-shrink: 0;
}

.country-search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 13px;
  color: #0a0b14;
}

.country-search-input::placeholder {
  color: #8c93a8;
}

.country-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(15, 18, 40, 0.06);
  flex-shrink: 0;
}

.country-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid rgba(15, 18, 40, 0.08);
  background: #f3f4f8;
  color: #2e334b;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}

.country-chip:hover {
  border-color: #8b5cf6;
  color: #8b5cf6;
  background: #f5f3ff;
}

.country-chip.on {
  border-color: #8b5cf6;
  background: #8b5cf6;
  color: #fff;
  box-shadow: 0 2px 8px -2px rgba(139, 92, 246, 0.5);
}

.country-list {
  overflow-y: auto;
  padding: 4px 0;
  flex: 1;
  max-height: 220px;
}

.country-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background .12s ease;
}

.country-item:hover {
  background: rgba(99, 102, 241, 0.06);
}

.country-checkbox {
  flex-shrink: 0;
  accent-color: #6366f1;
  cursor: pointer;
}

.country-name {
  font-size: 13px;
  color: #0a0b14;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-code {
  font-size: 11px;
  opacity: 0.6;
  font-family: var(--font-mono);
  color: #3d4255;
  flex-shrink: 0;
}

.badge-lang {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #0f7a5a;
  background: #eefaf4;
  border: 1px solid rgba(16, 185, 129, 0.25);
  white-space: nowrap;
  cursor: help;
}

.badge-gender {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-gender.male {
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.badge-gender.female {
  color: #db2777;
  background: #fdf2f8;
  border: 1px solid rgba(219, 39, 119, 0.25);
}

.badge-gender.duo {
  color: #7c3aed;
  background: #f5f3ff;
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.stop-topics-input {
  min-width: 170px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #f3f4f8;
  border: 1px solid rgba(15, 18, 40, 0.08);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: #1e2238;
  outline: none;
  transition: all .15s ease;
}

.stop-topics-input::placeholder {
  color: #8c93a8;
  font-size: 13px;
  font-weight: 400;
}

.stop-topics-input:hover,
.stop-topics-input:focus {
  border-color: #6366f1;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.subscribers-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 42px;
  padding: 0 6px;
  border-radius: 999px;
  background: #f3f4f8;
  border: 1px solid rgba(15, 18, 40, 0.08);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.subscribers-group:focus-within {
  background: #fff;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.subscribers-label {
  padding-left: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #2e334b;
  white-space: nowrap;
}

.range-input {
  width: 76px;
  height: 32px;
  border: 0;
  background: transparent;
  padding: 0 8px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  color: #0a0b14;
  outline: none;
  appearance: textfield;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  text-align: center;
  transition: background .15s ease;
}

.range-input::-webkit-outer-spin-button,
.range-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.range-input::placeholder {
  color: #8c93a8;
  font-size: 13px;
  font-weight: 400;
  font-family: var(--font-sans);
}

.range-divider {
  flex-shrink: 0;
  color: #8c93a8;
  font-size: 13px;
  user-select: none;
}

.search-filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid rgba(15, 18, 40, 0.06);
  min-width: 0;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.filter-row-top {
  flex-wrap: wrap;
}

.filter-row-bottom {
  justify-content: space-between;
  flex-wrap: wrap;
}

.psycho-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.psycho-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #5b6175;
  white-space: nowrap;
}

.search-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.audience-confirm-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 8px 8px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef0ff, #f5f3ff);
  border: 1px solid rgba(99, 102, 241, 0.22);
  color: #2e334b;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  animation: rise .25s ease;
}

.btn-banner-reset {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  background: #fff;
  color: #6366f1;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}

.btn-banner-reset:hover {
  background: #eef0ff;
  border-color: rgba(99, 102, 241, 0.5);
}

.btn-secondary-ai {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: #6366f1;
  background: #f5f3ff;
  border: 1px solid rgba(99, 102, 241, 0.4);
  transition: all .15s ease;
  white-space: nowrap;
}

.btn-secondary-ai:hover {
  background: #eef0ff;
  border-color: rgba(99, 102, 241, 0.6);
  transform: translateY(-1px);
}

.btn-secondary-ai:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  font-size: 14.5px;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 24px -8px rgba(99, 102, 241, .6), 0 1px 2px rgba(15, 18, 40, .1);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 28px -8px rgba(99, 102, 241, .7), 0 1px 2px rgba(15, 18, 40, .1);
}

.stages {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stage-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 18, 40, .06);
  background: rgba(15, 18, 40, .02);
}

.stage-row.active {
  border-color: rgba(99, 102, 241, .25);
  background: #eef0ff;
}

.stage-row.done {
  border-color: rgba(16, 185, 129, .2);
  background: #eefaf4;
}

.stage-dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
  background: #d5d7e0;
}

.stage-dot.active {
  background: #6366f1;
  animation: pulsedot 1s infinite;
}

.stage-dot.done {
  background: #10b981;
}

.stage-row.done .stage-dot {
  background: #10b981;
  color: #fff;
}

.stage-row.active .stage-dot {
  background: #6366f1;
  color: #fff;
  animation: pulsedot 1.2s infinite ease-in-out;
}

.stage-text {
  font-size: 13.5px;
  color: #0a0b14;
}

.stage-text.pending {
  color: #9aa0b4;
  opacity: 0.45;
}

.results {
  margin-top: 26px;
  animation: rise .3s ease;
}

.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.results-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #5b6175;
}

.results-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.results-count {
  margin-top: 3px;
  font-size: 13px;
  color: #5b6175;
}

.results-meta {
  margin-top: 6px;
  font-size: 13px;
  color: #5b6175;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 16px;
  border-radius: 13px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  color: #3d4255;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(15, 18, 40, .08);
}

.btn-ghost:hover {
  background: #fff;
  border-color: rgba(99, 102, 241, .3);
  color: #6366f1;
}

.filters {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: auto;
  width: fit-content;
  gap: 4px;
  margin-bottom: 12px;
}

.filter-controls-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.sort-controls-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.filter-icon,
.sort-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8c93a8;
  flex-shrink: 0;
  pointer-events: none;
}

.filter-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 6px 10px;
  border-radius: 9px;
  border: 0;
  background: transparent;
  font-size: 12.5px;
  color: #5b6175;
  cursor: pointer;
}

.filter-select:hover {
  background: rgba(15, 18, 40, .05);
  color: #0a0b14;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
  gap: 16px;
  align-items: start;
}

.grid.list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.author-card {
  background: #fff;
  border: 1px solid rgba(15, 18, 40, .07);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
  gap: 12px;
  transition: box-shadow .2s ease, border-color .2s ease;
}

.author-card:hover {
  box-shadow: 0 10px 30px -18px rgba(15, 18, 40, .22);
  border-color: rgba(99, 102, 241, .22);
}

.author-top {
  display: flex;
  align-items: center;
  gap: 11px;
}

.avatar {
  border-radius: 999px;
  flex-shrink: 0;
  display: block;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 1px rgba(15, 18, 40, .06);
}

.author-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.author-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.author-name {
  font-size: 15.5px;
  font-weight: 600;
  color: #0a0b14;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.verified {
  flex-shrink: 0;
}

.author-handle {
  margin-top: 2px;
  font-size: 12px;
  color: #9aa0b4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.platform-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-right: 3px;
}

.author-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  margin: 0;
}

.badge-direct {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
  font-size: 11.5px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: .01em;
  color: #3d4255;
  background: #f6f7fd;
  border: 1px solid rgba(15, 18, 40, 0.1);
}

.badge-direct svg {
  color: #6366f1;
  flex-shrink: 0;
}

.badge-affinity {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
  font-size: 11.5px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: .01em;
  color: #3d4255;
  background: #f6f7fd;
  border: 1px solid rgba(15, 18, 40, 0.1);
}

.badge-affinity svg {
  color: #6366f1;
  flex-shrink: 0;
}

.badges-psycho {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.badge-psycho {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
  cursor: help;
}

.rel-block {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.rel-value {
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: #6366f1;
}

.rel-track {
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: rgba(15, 18, 40, .08);
  overflow: hidden;
}

.rel-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #6366f1, #4f46e5);
  transition: width .3s ease;
}

.rel-caption {
  font-size: 9.5px;
  color: #b3b8c8;
}

.author-bio {
  font-size: 13.5px;
  line-height: 1.55;
  color: #5b6175;
  margin-bottom: auto;
}

.explanation-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: #5b6175;
}

.explanation-text.explanation-clamped {
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.analytics-accordion {
  margin-top: 18px;
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.analytics-accordion[open] {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 8px 24px -16px rgba(99, 102, 241, 0.35);
}

.analytics-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.analytics-summary::-webkit-details-marker {
  display: none;
}

.analytics-total {
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
  font-size: 13.5px;
  font-weight: 600;
  color: #0a0b14;
}

.analytics-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #6366f1;
  background: #eef0ff;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.analytics-chevron {
  margin-left: auto;
  color: #6366f1;
  transition: transform .18s ease;
}

.analytics-accordion[open] .analytics-chevron {
  transform: rotate(180deg);
}

.analytics-body {
  padding: 4px 16px 16px;
  border-top: 1px solid rgba(15, 18, 40, 0.06);
  animation: rise .2s ease;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 0;
}

.analytics-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 18, 40, 0.03);
}

.analytics-metric-label {
  font-size: 11px;
  color: #5b6175;
}

.analytics-metric-value {
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
  font-size: 15px;
  font-weight: 700;
  color: #0a0b14;
}

.analytics-section {
  padding-top: 12px;
}

.analytics-section-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #5b6175;
  margin-bottom: 8px;
}

.analytics-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(15, 18, 40, 0.04);
}

.analytics-row:last-child {
  border-bottom: 0;
}

.analytics-key {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #5b6175;
}

.analytics-value {
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
  font-size: 12.5px;
  font-weight: 600;
  color: #0a0b14;
  text-align: right;
}

.btn-link {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: #6366f1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-link:hover {
  text-decoration: underline;
}

.chevron {
  transition: transform .18s ease;
}

.chevron.open {
  transform: rotate(180deg);
}

.author-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(15, 18, 40, .05);
  border-bottom: 1px solid rgba(15, 18, 40, .05);
  padding: 8px 0;
}

.stat {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.stat-value {
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
  font-size: 14px;
  font-weight: 700;
  color: #0a0b14;
}

.stat-label {
  font-size: 10.5px;
  color: #9aa0b4;
}

.stat-divider {
  width: 1px;
  height: 14px;
  background: rgba(15, 18, 40, .08);
}

.stat-geo {
  flex: 1;
  padding-left: 12px;
  font-size: 12.5px;
  color: #5b6175;
}

.stat.pad-left {
  padding-left: 12px;
}

.author-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 11px;
  border-top: 1px solid rgba(15, 18, 40, .05);
}

.btn-short {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(99, 102, 241, .28);
  color: #6366f1;
  background: #eef0ff;
}

.btn-short.in {
  border-color: rgba(16, 185, 129, .28);
  color: #0f7a5a;
  background: #eefaf4;
}

.btn-chat {
  margin-left: auto;
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: #6366f1;
  background: #eef0ff;
  border: 1px solid rgba(99, 102, 241, .28);
}

.btn-chat:hover {
  background: #e6e9ff;
}

.profile-card {
  background: #fff;
  border: 1px solid rgba(15, 18, 40, .06);
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(15, 18, 40, .03), 0 12px 36px -16px rgba(15, 18, 40, .10);
  padding: 26px;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(135deg, hsl(250 70% 62%), hsl(290 70% 55%));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}

.profile-name {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.profile-sub {
  margin: 5px 0 0;
  font-size: 13.5px;
  color: #5b6175;
}

.profile-stats {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.profile-stat {
  border-radius: 16px;
  background: rgba(15, 18, 40, .035);
  padding: 16px;
}

.profile-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  color: #5b6175;
}

.profile-stat-value {
  margin-top: 6px;
  font-size: 28px;
  font-weight: 800;
}

.profile-stat-value.accent {
  color: #6366f1;
}

.profile-stat-value.green {
  color: #10b981;
}

.shortlist-card {
  margin-top: 20px;
  background: #fff;
  border: 1px solid rgba(15, 18, 40, .06);
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(15, 18, 40, .03), 0 12px 36px -16px rgba(15, 18, 40, .10);
  padding: 24px;
}

.shortlist-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.shortlist-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: #3d4255;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(15, 18, 40, .08);
}

.empty-state {
  padding: 44px 20px;
  text-align: center;
  border: 1px dashed rgba(15, 18, 40, .14);
  border-radius: 18px;
}

.empty-title {
  font-size: 14px;
  font-weight: 600;
}

.empty-text {
  margin-top: 6px;
  font-size: 13px;
  color: #5b6175;
}

.empty-btn {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(180deg, #6366f1, #4f46e5);
}

.shortlist-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shortlist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(15, 18, 40, .06);
  background: rgba(15, 18, 40, .02);
}

.shortlist-item-info {
  flex: 1;
  min-width: 0;
}

.shortlist-item-name {
  font-size: 14px;
  font-weight: 700;
}

.shortlist-item-sub {
  margin-top: 2px;
  font-size: 12px;
  color: #5b6175;
}

.badge-rel {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
  font-size: 11px;
  font-weight: 600;
  color: #6366f1;
  background: #eef0ff;
  border: 1px solid rgba(99, 102, 241, .25);
}

.btn-solid {
  padding: 9px 14px;
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  border: 0;
  background: linear-gradient(180deg, #6366f1, #4f46e5);
}

.btn-solid:hover {
  filter: brightness(1.06);
}

.btn-soft {
  padding: 9px 12px;
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  color: #3d4255;
  background: rgba(15, 18, 40, .05);
  border: 1px solid rgba(15, 18, 40, .06);
}

.btn-soft:hover {
  background: rgba(15, 18, 40, .09);
}

.crm-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
  height: calc(100vh - 164px);
  min-height: 560px;
}

.crm-sidebar {
  background: #fff;
  border: 1px solid rgba(15, 18, 40, .06);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.crm-sidebar-head {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15, 18, 40, .06);
  display: flex;
  align-items: center;
  gap: 8px;
}

.crm-sidebar-title {
  font-size: 13px;
  font-weight: 700;
}

.crm-search {
  padding: 12px 12px 0;
}

.crm-search-input {
  width: 100%;
  padding: 9px 12px;
  border-radius: 11px;
  border: 1px solid rgba(15, 18, 40, .08);
  background: rgba(15, 18, 40, .02);
  font-size: 12.5px;
  outline: none;
}

.thread-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}

.thread-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px;
  border-radius: 14px;
  cursor: pointer;
  margin-bottom: 4px;
  border: 1px solid transparent;
  background: transparent;
}

.thread-item.on {
  border-color: rgba(99, 102, 241, .25);
  background: #eef0ff;
}

.thread-info {
  flex: 1;
  min-width: 0;
}

.thread-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.thread-name {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thread-time {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #9aa0b4;
}

.thread-last {
  margin-top: 3px;
  font-size: 11.5px;
  color: #5b6175;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thread-status-row {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.thread-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
}

.thread-status {
  font-size: 10.5px;
  color: #5b6175;
}

.crm-chat {
  background: #fff;
  border: 1px solid rgba(15, 18, 40, .06);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.crm-chat-head {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(15, 18, 40, .06);
  display: flex;
  align-items: center;
  gap: 12px;
}

.crm-chat-name {
  font-size: 14px;
  font-weight: 700;
}

.crm-chat-sub {
  font-size: 11.5px;
  color: #5b6175;
}

.badge-followup {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: #6366f1;
  background: #eef0ff;
  border: 1px solid rgba(99, 102, 241, .25);
}

.chat-feed {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, #fff, rgba(15, 18, 40, .025));
}

.msg-row {
  display: flex;
  justify-content: flex-start;
}

.msg-row.us {
  justify-content: flex-end;
}

.msg-bubble {
  max-width: 74%;
  font-size: 13.5px;
  line-height: 1.55;
  padding: 11px 14px;
  border-radius: 18px;
  border: 1px solid rgba(15, 18, 40, .06);
  background: #fff;
  color: #26293a;
  border-bottom-left-radius: 6px;
}

.msg-bubble.us {
  border: 1px solid transparent;
  background: #6366f1;
  color: #fff;
  border-bottom-right-radius: 6px;
}

.msg-time {
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #9aa0b4;
}

.msg-time.us {
  color: rgba(255, 255, 255, .7);
}

.chat-composer {
  border-top: 1px solid rgba(15, 18, 40, .06);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-replies {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  color: #3d4255;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(15, 18, 40, .08);
}

.quick-btn:hover {
  background: #fff;
  border-color: rgba(99, 102, 241, .3);
  color: #6366f1;
}

.composer-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.composer-textarea {
  flex: 1;
  resize: none;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 18, 40, .08);
  background: rgba(15, 18, 40, .02);
  font-size: 13.5px;
  line-height: 1.5;
  outline: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 18, 40, .06);
  box-shadow: 0 1px 2px rgba(15, 18, 40, .04), 0 18px 48px -18px rgba(15, 18, 40, .3);
  animation: rise .25s ease;
}

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #10b981;
}

.toast-text {
  font-size: 13px;
  font-weight: 500;
}

.match-type-pills {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(15, 18, 40, 0.05);
  border: 1px solid rgba(15, 18, 40, 0.06);
  margin-bottom: 14px;
}

.match-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: #5b6175;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}

.match-type-pill:hover {
  color: #0a0b14;
}

.match-type-pill.on {
  background: #fff;
  color: #6366f1;
  box-shadow: 0 1px 3px rgba(15, 18, 40, 0.1);
}

.ai-inferred {
  animation: aiPulse 2s ease;
}

@keyframes aiPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.55);
    border-color: #6366f1;
  }

  50% {
    box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.12);
    border-color: #6366f1;
  }

  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    border-color: rgba(15, 18, 40, 0.08);
  }
}

.audience-confirm-card {
  margin: 4px 8px 8px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef0ff, #f5f3ff);
  border: 1px solid rgba(99, 102, 241, 0.22);
  animation: rise .25s ease;
}

.audience-confirm-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.audience-confirm-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.3);
  font-size: 15px;
}

.audience-confirm-title {
  font-size: 14px;
  font-weight: 700;
  color: #2e334b;
  line-height: 1.4;
}

.audience-textarea {
  background: #fff;
  border: 1px solid rgba(15, 18, 40, 0.08);
  border-radius: 12px;
  margin-bottom: 10px;
}

.audience-textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.brand-summary-badge {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 18, 40, 0.06);
  font-size: 12.5px;
  line-height: 1.45;
}

.brand-summary-label {
  flex-shrink: 0;
  font-weight: 700;
  color: #5b6175;
}

.brand-summary-text {
  color: #2e334b;
}

.hormone-pills {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.hormone-info-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #f5f3ff;
  color: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.25);
  cursor: help;
  flex-shrink: 0;
  transition: background .15s ease, color .15s ease;
}

.hormone-info-badge:hover {
  background: #eef0ff;
  color: #6366f1;
}

.hormone-pill {
  height: 30px;
  padding: 0 12px;
  font-size: 12.5px;
  border-radius: 999px;
  border: 1px solid rgba(15, 18, 40, 0.08);
  background: #f3f4f8;
  color: #2e334b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}

.hormone-pill:hover {
  border-color: #6366f1;
  color: #6366f1;
  background: #eef0ff;
}

.hormone-pill.on {
  border-color: #6366f1;
  background: #6366f1;
  color: #fff;
  box-shadow: 0 2px 10px -2px rgba(99, 102, 241, 0.55);
}

.hormone-hint {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.75;
  margin-left: 3px;
  pointer-events: none;
}

.hormone-pill.on .hormone-hint {
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
}

.hormone-chips {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.hormone-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}

.hormone-chip:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.hormone-chip.on {
  background: #6366f1;
  color: #ffffff;
  border-color: #4f46e5;
  box-shadow: 0 2px 8px -2px rgba(99, 102, 241, 0.45);
}

.audience-validation-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  border: 1.5px solid rgba(99, 102, 241, 0.28);
  border-radius: 20px;
  box-shadow: 0 4px 20px -8px rgba(99, 102, 241, 0.15);
  padding: 16px 20px;
  margin: 10px 0 16px;
  animation: rise .25s ease;
}

.audience-validation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.audience-validation-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.audience-validation-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #1e2238;
  line-height: 1.4;
}

.audience-validation-badge {
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: #6366f1;
  background: #eef0ff;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.audience-editable-textarea {
  width: 100%;
  min-height: 68px;
  resize: vertical;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #0a0b14;
  background: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.audience-editable-textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
  outline: none;
}

@media (max-width: 900px) {
  .search-controls {
    width: 100%;
    flex-wrap: wrap;
  }

  .search-controls .btn-secondary-ai,
  .search-controls .btn-primary {
    flex: 1 1 auto;
    justify-content: center;
  }

  .audience-confirm-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .filter-row-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .psycho-group {
    flex-wrap: wrap;
  }

  .search-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .search-controls .platform-pills {
    justify-content: center;
  }
}
