.customer-upload-panel {
  margin: 30px 0;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.07));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.customer-upload-panel .eyebrow {
  color: #ff8bc0;
}

.customer-upload-panel h2 {
  margin-bottom: 10px;
}

.customer-upload-panel p:not(.eyebrow) {
  max-width: 820px;
  color: #c4ceeb;
  line-height: 1.55;
  font-weight: 800;
}

.customer-upload-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.customer-upload-form textarea {
  width: 100%;
  min-height: 210px;
  resize: vertical;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 22px;
  padding: 16px;
  background: rgba(255,255,255,.94);
  color: var(--deep);
  font: inherit;
  font-weight: 800;
  line-height: 1.45;
}

.customer-upload-form textarea:focus {
  outline: 3px solid rgba(0,184,255,.22);
  border-color: rgba(0,184,255,.75);
}

.customer-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.customer-summary {
  margin-top: 16px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  color: #dfe9ff;
  font-weight: 900;
}

.customer-summary[data-error="true"] {
  border-color: rgba(235,59,139,.34);
  background: rgba(235,59,139,.12);
}

.customer-table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--soft-shadow);
}

.customer-upload-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--deep);
  min-width: 1120px;
}

.customer-upload-table th,
.customer-upload-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(98,112,143,.14);
  text-align: left;
  vertical-align: top;
}

.customer-upload-table th {
  color: #62708f;
  font-size: .78rem;
  font-weight: 1000;
  letter-spacing: .055em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(247,244,255,.96), rgba(235,248,255,.78));
}

.customer-upload-table td {
  font-weight: 900;
}

.customer-upload-table td span {
  display: block;
  margin-top: 3px;
  color: #62708f;
  font-size: .83rem;
}

.customer-upload-table a {
  color: var(--purple);
  font-weight: 1000;
  text-decoration: none;
}

.customer-status {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: .72rem;
  font-weight: 1000;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.customer-status.ready {
  color: #123f48;
  background: linear-gradient(135deg, rgba(34,211,166,.18), rgba(0,184,255,.14));
}

.customer-status.manual,
.customer-upload-table .muted-cell {
  color: #5d4a25;
  background: rgba(255,138,61,.15);
}

.customer-upload-table .muted-cell {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: .72rem;
  font-weight: 1000;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.social-link-stack,
.customer-link-stack,
.customer-workflow-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.social-link-stack a,
.customer-link-stack a,
.workflow-toggle {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(123,44,255,.14);
  border-radius: 999px;
  padding: 7px 10px;
  background: linear-gradient(135deg, rgba(235,59,139,.10), rgba(123,44,255,.11));
  color: var(--purple);
  cursor: pointer;
  font: inherit;
  font-size: .76rem;
  font-weight: 1000;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.customer-link-stack a:first-child {
  background: linear-gradient(135deg, rgba(34,211,166,.16), rgba(0,184,255,.12));
  color: #123f48;
}

.workflow-toggle {
  color: #53607c;
  background: rgba(98,112,143,.08);
}

.workflow-toggle.is-active {
  color: #123f48;
  border-color: rgba(34,211,166,.24);
  background: linear-gradient(135deg, rgba(34,211,166,.22), rgba(0,184,255,.12));
}

.customer-note {
  min-width: 180px;
  width: 100%;
  border: 1px solid rgba(98,112,143,.18);
  border-radius: 16px;
  padding: 10px 11px;
  color: var(--deep);
  background: #fff;
  font: inherit;
  font-size: .88rem;
  font-weight: 800;
  resize: vertical;
}

.customer-note:focus {
  outline: 3px solid rgba(0,184,255,.18);
  border-color: rgba(0,184,255,.70);
}

.customer-empty-state {
  margin-top: 16px;
  padding: 18px;
  border: 1px dashed rgba(255,255,255,.32);
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  color: #c4ceeb;
  font-weight: 900;
}

@media (max-width: 900px) {
  .customer-upload-panel {
    padding: 20px;
    border-radius: 26px;
  }

  .customer-upload-actions .button {
    width: 100%;
  }
}

/* ── Engagement status variants ─────────────────────────────────────────── */

.customer-status.status-done {
  color: #0e3d2e;
  background: linear-gradient(135deg, rgba(34,211,166,.28), rgba(0,220,130,.18));
}

.customer-status.status-engaged {
  color: #1a1060;
  background: linear-gradient(135deg, rgba(123,44,255,.22), rgba(235,59,139,.16));
}

.customer-status.status-warm {
  color: #3b2a00;
  background: linear-gradient(135deg, rgba(255,185,0,.28), rgba(255,138,61,.18));
}

.customer-status.status-manual {
  color: #4a1a1a;
  background: linear-gradient(135deg, rgba(235,59,59,.18), rgba(255,100,80,.12));
}

.customer-status.status-neutral {
  color: #3a3a55;
  background: rgba(98,112,143,.13);
}

/* ── Session summary panel ───────────────────────────────────────────────── */

.session-summary-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 16px;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
}

.session-summary-label {
  font-size: .7rem;
  font-weight: 1000;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #8899bb;
  margin-right: 4px;
}

.session-count {
  font-size: .82rem;
  font-weight: 900;
  color: #c4ceeb;
}

.session-count strong {
  color: #fff;
}

/* ── Today's 10 queue button active state ────────────────────────────────── */

.queue-filter[data-build-todays-ten].is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(123,44,255,.55), rgba(235,59,139,.38));
  border-color: rgba(235,59,139,.30);
}

