:root {
  --ink: #162126;
  --muted: #657076;
  --line: #dfe5e3;
  --canvas: #f5f6f2;
  --surface: #ffffff;
  --teal: #08776b;
  --teal-deep: #11433f;
  --teal-soft: #e4f3ef;
  --blue: #2268c9;
  --blue-soft: #e8f0fd;
  --amber: #bd7914;
  --amber-soft: #fbf1db;
  --green: #248451;
  --green-soft: #e7f5eb;
  --danger: #b84b47;
  --shadow: 0 12px 28px rgba(25, 42, 44, 0.08);
}

.global-progress {
  position: fixed;
  top: 68px;
  left: 50%;
  z-index: 1200;
  display: none;
  width: min(520px, calc(100vw - 28px));
  margin: 0;
  padding: 12px 14px 11px;
  border: 1px solid #c9ddd7;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 32px rgba(27, 61, 55, 0.18);
  pointer-events: none;
  transform: translateX(-50%);
}

.global-progress.is-visible {
  display: block;
}

.global-progress.is-error {
  border-color: #e6b9b3;
}

.global-progress-head,
.global-progress-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.global-progress-head strong {
  overflow: hidden;
  color: #284744;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-progress-head span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}

.global-progress-track {
  height: 6px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 3px;
  background: #e5efec;
}

.global-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: repeating-linear-gradient(115deg, #08776b 0, #08776b 12px, #2e9a8d 12px, #2e9a8d 22px);
  background-size: 34px 100%;
  transition: width 0.32s ease;
  animation: global-progress-stripes 0.8s linear infinite;
}

.global-progress.is-error .global-progress-track span {
  background: #c95d50;
  animation: none;
}

.global-progress-detail {
  margin-top: 7px;
  color: #71817f;
  font-size: 10px;
}

@keyframes global-progress-stripes {
  to { background-position: 34px 0; }
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
}

.header.workspace-topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  height: 64px;
  padding: 0 24px;
  gap: 20px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.topbar-brand,
.topbar-nav,
.topbar-actions,
.topbar-project {
  display: flex;
  align-items: center;
}

.topbar-brand {
  min-width: 194px;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--teal-deep);
  color: #fff;
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.brand-title {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.brand-title strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand-title span {
  color: var(--muted);
  font-size: 11px;
}

.topbar-nav {
  gap: 2px;
  height: 100%;
}

.top-nav {
  position: relative;
  height: 64px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #657076;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
}

.top-nav:hover,
.top-nav.is-active {
  color: var(--teal);
}

.top-nav.is-active {
  border-bottom-color: var(--teal);
  font-weight: 700;
}

.top-nav svg {
  width: 15px;
  height: 15px;
}

.topbar-project {
  min-width: 0;
  height: 32px;
  max-width: 220px;
  gap: 7px;
  padding: 0 10px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfb;
  color: #4a5658;
  font-size: 12px;
}

.topbar-project span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-project svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: var(--teal);
}

.topbar-actions {
  gap: 8px;
}

.header.workspace-topbar .message-button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  border-radius: 6px;
  color: #536164;
}

.header.workspace-topbar .message-button[style*="display: none"] {
  display: none !important;
}

.header.workspace-topbar #btnAuth,
.header.workspace-topbar #btnRegister {
  height: 34px;
  border-radius: 6px;
  padding: 0 12px;
}

.header.workspace-topbar #btnRegister {
  background: var(--teal);
  color: #fff;
}

.header.workspace-topbar #btnAuth.btn.ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: #354447;
}

.workspace-shell {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  min-height: calc(100vh - 64px);
}

.app-sidebar {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  padding: 18px 12px;
  overflow-y: auto;
  border-right: 1px solid #213c39;
  background: #153431;
  color: #d8ebe7;
}

.sidebar-label {
  padding: 0 10px;
  margin: 5px 0 9px;
  color: #91aaa5;
  font-size: 11px;
  font-weight: 700;
}

.sidebar-link {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  color: #d8ebe7;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  text-align: left;
}

.sidebar-link:hover {
  background: #1d4945;
}

.sidebar-link.is-active {
  color: #fff;
  background: #0a7568;
  font-weight: 700;
}

.sidebar-link svg {
  width: 17px;
  height: 17px;
}

.sidebar-step {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  margin-left: auto;
  border: 1px solid #47716a;
  border-radius: 50%;
  color: #a8c7c0;
  font-size: 10px;
}

.sidebar-link.is-active .sidebar-step {
  border-color: #a9ddd1;
  color: #fff;
}

.sidebar-footer {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding: 16px 8px 4px;
}

.sidebar-status {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #315550;
  color: #a5c0bb;
  font-size: 11px;
  line-height: 1.55;
}

.sidebar-status svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  color: #72c8b8;
}

.workspace-main {
  min-width: 0;
  padding: 28px;
}

.workspace-main button:focus-visible,
.workspace-main input:focus-visible,
.workspace-main select:focus-visible,
.workspace-main textarea:focus-visible {
  outline: 3px solid rgba(8, 119, 107, 0.22);
  outline-offset: 2px;
}

.workspace-page {
  display: none;
  max-width: 1420px;
  margin: 0 auto;
}

.workspace-page.is-active {
  display: block;
}

.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.page-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}

.page-eyebrow svg {
  width: 15px;
  height: 15px;
}

.page-heading h1 {
  margin-top: 6px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0;
}

.page-heading p {
  max-width: 660px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.page-heading-actions {
  display: flex;
  align-items: flex-end;
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home-button {
  white-space: nowrap;
}

.workspace-page .btn,
.workspace-main .btn {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
}

.workspace-main .btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
}

.workspace-main .btn:focus-visible,
.workspace-empty-state .btn:focus-visible {
  outline: 3px solid rgba(8, 119, 107, 0.18);
  outline-offset: 2px;
}

.workspace-main .btn.primary {
  background: var(--teal);
  color: #fff;
}

.workspace-main .btn.primary:hover {
  background: #05685e;
}

.workspace-main .btn.ghost {
  border-color: var(--line);
  background: #fff;
  color: #374548;
}

.workspace-main .btn svg {
  width: 16px;
  height: 16px;
}

.home-hero {
  position: relative;
  min-height: 370px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 48px;
  border-radius: 8px;
  background: #133a36;
  color: #fff;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 42, 39, 0.42);
  pointer-events: none;
}

.home-hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 610px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a9ddd1;
  font-size: 12px;
  font-weight: 700;
}

.hero-kicker svg {
  width: 16px;
  height: 16px;
}

.hero-copy h1 {
  max-width: 590px;
  margin: 14px 0 14px;
  color: #fff;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 520px;
  color: #d4e6e2;
  font-size: 15px;
  line-height: 1.7;
}

.hero-project-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 710px;
  margin-top: 26px;
}

.hero-project-form input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 13px;
  border: 1px solid #628d86;
  border-radius: 6px;
  outline: 0;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 14px;
}

.hero-project-form .btn {
  height: 42px;
  flex: 0 0 auto;
  background: #f4c75f;
  color: #2e2917;
}

.hero-project-form .btn.secondary {
  border: 1px solid #8bbab1;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-project-form .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-subnote {
  margin-top: 12px;
  color: #afcdc7;
  font-size: 12px;
}

.home-section {
  margin-top: 34px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.section-heading h2 {
  color: var(--ink);
  font-size: 19px;
}

.section-heading p {
  color: var(--muted);
  font-size: 13px;
}

.workflow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.workflow-item {
  position: relative;
  min-height: 176px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.workflow-item:last-child {
  border-right: 0;
}

.workflow-index {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.workflow-item h3 {
  margin-top: 34px;
  color: var(--ink);
  font-size: 16px;
}

.workflow-item p {
  min-height: 42px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.workflow-item button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 13px;
  padding: 0;
  border: 0;
  color: var(--teal);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.workflow-item button svg {
  width: 14px;
  height: 14px;
}

.home-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.proof-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
  background: #fbfcfa;
}

.proof-copy h2 {
  font-size: 22px;
  line-height: 1.35;
}

.proof-copy p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.proof-points {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.proof-point {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #405054;
  font-size: 13px;
}

.proof-point svg {
  width: 17px;
  height: 17px;
  color: var(--teal);
}

.proof-flow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 330px;
  padding: 38px;
  border-left: 1px solid var(--line);
  background: #f0f7f5;
}

.proof-flow-title {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #15574f;
  font-size: 13px;
  font-weight: 800;
}

.proof-flow-title svg {
  width: 18px;
  height: 18px;
}

.proof-flow ol {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.proof-flow li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 43px;
  padding-bottom: 10px;
  border-bottom: 1px solid #cfe0db;
  color: #34514d;
  font-size: 13px;
  font-weight: 700;
}

.proof-flow li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.proof-flow li b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
}

.proof-flow p {
  margin-top: 20px;
  color: #64807b;
  font-size: 12px;
  line-height: 1.65;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-project-panel .panel-head h2 {
  margin-top: 5px;
  font-size: 20px;
}

.project-context-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-context-item {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.project-context-item:last-child {
  border-right: 0;
}

.project-context-item > svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.project-context-item span {
  min-width: 0;
}

.project-context-item label,
.project-context-item strong {
  display: block;
}

.project-context-item label {
  color: var(--muted);
  font-size: 11px;
}

.project-context-item strong {
  overflow: hidden;
  margin-top: 6px;
  color: #344344;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 18px;
}

.home-metric-grid {
  gap: 10px;
}

.home-metric-grid .metric {
  min-height: 112px;
  padding: 15px;
}

.home-world-map-panel .panel-head {
  align-items: flex-start;
}

.home-world-map-note,
.send-scheduled-note {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid #cfe0ef;
  border-radius: 999px;
  background: #f4f8fc;
  color: #54708b;
  font-size: 11px;
  font-weight: 700;
}

.home-world-map-layout {
  display: block;
}

.home-world-map-stage {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid #d9e6f2;
  border-radius: 7px;
  background: #fff;
}

.home-world-map-vector,
.home-world-map-points {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-world-map-vector svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.home-world-map-vector svg path {
  fill: #696969;
  stroke: #fff;
  stroke-width: .9;
  vector-effect: non-scaling-stroke;
  cursor: crosshair;
  pointer-events: all;
  transition: fill .16s ease, stroke .16s ease, filter .16s ease;
}

.home-world-map-vector svg path:hover,
.home-world-map-vector svg path:focus-visible,
.home-world-map-vector svg path.is-hover-country {
  fill: #4f4f4f;
  stroke: #fff;
  filter: drop-shadow(0 2px 4px rgba(15, 79, 175, .2));
  outline: 0;
}

.home-world-map-points {
  z-index: 2;
  pointer-events: none;
}

.home-world-map-vector {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}

.home-world-map-hover {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  display: none;
  width: min(210px, calc(100% - 20px));
  padding: 10px 12px;
  border: 1px solid rgba(27, 143, 246, .28);
  border-radius: 6px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 20px rgba(15, 79, 175, .18);
  color: #3b536d;
  pointer-events: none;
}

.home-world-map-hover.is-visible {
  display: grid;
  gap: 4px;
}

.home-world-map-hover strong {
  color: #0b1f3a;
  font-size: 13px;
}

.home-world-map-hover span,
.home-world-map-hover small {
  font-size: 10px;
}

.home-world-map-hover span b {
  color: #0f4faf;
}

.home-world-map-hover small {
  color: #71849a;
}

.home-world-map-point {
  position: absolute;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #1b8ff6;
  box-shadow: 0 3px 12px rgba(15, 79, 175, 0.28);
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
  z-index: 2;
}

.home-world-map-point:hover,
.home-world-map-point:focus-visible,
.home-world-map-point.is-selected {
  background: #0f4faf;
  box-shadow: 0 0 0 4px rgba(27, 143, 246, .18), 0 5px 16px rgba(15, 79, 175, .38);
  outline: 0;
  transform: translate(-50%, -50%) scale(1.1);
}

.home-world-map-point::after {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #56b8ff;
  content: "";
  transform: translate(11px, -11px);
}

.home-world-map-point b {
  font-size: 10px;
  line-height: 1;
}

.home-world-map-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
}

.home-world-map-legend {
  position: absolute;
  left: 14px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid rgba(185, 201, 217, .9);
  border-radius: 5px;
  background: rgba(255, 255, 255, .9);
  color: #52677d;
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(5px);
}

.home-world-map-legend span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1b8ff6;
}

.home-world-map-detail {
  position: absolute;
  top: 14px;
  right: 14px;
  width: min(260px, calc(100% - 28px));
  display: none;
  padding: 14px;
  border: 1px solid #bcd8ef;
  border-radius: 7px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 28px rgba(15, 79, 175, .16);
  color: var(--ink);
  backdrop-filter: blur(7px);
  z-index: 4;
}

.home-world-map-detail.is-visible {
  display: block;
}

.home-world-map-detail > strong,
.home-world-map-detail > small {
  display: block;
}

.home-world-map-detail > strong {
  padding-right: 24px;
  font-size: 15px;
}

.home-world-map-detail > small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.home-world-map-detail > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.home-world-map-detail > div span {
  padding: 9px;
  border: 1px solid #e0eaf3;
  border-radius: 5px;
  background: #f6faff;
}

.home-world-map-detail b,
.home-world-map-detail em {
  display: block;
}

.home-world-map-detail b {
  color: #0f4faf;
  font-size: 18px;
}

.home-world-map-detail em {
  margin-top: 2px;
  color: #687c90;
  font-size: 10px;
  font-style: normal;
}

.home-world-map-detail-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #71869a;
  cursor: pointer;
}

.home-world-map-detail-close:hover {
  background: #edf5fc;
  color: #0f4faf;
}

.home-world-map-detail-close svg {
  width: 14px;
  height: 14px;
}

.home-world-map-empty,
.home-world-map-list-empty,
.send-scheduled-empty {
  min-height: 160px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.home-world-map-stage > .home-world-map-empty {
  position: absolute;
  inset: 0;
  min-height: 0;
  background: transparent;
  pointer-events: none;
}

.home-world-map-list {
  min-width: 0;
  max-height: 330px;
  overflow-y: auto;
  border-left: 1px solid var(--line);
}

.home-world-map-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 9px 0 9px 16px;
  border-bottom: 1px solid #edf2f6;
}

.home-world-map-list-row:last-child {
  border-bottom: 0;
}

.home-world-map-list-row > div,
.home-world-map-list-row > span {
  min-width: 0;
}

.home-world-map-list-row strong,
.home-world-map-list-row small {
  display: block;
}

.home-world-map-list-row strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-world-map-list-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.home-world-map-list-row > span {
  flex: 0 0 54px;
  text-align: right;
}

.home-world-map-list-row > span b {
  color: var(--blue);
  font-size: 16px;
}

.send-scheduled-panel {
  margin-top: 16px;
}

.send-scheduled-list {
  display: grid;
}

.send-scheduled-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.85fr) auto auto;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 12px 18px;
  border-top: 1px solid #edf2f0;
}

.send-scheduled-row:first-child {
  border-top: 0;
}

.send-scheduled-main,
.send-scheduled-time {
  min-width: 0;
}

.send-scheduled-main strong,
.send-scheduled-main span,
.send-scheduled-main small,
.send-scheduled-time b,
.send-scheduled-time small {
  display: block;
}

.send-scheduled-main strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.send-scheduled-main span,
.send-scheduled-time small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.send-scheduled-time b {
  color: #3b536a;
  font-size: 12px;
  font-weight: 700;
}

.send-scheduled-status {
  padding: 5px 8px;
  border-radius: 5px;
  background: #edf4fa;
  color: #52718d;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.send-scheduled-status.is-sent {
  background: #eaf7ee;
  color: #237443;
}

.send-scheduled-status.is-failed {
  background: #fceeee;
  color: #a33d3d;
}

.send-scheduled-status.is-cancelled {
  background: #f1f3f5;
  color: #7a858d;
}

.send-scheduled-cancel {
  min-height: 31px;
  padding: 0 9px;
  white-space: nowrap;
}

.send-scheduled-cancel svg {
  width: 13px;
  height: 13px;
}

.send-scheduled-error {
  overflow: hidden;
  margin-top: 4px;
  color: #ae4c46 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.todo-list {
  display: grid;
}

.todo-item {
  width: 100%;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  padding: 13px 18px;
  border: 0;
  border-bottom: 1px solid #edf0ee;
  background: #fff;
  color: #3a494b;
  cursor: pointer;
  text-align: left;
}

.todo-item:last-child {
  border-bottom: 0;
}

.todo-item:hover {
  background: #f5fbf9;
}

.todo-item > svg {
  width: 16px;
  height: 16px;
  color: #7c8b8d;
}

.todo-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--teal-soft);
  color: var(--teal);
}

.todo-icon svg {
  width: 16px;
  height: 16px;
}

.todo-copy {
  min-width: 0;
}

.todo-copy strong,
.todo-copy small {
  display: block;
}

.todo-copy strong {
  color: #344344;
  font-size: 12px;
}

.todo-copy small {
  overflow: hidden;
  margin-top: 3px;
  color: #7a888a;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric {
  min-height: 114px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.metric-label {
  color: var(--muted);
  font-size: 12px;
}

.metric-value {
  margin-top: 9px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.metric-detail {
  margin-top: 9px;
  color: #718083;
  font-size: 11px;
}

.scenario-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.scenario-list div {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: #3f4e50;
  font-size: 13px;
  font-weight: 700;
}

.scenario-list div:last-child {
  border-right: 0;
}

.scenario-list svg {
  width: 19px;
  height: 19px;
  color: var(--teal);
}

.home-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px;
  background: var(--teal-deep);
  color: #fff;
}

.home-cta > div > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a9ddd1;
  font-size: 12px;
  font-weight: 800;
}

.home-cta > div > span svg {
  width: 15px;
  height: 15px;
}

.home-cta h2 {
  margin-top: 8px;
  color: #fff;
  font-size: 22px;
  line-height: 1.35;
}

.home-cta p {
  max-width: 720px;
  margin-top: 7px;
  color: #c1d9d4;
  font-size: 13px;
  line-height: 1.65;
}

.home-cta .btn.primary {
  flex: 0 0 auto;
  height: 42px;
  background: #f4c75f;
  color: #2e2917;
}

.project-stepper {
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding: 0 0 1px;
}

.stepper-item {
  min-width: 126px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #849093;
  font-size: 12px;
  white-space: nowrap;
}

.stepper-item::after {
  content: "";
  width: 30px;
  height: 1px;
  margin-left: 2px;
  background: #ccd5d2;
}

.stepper-item:last-child::after {
  display: none;
}

.stepper-number {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid #c8d0ce;
  border-radius: 50%;
  background: #fff;
  font-size: 11px;
}

.stepper-item.is-active {
  color: var(--teal);
  font-weight: 800;
}

.stepper-item.is-active .stepper-number {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.stepper-item.is-complete {
  color: #3d7c59;
}

.stepper-item.is-complete .stepper-number {
  border-color: #69ad82;
  color: #26714a;
}

.workspace-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.panel-head h2 {
  color: var(--ink);
  font-size: 16px;
}

.panel-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.panel-body {
  padding: 20px;
}

.analysis-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.75fr);
  gap: 18px;
}

.analysis-project-context {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.analysis-context-item {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 17px;
  border-right: 1px solid var(--line);
}

.analysis-context-item:last-child {
  border-right: 0;
}

.analysis-context-item > svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.analysis-context-item span {
  min-width: 0;
}

.analysis-context-item label,
.analysis-context-item strong {
  display: block;
}

.analysis-context-item label {
  color: var(--muted);
  font-size: 11px;
}

.analysis-context-item strong {
  overflow: hidden;
  margin-top: 4px;
  color: #344344;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analysis-inputs {
  display: grid;
  gap: 16px;
}

.field-label {
  display: block;
  margin-bottom: 7px;
  color: #495759;
  font-size: 12px;
  font-weight: 800;
}

.analysis-inputs .filter-search {
  width: 100%;
  height: 44px;
  min-width: 0;
  padding: 0 13px;
  border: 1px solid #bdc9c5;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}

.analysis-inputs .hs-code-display {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border-color: #bdc9c5;
  box-shadow: none;
}

.analysis-hs-hint {
  margin-top: 7px;
  color: #768486;
  font-size: 11px;
  line-height: 1.55;
}

.analysis-inputs .market-research-button,
.analysis-inputs .search-demand-button {
  width: 38px;
  height: 38px;
  border-radius: 6px;
}

.analysis-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}

.analysis-research-section {
  margin-top: 18px;
}

.analysis-research-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.analysis-research-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 132px;
  gap: 16px;
  padding: 18px 20px;
}

.analysis-research-copy {
  min-width: 0;
}

.analysis-research-copy .page-eyebrow {
  margin-bottom: 8px;
}

.analysis-research-copy h3 {
  color: #273b38;
  font-size: 15px;
}

.analysis-research-copy p {
  margin-top: 5px;
  color: #72817d;
  font-size: 12px;
  line-height: 1.55;
}

.analysis-research-action {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.analysis-research-action .market-research-button,
.analysis-research-action .search-demand-button {
  width: 42px;
  height: 42px;
  border-color: #9ebddd;
  color: #2268c9;
}

.analysis-decision-section {
  margin-top: 18px;
}

.analysis-decision-section .panel-head {
  align-items: flex-start;
}

.analysis-decision-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.analysis-decision-summary > div {
  min-width: 0;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}

.analysis-decision-summary > div:last-child {
  border-right: 0;
}

.analysis-decision-summary span,
.analysis-decision-summary strong,
.analysis-decision-summary p {
  display: block;
}

.analysis-decision-summary span {
  color: var(--muted);
  font-size: 11px;
}

.analysis-decision-summary strong {
  overflow: hidden;
  margin-top: 6px;
  color: #27584f;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analysis-decision-summary p {
  min-height: 32px;
  margin-top: 6px;
  color: #72817d;
  font-size: 11px;
  line-height: 1.5;
}

.analysis-decision-empty {
  min-height: 126px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 20px;
}

.analysis-decision-empty > svg {
  width: 22px;
  height: 22px;
  color: #8aa19b;
}

.analysis-decision-empty strong,
.analysis-decision-empty p {
  display: block;
}

.analysis-decision-empty strong {
  color: #40514e;
  font-size: 13px;
}

.analysis-decision-empty p {
  margin-top: 4px;
  color: #788786;
  font-size: 12px;
  line-height: 1.6;
}

.analysis-country-list {
  display: grid;
  gap: 8px;
  padding: 14px 16px 16px;
}

.analysis-country-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px;
  border: 1px solid #e0e7e4;
  border-radius: 6px;
  background: #fff;
}

.analysis-country-card.is-selected {
  border-color: #77baab;
  background: #f3faf7;
}

.analysis-country-card > div:first-child {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.analysis-country-rank {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf5f2;
  color: #287267;
  font-size: 10px;
  font-weight: 800;
}

.analysis-country-card h3 {
  color: #334847;
  font-size: 13px;
}

.analysis-country-card p {
  margin-top: 3px;
  color: #74827f;
  font-size: 11px;
  line-height: 1.5;
}

.analysis-country-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
}

.analysis-country-actions b {
  color: #295f55;
  font-size: 12px;
}

.analysis-country-actions .btn {
  min-width: 78px;
  min-height: 29px;
  justify-content: center;
  padding: 0 9px;
  font-size: 11px;
}

.analysis-conditions {
  display: grid;
  gap: 13px;
  padding: 20px;
  border-left: 3px solid var(--amber);
  background: #fdfaf4;
}

.condition-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #5f635e;
  font-size: 12px;
}

.condition-row strong {
  color: #313d3b;
}

.analysis-result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.analysis-result {
  min-height: 96px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfb;
}

.analysis-result label {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.analysis-result strong {
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.3;
}

.analysis-summary-section {
  margin-top: 4px;
  padding: 22px 20px 20px;
  border-top: 1px solid var(--line);
}

.analysis-ai-insight {
  margin-top: 14px;
  border: 1px solid #dbe5e1;
  border-left: 3px solid var(--teal);
  border-radius: 7px;
  background: #fbfdfc;
  color: #40514e;
}

.analysis-ai-insight-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: flex-start;
  padding: 16px 17px;
}

.analysis-ai-insight-inner > svg {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--teal);
}

.analysis-ai-insight h3 {
  color: #2d4741;
  font-size: 13px;
}

.analysis-ai-insight p {
  margin-top: 5px;
  color: #60736e;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-line;
}

.analysis-ai-insight.is-loading {
  border-left-color: var(--blue);
}

.analysis-ai-insight.is-loading .analysis-ai-insight-inner > svg {
  color: var(--blue);
}

.analysis-ai-insight.is-fallback {
  border-left-color: var(--amber);
  background: #fffcf5;
}

.analysis-ai-insight.is-fallback .analysis-ai-insight-inner > svg {
  color: var(--amber);
}

.analysis-data-state {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #d6dfdc;
  border-radius: 5px;
  background: #fff;
  color: #687779;
  font-size: 11px;
  font-weight: 800;
}

.analysis-data-state.is-ready {
  border-color: #9fd1c4;
  background: #edf9f5;
  color: #176e5e;
}

.analysis-data-state.is-pending {
  border-color: #e8d8b4;
  background: #fff9ed;
  color: #8a671e;
}

.analysis-chart-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 18px;
}

.analysis-chart-card {
  position: relative;
  min-height: 342px;
  overflow: hidden;
}

.chart-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px 0;
}

.chart-card-head h3 {
  color: #344344;
  font-size: 14px;
}

.chart-card-head span {
  color: #7a888a;
  font-size: 11px;
  text-align: right;
}

.analysis-chart-card canvas {
  width: 100%;
  height: 278px;
  padding: 0 12px 12px;
}

.analysis-chart-empty {
  position: absolute;
  inset: 58px 12px 12px;
  display: grid;
  place-items: center;
  margin: 0;
  border-top: 1px dashed #d9e1de;
  color: #8a9899;
  font-size: 12px;
  text-align: center;
}

.analysis-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.analysis-note {
  min-height: 98px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
}

.analysis-note > svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--teal);
}

.analysis-note:nth-child(2) > svg {
  color: var(--blue);
}

.analysis-note:nth-child(3) > svg {
  color: var(--amber);
}

.analysis-note h3 {
  color: #3a494b;
  font-size: 12px;
}

.analysis-note p {
  margin-top: 5px;
  color: #738184;
  font-size: 11px;
  line-height: 1.6;
}

.analysis-recommendation-list {
  display: grid;
}

.recommendation-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 15px 20px;
  border-bottom: 1px solid #edf0ee;
}

.recommendation-row:last-child {
  border-bottom: 0;
}

.recommendation-row.is-selected {
  background: #f2fbf8;
}

.recommendation-rank {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf4f2;
  color: #397066;
  font-size: 11px;
  font-weight: 800;
}

.recommendation-copy {
  min-width: 0;
}

.recommendation-copy > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.recommendation-copy strong {
  color: #334243;
  font-size: 13px;
}

.recommendation-copy p {
  margin-top: 4px;
  color: #728082;
  font-size: 11px;
}

.recommendation-tag {
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  border-radius: 4px;
  background: #e9f5f1;
  color: #176e5e;
  font-size: 10px;
  font-weight: 800;
}

.recommendation-row:nth-child(n + 4) .recommendation-tag {
  background: #fff4de;
  color: #996319;
}

.analysis-next-step {
  position: sticky;
  bottom: 16px;
  z-index: 8;
  margin: 0;
  border-radius: 0 0 7px 7px;
}

.next-step-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 15px 18px;
  border: 1px solid #b9ddd5;
  border-radius: 7px;
  background: #eef9f6;
}

.next-step-bar strong {
  color: #15574f;
  font-size: 13px;
}

.next-step-bar p {
  margin-top: 3px;
  color: #528078;
  font-size: 12px;
}

.prospect-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: 18px;
}

.prospect-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfb;
}

.prospect-filter-bar input,
.prospect-filter-bar select {
  height: 36px;
  padding: 0 10px;
  border: 1px solid #c7d0cd;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  outline: 0;
  font-size: 12px;
}

.prospect-filter-bar input {
  width: min(250px, 100%);
}

.prospect-filter-bar #typeFilter {
  display: flex;
  overflow: hidden;
  border: 1px solid #c7d0cd;
  border-radius: 6px;
}

.prospect-filter-bar #typeFilter button {
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-right: 1px solid #d9dfdd;
  border-radius: 0;
  background: #fff;
  color: #657173;
  cursor: pointer;
  font-size: 12px;
}

.prospect-filter-bar #typeFilter button:last-child {
  border-right: 0;
}

.prospect-filter-bar #typeFilter button.active {
  background: var(--teal);
  color: #fff;
}

.prospect-table-panel #stats {
  padding: 12px 20px 0;
  color: var(--muted);
  font-size: 12px;
}

.prospect-table-panel .table-wrap {
  margin: 12px 20px 20px;
  border-color: var(--line);
  border-radius: 7px;
}

.prospect-table-panel th {
  padding: 10px 12px;
  background: #f7f9f8;
  color: #667476;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.prospect-table-panel td {
  padding: 12px;
  color: #334042;
  font-size: 12px;
}

.prospect-table-panel tr:hover {
  background: #f6fbf9;
}

.prospect-table-panel .contact-list {
  min-width: 230px;
}

.prospect-table-panel .contact-card {
  border-color: #e2e8e5;
  border-radius: 6px;
  background: #fbfcfb;
}

.lead-add {
  height: 28px;
  margin-top: 8px;
  padding: 0 9px;
  border: 1px solid #a5d2c9;
  border-radius: 5px;
  background: #eff9f6;
  color: #08776b;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.lead-tray {
  position: sticky;
  top: 82px;
  align-self: start;
}

.lead-tray-head {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.lead-tray-head h2 {
  color: var(--ink);
  font-size: 15px;
}

.lead-tray-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.lead-tray-list {
  display: grid;
  gap: 0;
  max-height: 442px;
  overflow-y: auto;
}

.lead-row {
  padding: 14px 18px;
  border-bottom: 1px solid #edf0ee;
}

.lead-row:last-child {
  border-bottom: 0;
}

.lead-row strong {
  display: block;
  overflow: hidden;
  color: #334143;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-row span {
  display: block;
  margin-top: 4px;
  color: #738084;
  font-size: 11px;
}

.lead-contact-details {
  display: grid;
  gap: 3px;
  margin-top: 8px;
}

.lead-contact-details span {
  margin-top: 0;
  overflow: hidden;
  color: #3f5153;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-contact-details b {
  margin-right: 6px;
  color: #7b8989;
  font-weight: 600;
}

.lead-contact-details.is-empty {
  margin-top: 8px;
  color: #8a9697;
  font-size: 11px;
}

.lead-actions {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}

.icon-text-button {
  height: 29px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border: 1px solid #d7dfdc;
  border-radius: 5px;
  background: #fff;
  color: #526164;
  cursor: pointer;
  font-size: 11px;
}

.icon-text-button svg {
  width: 13px;
  height: 13px;
}

.lead-tray-footer {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--line);
}

.empty-tray {
  padding: 28px 18px;
  color: #829092;
  font-size: 12px;
  line-height: 1.65;
}

.prospect-project-context {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.prospect-context-item {
  min-width: 0;
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}

.prospect-context-item:last-child {
  border-right: 0;
}

.prospect-context-item > svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--teal);
}

.prospect-context-item span {
  min-width: 0;
}

.prospect-context-item label,
.prospect-context-item strong {
  display: block;
}

.prospect-context-item label {
  color: var(--muted);
  font-size: 11px;
}

.prospect-context-item strong {
  overflow: hidden;
  margin-top: 5px;
  color: #334244;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prospect-workbench {
  position: relative;
  display: grid;
  grid-template-columns: 246px minmax(420px, 1fr) 334px;
  align-items: start;
  gap: 16px;
}

.prospect-filter-panel,
.prospect-detail-panel {
  position: sticky;
  top: 82px;
  align-self: start;
}

.prospect-filter-panel {
  max-height: calc(100vh - 98px);
  overflow: auto;
}

.prospect-filter-panel .panel-head {
  position: sticky;
  top: 0;
  z-index: 1;
  align-items: flex-start;
  gap: 8px;
  background: #fff;
}

.prospect-filter-panel .panel-head .icon-text-button {
  width: 30px;
  min-width: 30px;
  height: 30px;
  padding: 0;
  justify-content: center;
}

.prospect-sort-control {
  display: grid;
  gap: 6px;
}

.prospect-sort-control span {
  color: #617073;
  font-size: 11px;
  font-weight: 800;
}

.prospect-sort-control select {
  width: 100%;
  height: 36px;
  padding: 0 9px;
  border: 1px solid #c7d0cd;
  border-radius: 6px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
}

.prospect-sort-control select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(8, 119, 107, 0.12);
}

.prospect-filter-panel .panel-head .icon-text-button svg {
  width: 15px;
  height: 15px;
}

.prospect-panel-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
}

.workspace-main .prospect-add-button {
  box-sizing: border-box;
  flex: 0 0 30px;
  width: 30px;
  min-width: 30px;
  max-width: 30px;
  height: 30px;
  padding: 0;
  overflow: hidden;
  justify-content: center;
  white-space: nowrap;
  font-size: 0;
  line-height: 1;
}

.workspace-main .prospect-add-button svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

@media (max-width: 1440px) {
  .prospect-filter-panel .panel-head > div:first-child {
    min-width: 0;
  }

}

.prospect-card-actions .icon-text-button.danger {
  color: #b5473b;
}

.prospect-card-actions .icon-text-button.danger:hover {
  background: #fff1ef;
}

.prospect-filter-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.prospect-filter-group {
  display: grid;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e7ece9;
}

.prospect-filter-group:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.prospect-filter-body > .prospect-sort-group:last-child {
  /* Keep the final sorting controls clear of the sticky outreach tray. */
  padding-bottom: 96px;
}

.prospect-sort-hint {
  margin: 0;
  color: #71817e;
  font-size: 11px;
  line-height: 1.55;
}

.prospect-collect-button {
  width: 100%;
  justify-content: center;
  min-height: 36px;
}

.prospect-collect-status {
  margin: 0;
  color: #62716d;
  font-size: 11px;
  line-height: 1.55;
}

.prospect-filter-group h3 {
  color: #31534e;
  font-size: 11px;
  font-weight: 800;
}

.prospect-filter-label {
  margin-top: 2px;
  color: #617073;
  font-size: 11px;
  font-weight: 800;
}

.prospect-filter-body input[type="text"],
.prospect-filter-body select,
.prospect-filter-body #country {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #c7d0cd;
  border-radius: 6px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
}

.prospect-filter-body input[type="text"]:focus,
.prospect-filter-body select:focus,
.prospect-filter-body #country:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(8, 119, 107, 0.12);
}

.prospect-filter-body #typeFilter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid #c7d0cd;
  border-radius: 6px;
}

.prospect-filter-body #typeFilter button {
  min-width: 0;
  height: 33px;
  padding: 0 7px;
  border: 0;
  border-right: 1px solid #d9dfdd;
  border-bottom: 1px solid #d9dfdd;
  border-radius: 0;
  background: #fff;
  color: #657173;
  cursor: pointer;
  font-size: 11px;
}

.prospect-filter-body #typeFilter button:nth-child(2n) {
  border-right: 0;
}

.prospect-filter-body #typeFilter button:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.prospect-filter-body #typeFilter button.active {
  background: var(--teal);
  color: #fff;
}

.prospect-check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 8px;
}

.prospect-check-list label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #526164;
  font-size: 12px;
}

.prospect-check-list input {
  accent-color: var(--teal);
}

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

.prospect-results-head .btn {
  flex: 0 0 auto;
}

.prospect-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.prospect-metric {
  min-width: 0;
  min-height: 94px;
  padding: 15px;
  border-right: 1px solid var(--line);
}

.prospect-metric:last-child {
  border-right: 0;
}

.prospect-metric span,
.prospect-metric strong,
.prospect-metric small {
  display: block;
}

.prospect-metric span,
.prospect-metric small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prospect-metric strong {
  margin: 4px 0;
  color: #23413d;
  font-size: 22px;
  line-height: 1.1;
}

.prospect-card-list {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #f8faf9;
}

.prospect-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid #dfe6e3;
  border-radius: 7px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.prospect-card:hover,
.prospect-card.is-selected {
  border-color: #67b7a8;
}

.prospect-card.is-selected {
  border-color: var(--teal);
  background: #f7fcfa;
  box-shadow: 0 0 0 2px rgba(8, 119, 107, 0.15), inset 4px 0 0 var(--teal);
}

.prospect-card.is-selected::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 18px solid var(--teal);
  border-left: 18px solid transparent;
  content: "";
}

.prospect-card-main {
  position: relative;
  min-width: 0;
  display: block;
  padding: 14px 15px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.prospect-selected-marker {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
}

.prospect-selected-marker svg {
  width: 12px;
  height: 12px;
}

.prospect-card-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.prospect-card-title strong {
  min-width: 0;
  flex: 1 1 180px;
  overflow: hidden;
  color: #263638;
  font-size: 14px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prospect-website {
  display: inline-block;
  overflow: hidden;
  min-width: 0;
  color: #628078;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prospect-website:hover,
.prospect-website:focus-visible {
  color: #628078;
  font-weight: 500;
  text-decoration: underline;
}

.prospect-card-hint {
  margin-left: auto;
  color: #7b8a8c;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.prospect-card.is-selected .prospect-card-hint {
  color: var(--teal);
}

.prospect-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.prospect-tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #eef2f0;
  color: #526164;
  font-size: 10px;
  font-weight: 800;
}

.prospect-tag.country {
  background: var(--blue-soft);
  color: #28599b;
}

.prospect-tag.type {
  background: var(--teal-soft);
  color: #17665b;
}

.prospect-tag.owner {
  background: #edf1fb;
  color: #4b5f9b;
}

.prospect-tag.complete {
  background: var(--green-soft);
  color: #237047;
}

.prospect-tag.partial {
  background: var(--amber-soft);
  color: #986317;
}

.prospect-tag.empty {
  background: #f1f3f2;
  color: #7b8789;
}

.prospect-tag.information.high {
  background: var(--green-soft);
  color: #237047;
}

.prospect-tag.information.medium {
  background: var(--amber-soft);
  color: #986317;
}

.prospect-tag.information.low {
  background: #f1f3f2;
  color: #7b8789;
}

.prospect-tag.industry.high {
  background: #eaf6f0;
  color: #237047;
}

.prospect-tag.industry.medium {
  background: #fff4dc;
  color: #8d6117;
}

.prospect-tag.industry.low {
  background: #f2f4f3;
  color: #6f7d7f;
}

.prospect-advice-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  max-width: 100%;
  padding: 3px 7px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

.prospect-advice-badge.priority {
  border-color: #8cc9b8;
  background: #e9f8f1;
  color: #176e5e;
}

.prospect-advice-badge.observe {
  border-color: #ebcc89;
  background: #fff8e7;
  color: #8b651b;
}

.prospect-advice-badge.deprioritize {
  border-color: #dce3e1;
  background: #f5f7f6;
  color: #748184;
}

.prospect-products {
  overflow: hidden;
  margin-top: 9px;
  color: #526164;
  font-size: 12px;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prospect-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.prospect-signal {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 19px;
  max-width: 160px;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prospect-signal svg {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
}

.prospect-signal.is-on {
  background: #edf7f4;
  color: #287367;
}

.prospect-signal.is-off {
  background: #f3f5f4;
  color: #889496;
}

.contact-social-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border: 1px solid var(--brand-border, #d8e3f0);
  border-radius: 999px;
  color: var(--brand-text, #0b1f3a);
  background: var(--brand-bg-soft, #f4f8fc);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.contact-social-status.is-available {
  border-color: rgba(27, 143, 246, 0.3);
  color: var(--brand-primary-dark, #0f4faf);
  background: rgba(27, 143, 246, 0.09);
}

.contact-social-status.is-unavailable,
.contact-social-status.is-pending {
  color: #64748b;
  background: #f8fafc;
}

.prospect-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.prospect-card-meta > span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  color: #748184;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prospect-card-meta svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.match-score {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
}

.match-score.high {
  background: var(--green-soft);
  color: #237047;
}

.match-score.medium {
  background: var(--amber-soft);
  color: #946014;
}

.match-score.base {
  background: #eff2f1;
  color: #667477;
}

.prospect-card-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 12px;
  border-left: 1px solid #edf0ee;
  background: #fcfdfc;
}

.prospect-card-actions .icon-text-button {
  display: none;
}

.prospect-card-actions .btn {
  min-width: 92px;
  justify-content: center;
}

.prospect-card-actions .btn.primary {
  height: 29px;
  padding: 0 8px;
  font-size: 11px;
}

.legacy-prospect-results {
  display: none;
}

.prospect-empty {
  margin: 14px;
  border: 1px dashed #cdd8d5;
  border-radius: 7px;
  background: #fff;
}

.prospect-detail-panel {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 184px);
  overflow: hidden;
}

.prospect-detail-panel .panel-head {
  flex: 0 0 auto;
  padding-bottom: 15px;
}

.prospect-detail-body {
  display: grid;
  flex: 1 1 auto;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 16px 16px;
  scrollbar-gutter: stable;
}

.prospect-company-summary {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.prospect-value-panel {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid #cae2dc;
  border-radius: 6px;
  background: #f2faf7;
}

.prospect-ai-advice-panel {
  border-left: 3px solid var(--teal);
}

.prospect-ai-reasons {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 17px;
  color: #45645e;
  font-size: 11px;
  line-height: 1.55;
}

.prospect-ai-reasons li::marker {
  color: var(--teal);
}

.prospect-ai-summary {
  display: grid;
  gap: 0;
  margin: 14px 16px 18px;
  border: 1px solid #cfe2db;
  border-radius: 6px;
  background: #fbfdfc;
  overflow: hidden;
}

.prospect-ai-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px;
  border-bottom: 1px solid #dceae5;
}

.prospect-ai-summary-head > div {
  min-width: 0;
}

.prospect-ai-summary-head span:first-child {
  display: block;
  color: #517069;
  font-size: 11px;
  font-weight: 800;
}

.prospect-ai-summary-head h3 {
  margin-top: 4px;
  color: #21473f;
  font-size: 14px;
}

.prospect-ai-summary-head p {
  margin-top: 5px;
  color: #657c76;
  font-size: 11px;
  line-height: 1.55;
}

.prospect-ai-summary-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #dceae5;
}

.prospect-ai-summary-metrics > div {
  min-width: 0;
  padding: 11px 12px;
  border-right: 1px solid #dceae5;
}

.prospect-ai-summary-metrics > div:last-child {
  border-right: 0;
}

.prospect-ai-summary-metrics span,
.prospect-ai-summary-metrics strong {
  display: block;
}

.prospect-ai-summary-metrics span {
  overflow: hidden;
  color: #6c7d79;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prospect-ai-summary-metrics strong {
  margin-top: 4px;
  color: #295c50;
  font-size: 18px;
  line-height: 1;
}

.prospect-ai-summary-reasons {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 12px 15px 12px 31px;
  color: #4f6862;
  font-size: 11px;
  line-height: 1.55;
}

.prospect-ai-summary-reasons li::marker {
  color: var(--teal);
}

.prospect-ai-summary-empty {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 15px;
  color: #6b7e79;
}

.prospect-ai-summary-empty > svg {
  width: 18px;
  height: 18px;
  color: #8aa69d;
}

.prospect-ai-summary-empty strong,
.prospect-ai-summary-empty p {
  display: block;
}

.prospect-ai-summary-empty strong {
  color: #3f5852;
  font-size: 12px;
}

.prospect-ai-summary-empty p {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.55;
}

.prospect-value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.prospect-value-grid > div {
  min-width: 0;
  padding: 8px;
  border: 1px solid #dbece7;
  border-radius: 5px;
  background: #fff;
}

.prospect-value-grid span,
.prospect-value-grid strong {
  display: block;
}

.prospect-value-grid span {
  color: #6e8581;
  font-size: 10px;
}

.prospect-value-grid strong {
  overflow: hidden;
  margin-top: 4px;
  color: #27564e;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prospect-detail-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.prospect-detail-title h3 {
  color: #263638;
  font-size: 15px;
  line-height: 1.45;
}

.prospect-company-summary > p {
  margin-top: 9px;
  color: #647376;
  font-size: 12px;
  line-height: 1.65;
}

.prospect-detail-link {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  margin-top: 8px;
  color: #536164;
  font-size: 11px;
}

.prospect-detail-link > span {
  color: #7a8789;
}

.prospect-detail-link .link,
.prospect-detail-link b {
  overflow: hidden;
  color: #45655f;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prospect-detail-section {
  display: grid;
  gap: 8px;
}

.detail-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.detail-section-head h3 {
  color: #3b4b4c;
  font-size: 12px;
}

.detail-section-head span {
  color: var(--muted);
  font-size: 11px;
}

.detail-section-head svg {
  width: 15px;
  height: 15px;
  color: var(--teal);
}

.prospect-contact-card {
  padding: 10px;
  border: 1px solid #e0e6e3;
  border-radius: 6px;
  background: #fbfcfb;
}

.prospect-contact-card > div {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.prospect-contact-card strong {
  color: #354547;
  font-size: 12px;
}

.prospect-contact-card > div span {
  color: #788587;
  font-size: 10px;
}

.prospect-contact-card dl {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}

.prospect-contact-card dl > div {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 6px;
}

.prospect-contact-card dt {
  color: #839092;
  font-size: 10px;
}

.prospect-contact-card dd {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  color: #526164;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prospect-contact-card .link {
  color: var(--teal);
}

.prospect-angle {
  padding: 11px;
  border-left: 3px solid var(--teal);
  background: #f1f8f6;
}

.prospect-angle p {
  color: #365650;
  font-size: 12px;
  line-height: 1.65;
}

.prospect-angle small {
  margin-top: 5px;
  color: #66817c;
  font-size: 11px;
  line-height: 1.55;
}

.prospect-detail-add {
  width: 100%;
  justify-content: center;
}

.prospect-detail-empty {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 320px;
  padding: 24px;
  color: #899698;
  font-size: 12px;
  text-align: center;
}

.prospect-detail-empty svg {
  width: 26px;
  height: 26px;
  color: #9aaba7;
}

.prospect-selection-bar {
  position: sticky;
  bottom: 14px;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 13px 16px;
  border: 1px solid #b8dad3;
  border-radius: 7px;
  background: #eef9f6;
  box-shadow: 0 10px 24px rgba(27, 74, 67, 0.1);
}

.prospect-selection-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.prospect-selection-copy > div:first-child {
  min-width: 82px;
}

.prospect-selection-copy span,
.prospect-selection-copy strong {
  display: block;
}

.prospect-selection-copy > div:first-child span {
  color: #4d736c;
  font-size: 11px;
}

.prospect-selection-copy > div:first-child strong {
  margin-top: 1px;
  color: #15574f;
  font-size: 17px;
}

.prospect-selection-copy > div:first-child small {
  display: block;
  max-width: 230px;
  overflow: hidden;
  margin-top: 3px;
  color: #66817c;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prospect-lead-mini-list {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.prospect-lead-chip {
  max-width: 160px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 25px;
  padding: 2px 5px 2px 8px;
  border: 1px solid #c9e2dc;
  border-radius: 5px;
  background: #fff;
  color: #3b625b;
  font-size: 11px;
}

.prospect-lead-chip b {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prospect-lead-chip button {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #718c86;
  cursor: pointer;
}

.prospect-lead-chip button svg {
  width: 12px;
  height: 12px;
}

.prospect-lead-empty,
.prospect-lead-more {
  color: #64807a;
  font-size: 11px;
}

.prospect-selection-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
}

.prospect-selection-actions .btn {
  justify-content: center;
}

.send-project-context {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 18px;
}

.send-context-item {
  min-width: 0;
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  border-right: 1px solid var(--line);
}

.send-context-item:last-child {
  border-right: 0;
}

.send-context-item > svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--teal);
}

.send-context-item span {
  min-width: 0;
}

.send-context-item label,
.send-context-item strong {
  display: block;
}

.send-context-item label {
  color: var(--muted);
  font-size: 11px;
}

.send-context-item strong {
  overflow: hidden;
  margin-top: 5px;
  color: #334244;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.send-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.send-channel-panel {
  margin-top: 16px;
}

.send-channel-panel .send-channel-tabs {
  padding: 2px 18px 18px;
}

.send-selected-panel {
  position: sticky;
  top: 82px;
  align-self: start;
}

.send-country-group + .send-country-group {
  border-top: 8px solid #f4f7f6;
}

.send-country-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 34px;
  padding: 7px 14px;
  border: 0;
  border-bottom: 1px solid #e4ebe8;
  background: #f8faf9;
  color: #526966;
  cursor: pointer;
  text-align: left;
}

.send-country-group-head:hover {
  background: #f1f8f6;
}

.send-country-group-head span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
}

.send-country-group-head span svg {
  width: 13px;
  height: 13px;
  color: var(--teal);
}

.send-country-group-head b {
  color: #73827f;
  font-size: 10px;
}

.followup-country-group-head {
  width: 100%;
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 13px;
  border: 0;
  border-bottom: 1px solid #e4ebe8;
  background: #f8faf9;
  color: #526966;
  cursor: pointer;
  text-align: left;
}

.followup-country-group-head:hover {
  background: #f1f8f6;
}

.followup-country-group-head span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
}

.followup-country-group-head svg {
  width: 13px;
  height: 13px;
  color: var(--teal);
}

.followup-country-group-head b {
  color: #73827f;
  font-size: 10px;
}

.send-lead-count,
.send-draft-state {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--teal-soft);
  color: #24675d;
  font-size: 10px;
  font-weight: 800;
}

.send-lead-row {
  width: 100%;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 13px 15px;
  border: 0;
  border-bottom: 1px solid #edf0ee;
  background: #fff;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.send-lead-row:hover {
  background: #f7fbfa;
}

.send-lead-row.is-selected {
  background: #eef9f6;
  box-shadow: inset 3px 0 0 var(--teal);
}

.send-lead-check {
  color: #91a19e;
}

.send-lead-row.is-selected .send-lead-check {
  color: var(--teal);
}

.send-lead-check svg {
  width: 17px;
  height: 17px;
}

.send-lead-copy {
  min-width: 0;
}

.send-lead-copy strong,
.send-lead-copy small,
.send-lead-copy em {
  display: block;
}

.send-lead-copy strong {
  overflow: hidden;
  color: #334244;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.send-lead-copy small {
  overflow: hidden;
  margin-top: 3px;
  color: #748285;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.send-lead-copy em {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
  color: #5d7772;
  font-size: 10px;
  font-style: normal;
}

.send-lead-copy em span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.send-lead-copy em svg {
  width: 11px;
  height: 11px;
}

.send-lead-status {
  color: #6a8580;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.send-lead-row.is-selected .send-lead-status {
  color: var(--teal);
}

.send-compose-panel {
  min-width: 0;
}

.send-channel-tabs {
  display: flex;
  gap: 6px;
  padding: 14px 18px 0;
}

.send-channel-tabs button {
  height: 31px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid #d5dfdc;
  border-radius: 5px;
  background: #fff;
  color: #5c6c6d;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.send-channel-tabs button:hover,
.send-channel-tabs button.is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.send-channel-tabs svg {
  width: 13px;
  height: 13px;
}

.send-template-section,
.send-generate-section {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.send-section-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.send-section-label > span {
  color: #3d5051;
  font-size: 12px;
  font-weight: 800;
}

.send-section-label small {
  color: #788688;
  font-size: 10px;
}

.send-template-controls {
  display: flex;
  gap: 8px;
  margin-top: 9px;
}

.send-template-controls select,
.send-settings-grid select,
.send-editor input,
.send-editor textarea {
  width: 100%;
  border: 1px solid #c9d3d0;
  border-radius: 6px;
  outline: 0;
  background: #fff;
  color: #324346;
  font-size: 12px;
}

.send-template-controls select,
.send-settings-grid select,
.send-editor input {
  height: 35px;
  padding: 0 9px;
}

.send-template-controls select:focus,
.send-settings-grid select:focus,
.send-editor input:focus,
.send-editor textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(8, 119, 107, 0.12);
}

.send-template-controls .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.send-generate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.send-generate-actions .btn {
  height: 30px;
  padding: 0 9px;
  font-size: 11px;
}

.send-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.9fr);
  min-width: 0;
}

.send-editor,
.send-preview {
  min-width: 0;
  padding: 16px 18px 18px;
}

.send-editor {
  border-right: 1px solid var(--line);
}

.send-editor input {
  margin-top: 10px;
}

.send-editor textarea {
  min-height: 188px;
  margin-top: 8px;
  padding: 10px;
  line-height: 1.65;
  resize: vertical;
}

.send-variable-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
}

.send-variable-row > span {
  margin-right: 2px;
  color: #708083;
  font-size: 10px;
}

.send-variable-row button {
  height: 25px;
  padding: 0 7px;
  border: 1px solid #d5e3df;
  border-radius: 4px;
  background: #f5fbf9;
  color: #357268;
  cursor: pointer;
  font-size: 10px;
}

.send-preview {
  background: #f8fbfa;
}

.send-preview > strong {
  display: block;
  overflow: hidden;
  margin-top: 15px;
  color: #38524e;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.send-preview > p {
  min-height: 150px;
  margin-top: 9px;
  color: #5d6e70;
  font-size: 12px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.send-preview-meta {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px dashed #d6e0dd;
  color: #6a827d;
  font-size: 10px;
  line-height: 1.55;
}

.send-preview-meta svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--teal);
}

.send-review-modal {
  width: min(1040px, calc(100vw - 32px));
  height: min(820px, calc(100dvh - 32px));
  max-height: calc(100dvh - 32px);
  gap: 0;
  padding: 0;
  border: 1px solid #dce7e3;
  border-radius: 8px;
  overflow: hidden;
}

.send-review-header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--line);
}

.send-review-kicker {
  margin-bottom: 4px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
}

.send-review-header h3 {
  color: #314547;
  font-size: 17px;
}

.send-review-header p {
  margin-top: 4px;
  color: #718083;
  font-size: 11px;
}

.send-review-context {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  background: #f8fbfa;
}

.send-review-context > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.send-review-context > div:first-child {
  flex: 1 1 260px;
}

.send-review-context span {
  color: #718083;
  font-size: 10px;
  font-weight: 800;
}

.send-review-context strong,
.send-review-context small {
  overflow: hidden;
  color: #3b5150;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.send-review-context small {
  color: #758486;
  font-size: 10px;
}

.send-review-context select {
  min-width: 180px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #cbd8d4;
  border-radius: 5px;
  background: #fff;
  color: #405455;
  font-size: 11px;
}

.send-review-records {
  flex: 0 0 auto;
}

.send-review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.send-review-editor,
.send-review-preview {
  min-width: 0;
  padding: 16px 18px 18px;
}

.send-review-editor {
  border-right: 1px solid var(--line);
}

.send-review-preview {
  display: flex;
  flex-direction: column;
  background: #f8fbfa;
}

.send-review-template {
  margin: 12px 0 10px;
  border-color: #dbe7e3;
  background: #fbfdfc;
}

.send-review-editor .modal-input,
.send-review-preview .modal-input,
.send-review-editor .modal-textarea,
.send-review-preview .modal-textarea {
  border-color: #c9d5d1;
  color: #3b5051;
  font-size: 12px;
}

.send-review-editor .modal-input {
  height: 35px;
  margin-top: 0;
}

.send-review-preview .modal-input {
  height: 35px;
  margin-top: 12px;
  background: #fff;
}

.send-review-editor .modal-textarea,
.send-review-preview .modal-textarea {
  min-height: 196px;
  margin-top: 9px;
  line-height: 1.65;
}

.send-review-preview .modal-textarea {
  flex: 1 1 auto;
  min-height: 260px;
  background: #fff;
}

.send-review-attachments {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.send-review-attachments > span {
  color: #657775;
  font-size: 10px;
  font-weight: 800;
}

.send-review-attachments small {
  color: #7b8b8d;
  font-size: 10px;
}

.attachment-translate-button {
  min-height: 28px;
  padding: 0 9px;
  font-size: 10px;
}

.attachment-translate-button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.send-review-attachment-button {
  height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid #cddfd9;
  border-radius: 5px;
  background: #f3faf8;
  color: #39766c;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.send-review-attachment-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.send-schedule-panel {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: #f7faff;
}

.send-schedule-panel > div:first-child {
  min-width: 0;
}

.send-schedule-panel strong,
.send-schedule-panel small {
  display: block;
}

.send-schedule-panel strong {
  color: var(--ink);
  font-size: 12px;
}

.send-schedule-panel small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.send-schedule-panel .send-schedule-timezone {
  color: #0f4faf;
  font-weight: 700;
}

.send-schedule-fields {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.send-schedule-fields select,
.send-schedule-fields input {
  height: 34px;
  border: 1px solid #c8d9e8;
  border-radius: 5px;
  background: #fff;
  color: #29415a;
  font-size: 11px;
}

.send-schedule-fields select {
  min-width: 112px;
  padding: 0 26px 0 9px;
}

.send-schedule-fields input {
  min-width: 186px;
  padding: 0 9px;
}

.send-schedule-fields select:focus,
.send-schedule-fields input:focus {
  border-color: #1b8ff6;
  box-shadow: 0 0 0 3px rgba(27, 143, 246, .12);
  outline: 0;
}

.send-schedule-fields input:disabled {
  background: #eef3f8;
  color: #8a9aaa;
}

.send-review-actions {
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.send-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(350px, 1.05fr);
  gap: 16px;
  margin-top: 16px;
}

.send-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px 18px 18px;
}

.send-settings-grid label {
  display: grid;
  gap: 6px;
  color: #5f6f71;
  font-size: 11px;
  font-weight: 800;
}

.send-followup-setting {
  display: flex !important;
  align-items: center;
  gap: 7px;
  min-height: 35px;
  padding: 0 10px;
  border: 1px solid #dbe5e2;
  border-radius: 6px;
  background: #fbfcfb;
  color: #536466 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.send-followup-setting input {
  accent-color: var(--teal);
}

.send-result-panel .panel-head {
  padding-bottom: 14px;
}

.send-result-panel .send-stats {
  padding-top: 0;
}

.send-result-empty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 18px 18px;
  padding: 11px;
  border-left: 3px solid var(--teal);
  background: #f3faf8;
  color: #5d7973;
  font-size: 11px;
  line-height: 1.55;
}

.send-result-empty svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.send-primary-bar {
  position: sticky;
  bottom: 14px;
  z-index: 12;
}

.send-primary-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.send-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 18px;
}

.channel-grid {
  display: grid;
  gap: 0;
}

.channel-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid #edf0ee;
}

.channel-row:last-child {
  border-bottom: 0;
}

.channel-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 6px;
}

.channel-icon.email {
  background: var(--blue-soft);
  color: var(--blue);
}

.channel-icon.tg {
  background: var(--teal-soft);
  color: var(--teal);
}

.channel-icon.whatsapp {
  background: #ecfdf3;
  color: #16834a;
}

.channel-icon svg {
  width: 17px;
  height: 17px;
}

.channel-row h3 {
  color: var(--ink);
  font-size: 13px;
}

.channel-row p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.lead-send-list {
  display: grid;
}

.send-lead-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 15px 20px;
  border-bottom: 1px solid #edf0ee;
}

.send-lead-row:last-child {
  border-bottom: 0;
}

.send-lead-row strong {
  color: #344244;
  font-size: 13px;
}

.send-lead-row p {
  margin-top: 4px;
  color: #718083;
  font-size: 11px;
}

.send-lead-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.send-lead-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0;
  padding: 0;
}

.send-lead-row.has-contact-picker {
  grid-template-columns: minmax(0, 1fr) minmax(142px, 190px) auto;
}

.send-lead-select {
  min-width: 0;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 13px 15px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.send-lead-remove {
  min-width: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 10px;
  border: 0;
  border-left: 1px solid #e1e9e6;
  background: #fff;
  color: #72817e;
  cursor: pointer;
  font-size: 11px;
}

.send-lead-remove:hover {
  background: #fff4f2;
  color: #b4483b;
}

.send-lead-remove svg {
  width: 14px;
  height: 14px;
}

.send-contact-picker {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  padding: 8px 10px;
  border-left: 1px solid #e1e9e6;
  background: #fbfdfc;
  color: #617571;
  font-size: 10px;
  font-weight: 800;
}

.send-contact-picker select {
  width: 100%;
  min-width: 0;
  height: 27px;
  padding: 0 23px 0 7px;
  border: 1px solid #dbe6e1;
  border-radius: 4px;
  background: #fff;
  color: #344244;
  font-size: 11px;
}

.send-contact-picker select:focus {
  outline: 2px solid rgba(31, 128, 112, .2);
  border-color: var(--teal);
}

.send-attachment-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid #e7ece9;
}

.send-attachment-row > span:first-child {
  color: #617073;
  font-size: 11px;
  font-weight: 800;
}

.send-attachment-button {
  height: 29px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid #cfdad6;
  border-radius: 5px;
  background: #fff;
  color: #49635e;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.send-attachment-button:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.send-attachment-button input {
  display: none;
}

.send-attachment-button svg,
.send-attachment-name svg {
  width: 13px;
  height: 13px;
}

.send-attachment-row small {
  color: #71817e;
  font-size: 10px;
}

.send-attachment-name {
  min-width: 0;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 4px;
  background: #eef9f6;
  color: #28665d;
  font-size: 10px;
  font-weight: 700;
}

.send-attachment-name button {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.send-attachment-name button svg {
  width: 12px;
  height: 12px;
}

.send-telegram-login {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 18px 18px;
  padding: 12px 13px;
  border: 1px solid #d9e4e0;
  border-radius: 6px;
  background: #f8fbfa;
}

.send-login-copy {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.send-login-copy strong,
.send-login-copy small {
  display: block;
}

.send-login-copy strong {
  color: #36524c;
  font-size: 12px;
}

.send-login-copy small {
  margin-top: 3px;
  color: #71817e;
  font-size: 10px;
  line-height: 1.45;
}

.send-login-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 4px;
  border-radius: 50%;
  background: #98a8a5;
}

.send-login-dot.is-ready {
  background: #16836f;
}

.send-login-dot.is-warning {
  background: #cf8b20;
}

.send-login-dot.is-error {
  background: #c14f45;
}

.send-login-dot.is-checking {
  background: #3a78ab;
  animation: login-status-pulse 1.1s ease-in-out infinite;
}

.send-telegram-login .btn {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 9px;
  font-size: 11px;
}

.send-telegram-login .btn svg {
  width: 14px;
  height: 14px;
}

@keyframes login-status-pulse {
  50% { opacity: 0.35; }
}

.send-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 20px;
}

.send-stat {
  padding: 14px;
  border-left: 3px solid var(--blue);
  background: #f8fbff;
}

.send-stat:nth-child(2) {
  border-left-color: var(--teal);
  background: #f3fbf8;
}

.send-stat:nth-child(3) {
  border-left-color: var(--amber);
  background: #fffaf0;
}

.send-stat label {
  color: #657376;
  font-size: 11px;
}

.send-stat strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 22px;
}

.followup-project-context {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 16px;
}

.followup-context-item {
  min-width: 0;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
}

.followup-context-item:last-child {
  border-right: 0;
}

.followup-context-item > svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--teal);
}

.followup-context-item span {
  min-width: 0;
}

.followup-context-item label,
.followup-context-item strong {
  display: block;
}

.followup-context-item label {
  color: var(--muted);
  font-size: 11px;
}

.followup-context-item strong {
  overflow: hidden;
  margin-top: 5px;
  color: #334244;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.followup-overview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.followup-metric {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-left: 3px solid #7d8b8b;
  border-radius: 7px;
  background: #fff;
}

.followup-metric.is-teal {
  border-left-color: var(--teal);
  background: #f6fbfa;
}

.followup-metric.is-blue {
  border-left-color: var(--blue);
  background: #f8fbff;
}

.followup-metric.is-amber {
  border-left-color: var(--amber);
  background: #fffaf2;
}

.followup-metric.is-danger {
  border-left-color: var(--danger);
  background: #fff9f8;
}

.followup-metric label,
.followup-metric small {
  display: block;
  overflow: hidden;
  color: #718083;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.followup-metric strong {
  display: block;
  margin: 7px 0 4px;
  color: #314447;
  font-size: 22px;
}

.followup-workbench {
  display: grid;
  grid-template-columns: minmax(238px, 0.86fr) minmax(320px, 1.3fr) minmax(248px, 0.9fr);
  align-items: start;
  gap: 16px;
}

.followup-list-panel,
.followup-judgment-panel {
  position: sticky;
  top: 82px;
  align-self: start;
}

.followup-thread-panel,
.followup-judgment-panel {
  min-width: 0;
}

.followup-list-panel .panel-head,
.followup-judgment-panel .panel-head {
  padding-bottom: 14px;
}

.followup-tabs {
  padding: 12px 15px;
}

.followup-browse-controls {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfb;
}

.followup-country-field {
  display: grid;
  gap: 6px;
}

.followup-country-field span {
  color: #657673;
  font-size: 10px;
  font-weight: 800;
}

.followup-country-field select {
  width: 100%;
  height: 36px;
  padding: 0 32px 0 10px;
  border: 1px solid #cfdbd7;
  border-radius: 5px;
  background: #fff;
  color: #344744;
  font-size: 12px;
}

.followup-browse-controls .followup-tabs {
  padding: 10px 0 0;
  border-bottom: 0;
  background: transparent;
}

.followup-conversation-row {
  width: 100%;
  align-items: start;
  padding: 13px 14px;
  border: 0;
  border-bottom: 1px solid #edf0ee;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.followup-conversation-row:hover {
  background: #f7fbfa;
}

.followup-conversation-row.is-selected {
  background: #eef9f6;
  box-shadow: inset 3px 0 0 var(--teal);
}

.conversation-copy {
  min-width: 0;
}

.followup-conversation-row .conversation-copy strong,
.followup-conversation-row .conversation-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.followup-unread-badge {
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 7px;
  padding: 0 5px;
  border-radius: 9px;
  background: #1677ff;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  vertical-align: middle;
}

.followup-conversation-row .conversation-copy small {
  margin-top: 3px;
  color: #718083;
  font-size: 10px;
}

.followup-conversation-row .conversation-copy p {
  -webkit-line-clamp: 2;
}

.followup-conversation-row .conversation-meta {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.followup-channel-badge,
.followup-intent-chip,
.followup-stage-chip {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.followup-channel-badge.email {
  background: var(--blue-soft);
  color: #235aa7;
}

.followup-channel-badge.telegram {
  background: var(--teal-soft);
  color: #257066;
}

.followup-channel-badge.whatsapp {
  background: #ecfdf3;
  color: #16834a;
}

.followup-intent-chip.is-high {
  background: #fff0dc;
  color: #9c5a05;
}

.followup-intent-chip.is-medium {
  background: #e7f5eb;
  color: #267348;
}

.followup-intent-chip.is-low {
  background: #eef1f2;
  color: #68777a;
}

.followup-intent-chip.is-pending {
  background: #f3eefb;
  color: #6c4e9e;
}

.followup-stage-chip {
  background: #eef1f2;
  color: #5f7072;
}

.followup-stage-chip.is-connected {
  background: #eef1f2;
  color: #5f7072;
}

.followup-stage-chip.is-read {
  background: #e8f2fb;
  color: #356d9c;
}

.followup-stage-chip.is-replied {
  background: #e7f5eb;
  color: #267348;
}

.followup-stage-chip.is-quote {
  background: #fff0dc;
  color: #9c5a05;
}

.followup-stage-chip.is-sample {
  background: #e9f5f2;
  color: #237367;
}

.followup-stage-chip.is-payment {
  background: #f3eefb;
  color: #6c4e9e;
}

.followup-stage-chip.is-won {
  background: #e4f6d9;
  color: #3d772d;
}

.followup-stage-chip.is-paused {
  background: #f1eeee;
  color: #806b6b;
}

.followup-conversation-row .conversation-meta > span {
  display: flex;
  align-items: center;
}

.followup-thread-head {
  align-items: flex-start;
}

.followup-thread-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
}

.followup-thread-kicker svg {
  width: 13px;
  height: 13px;
}

.followup-thread-list {
  display: grid;
  gap: 10px;
  max-height: 620px;
  min-height: 400px;
  overflow-y: auto;
  padding: 4px 18px 18px;
  background: #fbfcfb;
}

.followup-thread-message {
  max-width: 86%;
  padding: 11px 12px;
  border: 1px solid #dfe6e4;
  border-radius: 7px;
  background: #fff;
}

.followup-thread-message.sent {
  justify-self: end;
  border-color: #c8e2dc;
  background: #f1faf7;
}

.followup-thread-message.reply {
  justify-self: start;
  border-color: #dbe4f1;
  background: #f8fbff;
}

.followup-message-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #708083;
  font-size: 10px;
  font-weight: 800;
}

.followup-message-meta span {
  color: #8b9799;
  font-weight: 500;
}

.followup-thread-message p {
  margin-top: 6px;
  color: #405255;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.followup-attachment {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  margin-top: 9px;
  padding: 4px 6px;
  border: 1px solid #d8e3e0;
  border-radius: 4px;
  color: #47756c;
  font-size: 10px;
}

.followup-attachment svg,
.followup-thread-footer svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

.followup-thread-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  border-top: 1px solid var(--line);
  color: #718083;
  font-size: 10px;
}

.followup-thread-footer span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.followup-decision {
  margin: 0 18px 14px;
  padding: 12px;
  border: 1px solid #dce7e3;
  border-radius: 7px;
  background: #f7fbfa;
}

.followup-decision-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #4e6264;
  font-size: 11px;
  font-weight: 800;
}

.followup-decision > p {
  margin-top: 7px;
  color: #708083;
  font-size: 11px;
  line-height: 1.55;
}

.followup-intent-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-top: 10px;
}

.followup-intent-actions button {
  height: 28px;
  border: 1px solid #d7e2df;
  border-radius: 4px;
  background: #fff;
  color: #657578;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.followup-intent-actions button.is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.followup-stage-field {
  display: grid;
  gap: 6px;
  margin: 0 18px 14px;
  color: #5b6c6e;
  font-size: 11px;
  font-weight: 800;
}

.followup-stage-field select {
  width: 100%;
  height: 34px;
  padding: 0 8px;
  border: 1px solid #ccd8d5;
  border-radius: 5px;
  outline: 0;
  background: #fff;
  color: #3d5153;
  font-size: 12px;
}

.followup-stage-field select:focus,
.followup-ai-section textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(8, 119, 107, 0.12);
}

.followup-state-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0 18px 14px;
}

.followup-state-grid span {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 7px;
  border: 1px solid #e0e6e4;
  border-radius: 5px;
  background: #fbfcfb;
  color: #819093;
  font-size: 10px;
}

.followup-state-grid span.is-done {
  border-color: #b9dccc;
  background: #eff9f3;
  color: #2e7452;
}

.followup-state-grid svg {
  width: 13px;
  height: 13px;
}

.followup-ai-section,
.followup-action-section {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.followup-ai-section > p {
  margin-top: 8px;
  color: #708083;
  font-size: 11px;
  line-height: 1.6;
}

.followup-ai-section textarea {
  width: 100%;
  min-height: 136px;
  margin-top: 10px;
  padding: 9px;
  border: 1px solid #ccd8d5;
  border-radius: 5px;
  outline: 0;
  color: #3d5153;
  font: inherit;
  font-size: 12px;
  line-height: 1.65;
  resize: vertical;
}

.followup-ai-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 9px;
}

.followup-ai-actions .btn {
  justify-content: center;
  padding: 0 8px;
  font-size: 11px;
}

.followup-action-section {
  display: grid;
  gap: 7px;
}

.followup-action-section .send-section-label {
  margin-bottom: 3px;
}

.followup-action-section > button {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid #d7e2df;
  border-radius: 5px;
  background: #fff;
  color: #486064;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  text-align: left;
}

.followup-action-section > button:hover {
  border-color: var(--teal);
  background: #f3faf8;
  color: #216b61;
}

.followup-action-section svg {
  width: 14px;
  height: 14px;
  color: var(--teal);
}

.followup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
}

.followup-tabs {
  display: flex;
  gap: 7px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfb;
}

.followup-tabs button {
  height: 31px;
  padding: 0 10px;
  border: 1px solid #d5dfdc;
  border-radius: 5px;
  background: #fff;
  color: #5c6c6d;
  cursor: pointer;
  font-size: 12px;
}

.followup-tabs button.is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.conversation-list {
  display: grid;
}

.conversation-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #edf0ee;
}

.conversation-row:last-child {
  border-bottom: 0;
}

.conversation-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #eaf0ef;
  color: #275e57;
  font-size: 12px;
  font-weight: 800;
}

.conversation-row strong {
  display: block;
  overflow: hidden;
  color: #334243;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-row p {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 4px;
  color: #718082;
  font-size: 12px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.conversation-meta {
  color: #819093;
  font-size: 11px;
  text-align: right;
}

.conversation-meta .new-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.followup-side {
  align-self: start;
}

.followup-actions {
  display: grid;
  gap: 0;
}

.followup-action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border-bottom: 1px solid #edf0ee;
  color: #475658;
  font-size: 13px;
}

.followup-action:last-child {
  border-bottom: 0;
}

.followup-action svg {
  width: 17px;
  height: 17px;
  color: var(--teal);
}

.workspace-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  max-width: 1420px;
  margin: 34px auto 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  color: #778486;
  font-size: 11px;
}

.workspace-footer span:first-child {
  color: #445557;
  font-weight: 800;
}

.workspace-empty {
  padding: 42px 22px;
  color: #819093;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.workspace-empty-state {
  min-height: 188px;
  display: grid;
  place-items: center;
  grid-template-columns: auto minmax(0, 340px);
  gap: 13px;
  padding: 30px 24px;
  border: 1px dashed #cad8d4;
  border-radius: 7px;
  background: #fbfcfb;
  text-align: left;
}

.workspace-empty-state > svg {
  width: 26px;
  height: 26px;
  color: var(--teal);
}

.workspace-empty-state > div {
  min-width: 0;
}

.workspace-empty-state strong {
  display: block;
  color: #435759;
  font-size: 13px;
}

.workspace-empty-state p {
  margin-top: 4px;
  color: #758487;
  font-size: 12px;
  line-height: 1.65;
}

.workspace-empty-state .btn {
  width: max-content;
  max-width: 100%;
  margin-top: 12px;
}

.workspace-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  display: none;
  max-width: 360px;
  padding: 13px 15px;
  border: 1px solid #9fcdbf;
  border-radius: 7px;
  background: #effaf4;
  box-shadow: var(--shadow);
  color: #1e6142;
  font-size: 13px;
}

.workspace-toast.is-visible {
  display: block;
}

.legacy-staging,
.footer {
  display: none !important;
}

.modal-box {
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 54px rgba(22, 41, 39, 0.2);
}

.modal-box h3,
.modal-box h4 {
  color: var(--ink);
}

.modal-box .btn.primary {
  background: var(--teal);
}

.modal-box .btn.ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: #3d4d50;
}

.modal-box .modal-input:focus,
.modal-box .modal-textarea:focus,
.modal-box .template-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 119, 107, 0.12);
}

@media (max-width: 1120px) {
  .page-heading {
    display: block;
  }

  .page-heading > * {
    min-width: 0;
    max-width: 100%;
  }

  .page-heading-actions {
    width: 100%;
    margin-top: 14px;
  }

  .workspace-shell {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .app-sidebar {
    padding: 18px 10px;
  }

  .sidebar-label,
  .sidebar-link span,
  .sidebar-step,
  .sidebar-status span {
    display: none;
  }

  .sidebar-link {
    justify-content: center;
    padding: 0;
  }

  .sidebar-footer {
    padding: 16px 0 4px;
  }

  .sidebar-status {
    justify-content: center;
  }

  .topbar-brand {
    min-width: auto;
  }

  .topbar-nav span {
    display: none;
  }

  .top-nav {
    width: 40px;
    justify-content: center;
    padding: 0;
  }

  .topbar-project {
    max-width: 180px;
  }

  .analysis-layout,
  .analysis-research-grid,
  .analysis-chart-grid,
    .analysis-notes-grid,
    .analysis-decision-summary,
    .prospect-layout,
    .send-layout,
    .followup-layout,
    .home-dashboard-grid,
    .home-world-map-layout {
      grid-template-columns: 1fr;
    }

    .home-world-map-list {
      border-top: 1px solid var(--line);
      border-left: 0;
    }

  .send-workbench,
  .send-lower-grid {
    grid-template-columns: 1fr;
  }

  .send-selected-panel {
    position: static;
  }

  .followup-workbench {
    grid-template-columns: 290px minmax(0, 1fr);
  }

  .followup-judgment-panel {
    position: static;
    grid-column: 1 / -1;
  }

  .lead-tray {
    position: static;
  }

  .prospect-workbench {
    grid-template-columns: 238px minmax(0, 1fr);
  }

  .prospect-filter-panel,
  .prospect-detail-panel {
    grid-column: 1 / -1;
    position: static;
  }

  .prospect-detail-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .prospect-detail-body .prospect-company-summary,
  .prospect-detail-body .prospect-detail-add,
  .prospect-detail-body .prospect-value-panel,
  .prospect-detail-body .prospect-angle {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .send-review-header,
  .send-review-context {
    align-items: flex-start;
    flex-direction: column;
  }

  .send-review-context {
    gap: 8px;
  }

  .send-review-context > div,
  .send-review-context > div:first-child {
    width: 100%;
  }

  .send-review-context select {
    width: 100%;
  }

  .send-review-grid {
    grid-template-columns: 1fr;
  }

  .send-review-editor {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .send-review-preview .modal-textarea {
    min-height: 200px;
  }

  .header.workspace-topbar {
    height: 58px;
    padding: 0 14px;
    gap: 10px;
  }

  .brand-title,
  .topbar-nav,
  .topbar-project,
  .header.workspace-topbar #phoneDisplay {
    display: none !important;
  }

  .workspace-shell {
    display: block;
    min-height: calc(100vh - 58px);
  }

  .app-sidebar {
    position: sticky;
    top: 58px;
    z-index: 100;
    width: 100%;
    height: 52px;
    flex-direction: row;
    justify-content: space-around;
    padding: 6px 8px;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid #264842;
  }

  .app-sidebar .sidebar-label,
  .app-sidebar .sidebar-footer {
    display: none;
  }

  .app-sidebar nav {
    width: 100%;
    display: flex;
    justify-content: space-around;
  }

  .app-sidebar .sidebar-link {
    width: 44px;
    min-height: 40px;
  }

  .workspace-main {
    padding: 18px 14px 32px;
  }

  .page-heading {
    display: block;
    margin-bottom: 18px;
  }

  .page-heading-actions {
    margin-top: 14px;
  }

  .page-heading h1 {
    font-size: 23px;
  }

  .home-hero {
    min-height: 410px;
    padding: 30px 22px;
  }

  .home-hero-image {
    width: 100%;
    opacity: 0.42;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-project-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-project-form .btn,
  .hero-project-form .btn.secondary {
    width: 100%;
  }

  .workflow-strip,
  .metric-grid,
  .analysis-result-grid,
  .analysis-project-context,
  .project-context-grid {
    grid-template-columns: 1fr;
  }

  .send-project-context {
    grid-template-columns: 1fr 1fr;
  }

  .followup-project-context {
    grid-template-columns: 1fr 1fr;
  }

  .followup-context-item {
    min-height: 74px;
    border-bottom: 1px solid var(--line);
  }

  .followup-context-item:nth-child(2n) {
    border-right: 0;
  }

  .followup-context-item:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .followup-overview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .followup-metric:last-child {
    grid-column: 1 / -1;
  }

  .followup-workbench {
    grid-template-columns: 1fr;
  }

  .followup-list-panel,
  .followup-judgment-panel {
    position: static;
    grid-column: auto;
  }

  .followup-thread-list {
    min-height: 320px;
    max-height: 520px;
  }

  .followup-thread-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .send-context-item {
    min-height: 74px;
    border-bottom: 1px solid var(--line);
  }

  .send-context-item:nth-child(2n) {
    border-right: 0;
  }

  .send-context-item:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .send-channel-tabs {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .send-channel-tabs button {
    flex: 0 0 auto;
  }

  .send-editor-grid,
  .send-settings-grid {
    grid-template-columns: 1fr;
  }

  .send-editor {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .send-primary-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .send-primary-bar .btn {
    width: 100%;
    justify-content: center;
  }

  .send-primary-actions {
    width: 100%;
    flex-direction: column;
  }

  .send-schedule-panel,
  .send-schedule-fields {
    align-items: stretch;
    flex-direction: column;
  }

  .send-schedule-fields,
  .send-schedule-fields select,
  .send-schedule-fields input {
    width: 100%;
    min-width: 0;
  }

  .home-world-map-stage {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .home-world-map-point {
    width: 27px;
    height: 27px;
  }

  .send-scheduled-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
  }

  .send-scheduled-status {
    justify-self: start;
  }

  .send-scheduled-cancel {
    justify-self: end;
  }

  .workspace-empty-state {
    min-height: 164px;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .workspace-empty-state .btn {
    width: 100%;
  }

  .workflow-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-item:last-child {
    border-bottom: 0;
  }

  .project-context-item {
    min-height: 76px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-context-item:last-child {
    border-bottom: 0;
  }

  .analysis-context-item {
    min-height: 66px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .analysis-context-item:last-child {
    border-bottom: 0;
  }

  .chart-card-head {
    display: block;
  }

  .chart-card-head span {
    display: block;
    margin-top: 4px;
    text-align: left;
  }

  .recommendation-row {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 14px 16px;
  }

  .recommendation-row .icon-text-button {
    grid-column: 2;
    justify-self: start;
  }

  .analysis-next-step {
    position: static;
    border-radius: 7px;
  }

  .home-proof {
    grid-template-columns: 1fr;
  }

  .proof-copy {
    padding: 26px 22px;
  }

  .proof-flow {
    min-height: auto;
    padding: 26px 22px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .scenario-list {
    grid-template-columns: 1fr 1fr;
  }

  .scenario-list div:nth-child(2) {
    border-right: 0;
  }

  .scenario-list div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .home-cta {
    display: grid;
    padding: 26px 22px;
  }

  .home-cta .btn {
    width: 100%;
  }

  .panel-head,
  .panel-body {
    padding: 16px;
  }

  .analysis-conditions {
    border-left: 0;
    border-top: 3px solid var(--amber);
  }

  .next-step-bar {
    display: grid;
  }

  .prospect-filter-bar {
    align-items: stretch;
  }

  .prospect-filter-bar input,
  .prospect-filter-bar select {
    width: 100%;
  }

  .prospect-filter-bar #typeFilter {
    width: 100%;
    overflow-x: auto;
  }

  .prospect-filter-bar #typeFilter button {
    min-width: max-content;
  }

  .prospect-table-panel .table-wrap {
    margin: 12px 16px 16px;
  }

  .prospect-project-context {
    grid-template-columns: 1fr 1fr;
  }

  .analysis-country-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .analysis-country-actions {
    width: 100%;
    justify-content: space-between;
  }

  .prospect-context-item:nth-child(2n) {
    border-right: 0;
  }

  .prospect-context-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .prospect-workbench {
    grid-template-columns: 1fr;
  }

  .prospect-filter-panel,
  .prospect-detail-panel {
    position: static;
  }

  .prospect-detail-panel {
    display: block;
    max-height: none;
    overflow: visible;
  }

  .prospect-detail-body {
    overflow: visible;
  }

  .prospect-filter-body {
    grid-template-columns: 1fr;
  }

  .prospect-filter-label {
    grid-column: 1 / -1;
  }

  .prospect-filter-body #prospectTypeSlot,
  .prospect-filter-body #prospectCountrySlot,
  .prospect-filter-body #prospectCompanySearch,
  .prospect-filter-body #prospectProductKeyword,
  .prospect-filter-body .prospect-check-list,
  .prospect-filter-body select {
    grid-column: 1 / -1;
  }

  .prospect-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prospect-ai-summary-head {
    align-items: flex-start;
  }

  .prospect-ai-summary-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prospect-ai-summary-metrics > div:nth-child(2n) {
    border-right: 0;
  }

  .prospect-ai-summary-metrics > div:nth-child(-n + 2) {
    border-bottom: 1px solid #dceae5;
  }

  .prospect-metric:nth-child(2n) {
    border-right: 0;
  }

  .prospect-metric:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .prospect-card {
    grid-template-columns: 1fr;
  }

  .prospect-card-actions {
    flex-direction: row;
    justify-content: flex-start;
    padding: 10px 14px;
    border-top: 1px solid #edf0ee;
    border-left: 0;
  }

  .prospect-card-actions .btn {
    min-width: 0;
  }

  .prospect-detail-body {
    grid-template-columns: 1fr;
  }

  .prospect-detail-body .prospect-company-summary,
  .prospect-detail-body .prospect-detail-add,
  .prospect-detail-body .prospect-value-panel,
  .prospect-detail-body .prospect-angle {
    grid-column: auto;
  }

  .prospect-selection-bar,
  .prospect-selection-copy {
    display: grid;
  }

  .prospect-selection-bar {
    position: static;
  }

  .prospect-selection-copy {
    gap: 10px;
  }

  .prospect-selection-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .prospect-selection-actions .btn {
    flex: 1;
    justify-content: center;
  }

  .send-stats {
    grid-template-columns: 1fr;
  }

  .channel-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .channel-row .btn {
    grid-column: 2;
    justify-self: start;
    margin-top: 3px;
  }

  .send-lead-row {
    grid-template-columns: 1fr;
  }

  .send-lead-row.has-contact-picker {
    grid-template-columns: 1fr;
  }

  .send-contact-picker {
    border-top: 1px solid #e1e9e6;
    border-left: 0;
  }

  .send-lead-remove {
    min-height: 38px;
    border-top: 1px solid #e1e9e6;
    border-left: 0;
  }

  .conversation-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .conversation-meta {
    grid-column: 2;
    text-align: left;
  }

  .workspace-footer {
    display: grid;
    gap: 5px;
    margin-top: 26px;
  }
}
