/*!***********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[11].oneOf[12].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[11].oneOf[12].use[3]!./src/styles/ds.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************/
/* Communicator design system — premium B2B SaaS, calm productivity */

:root {
  --ds-bg: #e8ecf4;
  --ds-bg-subtle: #f1f4fa;
  --ds-surface: #ffffff;
  --ds-surface-muted: #f8fafc;
  --ds-border: #d8dee9;
  --ds-border-subtle: #e8ecf2;
  --ds-text: #0f172a;
  --ds-text-muted: #64748b;
  --ds-primary: #2563eb;
  --ds-primary-hover: #1d4ed8;
  --ds-primary-soft: #eff6ff;
  --ds-success: #059669;
  --ds-radius: 12px;
  --ds-radius-lg: 16px;
  --ds-radius-xl: 20px;
  --ds-space-1: 4px;
  --ds-space-2: 8px;
  --ds-space-3: 12px;
  --ds-space-4: 16px;
  --ds-space-5: 20px;
  --ds-space-6: 24px;
  --ds-space-8: 32px;
  --ds-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --ds-shadow-md: 0 4px 16px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(15, 23, 42, 0.04);
  --ds-shadow-card: 0 8px 30px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --ds-shadow-premium: 0 14px 48px rgba(15, 23, 42, 0.1), 0 4px 14px rgba(15, 23, 42, 0.05);
  --ds-ink: #020617;
  --ds-accent-line: linear-gradient(90deg, var(--ds-primary) 0%, #6366f1 45%, transparent 100%);
  --ds-sidebar-width: 260px;
  --ds-sidebar-collapsed: 76px;
  --ds-font: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Shell */
.ds-member-shell,
.ds-admin-shell {
  min-height: 100vh;
  background: var(--ds-bg);
  background-image: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(37, 99, 235, 0.07), transparent 55%);
  display: flex;
  font-family: var(--ds-font);
  color: var(--ds-text);
  -webkit-font-smoothing: antialiased;
}

.ds-sidebar {
  width: var(--ds-sidebar-width);
  background: var(--ds-surface);
  border-right: 1px solid var(--ds-border-subtle);
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  z-index: 1000;
  box-shadow: var(--ds-shadow-md);
}

.ds-sidebar.collapsed {
  width: var(--ds-sidebar-collapsed);
}

.ds-sidebar-brand {
  padding: var(--ds-space-5) var(--ds-space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
}

.ds-sidebar-brand h1 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ds-sidebar-nav {
  flex: 1 1;
  overflow-y: auto;
  padding: var(--ds-space-4) var(--ds-space-3);
}

.ds-nav-group-label {
  padding: 12px 12px 5px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ds-text-muted);
}

.ds-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  margin-bottom: 1px;
  border-radius: 10px;
  text-decoration: none;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.ds-nav-link:hover {
  background: var(--ds-bg-subtle);
  color: var(--ds-text);
}

.ds-nav-link.active {
  background: var(--ds-primary-soft);
  color: var(--ds-primary);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.ds-sidebar-footer {
  padding: var(--ds-space-4);
  border-top: 1px solid var(--ds-border-subtle);
  background: var(--ds-surface-muted);
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-2);
}

.ds-main {
  flex: 1 1;
  margin-left: var(--ds-sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ds-main.collapsed-main {
  margin-left: var(--ds-sidebar-collapsed);
}

.ds-topbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-4);
  flex-wrap: wrap;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ds-border-subtle);
  box-shadow: var(--ds-shadow-sm);
}

.ds-topbar-title {
  margin: 0;
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--ds-text);
  letter-spacing: -0.03em;
}

.ds-content-main {
  flex: 1 1;
  overflow-y: auto;
}

.ds-content-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 28px 56px;
  width: 100%;
  box-sizing: border-box;
}

/* Denser seller cockpit — less dead space */
.ds-content-inner--cockpit {
  padding: 18px 22px 44px;
  max-width: 1280px;
}

/* Page blocks */
.ds-page {
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: var(--ds-text);
  font-family: var(--ds-font);
}

.ds-page-narrow {
  max-width: 880px;
  margin: 0 auto;
}

.ds-page-hero {
  margin-bottom: var(--ds-space-6);
  padding-bottom: var(--ds-space-5);
  border-bottom: 1px solid var(--ds-border-subtle);
  position: relative;
}

.ds-page-hero::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: min(200px, 40%);
  height: 2px;
  border-radius: 2px;
  background: var(--ds-accent-line);
  opacity: 0.85;
}

.ds-eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ds-primary);
  margin-bottom: 6px;
}

.ds-page-hero h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ds-ink);
  line-height: 1.22;
}

.ds-page-hero p {
  margin: var(--ds-space-2) 0 0;
  font-size: 0.9375rem;
  color: var(--ds-text-muted);
  max-width: 58ch;
  line-height: 1.5;
}

/* Primary CTA strip — obvious next actions */
.ds-cockpit-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: var(--ds-space-5);
}

.ds-cockpit-toolbar .ds-btn:first-of-type {
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

/* Metric grids — tighter rhythm */
.ds-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.ds-metric-grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

/* Page sections — hierarchy */
.ds-page-section {
  margin-bottom: 2.25rem;
}

.ds-page-section--dense {
  margin-bottom: 1.5rem;
}

.ds-page-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ds-border-subtle);
}

.ds-page-section__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ds-ink);
}

.ds-page-section--dense .ds-page-section__title {
  font-size: 1rem;
}

.ds-page-section__desc {
  margin: 6px 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ds-text-muted);
  max-width: 56ch;
}

/* Premium surface cards */
.ds-content-card {
  background: var(--ds-surface);
  border-radius: var(--ds-radius-lg);
  border: 1px solid var(--ds-border-subtle);
  box-shadow: var(--ds-shadow-md);
  overflow: hidden;
}

.ds-content-card--elevated {
  border-color: rgba(15, 23, 42, 0.06);
  box-shadow: var(--ds-shadow-premium);
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

/* Conversation list — split-ready rows */
.ds-conv-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ds-conv-list__item {
  border-bottom: 1px solid var(--ds-border-subtle);
}

.ds-conv-list__item:last-child {
  border-bottom: none;
}

.ds-conv-list__link {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  grid-gap: 12px 14px;
  gap: 12px 14px;
  align-items: center;
  padding: 14px 18px;
  color: inherit;
  text-decoration: none;
  transition: background 0.12s ease;
}

.ds-conv-list__link:hover {
  background: linear-gradient(90deg, var(--ds-primary-soft) 0%, transparent 55%);
}

.ds-conv-list__avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ds-primary);
  flex-shrink: 0;
}

.ds-conv-list__body {
  min-width: 0;
}

.ds-conv-list__title {
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
}

.ds-conv-list__preview {
  font-size: 0.8125rem;
  color: var(--ds-text-muted);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ds-conv-list__meta {
  font-size: 0.6875rem;
  color: var(--ds-text-muted);
  text-align: right;
  white-space: nowrap;
}

/* Deal / pipeline row */
.ds-deal-row {
  padding: 14px 18px;
  border-bottom: 1px solid var(--ds-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  transition: background 0.12s ease;
}

.ds-deal-row:hover {
  background: var(--ds-bg-subtle);
}

.ds-deal-row:last-child {
  border-bottom: none;
}

/* CTA cluster — calmer secondary density */
.ds-cta-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ds-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: var(--ds-space-6);
}

/* Buttons */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--ds-primary);
  color: #fff;
  border-radius: var(--ds-radius);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: var(--ds-shadow-sm);
  transition: filter 0.15s ease, transform 0.1s ease, box-shadow 0.18s ease;
}

.ds-btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.ds-btn:active {
  transform: scale(0.98);
}

.ds-btn:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.4);
  outline-offset: 2px;
}

.ds-btn-sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
  border-radius: 10px;
}

.ds-btn-muted {
  background: #64748b;
}

.ds-btn-accent {
  background: var(--ds-success);
}

.ds-btn-danger {
  background: #dc2626;
}

.ds-btn-outline {
  background: var(--ds-surface);
  color: var(--ds-primary);
  border: 1px solid var(--ds-border);
  box-shadow: none;
}

.ds-btn-outline:hover {
  background: var(--ds-primary-soft);
  border-color: rgba(37, 99, 235, 0.35);
}

.ds-link {
  color: var(--ds-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.875rem;
}

.ds-link:hover {
  text-decoration: underline;
}

/* Lists & chips */
.ds-list-row {
  padding: 14px 18px;
  border-bottom: 1px solid var(--ds-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  transition: background 0.12s ease;
}

.ds-list-row:hover {
  background: var(--ds-bg-subtle);
}

.ds-list-row:last-child {
  border-bottom: none;
}

.ds-filter-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--ds-border);
  background: var(--ds-surface);
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ds-text);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ds-filter-chip:hover {
  border-color: rgba(37, 99, 235, 0.4);
  background: var(--ds-surface-muted);
}

.ds-filter-chip[data-active='true'] {
  border-color: var(--ds-primary);
  background: var(--ds-primary-soft);
  color: var(--ds-primary);
  font-weight: 600;
}

.ds-input {
  flex: 1 1;
  padding: 10px 14px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  font-size: 0.9375rem;
}

/* Cards & metrics */
.ds-metric-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--ds-radius-lg);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ds-metric-card-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow-card);
}

.ds-action-card {
  position: relative;
  padding-right: 36px !important;
}

.ds-action-card:hover {
  border-color: rgba(37, 99, 235, 0.25) !important;
  box-shadow: var(--ds-shadow-md) !important;
}

.ds-action-card::after {
  content: '→';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ds-primary);
  opacity: 0.35;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.ds-action-card:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(2px);
}

.ds-admin-panel {
  padding: var(--ds-space-5);
  border: 1px solid var(--ds-border-subtle);
  border-radius: var(--ds-radius-lg);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-sm);
  margin-bottom: var(--ds-space-4);
}

.ds-admin-panel-muted {
  background: linear-gradient(180deg, var(--ds-surface-muted) 0%, var(--ds-surface) 100%);
}

/* Playbook guidance — contextual intelligence */
.ds-playbook-guidance {
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  box-shadow: var(--ds-shadow-md);
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: var(--ds-surface);
}

.ds-playbook-guidance-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 18px;
  background: linear-gradient(105deg, var(--ds-primary-soft) 0%, #f8fafc 55%, var(--ds-surface) 100%);
  border-bottom: 1px solid var(--ds-border-subtle);
}

.ds-playbook-guidance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ds-primary);
}

/* Mobile nav toggle (member + admin) */
.ds-mobile-nav-toggle {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1001;
  padding: 10px 12px;
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: none;
  font-size: 1.1rem;
  box-shadow: var(--ds-shadow-md);
}

/* Community */
.ds-community-shell {
  display: flex;
  min-height: min(520px, calc(100vh - 200px));
  gap: 0;
  border: 1px solid var(--ds-border-subtle);
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-md);
}

.ds-community-channels {
  width: 220px;
  min-width: 180px;
  border-right: 1px solid var(--ds-border-subtle);
  padding: 16px;
  background: var(--ds-bg-subtle);
}

/* Chat thread (2026 chat-first) */
.ds-chat-thread-page {
  max-width: 820px;
  margin: 0 auto;
}

.ds-chat-thread-header {
  position: relative;
  margin-bottom: 16px;
  padding: 16px 18px 18px;
  border-radius: var(--ds-radius-lg);
  border: 1px solid var(--ds-border-subtle);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
  box-shadow: var(--ds-shadow-sm);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.ds-chat-thread-header::after {
  content: '';
  position: absolute;
  left: 18px;
  bottom: 0;
  width: min(160px, 36%);
  height: 2px;
  border-radius: 2px;
  background: var(--ds-accent-line);
  opacity: 0.85;
}

.ds-chat-thread-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 4px;
}

.ds-chat-thread-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ds-ink);
}

.ds-chat-thread-id {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ds-text-muted);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.ds-btn--call-voice {
  background: var(--ds-success, #059669) !important;
  border-color: var(--ds-success, #059669) !important;
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(5, 150, 105, 0.25);
}

.ds-chat-live-pill {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 999px;
}

.ds-chat-live-pill--ok {
  background: #d1fae5;
  color: #065f46;
}

.ds-chat-live-pill--warn {
  background: #fef3c7;
  color: #92400e;
}

.ds-chat-live-pill--off {
  background: #fee2e2;
  color: #991b1b;
}

.ds-chat-call-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.ds-chat-thread-sub {
  margin: 12px 0 0;
  font-size: 0.8125rem;
  color: var(--ds-text-muted);
  line-height: 1.5;
  max-width: 640px;
}

.ds-chat-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ds-chip-action {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ds-primary);
  background: var(--ds-primary-soft);
  border: 1px solid rgba(37, 99, 235, 0.15);
  transition: background 0.15s ease, transform 0.12s ease;
}

.ds-chip-action:hover {
  background: #dbeafe;
  transform: translateY(-1px);
}

.ds-chat-bubble-panel {
  background: var(--ds-surface);
  border: 1px solid var(--ds-border-subtle);
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow-card);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ds-chat-thread-summary {
  margin-bottom: 14px;
}

.ds-chat-messages {
  flex: 1 1;
  overflow-y: auto;
  padding: 20px 18px;
  min-height: 280px;
  background: linear-gradient(180deg, var(--ds-surface-muted) 0%, var(--ds-surface) 40%);
}

.ds-chat-empty {
  text-align: center;
  color: var(--ds-text-muted);
  padding: 2.5rem 1rem;
  margin: 0;
  font-size: 0.9375rem;
}

.ds-chat-row {
  margin-bottom: 12px;
  text-align: left;
}

.ds-chat-row--me {
  text-align: right;
}

.ds-chat-bubble {
  display: inline-block;
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.9375rem;
  line-height: 1.45;
  background: var(--ds-bg-subtle);
  color: var(--ds-text);
  box-shadow: var(--ds-shadow-sm);
}

.ds-chat-row--me .ds-chat-bubble {
  background: linear-gradient(135deg, var(--ds-primary) 0%, #1d4ed8 100%);
  color: #fff;
}

.ds-chat-meta {
  font-size: 0.6875rem;
  color: var(--ds-text-muted);
  margin-top: 4px;
}

.ds-chat-typing {
  font-size: 0.875rem;
  color: var(--ds-text-muted);
  font-style: italic;
}

@keyframes ds-chat-bubble-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ds-chat-bubble--enter {
  animation: ds-chat-bubble-in 0.28s ease-out both;
}

@keyframes ds-pulse-soft {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.35); }
  70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(5, 150, 105, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.ds-call-pulse {
  animation: ds-pulse-soft 1.4s infinite;
}

.ds-incoming-call-avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.ds-ringing-indicator {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1d4ed8;
  animation: ds-pulse-soft 1.5s infinite;
}

.ds-chat-msg-status {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ds-text-muted);
  margin-top: 3px;
}

.ds-chat-row--me .ds-chat-msg-status {
  color: rgba(255, 255, 255, 0.75);
}

.ds-presence-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 8px;
  vertical-align: middle;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--ds-surface);
}

.ds-presence-dot--online {
  background: #22c55e;
}
.ds-presence-dot--away {
  background: #eab308;
}
.ds-presence-dot--offline {
  background: #94a3b8;
}
.ds-presence-dot--in_meeting {
  background: #8b5cf6;
}
.ds-presence-dot--in_call {
  background: #0ea5e9;
}

.ds-live-pulse-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  border-radius: var(--ds-radius);
  background: linear-gradient(100deg, rgba(34, 197, 94, 0.08) 0%, var(--ds-surface-muted) 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  font-size: 0.8125rem;
}

.ds-chat-composer {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--ds-border-subtle);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.ds-chat-composer .ds-btn {
  flex-shrink: 0;
  min-width: 88px;
}

.ds-chat-composer .ds-input {
  flex: 1 1;
}

/* Calls hub: section rhythm */
.ds-calls-hero {
  margin-bottom: 8px;
}

/* —— Communication convergence: inbox / chats / calls —— */
.ds-seller-pulse-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  grid-gap: var(--ds-space-5);
  gap: var(--ds-space-5);
  align-items: start;
}

@media (max-width: 960px) {
  .ds-seller-pulse-grid {
    grid-template-columns: 1fr;
  }
}

.ds-pulse-hero-band {
  position: relative;
  margin-bottom: var(--ds-space-6);
  padding: var(--ds-space-5) var(--ds-space-6);
  border-radius: var(--ds-radius-lg);
  background: linear-gradient(135deg, var(--ds-surface) 0%, var(--ds-surface-muted) 100%);
  border: 1px solid var(--ds-border-subtle);
  box-shadow: var(--ds-shadow-md);
  overflow: hidden;
}

.ds-pulse-hero-band::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ds-primary) 0%, #6366f1 100%);
  border-radius: 4px 0 0 4px;
}

.ds-pulse-kicker {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ds-primary);
  margin: 0 0 var(--ds-space-2);
}

.ds-pulse-next-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ds-pulse-next-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.ds-pulse-next-list .ds-pulse-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--ds-primary-soft);
  color: var(--ds-primary);
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ds-inbox-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--ds-space-4);
  padding-bottom: var(--ds-space-3);
  border-bottom: 1px solid var(--ds-border-subtle);
}

.ds-inbox-tab {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid var(--ds-border-subtle);
  background: var(--ds-surface-muted);
  color: var(--ds-text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.ds-inbox-tab:hover {
  color: var(--ds-text);
  border-color: var(--ds-border);
}

.ds-inbox-tab--active {
  background: var(--ds-surface);
  color: var(--ds-primary);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--ds-shadow-sm);
}

.ds-split-chats {
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  grid-gap: var(--ds-space-5);
  gap: var(--ds-space-5);
  align-items: start;
}

@media (max-width: 900px) {
  .ds-split-chats {
    grid-template-columns: 1fr;
  }
}

.ds-split-chats__detail {
  position: -webkit-sticky;
  position: sticky;
  top: var(--ds-space-4);
}

.ds-comm-action-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: var(--ds-space-3);
  padding: var(--ds-space-3) var(--ds-space-4);
  background: var(--ds-surface-muted);
  border-radius: var(--ds-radius);
  border: 1px solid var(--ds-border-subtle);
}

.ds-comm-action-strip .ds-btn,
.ds-comm-action-strip .ds-chip-action {
  margin: 0;
}

.ds-call-desk-bridge {
  margin-bottom: var(--ds-space-5);
  padding: var(--ds-space-4) var(--ds-space-5);
  border-radius: var(--ds-radius-lg);
  background: linear-gradient(120deg, #eff6ff 0%, var(--ds-surface) 55%);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.ds-call-desk-bridge p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ds-text-muted);
  line-height: 1.5;
}

.ds-call-desk-bridge .ds-cta-cluster {
  margin-top: var(--ds-space-3);
}

@media (max-width: 900px) {
  .ds-sidebar {
    transform: translateX(-100%);
    transition: transform 0.22s ease;
  }

  .ds-sidebar.mobile-open {
    transform: translateX(0);
    width: var(--ds-sidebar-width) !important;
  }

  .ds-main {
    margin-left: 0 !important;
  }

  .ds-mobile-nav-toggle {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .ds-community-shell {
    flex-direction: column;
  }

  .ds-community-channels {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--ds-border-subtle);
  }

  .ds-content-inner {
    padding: 16px 16px 40px;
  }
}

@keyframes ds-shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.ds-skeleton {
  border-radius: 10px;
  background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%);
  background-size: 220% 100%;
  animation: ds-shimmer 1.2s linear infinite;
}

.ds-skeleton-row {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--ds-border-subtle);
}

.ds-momentum-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(5, 150, 105, 0.2);
  background: rgba(5, 150, 105, 0.08);
  color: #065f46;
  font-size: 0.8125rem;
  font-weight: 600;
}

@keyframes ds-pop-in {
  0% { transform: scale(0.96); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.ds-micro-celebrate {
  animation: ds-pop-in 260ms ease-out;
}

