.page-member-message-reach {
  .mmr-editor-form {
    .ant-form-item {
      margin-bottom: 16px;
    }
  }

  .mmr-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .mmr-pill {
    padding: 4px 12px;
    margin-right: 0;
    font-size: 13px;
    line-height: 22px;
    border-radius: 999px;
  }

  .mmr-pill.ant-tag-checkable-checked {
    color: #fff;
    background: #1677ff;
  }

  .mmr-tag-panel {
    margin-top: 10px;
  }

  .mmr-reach-row {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 500;
    color: #1677ff;
  }

  .mmr-form-hint {
    margin-top: 6px;
    font-size: 12px;
    color: #9ca3af;
  }

  .mmr-scheduled-picker {
    width: 260px;
    margin-top: 10px;
  }

  .mmr-template-link-wrap {
    margin-bottom: 0;
  }

  .mmr-template-link {
    padding-left: 0;
  }

  .mmr-drawer-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
  }

  .mmr-detail-section {
    margin-bottom: 20px;
  }

  .mmr-detail-section-title {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
  }

  .mmr-detail-title-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
  }

  .mmr-detail-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
  }

  .mmr-detail-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    font-size: 13px;

    .label {
      color: #6b7280;
    }

    .channels {
      display: inline-flex;
      gap: 4px;
      align-items: center;
    }
  }

  .mmr-detail-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .mmr-detail-stat-item {
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 8px;

    .label {
      margin-bottom: 4px;
      font-size: 12px;
      color: #6b7280;
    }

    .value {
      font-size: 18px;
      font-weight: 700;
      color: #0f172a;
    }
  }

  .mmr-detail-content {
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.65;
    color: #374151;
    white-space: pre-wrap;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
  }

  .mmr-detail-error {
    margin-top: 10px;
    font-size: 12px;
    color: #dc2626;
  }

  .mmr-recipient-table {
    .ant-table-thead > tr > th {
      font-size: 12px;
      background: #f8fafc;
    }

    .ant-table-tbody > tr > td {
      font-size: 12px;
    }
  }

  .mmr-error-text {
    display: inline-block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
