/* Data Table */
.data-table-wrap { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table thead th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mid);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 1;
}
.data-table tbody tr {
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .15s ease;
}
.data-table tbody tr:hover { background: var(--accent-bg); }
.data-table tbody td {
  padding: 12px 16px;
  white-space: nowrap;
  vertical-align: middle;
}
.data-table .cell-main {
  font-weight: 700;
  color: var(--black);
}
.data-table .cell-sub {
  font-size: 11px;
  color: var(--mid);
}

/* Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 480px;
  max-width: 90vw;
  height: 100vh;
  background: var(--white);
  z-index: 301;
  transform: translateX(100%);
  transition: transform 300ms ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.drawer-title { font-family: var(--font-display); font-size: 18px; }
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
.drawer-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-shrink: 0;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--white);
  border-radius: 16px;
  width: 90%;
  max-width: 560px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform 300ms ease;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.modal-title { font-family: var(--font-display); font-size: 18px; }
.modal-body { flex: 1; overflow-y: auto; padding: 24px; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.filter-bar select,
.filter-bar input[type="date"],
.filter-bar input[type="text"] {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 13px;
  color: var(--charcoal);
  outline: none;
}
.filter-bar select:focus,
.filter-bar input:focus { border-color: var(--black); }
.filter-count {
  font-size: 13px;
  color: var(--mid);
  margin-left: auto;
}

/* KPI Card */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.kpi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow);
  transition: border-color .15s ease;
}
.kpi-card:hover { border-color: rgba(201,169,110,.4); }
.kpi-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mid);
}
.kpi-value {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--black);
}
.kpi-change {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.kpi-change.up { color: var(--green); }
.kpi-change.down { color: var(--red); }

/* Detail List */
.detail-list { display: flex; flex-direction: column; gap: 16px; }
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.detail-label {
  font-size: 13px;
  color: var(--mid);
  flex-shrink: 0;
  min-width: 120px;
}
.detail-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  text-align: right;
}

/* Status Dot */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  margin-right: 8px;
}
.status-dot.active { background: var(--green); }
.status-dot.pending { background: var(--amber); }
.status-dot.inactive { background: var(--light); }
.status-dot.urgent { background: var(--red); }

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 9999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 9999px;
  background: var(--accent);
  transition: width 500ms ease;
}

/* Tag List */
.tag-list { display: flex; flex-wrap: wrap; gap: 4px; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 13px;
  color: var(--mid);
}
.pagination-btns { display: flex; gap: 8px; }

/* Pagination Bar (DataTable auto-pagination) */
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--mid);
}
.pagination-info { font-weight: 400; }
.pagination-controls { display: flex; align-items: center; gap: 4px; }
.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 6px);
  background: var(--white);
  font-size: 12px;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  transition: all .15s;
}
.pagination-btn:hover:not([disabled]):not(.active) {
  background: var(--bg);
  border-color: var(--mid);
}
.pagination-btn.active {
  background: var(--gold, #b8976a);
  color: var(--white);
  border-color: var(--gold, #b8976a);
}
.pagination-btn[disabled] {
  opacity: .35;
  cursor: default;
}
.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 12px;
  color: var(--mid);
}

/* ═══════════════════════════════════════════
   NOTIFICATION SYSTEM
   ═══════════════════════════════════════════ */

/* Bell Icon */
.notif-bell-container {
  position: relative;
  margin-right: 16px;
  flex-shrink: 0;
}
.notif-bell {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--mid);
  transition: all .2s;
}
.notif-bell:hover {
  background: rgba(255,255,255,.1);
  color: var(--gold);
}
.notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #EF4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Overlay */
.notif-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.notif-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer */
.notif-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: #1A1A1A;
  border-left: 1px solid rgba(255,255,255,.08);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: right .25s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 32px rgba(0,0,0,.4);
}
.notif-drawer.open {
  right: 0;
}
.notif-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.notif-drawer-title {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 20px;
  color: var(--white);
  font-weight: 400;
}
.notif-drawer-actions {
  display: flex;
  gap: 8px;
}
.notif-drawer-actions button {
  background: none;
  border: none;
  color: var(--mid);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color .15s;
}
.notif-drawer-actions button:hover {
  color: var(--gold);
}

/* Filters */
.notif-filters {
  display: flex;
  gap: 6px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  overflow-x: auto;
  flex-shrink: 0;
}
.notif-filter-btn {
  padding: 5px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.1);
  background: transparent;
  color: var(--mid);
  font-size: 11px;
  font-family: var(--font);
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
}
.notif-filter-btn:hover {
  border-color: rgba(184,151,106,.3);
  color: var(--light);
}
.notif-filter-btn.active {
  background: rgba(184,151,106,.15);
  border-color: var(--gold);
  color: var(--gold);
}
.notif-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  font-size: 9px;
  font-weight: 700;
  margin-left: 4px;
}
.notif-filter-btn.active .notif-filter-count {
  background: rgba(184,151,106,.3);
}

/* Drawer Body */
.notif-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

/* Empty State */
.notif-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  gap: 12px;
}
.notif-empty-text {
  color: rgba(255,255,255,.3);
  font-size: 13px;
  font-weight: 300;
}

/* Notification Groups */
.notif-group {
  padding: 0;
}
.notif-group-label {
  padding: 12px 20px 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}

/* Individual Notification Items */
.notif-item {
  display: flex;
  gap: 12px;
  padding: 14px 20px;
  cursor: pointer;
  transition: background .15s;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.notif-item:hover {
  background: rgba(255,255,255,.04);
}
.notif-item.read {
  opacity: .6;
}
.notif-item.read:hover {
  opacity: .8;
}

.notif-item-left {
  flex-shrink: 0;
  padding-top: 2px;
}
.notif-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notif-icon.notif-severity-critical {
  background: rgba(239,68,68,.15);
  color: #EF4444;
}
.notif-icon.notif-severity-warning {
  background: rgba(184,151,106,.15);
  color: var(--gold);
}
.notif-icon.notif-severity-info {
  background: rgba(59,130,246,.15);
  color: #3B82F6;
}

.notif-item-body {
  flex: 1;
  min-width: 0;
}
.notif-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}
.notif-item-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
}
.notif-item-time {
  font-size: 10px;
  color: rgba(255,255,255,.3);
  white-space: nowrap;
  flex-shrink: 0;
}
.notif-item-text {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 6px;
}
.notif-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.notif-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid;
  letter-spacing: .02em;
}
.notif-meta-tag {
  font-size: 9px;
  color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
  padding: 2px 8px;
  border-radius: 10px;
}

/* Action Buttons */
.notif-item-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.notif-action-btn {
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid rgba(184,151,106,.3);
  background: transparent;
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all .15s;
}
.notif-action-btn:hover {
  background: rgba(184,151,106,.15);
}
.notif-action-btn.gold {
  background: var(--gold);
  color: #1a1a1a;
  border-color: var(--gold);
}
.notif-action-btn.gold:hover {
  opacity: .9;
}
.notif-action-btn.blue {
  border-color: rgba(59,130,246,.3);
  color: #3B82F6;
}
.notif-action-btn.blue:hover {
  background: rgba(59,130,246,.1);
}
.notif-action-btn.green {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.notif-action-btn.green:hover {
  opacity: .9;
}
.notif-action-btn.ghost {
  border-color: rgba(255,255,255,.1);
  color: var(--mid);
}

/* Dismiss X */
.notif-dismiss-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: rgba(255,255,255,.2);
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 0;
  transition: opacity .15s;
}
.notif-item:hover .notif-dismiss-btn {
  opacity: 1;
}
.notif-dismiss-btn:hover {
  color: rgba(255,255,255,.6);
}

/* ═══════════════════════════════════════════
   EMAIL PREVIEW MODAL (Re-engage Concept UI)
   ═══════════════════════════════════════════ */

.email-preview-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.5);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.email-preview-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.email-preview-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.95);
  width: 540px;
  max-width: 92vw;
  max-height: 88vh;
  background: #fff;
  border-radius: 16px;
  z-index: 1101;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.email-preview-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.email-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
}
.email-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}
.email-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.email-modal-close:hover {
  color: #333;
}

.email-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px;
}

/* Email Template Card */
.email-template-preview {
  background: #1A1A1A;
  border-radius: 12px;
  padding: 28px 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(184,151,106,.25);
}
.email-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold, #B89768);
  margin-bottom: 12px;
}
.email-headline {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}
.email-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Content Cards Grid */
.email-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}
.email-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
}
.email-card-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(184,151,106,.3);
}
.email-card-initials {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(184,151,106,.15);
  color: var(--gold, #B89768);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.email-card-info {
  min-width: 0;
}
.email-card-name {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.email-card-detail {
  font-size: 10px;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* CTA Link */
.email-cta {
  font-size: 13px;
  color: var(--gold, #B89768);
  font-weight: 500;
  cursor: default;
}

/* Recipient & Note */
.email-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #999;
  margin-bottom: 10px;
}
.email-recipient-section {
  margin-bottom: 20px;
}
.email-recipient {
  display: flex;
  align-items: center;
  gap: 12px;
}
.email-recipient-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(184,151,106,.15);
  color: var(--gold, #B89768);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}
.email-recipient-name {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}

.email-note-section {
  margin-bottom: 16px;
}
.email-note-input {
  width: 100%;
  min-height: 60px;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--font, -apple-system, sans-serif);
  color: #333;
  resize: vertical;
  box-sizing: border-box;
}
.email-note-input::placeholder {
  color: #bbb;
}
.email-note-input:focus {
  outline: none;
  border-color: var(--gold, #B89768);
}

/* Modal Footer */
.email-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px 20px;
  border-top: 1px solid #eee;
}
.email-cancel-btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font, -apple-system, sans-serif);
  cursor: pointer;
  transition: all .15s;
}
.email-cancel-btn:hover {
  background: #f5f5f5;
}
.email-send-btn {
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  background: #1a1a1a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font, -apple-system, sans-serif);
  cursor: pointer;
  transition: all .15s;
}
.email-send-btn:hover {
  background: #333;
}

/* ═══════════════════════════════════════════
   UNIFIED EMAIL COMPOSER (ec-*)
   Brand-cohesive outreach modal for all CC flows
   ═══════════════════════════════════════════ */

/* Overlay */
.ec-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.55);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.ec-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Modal */
.ec-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.95);
  width: 520px;
  max-width: 94vw;
  max-height: 90vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
  z-index: 1201;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .25s ease;
}
.ec-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

/* Header */
.ec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 14px;
  border-bottom: 1px solid #f0f0f0;
}
.ec-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  font-family: var(--font, -apple-system, sans-serif);
}
.ec-close {
  width: 32px; height: 32px;
  border: none; background: #f5f5f5;
  border-radius: 50%;
  font-size: 18px; color: #888;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.ec-close:hover { background: #eee; color: #333; }

/* Body */
.ec-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

/* Dark Card — the branded email preview */
.ec-dark-card {
  background: #1a1a1a;
  border-radius: 14px;
  padding: 28px 24px 22px;
  margin-bottom: 20px;
  text-align: center;
}
.ec-badge {
  display: inline-block;
  font-family: var(--font-display, 'DM Serif Display', serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -.3px;
  color: var(--gold, #B89768);
  margin-bottom: 14px;
}
.ec-headline {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
  font-family: var(--font-serif, Georgia, serif);
}
.ec-subtitle {
  font-size: 13px;
  color: #999;
  font-weight: 300;
  margin-bottom: 18px;
  line-height: 1.5;
  font-family: var(--font, -apple-system, sans-serif);
}
.ec-cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold, #B89768);
  letter-spacing: .02em;
  margin-top: 14px;
  cursor: default;
  font-family: var(--font, -apple-system, sans-serif);
}

/* Content Cards Grid */
.ec-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0 4px;
}

/* Talent Card */
.ec-card-talent {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 10px 12px;
}
.ec-card-photo {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.ec-card-initials {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(184,151,106,.2);
  color: var(--gold, #B89768);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
  flex-shrink: 0;
  font-family: var(--font, -apple-system, sans-serif);
}
.ec-card-info { flex: 1; text-align: left; }
.ec-card-name {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  font-family: var(--font, -apple-system, sans-serif);
}
.ec-card-detail {
  font-size: 11px;
  color: #777;
  font-weight: 300;
  margin-top: 2px;
  font-family: var(--font, -apple-system, sans-serif);
}

/* Shift Card */
.ec-card-shift {
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 12px 14px;
  text-align: left;
}
.ec-card-shift-role {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
  font-family: var(--font, -apple-system, sans-serif);
}
.ec-card-shift-brand {
  font-size: 12px;
  color: #999;
  font-weight: 300;
  margin-bottom: 2px;
  font-family: var(--font, -apple-system, sans-serif);
}
.ec-card-shift-date {
  font-size: 11px;
  color: var(--gold, #B89768);
  font-weight: 500;
  font-family: var(--font, -apple-system, sans-serif);
}

/* Doc Card */
.ec-card-doc {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 10px 14px;
}
.ec-card-doc-icon {
  font-size: 18px;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

/* Message Card */
.ec-card-message {
  grid-column: 1 / -1;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 14px 16px;
}
.ec-card-message-text {
  font-size: 12px;
  color: #888;
  font-style: italic;
  line-height: 1.5;
  font-family: var(--font, -apple-system, sans-serif);
}

/* Recipient Section */
.ec-recipients-section {
  margin-bottom: 16px;
}
.ec-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #999;
  margin-bottom: 8px;
  font-family: var(--font, -apple-system, sans-serif);
}
.ec-recipient {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.ec-recipient-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold, #B89768);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
  flex-shrink: 0;
  font-family: var(--font, -apple-system, sans-serif);
}
.ec-recipient-avatar-img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.ec-recipient-info { flex: 1; }
.ec-recipient-name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  font-family: var(--font, -apple-system, sans-serif);
}
.ec-recipient-email {
  font-size: 12px;
  color: #999;
  font-weight: 300;
  font-family: var(--font, -apple-system, sans-serif);
}
.ec-recipient-compact {
  display: inline-flex;
  margin-right: 6px;
  margin-bottom: 6px;
  background: #f8f8f8;
  border-radius: 20px;
  padding: 4px 12px 4px 4px;
  gap: 8px;
}
.ec-recipient-compact .ec-recipient-avatar {
  width: 26px; height: 26px;
  font-size: 11px;
}
.ec-recipient-compact .ec-recipient-name {
  font-size: 12px;
  font-weight: 500;
}
.ec-recipient-more .ec-recipient-avatar {
  background: #ddd;
  color: #666;
}

/* Channel Picker */
.ec-channel-section {
  margin-bottom: 16px;
}
.ec-channel-pills {
  display: flex;
  gap: 8px;
}
.ec-channel-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all .15s;
  font-family: var(--font, -apple-system, sans-serif);
}
.ec-channel-pill input { display: none; }
.ec-channel-pill:hover { border-color: #ccc; background: #fafafa; }
.ec-channel-pill.active {
  border-color: var(--gold, #B89768);
  background: rgba(184,151,106,.06);
  color: #1a1a1a;
}
.ec-pill-icon { font-size: 15px; }

/* Note */
.ec-note-section {
  margin-bottom: 8px;
}
.ec-note {
  width: 100%;
  min-height: 60px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 300;
  font-family: var(--font, -apple-system, sans-serif);
  color: #333;
  resize: vertical;
  transition: border-color .15s;
  box-sizing: border-box;
}
.ec-note::placeholder { color: #bbb; }
.ec-note:focus { outline: none; border-color: var(--gold, #B89768); }

/* Footer */
.ec-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px 20px;
  border-top: 1px solid #f0f0f0;
}
.ec-btn-cancel {
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font, -apple-system, sans-serif);
  cursor: pointer;
  transition: all .15s;
}
.ec-btn-cancel:hover { background: #f5f5f5; }
.ec-btn-send {
  padding: 10px 28px;
  border-radius: 10px;
  border: none;
  background: #1a1a1a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font, -apple-system, sans-serif);
  cursor: pointer;
  transition: all .15s;
}
.ec-btn-send:hover { background: #333; }
